I dont' have such a sequence like that, but you can get the same when
you read the source code of the RequestProcessor class.
starki78 wrote:
> Thanks for this great explanations
> I already solved this problem
> and now 'm quite close to understand it!
> It would be great to have a sequence diagra
Thanks for this great explanations
I already solved this problem
and now 'm quite close to understand it!
It would be great to have a sequence diagramm
to see this flow
submit-reset-populate-validate
because knowing this flow isn't quite clear
to a normal struts-user.
THANKS A LOT
> starki78
starki78 wrote:
Hi!
I've a large problem with html:multibox.
I've tree checkboxes. When I choose
one or two or three it arrives correct
at the next action!
Only then all checkboxes are deselected
it remembers the state of the checkboxes that was
selected before! The state of the form is session
That's what you have to do, as Adam said, the browser won't send the
value of unselected checkboxes. The sequence for create your form bean
are : Create, Reset, Populate, and Validate. You should override the
Reset method of the ActionForm to make sure that your form bean accept
new value from t
Hi Adam I just tried:
public void reset(ActionMapping mapping, HttpServletRequest request) {
multiboxvalues = new String[3];
multiboxvalues[0] = "";
multiboxvalues[1] = "";
multiboxvalues[2] = "";
}
And now the problem seems to be solved but to be honest I
don't have the knowle
Browsers are only required to submit values for checkboxes when they are
selected. So when a box is not checked, no value is sent, so the state
on the server is not changed. When using session scoped objects to store
the value of checkboxes your processing needs to be aware of the fact
that values
6 matches
Mail list logo