| getFormById() can only find forms that are on the current page
Thank you, Jason. I filed an "improvement". Let me know if I can provide any further information on that. At the end of the day I would like to have the possibility to access a form of the page's temp . . .
|
FacesTester
» General Discussion
|
July 28, 2009 14:41
by: IngoHofmann
|
| getFormById() can only find forms that are on the current page
Hi, I am facing a gap for that I could not find a workaround. Perhaps you can help me. FacesPage.getFormById(String id) can only find a form that is on the current JSF page, since it looks for the ch . . .
|
FacesTester
» General Discussion
|
July 28, 2009 14:41
by: IngoHofmann
|
| MockServletContext does not implement getContextPath() !?
Great, works, thanks! :)
|
FacesTester
» General Discussion
|
June 04, 2009 14:46
by: IngoHofmann
|
| MockServletContext does not implement getContextPath() !?
Great, works, thanks! :)
|
FacesTester
» General Discussion
|
June 04, 2009 14:46
by: IngoHofmann
|
| "Reset" the faces context
thumbs up!
|
FacesTester
» General Discussion
|
May 29, 2009 07:22
by: IngoHofmann
|
| "Reset" the faces context
Since the FacesTester does not pass the requests through our filters, I tinkered a sort of facade that, more or less, do that. The FacesTester itself must be initialized only once by using the @BeforeC . . .
|
FacesTester
» General Discussion
|
May 29, 2009 07:22
by: IngoHofmann
|
| "Reset" the faces context
Hmm, in our case not that suitable. However, we could already change our tests, so a "reset" wasn't really necessary.
|
FacesTester
» General Discussion
|
May 29, 2009 07:22
by: IngoHofmann
|
| MockServletContext does not implement getContextPath() !?
No sweat! :) Except for the missing filter binding everything works very fine now. If you can't remove the Spring dependency, it wouldn't be the end of the world.
|
FacesTester
» General Discussion
|
June 04, 2009 14:46
by: IngoHofmann
|
| "Reset" the faces context
I am sorry: facesTester.getFacesTester() should mean: facesTester.getFacesContext()
|
FacesTester
» General Discussion
|
May 29, 2009 07:22
by: IngoHofmann
|
| MockServletContext does not implement getContextPath() !?
Thanks a lot so far, Jason. Now I also have a problem with the getMimeType(String) method of the MockServletContext. It always produce an UnsupportedOperationException. Try to request a non-facelets p . . .
|
FacesTester
» General Discussion
|
June 04, 2009 14:46
by: IngoHofmann
|