+1 Maybe rename #forResource() to #of() ?
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Nov 11, 2016 at 5:00 PM, Andrea Del Bene <an.delb...@gmail.com> wrote: > I'm wondering if there is room for an improvement for ResourceReference, > introducing lambda support also for this component. Actually it's something > that can be done after the release of 8.0.0, but I'd like to collect your > feedback anyway. The idea is to provide factory methods to build a > ResourceReference using lambdas and avoiding anonymous classes to implement > getResource(). > The following snippet should better explain what I mean: > > https://gist.github.com/bitstorm/03cfe9905a3f86a7160ab49f0ce23f13 > > Andrea. > > On 31/10/2016 14:41, Martin Grigorov wrote: > >> Hi, >> >> What other improvements do we need in 8.x/master before promoting it to >> 8.0.0 final ? >> >> At https://cwiki.apache.org/confluence/display/WICKET/Ideas+ >> for+Wicket+8.0 >> we still have: >> >> - new DateTime APIs for wicket-datetime *WICKET-6105 >> <https://issues.apache.org/jira/browse/WICKET-6105>* - I'll give this one >> more try but the problem is that I don't believe this is the proper way >> and >> this demotivates me. >> If someone else wants to give it a try - please assign it to yourself! >> >> - Better SEO for stateful pages - the only way I see this is by using >> ServiceWorker to add the pageId as a request header to all requests >> (normal >> & Ajax) >> >> >> Recently I wondered whether Redux.js could be in use for Wicket. >> I don't have much experience with it, but both React and AngularJs >> communities use it to manage the state for their components. >> There are some Java impls, even a standard is coming: >> https://github.com/jvm-redux/jvm-redux-api >> >> What else ? >> >> Martin Grigorov >> Wicket Training and Consulting >> https://twitter.com/mtgrigorov >> >> >