[jboss-user] [JBoss Seam] - Re: how to
pdpantages
do-not-reply at jboss.com
Thu Aug 9 17:52:26 EDT 2007
Hi henrik,
I have been doing this by passing a parameter when the nested conversation is started. The backing bean (SFSB in the nested conv. context ) grabs the parameter and keeps it in a String var for later use.
I am hard coding the outcomes,
If you find a better way, please lmk.
| <s:button
| value="Details"
| propagation="nest"
| action="#{eventEditor.showEventDetails}" >
| <f:param name="seqNum" value="#{alarmRow.sequenceNumber}"/>
| <f:param name="ctx" value="servicealarmdetails"/>
| </s:button>
|
| @RequestParameter
| private String ctx;
|
| public String showEventDetails()
| {
| jsfOutcome = ctx;
|
| if ( jsfOutcome == null)
| jsfOutcome = "someNonNullDefault";
| ...
| ...
| }
|
| @End(beforeRedirect=true)
| public String done()
| {
| return this.jsfOutcome;
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072742#4072742
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072742
More information about the jboss-user
mailing list