This content has been marked as final.
Show 3 replies
-
1. Re: Seam newbie question
nickarls Jan 31, 2008 2:51 AM (in response to nepveul)If I understand you correctly you are looking for some sort of dynamic actions. I'm not sure it can be done with that sort of "double-EL-resolve".
You can always use multiple links with rendered-conditions like<s:link action="{actions.add}" rendered="#{action='add'}">Add</s:link> <s:link action="{actions.nuke}" rendered="#{action='nuke'}">Nuke</s:link>
-
2. Re: Seam newbie question
pmuir Jan 31, 2008 7:13 AM (in response to nepveul)As nickarls says or
<ui:param name="bean" value="#{foo}" /> <ui:param name="action" value="bar" /> <s:link action="#{bean[action]}" />
would call #{foo.bar} - this is a long standing issue with facelets. -