Frame to No Frame
Most of our app is no frame. For one viewbean
we have two frames (2 view bean associated with
each of these frames).
If I put the handle request in the second viewbean frame,
it refreshes the second frame and post my data back
to the second frame.
The behavior I want is to get out of these two frames and
render the jsp associated with the forwardTo() without
any frames..
Can someone point out how this can be done.. ?
Thanks
[552 byte] By [
Guest] at [2007-11-25 9:35:26]

The target attribute is per-form and per-HREF. If you are using HREFs, you
shouldn't have a problem as each one can have a seperate target. If you are
using buttons, then you have to work around the fact that each form, and
hence all its contained buttons, can only have one target attribute. You
should very easily be able to change this attribute using JavaScript (I
don't have a code snippet), but the easier approach would be to just use
HREFs where submission of data isn't required.
Todd
-- Original Message --
From: <<a href="/group/SunONE-JATO/post?protectID=197075091084158233170098004140114164134 058066051209171188199">purvashada@y...</a>>
Sent: Tuesday, January 28, 2003 4:30 PM
Subject: [SunONE-JATO] Re: Frame to No Frame
> Thanks Todd..
>
> Can this target attribute be set dynamically through
> java code/javascript when a post happens.
>
> Basic issue I am having is that for few clicks like
> next, next it has to post to the second frame
> and when the user clicks finish then I have to go to
> no frame version.
>
> So I cannot set target=_top in the second frame.
>
> Thanks
>
>
> In <a href="/group/SunONE-JATO/post?protectID=246075234167171124217231170221059165026 144204051183019182055105236158076086020224">SunONE-JATO@yahoogroups.com</a >, Todd Fast <<a href="/group/SunONE-JATO/post?protectID=101233080150035167169232031248066208071 048">Todd.Fast@S...</a>> wrote:
> > You have to set the target in the frame's form tag and/or HREF tags to
> > target="_top", just like you would do if these frames were static HTML
> > (non-S1AF). Remember, the server has no involvement in how a
> rendered HTML
> > page will be shown. That's up to the browser, and the only way to
> influence
> > the browser is to set the "target" attribute as needed on your page.
> >
> > Todd
> >
> > -- Original Message --
> > From: <<a href="/group/SunONE-JATO/post?protectID=197075091084158233170098004140114164071 048139">purvashada@y...</a>>
> > Sent: Monday, January 27, 2003 1:58 PM
> > Subject: [SunONE-JATO] Frame to No Frame
> >
> >
> > > Most of our app is no frame. For one viewbean
> > > we have two frames (2 view bean associated with
> > > each of these frames).
> > >
> > > If I put the handle request in the second viewbean frame,
> > > it refreshes the second frame and post my data back
> > > to the second frame.
> > >
> > > The behavior I want is to get out of these two frames and
> > > render the jsp associated with the forwardTo() without
> > > any frames..
>
> > >
> > > Can someone point out how this can be done.. ?
> > >
> > > Thanks
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > To download the latest version of S1AF (JATO), please visit one of the
> > following locations:
> > >
> > > Framework + IDE plugin for Sun ONE Studio 4 Update 1, Community
> Edition:
> > > <a href="http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_CE.html"> ;http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_CE.html</a>
> > >
> > > Framework + IDE pluign for Sun ONE Studio 4 Update 1, Enterprise
> Edition:
> > > <a href="http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_EE.html"> ;http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_EE.html</a>
> > >
> > > Previous versions of JATO:
> > > <a href="http://www.sun.com/software/download/developer/5102.html">http://www.s un.com/software/download/developer/5102.html</a>
> > >
> > >
> > >
> > >
> > >
>
>
> To download the latest version of S1AF (JATO), please visit one of the
following locations:
>
> Framework + IDE plugin for Sun ONE Studio 4 Update 1, Community Edition:
> <a href="http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_CE.html"> ;http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_CE.html</a>
>
> Framework + IDE pluign for Sun ONE Studio 4 Update 1, Enterprise Edition:
> <a href="http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_EE.html"> ;http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_EE.html</a>
>
> Previous versions of JATO:
> <a href="http://www.sun.com/software/download/developer/5102.html">http://www.s un.com/software/download/developer/5102.html</a>
>
>
>
>
>
Guest at 2007-7-1 18:37:11 >
