I have a requirement to support multiple browser instances for a user
entering orders for Widgets simultaneously.    The order entry form is a
multi-page wizard that pops up in a new browser instance, under the same
session as the original browser.

My first approach is to define an ActionForm subclass, stored at session
scope, so each page of the wizard can fill out a subset of the ActionForm's
fields.

However, if the user clicks "Order Widget" in the original browser, a third
instance pops up, under the same session, and the two multi-page wizards
overwrite each other's data.

I have read the FAQ and searched the list archives for this situation, but I
have not found the answer.

I have also considered using Struts 1.1, and overriding
RequestUtils.createActionForm(...), which is called by
RequestProcessor.processActionForm(...), and looking for some instance id
field for the form.  The part I haven't figured out yet is how to put that
instance id field into the form in the first place, automatically at the
struts level.  I'm thinking I could add code to the <html:form> tag to put
the id in the form as a hidden input, but I haven't gotten that far yet.

Any help will be greatly appreciated.

Regards,
John
[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to