[jboss-user] [JBoss Seam] - java.lang.IllegalStateException: No page context active
neilac333
do-not-reply at jboss.com
Wed Dec 26 16:08:57 EST 2007
I am running a test of components using SeamTest and writing precisely the same sort of test as in the documentation:
|
| new ComponentTest() {
|
| protected void testComponents() throws Exception
| {
| setValue("#{searchAction.name}", "Benzoic");
| }
|
| }.run();
|
That's all. When I do this, I am finding the following exception:
| java.lang.IllegalStateException: No page context active
|
The interesting thing about this is that my tests pass with flying colors when I do a FacesRequest in my test instead.
Any insight is appreciated.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115569#4115569
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115569
More information about the jboss-user
mailing list