Re: Untouching pages in Wicket 9

2019-04-24 Thread Sven Meier
Hi, thanks for the reference to the issue. I'd wish Wicket wouldn't have to touch every page by default as described in WICKET-5933. Seems we'll have to restore the untouched feature in Wicket 9. Many thanks for your valuable input Sven > > On 23.04.201

Re: [8.3] Nested Forms within a table?

2019-04-24 Thread Sven Meier
Hi Nino, I've taken the liberty of improving this with WICKET-6658: No need to let Form enforce a -tag when it's changed into a div afterwards (in case of nested forms). Have fun Sven > > On 24.04.2019 at 08:45,wrote: > > > normally I would agree.

setHeaderResponseDecorator and setGatherExtendedBrowserInfo(true)

2019-04-24 Thread Olivier Dutrieux
Hello, I have define on application.init() the setHeaderResponseDecorator (to deferred all javascript to the end of the page) and set setGatherExtendedBrowserInfo to true to retrieve some informations from browser. The problem is when the BrowserInfoPage is render no js is add to the page because

Partial

2019-04-24 Thread Sibgha Nazir
Hello wicket developer, I am facing the following exception on re-rendering a wicket panel using the code iPartialPageRequestHandler.add(chartPanel); java.lang.IllegalStateException: A partial update of the page is being rendered, component [ChartPanel [Component id = chart-container

Re: setHeaderResponseDecorator and setGatherExtendedBrowserInfo(true)

2019-04-24 Thread Francois Meillet
In the application.init() add the following line : getResourceBundles().add(YourApplication.class, new JavaScriptResourceReference(BrowserInfoForm.class, "wicket-browser-info.js")); YourApplication.class is the {@linkplain ResourceReference#getScope() scope} of your bundle François > Le 24

Re: setHeaderResponseDecorator and setGatherExtendedBrowserInfo(true)

2019-04-24 Thread Martin Grigorov
On Wed, Apr 24, 2019 at 3:48 PM Olivier Dutrieux < olivier.dutri...@pasteur.fr> wrote: > Hello, > > I have define on application.init() the setHeaderResponseDecorator (to > deferred all javascript to the end of the page) and set > setGatherExtendedBrowserInfo to true to retrieve some informations

Re: Partial

2019-04-24 Thread Martin Grigorov
Hi, On Wed, Apr 24, 2019 at 5:08 PM Sibgha Nazir 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 y

Re: Downport WICKET-6639 to Wicket 7

2019-04-24 Thread Martin Grigorov
Done! https://issues.apache.org/jira/browse/WICKET-6639?focusedCommentId=16825375&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16825375 On Tue, Apr 23, 2019 at 3:36 PM ssamarin wrote: > Hello, > > Would appreciate if you put > https://issues.apache.org/jira/brows

Re: Partial

2019-04-24 Thread Sibgha Nazir
In renderChart there is a line updating the chart panel like this PartialPageRequestHandler.add(chartPanel); On Wed, Apr 24, 2019 at 8:06 PM Sibgha Nazir wrote: > I make the call like this > > @Override > > *public* *void* renderHead(IHeaderResponse response) > > { > > *supe

Re: Partial

2019-04-24 Thread Sibgha Nazir
I make the call like this @Override *public* *void* renderHead(IHeaderResponse response) { *super*.renderHead(response); Optional target = RequestCycle.*get* ().find(AjaxRequestTarget.*class*); *if* (!target.equals(Optional.*empty*())) rende