[jboss-user] [JBoss Seam] - Re: Evaluation of action attibute in s:link

dmitriy.lapko do-not-reply at jboss.com
Thu Jul 26 08:15:17 EDT 2007


It was so long conversation... I just want to check, did I understood your problem correctly.

So, do you mean that you would like to be able to dynamically generate the contents of the "action" attribute?

So, instead of writing a lot of times:

<s:link action="#{someBean.doSomeWork('value1')}" .../>
  | <s:link action="#{someBean.doSomeWork('value2')} ..."/>
  | ...
  | <s:link action="#{someBean.doSomeWork('valueN')} ..."/>
  | 
you would like to be able to write:

<cycle name="some form of cycle which iterates by all possible values like 'value1', 'value2'...">
  | 
  | <s:link action="#{someBean.doSomeWork(valueToEvaluate)}" .../>
  | 
  | </cycle>
  | 

which should be transformed into previous form during rendering of the page.

Am I right? I just also had such dreams about EL and Seam before...

And to have special marks to show Seam that we need evaluate valueToEvaluate on rendering phase...



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067782



More information about the jboss-user mailing list