[jboss-user] [JBoss Seam] - view vs action attribute (Explanation needed)

baz do-not-reply at jboss.com
Wed Feb 7 09:59:47 EST 2007


Hello,
i was fooled by the following code

  | 		<s:link value="Edit User"   action="/editUser.xhtml" >
  | 		    <f:param value="frese" name="myUserId" />
  | 		</s:link>
  | 
The editUser page is displayed, but the request param was not set. After some time, i realize that the attribute action has to be replaced with view.
And voila, all is well.
Can one explain what the difference between the two is?
Ciao,
Carsten

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

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



More information about the jboss-user mailing list