Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

scxml dialogs and clay?: msg#00225

apache.shale.user

Subject: scxml dialogs and clay?

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




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation