Re: Invoke popup after saving Data

2009-02-04 Thread Nils-Helge Garli Hegvik
You don't invoke the javascript from your action. You probably want to use javascript to post the data, and then display the popup when you have received a response from the server. Google for 'ajax form' and 'javascript popup', and you will find many examples. Nils-H On Thu, Feb 5, 2009 at 7:51

Re: Invoke popup after saving Data

2009-02-04 Thread Srikanth Goud
Hi, How to invoke the javaScript from execute method? And i am not clear with the reply u send. Srikanth Srikanth Goud wrote: > > Hi, > I have a requirement where after saving data in to database , show a > popup in the same page propmting Continue or ok. > > For this i am planning

Re: Invoke popup after saving Data

2009-02-04 Thread He Tao
Hi, Try to use Ajax? or use the frame with no length, when the saving is over, refresh the hide frame and invoke the popup script. Also, you can refresh the current frame which you just committed, to popup the confirm. After user confirm it, start a new request to do the other things remaine