Andrzej Jan Taramina wrote:

Is there any way to access all the values of a multiple-valued request parameter (eg. generated by an HTML <select> tag that allows multiple items to be selected) in a sitemap?

Using something like {request-param:myParameter} only returns the first value, and I need to access all of the values.



You can try request jx path module (RequestModule.java). Expression like:


{request:getParameterValues(.,'myParameter')[1]}

should return first value; [2] will return second (if any), etc (that's the idea, no guarantee that it will actually work).


Vadim



Reply via email to