Hi,
I'v got a link that uses dynamic and static parameters at the same time.
html:link page=/Action.do?sort=id paramName=myForm
paramId=mySelection paramProperty=mySelectionID/html:link
Now I need more then one dynamic parameter. How can I add it ?
Do I just need to repeat paramName=myForm
Marcus,
Depending on which version of Struts you're using, check out:
http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#link
or
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
Specifically, note that you can provide a Map that contains all of the request
parameters
Of course I already had a look at this page,
but I need several dynamic parameters, and about that nothing is told.
About the map:
I don't know how to exactly use it, plus I doubt I could use it, as the
parameters I need are in different forms.
marcus
[EMAIL PROTECTED] schrieb:
Marcus,
Maybe I'm missing the intent of what you're trying to do, but the entire point
of the Map is to contain several dynamic parameters. The html:link tag uses
each Map key as the name of a request parameter and the associated Map value as
the String or String array parameter value(s). I can't think
PROTECTED]
To: [EMAIL PROTECTED]
Subject: html:link with several dynamic parameters
Date: Mon, 04 Nov 2002 09:35:30 +0100
Hi,
I'v got a link that uses dynamic and static parameters at the same time.
html:link page=/Action.do?sort=id paramName=myForm
paramId=mySelection paramProperty=mySelectionID/html:link
04, 2002 9:00 AM
To: [EMAIL PROTECTED]
Subject: Re: html:link with several dynamic parameters
Of course I already had a look at this page,
but I need several dynamic parameters, and about that nothing is told.
About the map:
I don't know how to exactly use it, plus I doubt I could use
Just a note that html:link provides some Struts-specific features that may
make you think twice before converting to JSTL's c:url:
Ability to specify a global ActionForward.
Transactional control token support.
Works with a JSP 1.1 container (okay, so that's not Struts-specific).
I'm also
and clearer to specify individual param elements.
David
From: Kris Schneider [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: html:link with several dynamic parameters
Date: Mon, 4 Nov 2002 10:14:47 -0500
Just
[EMAIL PROTECTED]
Subject: Re: html:link with several dynamic parameters
Date: Mon, 4 Nov 2002 10:14:47 -0500
Just a note that html:link provides some Struts-specific features that
may
make you think twice before converting to JSTL's c:url:
Ability to specify a global ActionForward
9 matches
Mail list logo