3 Replies Latest reply on Jun 26, 2006 6:06 PM by Jim Hazen

    @RequestParameter?

    Ben Kyrlach Newbie

      I have the following SLSB...

      @Stateless
      @Name("infozapAction")
      public class InfozapActionImpl implements InfozapAction
      {
      @RequestParameter("schoolList")
      private String schoolList;

      @Out
      private InfoZapDTO izdto;

      public void createInfoZapDTO()
      {
      System.out.println(schoolList);
      izdto = new InfoZapDTO(schoolList);
      }
      }

      and the following pages.xml...


      <page view-id="/ben/onepageiz.xhtml" action="#{infozapAction.createInfoZapDTO}"/>


      However, when I navigate to the following url...

      http://ben.gradview.com:8080/ben/onepageiz.jsf?schoolList=2525

      The console outputs "null". Is my usage of @RequestParameter correct? Could this possibly be a bug?