[jboss-user] [JBoss Seam] - s:link problem

Stateless Bean do-not-reply at jboss.com
Thu May 17 13:50:43 EDT 2007


hi,
i got problem with s:link i need to create in <h:dataTable elements with s:link and need to incject him param like:

  | <s:link action='#{stsb.method("12")}'>
  |      <img src="#{defence.imageSrc}" style="border: none;" />
  | </s:link>
  | 
  | public String method(String elem) {}
  | 

but i must to set my "12" numer from bean with EL, is this well formed? does this work?

  | <s:link action='#{stsb.method("#{sfsb.myparam}")}'>
  |      <img src="#{defence.imageSrc}" style="border: none;" />
  | </s:link>
  | 

or maybe is better way to inject=rendered elem?


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

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



More information about the jboss-user mailing list