<jsp:useBean id="paramMap" class="java.util.HashMap"/>
<c:set target="${paramMap}" property="param1" value="value1"/>
<c:set target="${paramMap}" property="param2" value="value2"/>

<html:link name="paramMap" ...>

Ruth, Brice wrote:

How exactly do do you do that (creating maps of parameters for html:link)?

James Mitchell wrote:

While I use c:set myself for dynamically creating maps of parameters for
use with the html:link tag, Struts does not advocate adding logic into
the view....and that's one (of many) reasons you won't find it in the
core.

Stick with c:set for now.


My $.02




--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017 (c)
770.822.3359 (h)
AIM:jmitchtx






-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 3:09 PM
To: Tag Libraries Users List
Subject: RE: Substitute for <c:set>








that's too bad. any workaround suggestions?

Savan Thongvanh
Berkley Technology Services
515.278.7725


|---------+---------------------------->
| | "James Mitchell" |
| | <[EMAIL PROTECTED]|
| | .org> |
| | |
| | 10/24/2003 02:05 |
| | PM |
| | Please respond to|
| | "Tag Libraries |
| | Users List" |
| | |
|---------+---------------------------->


-------------------------------------------------------------

---------------------------------------------------|
| |
| To: "'Tag Libraries Users List'" <[EMAIL PROTECTED]> |
| cc: |
| Subject: RE: Substitute for <c:set> |


-------------------------------------------------------------

---------------------------------------------------|





No




--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017 (c)
770.822.3359 (h)
AIM:jmitchtx






-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 3:02 PM
To: Tag Libraries Users List
Subject: Substitute for <c:set>







Is there a struts substitute for the taglib <c:set/> tag?
Savan Thongvanh
Berkley Technology Services
515.278.7725

-- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to