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

agori do-not-reply at jboss.com
Wed Jan 24 04:55:29 EST 2007

"gavin.king at jboss.com" wrote : No, you can't put this stuff in form fields, because there is no form! s:link if for GET requests. These parameters only appear when they are needed. In simple cases, they aren't there at all.

What do you think about using alias names instead of action method encoded in the URL? 

<s:link alias="item">Select Item</s:link>

and in some action-association.xml


or much better a new annotation.

This is also an improvement abuot security (you are not exposing the action method name to the client, but I am not sure what seam actualliy is exposing so I could be wrong).

I did a link component + JSF phase-listener to make work this idea some time ago. The result is that you get prettier URL and maybe good security, but you still have to config the association between alias and action in some XML (but Seam could use an annotation).

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

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

More information about the jboss-user mailing list