Re: input fields with dynamic names

2010-05-05 Thread Mario Lipinski
Am 04.05.10 06:37, schrieb Robert Graf-Waczenski: > Have your Action method getAuthorizedOptions() return something like a > Hashtable, where MyBean is your inner thingy with methods > setWhateverProperty() and getWhateverProperty(). Then your iterator > incantation as below: Thx. This also helped

RE: input fields with dynamic names

2010-05-04 Thread Martin Gainty
mation seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Tue, 4 May 2010 15:37:41 +0200 > From: r...@lsoft.

Re: input fields with dynamic names

2010-05-04 Thread Robert Graf-Waczenski
epter aucune responsabilité pour le contenu fourni. Date: Mon, 3 May 2010 09:08:29 -0500 From: mi...@claborn.net To: user@struts.apache.org Subject: Re: input fields with dynamic names Bump. Any other ideas? mitch Mitch Claborn wrote: That works for setting parameter names, but not so well

Re: input fields with dynamic names

2010-05-04 Thread Dale Newfield
On 5/3/10 10:08 AM, Mitch Claborn wrote: Bump. Any other ideas? Yes. ParameterAware allows you to handle parameters without the setters and getters you think are necessary. Look there again. -Dale Mitch Claborn wrote: That works for setting parameter names, but not so well when the tag

Re: input fields with dynamic names

2010-05-04 Thread Mitch Claborn
obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 3 May 2010 09:08:29 -0500 From: mi...@claborn.net To: user@struts.apache.org Subject: Re: input fields with dynamic

RE: input fields with dynamic names

2010-05-03 Thread Martin Gainty
0500 > From: mi...@claborn.net > To: user@struts.apache.org > Subject: Re: input fields with dynamic names > > Bump. Any other ideas? > > mitch > > > Mitch Claborn wrote: > > That works for setting parameter names, but not so well when the tags > > in t

Re: input fields with dynamic names

2010-05-03 Thread Mitch Claborn
Bump. Any other ideas? mitch Mitch Claborn wrote: That works for setting parameter names, but not so well when the tags in the JSP need to retrieve the value for display in the page, particularly if there is a validation error. If there is a static field named "fred" and the action has a "

Re: input fields with dynamic names

2010-04-28 Thread Mitch Claborn
That works for setting parameter names, but not so well when the tags in the JSP need to retrieve the value for display in the page, particularly if there is a validation error. If there is a static field named "fred" and the action has a "getFred()" method, then all is good. But the field na

Re: input fields with dynamic names

2010-04-28 Thread Greg Lindholm
You are probably looking for ParameterAware http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/interceptor/ParameterAware.html On Wed, Apr 28, 2010 at 12:47 PM, Mitch Claborn wrote: > I'm sure I've seen the answer to this somewhere, but darned if I can find it > now when I nee

input fields with dynamic names

2010-04-28 Thread Mitch Claborn
I'm sure I've seen the answer to this somewhere, but darned if I can find it now when I need it! I have a page that allows edits of various options, the names of which are dynamically retrieved from the database. If I have the code in the JSP as below, the value displayed in the text field is