3 Replies Latest reply on Oct 31, 2007 8:04 AM by Pawel Wrzeszcz

    @RequestParam is working but <param> is not

    Adrian Mitev Master

      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