[jboss-user] [JBoss Seam] - NonFacesRequest.invokeApplication() never invoked?
azalea
do-not-reply at jboss.com
Thu Jun 21 11:35:09 EDT 2007
Hi,
The invokeApplication() method in the following code seems not to be invoked.
| public class FooTest extends SeamTest {
| @Test
| public void testFoo() throws Exception {
|
| new NonFacesRequest() {
|
| @Override
| protected void invokeApplication() {
| System.out.println("invokeApplication not called.");
|
| }
|
| @Override
| protected void renderResponse() {
| System.out.println("renderResponse called.");
| }
|
| }.run();
| }
| }
|
NonFacesRequest#invokeApplication() is never invoked?
If so, why can we override this method?
SeamTest.NonFacesRequest class doesn't support applyRequest(), processValidations() and updateModelValues().
Why supports invokeApplication()?
[my environment]
-JBoss Seam CVS(1.3.0a)
-seam gen-Generated project
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056560#4056560
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056560
More information about the jboss-user
mailing list