Hi, On Wed, Apr 24, 2019 at 5:08 PM Sibgha Nazir <sibgha...@gmail.com> wrote:
> Hello wicket developer, > > I am facing the following exception on re-rendering a wicket panel using > the code > > > > iPartialPageRequestHandler.add(chartPanel); > In which method of your code do you make that call ? How do you get a reference to iPartialPageRequestHandler? Is it passed as a parameter to the method by Wicket or do you look it up by using RequestCycle.find(Class) ? > > java.lang.IllegalStateException: A partial update of the page is being > rendered, component [ChartPanel [Component id = chart-container]] can no > longer be added > > It renders it perfectly the first time. But I want to call this again and > again when user clicks refresh button. What does this mean? > > Best Regards, > Sibgha Nazir >