[jboss-user] [JBoss Seam] - @RequestParam is working but <param> is not

amitev do-not-reply at jboss.com
Fri Oct 26 04:36:28 EDT 2007


Hi all! I got the following code in pages.xml:


 <page view-id="/group.xhtml" action="#{groupAction.selectGroup}">
  |     	<param name="groupId" value="#{groupAction.id}" />
  | </page>

But when the selectGroup method is called the #{groupAction.id} is null

If i do


  | @RequestParameter("groupId")
  | private Integer id;
  | 

than the id is set properly

Idea what i'm doing wrong in the first case

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

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



More information about the jboss-user mailing list