Register DialogLifecycleListener

2007-02-22 Thread flood
Hi !

How or where can I register a DialogLifecycleListener. I'd like to attach out
transactionmanagement to the DialogContextManager.

CU
 Jan K.



Re: Re: Beginning a dialog (basic dialog manager) with V1.0.3

2007-02-22 Thread flood
Hello Paul!

Thank you, this solved my problem.

Jan K.



DialogHelper

2007-02-22 Thread flood
Hi !

How can I get the DialogContextManager for a FacesContext, the DialogHelper
seems to be gone?

CU
 Jan K.



Beginning a dialog (basic dialog manager) with V1.0.3

2007-02-14 Thread flood
Hello !

When trying to begin a dialog with V1.0.3 (basic dialog manager) with the
"dialog:" prefix in an action, I get:

java.lang.IllegalArgumentException: You have requested a transition outcome
named "dialog:Dienststellensuche" from a state named "Dienststellenliste" in a
dialog named "Dienststellensuche", but no transition definition can be found. 
Double check the spelling of the transition outcome name.

Any hints?

jsp:





dialog-config.xml:












Jan K.



xml validation with 1.0.4

2007-02-14 Thread flood
Hello !

How can I turn off XML-Validation for the configuration files like
dialog-config.xml and faces-config.xml?
On Glassfish V2 b33 without access to the internet I'm getting:

Caused by: java.net.UnknownHostException: shale.apache.org
at
com.sun.enterprise.server.ss.provider.ASClientSocketImpl.connect(ASClientSocketImpl.java:190)
at java.net.Socket.connect(Socket.java:516)
at java.net.Socket.connect(Socket.java:466)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
at sun.net.www.http.HttpClient.(HttpClient.java:214)
at sun.net.www.http.HttpClient.New(HttpClient.java:287)
at sun.net.www.http.HttpClient.New(HttpClient.java:299)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:796)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:748)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:673)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:917)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1647)
at
org.apache.shale.dialog.config.ConfigurationParser.parse(ConfigurationParser.java:161)
at
org.apache.shale.dialog.config.ConfigurationInit.execute(ConfigurationInit.java:107)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
at
org.apache.shale.faces.ShaleApplicationFilter.init(ShaleApplicationFilter.java:319)
... 38 more