struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@blueyonder.co.uk>
Subject Re: html:link with params
Date Tue, 27 Jul 2004 10:11:41 GMT
There is an open Bugzilla request for this enhacement - you can *vote* for
bugs you wish to see incorporated - go to the appropriate Bug and click on
the "Vote for this bug link".

http://issues.apache.org/bugzilla/show_bug.cgi?id=11154

If you just want to append a single parameter to the <html:link> tag you can
use the paramName, paramProperty and paramId attributes to do this without
having to use a Map.

Niall

----- Original Message ----- 
From: "Nathan Maves" <Nathan.Maves@Sun.COM>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, July 27, 2004 12:28 AM
Subject: Re: html:link with params


> Think of a case where you have a List of people and you wanted to
> create a link for each person.  I would have to create n# of Maps in
> the Action.  If it was done in something like a forEach loop this could
> be done all at once.  Not sure how good of an example this is :)
>
> Nathan
> On Jul 26, 2004, at 5:16 PM, Wendy Smoak wrote:
>
> > From: "Nathan Maves" <Nathan.Maves@Sun.COM>
> >> I know that we can use a Map to achieve this but I hate creating them
> >> in a jsp.
> >
> > I'm puzzled... why would you create in the JSP instead of in the
> > Action,
> > where presumably it wouldn't bother you as much?
> >
> > Not that that answers your question, but that part jumped out at me.
> >
> > -- 
> > Wendy Smoak
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message