You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2007/05/12 16:20:15 UTC

[jira] Resolved: (WICKET-328) Link#setAnchor return Link instead of void

     [ https://issues.apache.org/jira/browse/WICKET-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag resolved WICKET-328.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

done

> Link#setAnchor return Link instead of void
> ------------------------------------------
>
>                 Key: WICKET-328
>                 URL: https://issues.apache.org/jira/browse/WICKET-328
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.2.5
>            Reporter: Nick Johnson
>            Priority: Trivial
>             Fix For: 1.3
>
>
> It would be nice for Link#setAnchor(Component) to return Link instead of void, so you can be super lazy and say things like this:
> add(new AjaxFallbackLink("foo") { onClick(...) {...}}.setAnchor(bar));
> Might be nice to do that for various other methods on Link as well to allow for other wacky chaining possibilities.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.