My guess is that you will need Javascript. Working in a frames environment and making 
things happen in an other frame other than the one you are working in is tricky stuff 
and the only way I have been able to do it is through the use of Javascript.  


The only flaw i see below is that you will not receive the form data in the request so 
even if you try to forward to the other action, it won't have the data your looking 
for.

b-


 --- On Fri 12/13, Viggio, Alex  wrote:From: Viggio, Alex [mailto: 
[EMAIL PROTECTED]]To: [EMAIL PROTECTED]: Fri, 13 Dec 
2002 11:29:29 -0700Subject: RE: Using HTML frames in StrutsThanks Mark,Any other 
suggestions for having a submit button in one frame submit a formin a separate frame? 
Our web dev policy is to avoid Javascript, so any ideasalong those lines are 
appreciated.- Alex-----Original Message-----From: Mark 
[mailto:[EMAIL PROTECTED]]Sent: Friday, December 13, 2002 1:38 AMTo: Viggio, Alex; 
Struts Users Mailing ListSubject: Re: Using HTML frames in StrutsAlexI'm not qualified 
to say what's best practice... So i won't bulshit you bypretending i am.If i wanted to 
have a submit button in a seperate frame for a form inanother frame i'd be looking at 
the following..Form 1 exectutes and action that then executes the submit action for 
yoursecond form.In fact now i think about it this would work fine, and without 
javascript.Public firstaction Execute(etc) {    
forward(mapping.findforward(secondaction);}Cheers markOn 12-12-2002 18:38, "Viggio, 
Alex"  wrote:> What's the best practice for having a submit button submit a form in a> 
separate frame. I'm trying to avoid this, but the user wants two scrolling> sections 
on a complex data entry page.> > Thanks,> - Alex> > -----Original Message-----> From: 
Mark [mailto:[EMAIL PROTECTED]]> Sent: Thursday, December 12, 2002 10:26 AM> To: 
Struts Users Mailing List> Subject: Re: Using HTML frames in Struts> > > David> > I'm 
developing a webapplication using struts and it has frames..> > Other than > > " />> > 
To pass the session through for paranoid people who thing cookies can take> over your 
mind. But no other problems..> > Cheers> > mark> > > > > On 12-12-2002 18:18, "David 
Rothschadl"  wrote:> >> >> Hello,>> >> Is there anybody who has used frames within the 
Struts framework? Our> frame>> set-up, which worked fine in our non-Struts HTML pages, 
is not working> with>> Struts. Any working examples would be greatly appreciated!>> >> 
David Rothschadl>> >> >> > > > --> To unsubscribe, e-mail:> > For additional commands, 
e-mail:> > --To unsubscribe, e-mail:   For additional commands, e-mail: 

_______________________________________________
Can a Web portal forever change your life?
Win up to $25 Million on iWon - click here!

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

Reply via email to