Hi Yinghai, I am going to investigate the subject, I do not have much experience with the use of ajax. Have you some example on the subject? Thank Jorge
--- El jue 21-abr-11, [email protected] <[email protected]> escribió: De: [email protected] <[email protected]> Asunto: Re: how to open a popup page after post a form Para: [email protected] Fecha: jueves, 21 de abril de 2011, 10:50 I think one option to this problem is using ajax, for example, if you use Jquery, instead using the button to submit the form you can call jquery's post method, and put the "open window" javascript function in the jquery post's call back function. This way, the call back will be triggered after the request. Thanks Yinghai Sent on the TELUS Mobility network with BlackBerry From: Antonio Bodoc <[email protected]> Date: Thu, 21 Apr 2011 05:29:17 -0700 (PDT) To: <[email protected]> ReplyTo: [email protected] Subject: Re: how to open a popup page after post a form Hi Bod. Thank for your response. I know this method to open to the window popup from a Link. What encounter is not the method to establish the attribute “target” in a org.apache.click.control.Form. Something as well as p.e. form.setTarget (“_blank”) I have used a command Javascript “open.windows (...)” associated with the method “onClick” of the button “submit” of the form, but it is executed before “post”. the idea is to open to the window popup after executing “post” of the form. regards sorry for my bad english --- El jue 21-abr-11, Bob Schellink <[email protected]> escribió: De: Bob Schellink <[email protected]> Asunto: Re: how to open a popup page after post a form Para: [email protected] Fecha: jueves, 21 de abril de 2011, 1:45 Hi, On 2011/04/20 14:14 PM, Antonio Bodoc wrote: > Hi, > Like opening to a page popup (to print) after executing post of a form, > redirecting to another page?. > regards Yes but first you need to open the new window: http://www.w3schools.com/TAGS/att_form_target.asp or show a link the user can click on to open the new window regards Bob
