Hi, You can override #onInitialize() and do what you need after calling super.onInitialize().
Martin Grigorov Wicket Training and Consulting On Tue, Apr 22, 2014 at 3:35 PM, Dirk Germonpré <[email protected]>wrote: > Hello Andrea, > > Thanks a lot for this fix. > > I have another question. The fix now delays the creation of the settings > object inside the InPlaceEditComponent to the onInitialize() method. This > means I can no longer configure the settings after creating > the InPlaceEditComponent in my panel. Is it possible to create the settings > object in the constructor of the InPlaceEditComponent, or to add a settings > parameter to the constructor of the InPlaceEditComponent? > > Kind regards, > Dirk. > > > 2014-04-21 14:32 GMT+02:00 Andrea Del Bene <[email protected]>: > > > Hello, > > > > I've worked to fix the issue. You can see the result here: > > > https://github.com/wicketstuff/core/commit/ed9d3e52f4537c67c395a5e3bcb1db > > b639158eb7 > > However, I don't think there is an easy workaround to apply to the > current > > version. The good news is that Wicket 6.15.0 is around the conner so we > > shouldn't wait much long for WicketStuff 6.15.0... > > > >> Hello Andrea, > >> > >> Thanks for making time to investigate this issue. > >> > >> In attachment, you can find a quickstart to reproduce the issue. With > the > >> patched version of InPlaceEditBehavior (included in the quickstart), the > >> editor works fine in the main page, but not in the modal window. > >> > >> Kind regards, > >> Dirk. > >> > >> > >> 2014-04-15 18:52 GMT+02:00 Andrea Del Bene <[email protected]<mailto: > >> [email protected]>>: > >> > >> > >> No, it's not a known issue. I will try to investigate it in during > >> the very next days. > >> > >> Hello, > >> > >> The editor is now working fine in a normal page. But I also > >> need the editor > >> to work inside a modal window. In that case, the editor opens > >> and seems to > >> work fine, until I hit the save button. The save button does > >> nothing, the > >> editor stays open. Is this a known issue? > >> I'm currently working with version 6.14 of Wicket and > >> Wicketstuff. The > >> earlier mentioned fix is also applied. > >> > >> Kind regards, > >> Dirk. > >> > >> > >> > >> > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> <mailto:[email protected]> > >> > >> For additional commands, e-mail: [email protected] > >> <mailto:[email protected]> > >> > >> > >> > >> > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > > > > >
