Re: WOSubmitButton closing the browser window

2009-03-05 Thread Richard Stephens
Maybe i'm missing something...but..why can't you just use straight html, for example: "javascript:window.close();" /> -- Regards, Richard Stephens Ph: 07 3136 3426 Mob: 0410 111 570 Email: rich...@rjst.com.au On 06/03/2009, at 11:26 AM, Chuck Hill wrote: On Mar 5, 2009, at 1:25 PM, David Re

Re: WOSubmitButton closing the browser window

2009-03-05 Thread Chuck Hill
On Mar 5, 2009, at 1:25 PM, David Ress wrote: List, I know I am missing something obvious, but lack of sleep, etc... is keeping my neurons from firing... I have 3 WOSubmitButton inside a WOForm, ie, where: Form1: WOForm { } DownloadButton: WOSubmitButton { action = downloadR

Re: WOSubmitButton closing the browser window

2009-03-05 Thread Miguel Angel Torres Avila
I think the problem is that when you use the onClick event of a submit button that code is executed by the browser before the submit of the form. I think that's the reason why it is not working. This is a possible solution (I did not test it) 1. Create a String on your java class public Str

Re: WOSubmitButton closing the browser window

2009-03-05 Thread David Ress
Hello Miguel, Re: First My copy mistake, yes, multipleSubmit is true. The development computer is not allowed on a network so I was re-typing the html and WOD and left that off. Re: Second You and Quniton Dolan both suggested this route. I admit it works, but I was hoping for a more vis

Re: WOSubmitButton closing the browser window

2009-03-05 Thread Miguel Angel Torres Avila
First, I am not sure if it is a good Idea to close the browser window at the same time you attempt to submit the form. Second, Is the multipleSubmit binding of your form set to true? Finally, I think you should allow the browser window to complete the submit (Request / Response) cycle

WOSubmitButton closing the browser window

2009-03-05 Thread David Ress
List, I know I am missing something obvious, but lack of sleep, etc... is keeping my neurons from firing... I have 3 WOSubmitButton inside a WOForm, ie, where: Form1: WOForm { } DownloadButton: WOSubmitButton { action = downloadReport; value = "Download"; } CloseButton