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 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 your new target is a new window, pop-up blockers may foil this, > and of course, you'll have to make sure to preserve any relevant > state, since the onload handler will initiate a separate request. > > Can you make that work? > > Joe > > > At 1:49 PM -0400 7/11/05, David Johnson 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 > > > ><html:submit property="exportFlag" > >onclick="set('export');setFormTarget('_export')" > >disabled="false">Create Graph (Popup)</html:submit> > > > >function setFormTarget(newTarget){ > >document.forms[0].target=newTarget; > >} > > > >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... > > > >so is there anything I can do within the action to affect that? > > > >Thanks > > > >-- > >-Dave > >[EMAIL PROTECTED] > > > -- > Joe Germuska > [EMAIL PROTECTED] > http://blog.germuska.com > "Narrow minds are weapons made for mass destruction" -The Ex > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -Dave [EMAIL PROTECTED]