[JBoss Seam] - Re: h:message for / s:decorate question
by Holger Prause
Now i finally upgraded everything the behaviour is slightly better, but still not like expected:
I am using latest jsf ri implementation and jboss-4.2.1.GA
in my messages.properties
| myInput=Label for my Inputfield
|
in my facelets page
| <h:inputText id="myInput" required="true" value="#{TestBean.value}" errorStyle="color:red" label="#{messages['myInput']}" />
| <h:message for="myInput" />
|
The output should be:
| "Label for my Inputfield": Value required
|
but in fact it is:
| Value required
|
He seems to ignore the label attribute, and i am getting insane on this :-/
Pls help, well at least this behaviour is slightly better than before.
Do i really have to rewrite message tag to get this to work?
Thx very much ,
Holger
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093609#4093609
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093609
18Â years, 8Â months
[JBoss Seam] - Re: Default Exception Handler doesn't work
by bonaparte
Hello,
This seems not to work when associated with jbPM.
I mean the resolution of #{org.jboss.seam.handledException.message} doesn't work.
pages.xml
| <!-- Other Errors -->
| <exception>
| <end-conversation/>
| <redirect view-id="/error.jspx"> <message severity="error">#{org.jboss.seam.handledException.message}</message>
| </redirect>
| </exception>
|
pagesflow.xml
| <start-page name="editClient" view-id="/views/client/editClient.jspx">
| <redirect/>
| <transition name="save" to="recapClient">
| <action expression="#{editClient.saveClient}" />
| </transition>
| </start-page>
|
When a technical error arises in saveClient method, the redirection to page /error.jpsw works well, but the resolution of the message doesn't work.
By the way, in the console, the following jBPM error is logged:
| [10/10/07 18:10:35:171 CEST] 00000024 SystemOut O ERROR - SeamPhaseListener.afterPhase(125) | uncaught exception
| java.lang.IllegalStateException: pageflow has not yet started
| at org.jboss.seam.core.Pageflow.getNode(Pageflow.java:156)
| at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:189)
| at org.jboss.seam.core.Pageflow.validatePageflow(Pageflow.java:99)
| at org.jboss.seam.jsf.AbstractSeamPhaseListener.afterRestoreView(AbstractSeamPhaseListener.java:61)
| at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:95)
| at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92)
|
For information, i run under JBoss Seam-1.2.1.ga and jbpm-3.1.1
Thanks a lot for any tip on this subject.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093597#4093597
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093597
18Â years, 8Â months