Re: Changing Form Target in Action?

2005-07-11 Thread Michael Jouravlev
On 7/11/05, Joe Germuska <[EMAIL PROTECTED]> wrote: > When I've had to do something like this in the past, I didn't > actually change the target, but rather caused the response page to > use the new target as part of its page loading. That is, the > response page would have an onload handler which

Re: Changing Form Target in Action?

2005-07-11 Thread Rick Reumann
David Johnson wrote the following on 7/11/2005 2:23 PM: Joe Oh this one sounds good. I'm not sure how I'd actually DO that though.. can you provide more info? All my pages are tiles definitions right now. How would I cause the response page to use the new target (conditionally)? what about s

Re: Changing Form Target in Action?

2005-07-11 Thread David Johnson
Joe Oh this one sounds good. I'm not sure how I'd actually DO that though.. can you provide more info? All my pages are tiles definitions right now. How would I cause the response page to use the new target (conditionally)? On 7/11/05, Joe Germuska <[EMAIL PROTECTED]> wrote: > > When I've ha

Re: Changing Form Target in Action?

2005-07-11 Thread David Johnson
Hmm. I suppose it would be easier to just do the validation in JavaScript... but I **really** dont want to. It just seems inconsistent. So there's no way to change what browser the validate() returns to once I've submitted the form and I'm in the validate() method? Some attribute on the reques

Re: Changing Form Target in Action?

2005-07-11 Thread Frank W. Zammetti
Hi David, If I'm understanding your goal correctly, then you won't be able to do this without some sort of scripting because the form target is a purely client-side attribute, you won't be able to change it from the server-side, which is really what you'd want to do. If scripting is OK with

Re: Changing Form Target in Action?

2005-07-11 Thread Joe Germuska
When I've had to do something like this in the past, I didn't actually change the target, but rather caused the response page to use the new target as part of its page loading. That is, the response page would have an onload handler which would load the necessary content in a new target. If

Re: Changing Form Target in Action?

2005-07-11 Thread Michael Jouravlev
On 7/11/05, David Johnson <[EMAIL PROTECTED]> wrote: > Hi all > I have the following problem: > I have a button on my form that uses javascript to change to form target > before submitting because I'm exporting an RTF generated in my action to the > new browser, as follows > > onclick="set('exp

Re: Changing Form Target in Action?

2005-07-11 Thread Rick Reumann
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

Changing Form Target in Action?

2005-07-11 Thread David Johnson
Hi all I have the following problem: I have a button on my form that uses javascript to change to form target before submitting because I'm exporting an RTF generated in my action to the new browser, as follows Create Graph (Popup) function setFormTarget(newTarget){ document.forms[0].targe