You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Vincent <vi...@gmail.com> on 2005/12/13 17:26:28 UTC

Jump out of Frame(Tapestry 3.0.3)

Hi all ,

I met a problem of the PageLink jumping, one page have frames, which
implements navigation bar function. (looks like below , sorry for the
worse drawing)

Usually when you click the navigaion frame, then the result frame will
changes accordingly.

_____________________
|  Navigation Frame         |
|____________________ |
|  Result Frame               |
|____________________ |


But in the searched result frame , I found it is always jumps inside this frame.

So my question is , is it  possible to jump out of the frame(i.e. to a new page)

best regards,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Jump out of Frame(Tapestry 3.0.3)

Posted by Vincent <vi...@gmail.com>.
Hi ,

Merry Chrismas, Is there any news about this issue?

thanks,
Vincent
On 12/20/05, Vincent <vi...@gmail.com> wrote:
> Hi AndyHot,
>
> Currently I am use button to jump to another page and I don't want to
> change to the link.
> I am wondering is there any way to jump out of frame?
>
> regards,
> Vincent
>
> On 12/14/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
> > From Vincent <vi...@gmail.com>:
> >
> > > Hi AndyHot,
> > >
> > > I am use button(submit) to jump to another page , can target="_top"
> > > also be used in that way?
> > >
> >
> > No, only links have target.
> > You can use a link to submit the form (and invoke the listener) - check the
> > LinkSubmit component.
> > Or you could add javascript to 'another_page' to get rid of the frame.
> > Something like:
> >
> > if (top != self) top.location.href = self.location.href;
> >
> > > in the code , i will define
> > >
> > > <code>
> > >               // Jump to another page which should be out of currently frame
> > >               cycle.activate("another_page");
> > > </code>
> > >
> > > it works only jump to another page , but it is still in the frame.
> > >
> > > best regards,
> > > Vincent
> > >
> > > On 12/14/05, Vincent <vi...@gmail.com> wrote:
> > > > Thank you for your hint.
> > > > On 12/14/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
> > > > > target="_top"
> > > > >
> > > > > From  Vincent <vi...@gmail.com>:
> > > > >
> > > > > > Hi all ,
> > > > > >
> > > > > > I met a problem of the PageLink jumping, one page have frames, which
> > > > > > implements navigation bar function. (looks like below , sorry for the
> > > > > > worse drawing)
> > > > > >
> > > > > > Usually when you click the navigaion frame, then the result frame will
> > > > > > changes accordingly.
> > > > > >
> > > > > > _____________________
> > > > > > |  Navigation Frame         |
> > > > > > |____________________ |
> > > > > > |  Result Frame               |
> > > > > > |____________________ |
> > > > > >
> > > > > >
> > > > > > But in the searched result frame , I found it is always jumps inside
> > > this
> > > > > > frame.
> > > > > >
> > > > > > So my question is , is it  possible to jump out of the frame(i.e. to a
> > > new
> > > > > > page)
> > > > > >
> > > > > > best regards,
> > > > > > Vincent
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> >
> > --
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Jump out of Frame(Tapestry 3.0.3)

Posted by Vincent <vi...@gmail.com>.
Hi AndyHot,

Currently I am use button to jump to another page and I don't want to
change to the link.
I am wondering is there any way to jump out of frame?

regards,
Vincent

On 12/14/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
> From Vincent <vi...@gmail.com>:
>
> > Hi AndyHot,
> >
> > I am use button(submit) to jump to another page , can target="_top"
> > also be used in that way?
> >
>
> No, only links have target.
> You can use a link to submit the form (and invoke the listener) - check the
> LinkSubmit component.
> Or you could add javascript to 'another_page' to get rid of the frame.
> Something like:
>
> if (top != self) top.location.href = self.location.href;
>
> > in the code , i will define
> >
> > <code>
> >               // Jump to another page which should be out of currently frame
> >               cycle.activate("another_page");
> > </code>
> >
> > it works only jump to another page , but it is still in the frame.
> >
> > best regards,
> > Vincent
> >
> > On 12/14/05, Vincent <vi...@gmail.com> wrote:
> > > Thank you for your hint.
> > > On 12/14/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
> > > > target="_top"
> > > >
> > > > From  Vincent <vi...@gmail.com>:
> > > >
> > > > > Hi all ,
> > > > >
> > > > > I met a problem of the PageLink jumping, one page have frames, which
> > > > > implements navigation bar function. (looks like below , sorry for the
> > > > > worse drawing)
> > > > >
> > > > > Usually when you click the navigaion frame, then the result frame will
> > > > > changes accordingly.
> > > > >
> > > > > _____________________
> > > > > |  Navigation Frame         |
> > > > > |____________________ |
> > > > > |  Result Frame               |
> > > > > |____________________ |
> > > > >
> > > > >
> > > > > But in the searched result frame , I found it is always jumps inside
> > this
> > > > > frame.
> > > > >
> > > > > So my question is , is it  possible to jump out of the frame(i.e. to a
> > new
> > > > > page)
> > > > >
> > > > > best regards,
> > > > > Vincent
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
> >
>
>
> --
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Jump out of Frame(Tapestry 3.0.3)

Posted by an...@di.uoa.gr.
>From Vincent <vi...@gmail.com>:

> Hi AndyHot,
> 
> I am use button(submit) to jump to another page , can target="_top"
> also be used in that way?
> 

No, only links have target.
You can use a link to submit the form (and invoke the listener) - check the
LinkSubmit component.
Or you could add javascript to 'another_page' to get rid of the frame.
Something like:

if (top != self) top.location.href = self.location.href;

> in the code , i will define
> 
> <code>
> 		// Jump to another page which should be out of currently frame
> 		cycle.activate("another_page");
> </code>
> 
> it works only jump to another page , but it is still in the frame.
> 
> best regards,
> Vincent
> 
> On 12/14/05, Vincent <vi...@gmail.com> wrote:
> > Thank you for your hint.
> > On 12/14/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
> > > target="_top"
> > >
> > > From  Vincent <vi...@gmail.com>:
> > >
> > > > Hi all ,
> > > >
> > > > I met a problem of the PageLink jumping, one page have frames, which
> > > > implements navigation bar function. (looks like below , sorry for the
> > > > worse drawing)
> > > >
> > > > Usually when you click the navigaion frame, then the result frame will
> > > > changes accordingly.
> > > >
> > > > _____________________
> > > > |  Navigation Frame         |
> > > > |____________________ |
> > > > |  Result Frame               |
> > > > |____________________ |
> > > >
> > > >
> > > > But in the searched result frame , I found it is always jumps inside
> this
> > > > frame.
> > > >
> > > > So my question is , is it  possible to jump out of the frame(i.e. to a
> new
> > > > page)
> > > >
> > > > best regards,
> > > > Vincent
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 
> 


-- 



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Jump out of Frame(Tapestry 3.0.3)

Posted by Vincent <vi...@gmail.com>.
Hi AndyHot,

I am use button(submit) to jump to another page , can target="_top"
also be used in that way?

in the code , i will define

<code>
		// Jump to another page which should be out of currently frame
		cycle.activate("another_page");
</code>

it works only jump to another page , but it is still in the frame.

best regards,
Vincent

On 12/14/05, Vincent <vi...@gmail.com> wrote:
> Thank you for your hint.
> On 12/14/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
> > target="_top"
> >
> > From  Vincent <vi...@gmail.com>:
> >
> > > Hi all ,
> > >
> > > I met a problem of the PageLink jumping, one page have frames, which
> > > implements navigation bar function. (looks like below , sorry for the
> > > worse drawing)
> > >
> > > Usually when you click the navigaion frame, then the result frame will
> > > changes accordingly.
> > >
> > > _____________________
> > > |  Navigation Frame         |
> > > |____________________ |
> > > |  Result Frame               |
> > > |____________________ |
> > >
> > >
> > > But in the searched result frame , I found it is always jumps inside this
> > > frame.
> > >
> > > So my question is , is it  possible to jump out of the frame(i.e. to a new
> > > page)
> > >
> > > best regards,
> > > Vincent
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> >
> > --
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Jump out of Frame(Tapestry 3.0.3)

Posted by Vincent <vi...@gmail.com>.
Thank you for your hint.
On 12/14/05, andyhot@di.uoa.gr <an...@di.uoa.gr> wrote:
> target="_top"
>
> From  Vincent <vi...@gmail.com>:
>
> > Hi all ,
> >
> > I met a problem of the PageLink jumping, one page have frames, which
> > implements navigation bar function. (looks like below , sorry for the
> > worse drawing)
> >
> > Usually when you click the navigaion frame, then the result frame will
> > changes accordingly.
> >
> > _____________________
> > |  Navigation Frame         |
> > |____________________ |
> > |  Result Frame               |
> > |____________________ |
> >
> >
> > But in the searched result frame , I found it is always jumps inside this
> > frame.
> >
> > So my question is , is it  possible to jump out of the frame(i.e. to a new
> > page)
> >
> > best regards,
> > Vincent
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
> >
>
>
> --
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Jump out of Frame(Tapestry 3.0.3)

Posted by an...@di.uoa.gr.
target="_top"

>From  Vincent <vi...@gmail.com>:

> Hi all ,
> 
> I met a problem of the PageLink jumping, one page have frames, which
> implements navigation bar function. (looks like below , sorry for the
> worse drawing)
> 
> Usually when you click the navigaion frame, then the result frame will
> changes accordingly.
> 
> _____________________
> |  Navigation Frame         |
> |____________________ |
> |  Result Frame               |
> |____________________ |
> 
> 
> But in the searched result frame , I found it is always jumps inside this
> frame.
> 
> So my question is , is it  possible to jump out of the frame(i.e. to a new
> page)
> 
> best regards,
> Vincent
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 
> 


-- 



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org