I also think that the comment should *not* say 'Called when a link is clicked'.

Martijn

On 9/21/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
If you work with BookmarkablePageLinks, onClick is never called. This
is the method with documentation:

        /**
         * Called when a link is clicked; this is here to satisfy the interface, as
         * bookmarkable links will be dispatched by the handling servlet.
         *
         * @see wicket.markup.html.link.Link#onClick()
         */
        public void onClick()
        {
                // Bookmarkable links do not have a click handler.
                // Instead they are dispatched by the request handling servlet.
        }

I guess it is a good idea to make onClick final, so that other people
won't fall into this.


Eelco

On 9/21/05, pepone pepone < [EMAIL PROTECTED]> wrote:
> Hello i have a wicket page that use BookmarkablePageLink and the
> onClick() method is not called when a i click the link if i use Link
> istead of BookmarkablePageLink it´s work ok
>
> must i open a bug with this inssue?
>
> thanks
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to