Issue Details (XML | Word | Printable)

Key: WICKET-328
Type: Wish Wish
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Nick Johnson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Wicket

Link#setAnchor return Link instead of void

Created: 26/Feb/07 05:08 PM   Updated: 12/May/07 02:18 PM
Return to search
Component/s: wicket
Affects Version/s: 1.2.5
Fix Version/s: 1.3.0-beta1

Time Tracking:
Not Specified

Resolution Date: 12/May/07 02:18 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Juergen Donnerstag added a comment - 12/May/07 02:18 PM
done

Juergen Donnerstag made changes - 12/May/07 02:18 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Fix Version/s 1.3 [ 12312114 ]