This one has been talked about quite a few times here. But I haven't
seen any good solution, so I would like to raise it again.

IMHO (with the broken datepicker tag that is being reworked for 2.1)
this is THE big "issue" with Struts 2.0.x. At least this is mine.

When you have:
Action A -> jsp -> Action B
with action A populating some elements of the form presented in the jsp

when Action B does a "return INPUT" (manually, or through automatic
validation), you need it to forward to Action A, to repopulate the
form elements, and you don't want to loose your actionmessages and/or
actionerrors or the values the user typed in the form fields.

There is no ideal solution yet to do this right! Apart from manually
coding your own flash scope filter or whatever brilliant idea you
could have.

What causes all my headaches with Struts2, is that when an action
calls its INPUT result, all the other actions in the chain (if you
forward to a chain result), or the actions called with the action tag
within the JSPs, also call their INPUT result...
I don't even see when this behaviour could be useful.

Should we open a JIRA issue or am I (are we) missing something here?
--
Guillaume Carré

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to