linksTo() is also available on Link, so there is no need for PageLink IMO.

Martijn

On 3/16/08, Maurice Marrink <[EMAIL PROTECTED]> wrote:
> From a Wicket-Security point of view i like the PageLink and IPageLink
>  because it knows what pageclass is going to be instantiated and can
>  use that to check permissions.
>  If i were to use Link i would have to make that information somehow
>  available in another way. Although i would not mind if IPageLink gets
>  renamed.
>
>
>  Maurice
>
>
>  On Sun, Mar 16, 2008 at 11:16 PM, James Carman
>  <[EMAIL PROTECTED]> wrote:
>  > On 3/16/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>  >  > my thought on this is to deprecate PageLink entirely, or at least the
>  >  >  entire IPageLink deal in case someone wants to have a add(new
>  >  >  PageLink("link", mypageinstance) construct.
>  >  >
>  >  >  pagelink itself provides very little value, nothing a
>  >  >  BookmarkablePageLink or Link cannot do easily or better
>  >  >
>  >
>  >  Even better! :)  I was trying to figure out how to tell folks to use
>  >  PageLink rather than BookMarkablePageLink, especially since the
>  >  version that takes a Page instance is deprecated.  I think I'll
>  >  completely remove PageLink from my presentation.
>  >
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.2 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.2

Reply via email to