You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Juan Fu <JF...@ncilp.com> on 2003/05/23 17:47:26 UTC
multi request variables on the URL?
Hi,
I am newbie to Struts. I have a link will have more than one vairables
and its value are dynamic .
The code is like this:
<html:link page="/pageEdit.do?action=showpage" paramId="pageid"
paramName="indpage" paramProperty="pageid">
I have the other variable sectionid, and it is hidden variable in the page.
I can get its value like <bean:write name="Formname" property="sectionid" />
My question is: how do it put sectionid and its value to the link. Thank
you. I am looking forward to your anwswer. Thank you.
Ms. Juan Fu
(281)897-7980(O)
IT/Fall Brook
NCI Building System, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: multi request variables on the URL?
Posted by Ted Husted <hu...@apache.org>.
You can pass html:link a map, with all the parameters as name-value pairs.
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
Juan Fu wrote:
> Hi,
>
> I am newbie to Struts. I have a link will have more than one vairables
> and its value are dynamic .
> The code is like this:
>
> <html:link page="/pageEdit.do?action=showpage" paramId="pageid"
> paramName="indpage" paramProperty="pageid">
>
> I have the other variable sectionid, and it is hidden variable in the page.
> I can get its value like <bean:write name="Formname" property="sectionid" />
>
> My question is: how do it put sectionid and its value to the link. Thank
> you. I am looking forward to your anwswer. Thank you.
>
>
> Ms. Juan Fu
> (281)897-7980(O)
> IT/Fall Brook
> NCI Building System, Inc.
--
Ted Husted,
Struts in Action <http://husted.com/struts/book.html>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org