Loadable Detachable Model on button click and not before

2019-04-29 Thread Sibgha Nazir
Hi, I have the following code: *LearningCurveChartPanel* *public* LearningCurveChartPanel(String aId, IModel aModel) { *super*(aId); model = aModel; //initially the chart is empty. passing empty model chartPanel = *new* ChartPanel(*MID_CHART_CONTAINER*

Re: Loadable Detachable Model not updating on re-render

2019-04-29 Thread Sibgha Nazir
I will do that. Thanks. On Mon, Apr 29, 2019 at 9:54 AM Maxim Solodovnik wrote: > http://wicket.apache.org/start/quickstart.html > > And upload your project to github or some other service like this :) > > On Mon, 29 Apr 2019 at 14:49, Sibgha Nazir wrote: > > > How to create quick start? > > >

Re: Loadable Detachable Model not updating on re-render

2019-04-29 Thread Sibgha Nazir
There is one more thing regarding the same code. Here I am adding ChartPanel in the constructor of LearningCurveChartPanel and as the LearningCurveChartPanel loads the chart panel is loaded with the data that is returned by renderChart. I want to do such that the ChartPanel only renders when I clic

Re: Loadable Detachable Model not updating on re-render

2019-04-29 Thread Sibgha Nazir
How to create quick start? On Mon, Apr 29, 2019 at 9:39 AM Sven Meier wrote: > > > Hi, > > > > that should do it, no need to call detach() for yourself. > > > > Hard to tell what's going wrong.Can you create a quickstart? > > > > Regards > > Sven > > > > > > > > > > > > > > On 29.04.2019 at

Re: Loadable Detachable Model not updating on re-render

2019-04-29 Thread Maxim Solodovnik
http://wicket.apache.org/start/quickstart.html And upload your project to github or some other service like this :) On Mon, 29 Apr 2019 at 14:49, Sibgha Nazir wrote: > How to create quick start? > > On Mon, Apr 29, 2019 at 9:39 AM Sven Meier wrote: > > > > > > > Hi, > > > > > > > > that should

Re: Loadable Detachable Model not updating on re-render

2019-04-29 Thread Sven Meier
Hi, that should do it, no need to call detach() for yourself. Hard to tell what's going wrong.Can you create a quickstart? Regards Sven > > On 29.04.2019 at 09:16,wrote: > > > Hi, I tried doing the following *public* ChartPanel(String aId, > Lo

Re: Loadable Detachable Model not updating on re-render

2019-04-29 Thread Sibgha Nazir
Hi, I tried doing the following *public* ChartPanel(String aId, LoadableDetachableModel loadableDetachableModel) { *super*(aId*,**loadableDetachableModel*); chartModel = (loadableDetachableModel); chart = *new* WebMarkupContainer(*MID_CHART_CONTAINER*);