pagemap and link

2010-09-28 Thread Altuğ Bilgin Altıntaş
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

2010-09-28 Thread Martin Grigorov
This will not save you.
You need BookmarkableLink for this case.

2010/9/28 Altuğ Bilgin Altıntaş alt...@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

2010-09-28 Thread Altuğ Bilgin Altıntaş
BookmarkableLink ?? Do you mean BookmarkablePageLink

2010/9/28 Martin Grigorov mgrigo...@apache.org

 This will not save you.
 You need BookmarkableLink for this case.

 2010/9/28 Altuğ Bilgin Altıntaş alt...@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

2010-09-28 Thread Martin Grigorov
The same.

2010/9/28 Altuğ Bilgin Altıntaş alt...@gmail.com

 BookmarkableLink ?? Do you mean BookmarkablePageLink

 2010/9/28 Martin Grigorov mgrigo...@apache.org

  This will not save you.
  You need BookmarkableLink for this case.
 
  2010/9/28 Altuğ Bilgin Altıntaş alt...@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

2010-09-28 Thread Altuğ Bilgin Altıntaş
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 mgrigo...@apache.org

 The same.

 2010/9/28 Altuğ Bilgin Altıntaş alt...@gmail.com

  BookmarkableLink ?? Do you mean BookmarkablePageLink
 
  2010/9/28 Martin Grigorov mgrigo...@apache.org
 
   This will not save you.
   You need BookmarkableLink for this case.
  
   2010/9/28 Altuğ Bilgin Altıntaş alt...@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.