David Johnson wrote the following on 7/11/2005 1:49 PM:

The thing is I want to be able to use the validate() method in my Form object and return to the ORIGINAL browser if an error is encountered...

Hmmm, not sure about this, this sounds tricky but I bet someone more knowledgeable knows the answer.

I think most of the work will have to have to be on the client side. In other words, at a first stab at this, on the resulting page you'll need a test for the errors present and if so, then force a reload of the other window you came from and close this new window that you spawned. In order to make sure the errors you want show up on the original page when it refreshes you'll have to probably store the errors initially in the Session so that the other page will see them or pass the error message(s) in the url/action that you call from the new window which is used to refresh the old. Haven't done this myself, so I could be wrong or there may be an easier way.

--
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to