2 Replies Latest reply on Nov 1, 2010 1:30 AM by Tauseef Ahmed

    Pass values to @RequestParameter array from querystring

    Steve Mitchell Newbie

      What is the syntax for passing array values in a query string? In Struts2 it is possible to pass array values using square brackets (array style). That doesn't work with Seam.


      My backing bean has a String array annotated with @RequestParameter, into which I can pass a single parameter from a query string. I build the URL with JavaScript based on checkboxes (and a list of desired actions).


      I need to know how to pass multiple values. I could grab them from the FacesContext and do it myself, but I just assumed that Seam had something like Struts for handling arrays of request parameters.