I really think this is a bug in Struts 2 checkbox array behaviour!
to solve this problem I have created a variable to keep the value of the
previous selection.
if the actual selection is equals to the previous selection that means the
user want to uncheck the checkbox
this at least works, and is
Post the relevant part of your JSP, please. I know that at least for
Struts 2.1.8.1 there is a new MultiselectInterceptor class that would
solve your problem for a select with type=multiple. There is a
CheckboxInterceptor class as well. Maybe there is none for a checkbox
array. Anyway, let us
Tatiyana Tarabara schrieb:
Voviya,
Could you please pick up Nadika from horse riding at 7:30 p.m. today?
A ya popletus' v Majer.
T.
No i won't, sorry. :-)
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For addit
mmm I'm using Struts 2 (struts2-core-2.1.6) and the last checkbox (of a
checkbox array) doesn't get unchecked, as I have previously commented...
WHY?
It seems it has to be always selected one of the checkboxes at least
2010/2/23 Robert Graf-Waczenski
> lucas owen schrieb:
>
&
Voviya,
Could you please pick up Nadika from horse riding at 7:30 p.m. today?
A ya popletus' v Majer.
T.
Robert Graf-Waczenski wrote:
lucas owen schrieb:
Hi struts users,
I'm working with a checkbox array; the problem is that it doesn't work
as a
single checkbox: I can'
lucas owen schrieb:
Hi struts users,
I'm working with a checkbox array; the problem is that it doesn't work as a
single checkbox: I can't have the checkbox array with all checkboxes
unchecked (apart from the beginning)
Example:
I check checkbox1.
I check checkbox2.
I uncheck c
Hi struts users,
I'm working with a checkbox array; the problem is that it doesn't work as a
single checkbox: I can't have the checkbox array with all checkboxes
unchecked (apart from the beginning)
Example:
I check checkbox1.
I check checkbox2.
I uncheck checkbox2 --> OK
I
Hm, I guess this is a less intrusive solution for posting
the checkbox array through a page which it is not visible on:
Mike
> I have the following problem with checkbox arrays. I would
> really appreciate clues on what is the best workaround.
>
> P
through to the action and thus
repopulated into the form.
But, for array checkboxes created with I
don't succeed with this solution. The solution with the
hidden field I used for simple checkboxes will only hold
one value, and thus will only keep one of potentially many
selections in the checkbo
9 matches
Mail list logo