* Eelco Hillenius:
> On 2/22/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
>
> > If you  remove the  constructor, how  do you create  a link  to an
> > instance of a page then?
> 
> new Link("foo") {
>  public void onClick() {
>    setResponsePage(new MyPage());
>  }
> }

Fine by me, that's what I do.

> > I  think it's  more useful  to remove  PageLink(String, Class)
> > because   there  is   BookmarkablePageLink  already   that  is
> > stateless.
>
> I don't  have a  strong opinion  on that at  this point,  but it
> looks like you're right about that.

Then  the  only remaining  constructor  is  with IPageLink.   Does
someone use  that?  IMO we can  just deprecate or even  remove the
whole class.
-- 
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

Reply via email to