Hmm... Are you trying to suggest something I am missing here? The
values of the parameters are not known until the page runs, so some
work needs to be done to generate the correct "stupid" link.

So, would you like to suggest something smarter than was already
suggested or will you just leave us with that incredibly "insightful"
remark?

NG.

On 7/30/05, GP <[EMAIL PROTECTED]> wrote:
> so much , all to  generate a stupid link.
> 
> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
> Sent: Friday, July 29, 2005 3:19 PM
> To: user@struts.apache.org
> Subject: Re: Composing a link
> 
> N G wrote:
> > <html:link> only allows 1 map and 1 param-value pair. However, I need
> > to add 2 params besides the map.
> >
> > Adding this param to the map is not an option, I don't think. I
> > generate my map inside the form bean. The data for the 2 extra params
> > is not available in the form and is only available on the page.
> >
> > How do I do this? I have the option of using JSTL, but I am not sure
> > how to do this in JSTL either.
> 
> You can always push the extra 2 params into the map in the JSP. If that wont
> work for you, you could try including them explicitly in the <html:link>'s
> action attribute, like
> 
>   <html:link action="/myaction.do?param1=${expr1}&param2=${expr2}" ...
> 
> L.
> 
> --
> Laurie, Open Source advocate, Java geek and novice blogger:
> http://www.holoweb.net/laurie
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to