Hi,

I am not sure if this is the right place for this question...
apologies if my post is off topic here.

Does anyone have ideas how to create a shared yes/no xhtml page?
say, we have yes and no buttons and there action is not predetermined.
For example, once you want yes button to invoke USER deletion action.
The next time you want yes button to invoke CITY deletion action.
(say USER and CITY are some entities).
I have tried to 
<h:commandButton id="yesButton" value="Yes" action="#{yesButton}"/>
where I set 'yesButton' variable in the context, prior going to the yes no page.

Contexts.getConversationContext().set("yesButton", "#{userEditor.deleteUser}");

No success.

Many thanks,
Filip


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975814#3975814

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975814
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to