be for you to pass the messages and locale
objects into your bean and use them there.
Hal
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 2:37 PM
To: [EMAIL PROTECTED]
Subject: RE: Checkbox Arrays - Internationalising them?!
Hal
Im not sure how the ActionForm changes things, but without an actionform your
could do this
Each checkbox can have the same name, but a different value.
When the form is submitted, the checkboxes that have been checked are in the
request.
You can use the
I posted this same response to your Posting Collections question yesterday.
Here it is again. If you use the html:multibox, you can get back an array of
key values instead of an array of booleans. They key values can be Longs,
Strings, whatever, as long as it uniquely identifies the row that you
[EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Checkbox Arrays
Date: Thu, 10 May 2001 11:09:18 -0500
Im not sure how the ActionForm changes things, but without an actionform
your
could do this
Each checkbox can have the same name, but a different value.
When
the way we solved this was to create a hidden field for each checkbox that
holds the value that would be sent if the checkbox were to be checked. I
then compare the full value array sent by the hidden values with the partial
array sent by the checkboxes to see which ones were checked and which
: Peter Alfors [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Checkbox Arrays
Date: Thu, 10 May 2001 11:09:18 -0500
Im not sure how the ActionForm changes things, but without
an actionform
your
could do this
Each checkbox can have the same name
/logic:iterate
But it doesn't like having the bean:write embedded there. Am I missing
something obvious?
Many thanks
Tony
From: Peter Alfors [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Checkbox Arrays
Date: Thu, 10 May 2001 11:09:18 -0500
Im
Message -
From: Peter Alfors [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 10, 2001 2:01 PM
Subject: Re: Checkbox Arrays
Try pulling the bean value out into a script variable.
Taglibs cannot be nested within another taglib as an attribute.
Tony Karas wrote:
Yeah - I'm
Daniel,
I have only small suggestion for you, because I do not know yet how
struts can help with multiple checkboxes. You can use taglibs/input
library (project Taglibs). It includes Checkbox tag and an example for
multiple checkboxes.
Hope this help.
Maya
Daniel Kern-Ekins wrote:
I am
101 - 109 of 109 matches
Mail list logo