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
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.
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
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
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
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
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 "
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
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
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
10 matches
Mail list logo