[jboss-user] [JBoss Seam] - Using s-link with a method in the action fails

bluetrade do-not-reply at jboss.com
Sat Nov 11 19:40:16 EST 2006


Hi, 
I saw in the Seam Documentation that you can use a method and arguments as the action with s:link:
 <s:link value="View Hotel" action="#{hotelBooking.selectHotel(hot)}"/>   
however if I try this with my code, I get an error:

  | <s:link value="Modify" action="#{bean.select(car)}" buttonClass="button" linkStyle="button"/>&#160;
  | 

The error is:
Error Parsing: #{bean.select(car)}
Encountered "("...

Does anyone have a clue why this might not work?

Thanks

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

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



More information about the jboss-user mailing list