You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sonam Belbase <So...@morganstanley.com> on 2003/10/22 21:00:08 UTC
Re: quick html:link question [solved]
Thanks, that worked!
SB
"Ghanakota, Vishu" wrote:
> Try request.getParameter()
>
> -----Original Message-----
> From: Sonam Belbase [mailto:Sonam.Belbase@morganstanley.com]
> Sent: Wednesday, October 22, 2003 11:43 AM
> To: Struts Users Mailing List
> Subject: quick html:link question
>
> Hi,
>
> If I've got
>
> <% String choice = "hello"; %>
>
> <bean:define id="nameOfButton" value="<%=choice%>" />
>
> <html:link action="dcIndicator"
> target="templateFrame"
> paramId="choice"
> paramName="nameOfButton">
> Click here
> </html:link>
>
> why does
>
> request_.getAttribute("choice");
>
> in my action retrieve null? Is this the right way to retrieve values
> of params you pass with html:link to an action?
>
> Thanks,
> SB
>
> --
> NOTICE: If received in error, please destroy and notify sender. Sender does
> not waive
> confidentiality or privilege, and use is prohibited.
>
> "MMS <firstam.com>" made the following
> annotations on 10/22/2003 11:52:56 AM
> ------------------------------------------------------------------------------
> "THIS E-MAIL MESSAGE AND ANY FILES TRANSMITTED HEREWITH, ARE INTENDED SOLELY
> FOR THE USE OF THE INDIVIDUAL(S) ADDRESSED AND MAY CONTAIN CONFIDENTIAL,
> PROPRIETARY OR PRIVILEGED INFORMATION. IF YOU ARE NOT THE ADDRESSEE INDICATED
> IN THIS MESSAGE (OR RESPONSIBLE FOR DELIVERY OF THIS MESSAGE TO SUCH PERSON)
> YOU MAY NOT REVIEW, USE, DISCLOSE OR DISTRIBUTE THIS MESSAGE OR ANY FILES
> TRANSMITTED HEREWITH. IF YOU RECEIVE THIS MESSAGE IN ERROR, PLEASE CONTACT
> THE SENDER BY REPLY E-MAIL AND DELETE THIS MESSAGE AND ALL COPIES OF IT FROM
> YOUR SYSTEM."
> ==============================================================================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
--
NOTICE: If received in error, please destroy and notify sender. Sender does not
waive confidentiality or privilege, and use is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org