Does they work together?

I ask because from the samples i try to adapt things to mine, and now i
got something like:

scxml xmlns="http://www.w3.org/2005/01/SCXML"; version="1.0"
        initialstate="checkCookie">


        <state id="checkCookie">

                <onentry>
                        <var name="cookieOutcome" expr="#{loginBean.check}" />
                </onentry>

....


When i call my login page the log shows:

 WARN http-8080-Processor25
org.apache.commons.scxml.env.SimpleErrorReporter - EXPRESSION_ERROR
(Exception while invoking expression #{loginBean.check}):
 INFO http-8080-Processor25 org.apache.commons.scxml.SCXMLExecutor -
Current States: [checkCookie]
 ERROR http-8080-Processor25
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/frc-dev].[Faces 
Servlet] - Servlet.service() for servlet Faces Servlet threw exception
 java.lang.NullPointerException: Component not found "/checkCookie".
        at
org.apache.shale.clay.component.Clay.getRootElement(Clay.java:274)
        at
org.apache.shale.clay.component.Clay.encodeBegin(Clay.java:315)


Clay wants a component named checkCookie - but i use this "name" only
for the initial state for my login dialog, like used in the examples.
If i call my login page without initiating the dialog, clay renders the
page fine.

Are Clay and the new dialog system not compatible yet? 

Torsten

Reply via email to