Ignore this post - the jsp got this problem too, so maybe i really have
to wait until i've build that sample app to understand how things work.

Torsten

Am Freitag, den 27.10.2006, 06:11 +0200 schrieb Torsten Krah:
> 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