I like chaining for instances. I don't see much use for chaining in static
methods.


On Fri, Jan 31, 2014 at 3:12 PM, Maxim Solodovnik <[email protected]>wrote:

> I personally like chaining in Wicket
>
>
> On Fri, Jan 31, 2014 at 9:08 PM, Martin Grigorov <[email protected]
> >wrote:
>
> > Hi,
> >
> > What others think about
> https://issues.apache.org/jira/browse/WICKET-5459?
> > Should Wicket use "return this" pattern where makes sense instead of
> 'void'
> > return type ?
> >
> > One problem that I see is with:
> > MyPage.doSomething() will/may return some base type of MyPage.
> > I remember some trink for Java to make this simpler but AFAIR it involved
> > some longer generics signature for the class that use it.
> >
> >
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>

Reply via email to