RE: Form submission and javascript

2004-12-13 Thread David Bolsover
EMAIL PROTECTED] Subject: Form submission and javascript Hello, I am trying to submit a form to an action, with the resulting page displayed in a child window. function toChildWondow(actionName, methodeAppelee, form, nomFenetre, largeur, hauteur ) { var windowFeatures = "scrollbars=yes,re

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

Form submission and javascript

2004-12-13 Thread Ryan julius
Hello, I am trying to submit a form to an action, with the resulting page displayed in a child window. function toChildWondow(actionName, methodeAppelee, form, nomFenetre, largeur, hauteur ) { var windowFeatures = "scrollbars=yes,resizable=no,width="+largeur+",height="+hauteur; var sUrl =