You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Altuğ Bilgin Altıntaş <al...@gmail.com> on 2010/09/28 14:08:38 UTC
pagemap and link
Hi,
How can i open a link with a different pagemap so that i expect not to get
page Expired error.
Link link = new Link{
public void onClick() {
// how can i set a new page map here ?
}
}
Thanks.
Re: pagemap and link
Posted by Altuğ Bilgin Altıntaş <al...@gmail.com>.
I need onClick method so BookmarkablePageLink is not for me. Am i right ?
Also i search inside BookmarkablePageLink and i think the key point is to
generate Link - getURL but i couldn't achieve to generate the right Url
which doesn't cause Page Expired .
I read the mailing list and see Igor wrote that Use different PageMap to get
rid of Page Expired but still couldn't find how to set a new pageMap into
Link.
Thanks.
2010/9/28 Martin Grigorov <mg...@apache.org>
> The same.
>
> 2010/9/28 Altuğ Bilgin Altıntaş <al...@gmail.com>
>
> > BookmarkableLink ?? Do you mean BookmarkablePageLink
> >
> > 2010/9/28 Martin Grigorov <mg...@apache.org>
> >
> > > This will not save you.
> > > You need BookmarkableLink for this case.
> > >
> > > 2010/9/28 Altuğ Bilgin Altıntaş <al...@gmail.com>
> > >
> > > > Hi,
> > > >
> > > > How can i open a link with a different pagemap so that i expect not
> to
> > > get
> > > > page Expired error.
> > > >
> > > > Link link = new Link{
> > > >
> > > > public void onClick() {
> > > > // how can i set a new page map here ?
> > > > }
> > > >
> > > > }
> > > >
> > > > Thanks.
> > > >
> > >
> >
>
Re: pagemap and link
Posted by Martin Grigorov <mg...@apache.org>.
The same.
2010/9/28 Altuğ Bilgin Altıntaş <al...@gmail.com>
> BookmarkableLink ?? Do you mean BookmarkablePageLink
>
> 2010/9/28 Martin Grigorov <mg...@apache.org>
>
> > This will not save you.
> > You need BookmarkableLink for this case.
> >
> > 2010/9/28 Altuğ Bilgin Altıntaş <al...@gmail.com>
> >
> > > Hi,
> > >
> > > How can i open a link with a different pagemap so that i expect not to
> > get
> > > page Expired error.
> > >
> > > Link link = new Link{
> > >
> > > public void onClick() {
> > > // how can i set a new page map here ?
> > > }
> > >
> > > }
> > >
> > > Thanks.
> > >
> >
>
Re: pagemap and link
Posted by Altuğ Bilgin Altıntaş <al...@gmail.com>.
BookmarkableLink ?? Do you mean BookmarkablePageLink
2010/9/28 Martin Grigorov <mg...@apache.org>
> This will not save you.
> You need BookmarkableLink for this case.
>
> 2010/9/28 Altuğ Bilgin Altıntaş <al...@gmail.com>
>
> > Hi,
> >
> > How can i open a link with a different pagemap so that i expect not to
> get
> > page Expired error.
> >
> > Link link = new Link{
> >
> > public void onClick() {
> > // how can i set a new page map here ?
> > }
> >
> > }
> >
> > Thanks.
> >
>
Re: pagemap and link
Posted by Martin Grigorov <mg...@apache.org>.
This will not save you.
You need BookmarkableLink for this case.
2010/9/28 Altuğ Bilgin Altıntaş <al...@gmail.com>
> Hi,
>
> How can i open a link with a different pagemap so that i expect not to get
> page Expired error.
>
> Link link = new Link{
>
> public void onClick() {
> // how can i set a new page map here ?
> }
>
> }
>
> Thanks.
>