RE: Form submission and javascript

2004-12-13 Thread David Bolsover
Ryan It is interesting that you should be working on this.. I have a similar requirement - I need to forward to a NAMED page once my action has completed - I do not know which page prior to form submittal. from what I have read so far, there is no 'struts' solution - you have to use Javascript.

Re: Form submission and javascript

2004-12-13 Thread fzlists
If I'm understanding your question properly, the easiest way is just to add the attribute target="_new" in your tag. I don't know how that translates to the Struts tag as I tend to not use Struts tags, but for a plain-jane tag, it should get the job done. I have heard that the target attrib

Re: Form submission and javascript

2004-12-13 Thread Daniel H A Lima
Hi Ryan. Have you tried Javascript:toChildWindow('ProcessMainAction.do','doDataProcess', document.forms[0], 'myChildWindow',200, 400) instead of Javascript:toChildWindow('ProcessMainAction.do','doDataProcess', 'this.form', 'myChildWindow',200, 400) ? I think that the property "form" is only