Thats not a bad idea, but I try to use as many DynaForm beans as
possible.
Nathan
On Jul 27, 2004, at 8:16 AM, [EMAIL PROTECTED] wrote:
In the application I'm working on, I actually don't create the map in
the
JSP or the action, I use a getter method in my form bean that
constructs
the map and returns it. It's very nice and easy, just create the
getter
method, specify the bean name and property in the link tag, and there
ya
go. I'm sure there are some cases where this wouldn't be the ideal
solution, but for what I've done, it works wonderfully.
Does this sound like a good way of doing this to everybody else?
Keith Kamholz
IT - Programming and Architecture
Moog Inc.
Nathan Maves <[EMAIL PROTECTED]>
07/26/2004 07:28 PM
Please respond to
Struts Users Mailing List <[EMAIL PROTECTED]>
To
Struts Users Mailing List <[EMAIL PROTECTED]>
cc
Subject
Re: html:link with params
Think of a case where you have a List of people and you wanted to
create a link for each person. I would have to create n# of Maps in
the Action. If it was done in something like a forEach loop this could
be done all at once. Not sure how good of an example this is :)
Nathan
On Jul 26, 2004, at 5:16 PM, Wendy Smoak wrote:
From: "Nathan Maves" <[EMAIL PROTECTED]>
I know that we can use a Map to achieve this but I hate creating them
in a jsp.
I'm puzzled... why would you create in the JSP instead of in the
Action,
where presumably it wouldn't bother you as much?
Not that that answers your question, but that part jumped out at me.
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]