: multibox and reset() ERIK
The better way is just what was mentioned set your values to null
(false?) in the reset method. But if you are using Struts 1.0 and not a
more recent build, also setting them in the constructor or initial values
when defined is a good idea to default them
builds are running on a different branch or
something).
Erik
- Original Message -
From: Krueger, Jeff [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 7:07 AM
Subject: RE: multibox and reset() ERIK
Erik,
I believe your patch will solve my problem but I'm not sure
this.
Thanks
Jeff
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 8:49 AM
To: [EMAIL PROTECTED]
Subject: Re: multibox and reset() ERIK
Jeff,
No, my patch did not fix this particular case. Here is what is happening
in your scenario: checkboxes do
]
Sent: Tuesday, October 02, 2001 7:49 AM
Subject: RE: multibox and reset() ERIK
Thanks Erik for the extra info. I was thinking that was the problem I was
having. One idea that I had was to check in my action class to see if any
check boxes were on the request and if not then call the set
Hi!
I am having trouble resetting a StringArray that is connected to a html:multibox-tag.
HTML-Example:
html:form action=/map method=GET
html:multibox value=parking property=layer/
html:multibox value=petrol property=layer/
html:image property=layers
Message -
From: Dirk Jaeckel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 14, 2001 6:26 AM
Subject: multibox and reset()
Hi!
I am having trouble resetting a StringArray that is connected to a
html:multibox-tag.
HTML-Example:
html:form action=/map method=GET
PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, September 14, 2001 10:12 AM
Subject: Re: multibox and reset()
The signature for reset() is the following:
void reset(ActionMapping, HttpServletRequest)
I don't know whether setting the array reference is null is enough, or you
7 matches
Mail list logo