struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Nichols" <dhsStrutsDevelo...@hotmail.com>
Subject Re: Multiple pararmeters from multiple links
Date Thu, 06 Jun 2002 16:08:31 GMT

----- Original Message -----
From: "Sri Sankaran" <Sri.Sankaran@sas.com>
To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
Sent: Thursday, June 06, 2002 10:10 AM
Subject: RE: Multiple pararmeters from multiple links


>
> While I don't have an answer to your question, I have an alternative.
>
> An alternate strategy would be to include a getParameters() method in the
object you are iterating over.  This method should have access to the
current values of the id, firstName and lastName.  It would return a Map
containing the necessary parameters.  Your <html:link> would then be:
>
> <html:link page="/do/NameSearch/Details"
>            name="nameSearchResults"
>            property="parameters"/>
>

Much nicer indeed! Thank you


>
> Hope this helped.


Yes it did!


mark n.

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


Mime
View raw message