Thanks for that Steve but it didn't work... it seems that a JavaScriptSupport
object has never been pushed onto the environment.

I get the following exception:
Caused by: java.lang.IllegalStateException: Stack is empty.
        at org.apache.tapestry5.ioc.util.Stack.checkIfEmpty(Stack.java:119)
        at org.apache.tapestry5.ioc.util.Stack.pop(Stack.java:106)
        at
org.apache.tapestry5.internal.services.EnvironmentImpl.decloak(EnvironmentImpl.java:139)
        at $Environment_511c6d86e27d.decloak(Unknown Source)
        at $Environment_511c6d86e1b5.decloak(Unknown Source)
        at
org.lazan.t5.cometd.services.internal.ComponentJsonRendererImpl$1.invoke(ComponentJsonRender

When I try the following:
JavaScriptSupport jss = null;
while (jss == null) {
        jss = environment.peek(JavaScriptSupport.class);
        if (jss == null) {
                environment.decloak();
                ++ decloaks;
        }
}

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Async-process-ComponentRequestHandler-and-JavaScriptSupport-tp5714401p5714405.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to