Re: passing a map of parameters to a URL

2009-01-21 Thread Nathan Coast
Hi Ralf, Thanks for the pointers. It feels to me that the having the param tag within an iterator was a bit of a hack in the first place. Some solutions I may play with... 1) create a params class that copes with collections 2) subclass the url class to cope with param maps directly 3) some

Re: passing a map of parameters to a URL

2009-01-21 Thread Ralf Fischer
Hi Nathan, On Wed, Jan 21, 2009 at 9:25 AM, Nathan Coast wrote: > Hi Dave, > > Thanks for your tip. Apologies for my newbie-ness. Like I said, I've tried > every combination I can think of - except presumably the correct one. Some > examples: > > value="#attr['reqParam'].value"/> > >

Re: passing a map of parameters to a URL

2009-01-21 Thread Nathan Coast
Hi Dave, Thanks for your tip. Apologies for my newbie-ness. Like I said, I've tried every combination I can think of - except presumably the correct one. Some examples: in conjunction with below, where reqParameters is a Map of key & value pairs I'd like to add

Re: passing a map of parameters to a URL

2009-01-20 Thread Dave Newton
Nathan Coast wrote: Is passing a map of params to a construct a url supported by the URL tag? (or some other struts2 mechanism). ${key} ${value} return the correct values however the s:param doesn't support expressions. It doesn't support JSP EL expressions, but it *do

passing a map of parameters to a URL

2009-01-20 Thread Nathan Coast
Hi, Is passing a map of params to a construct a url supported by the URL tag? (or some other struts2 mechanism). I've tried most things but no joy - e.g: ${key} ${value} return the correct values however the s:param doesn't support expressions. thanks