5 Replies Latest reply on Sep 2, 2010 3:14 PM by alefeltes

    Page Parameters: Illegal Syntax for Set Operation

    pdpantages

      Hello Forum,


      Seam 2.1.2.GA
      Richfaces 3.3.1.GA
      Jboss 5.0.1.GA


      I am trying to use some page parameters. Everything seems to work as expected; I can access the parameters with @RequestParameter. But I get the Illegal Set error added to my FacesMessages.


      Any ideas?


      Thanks, PdP


      Pages.xml: The neView bean is SL


         <page view-id="/view/pm/pmpage.xhtml" action="#{neView.initPage}">
            <param name="profile" value="sonet-mib"/>
            <param name="group"   value="line"/>
         </page>
      



      The Error Msg:






      2009-07-09 15:14:09,247 DEBUG [http-0.0.0.0-8080-2] javax.enterprise.resource.webcontainer.jsf.lifecycle Exiting RestoreViewPhase



      2009-07-09 15:14:09,262 DEBUG [http-0.0.0.0-8080-2] javax.enterprise.resource.webcontainer.jsf.context
      Adding Message[sourceId=<<NONE>>,summary='profile' parameter is invalid: Illegal Syntax for Set Operation)

      Inside my bean:


         
      @Stateless
      @Name("neView")
      ....
      @RequestParameter("profile")
      private String profile;
      @RequestParameter("group")
      private String group;