I believe https://issues.apache.org/jira/browse/WICKET-5585 is related. Do you use Wicket 6.16.0 ?
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 4:00 AM, smallufo <[email protected]> wrote: > sorry , There is no stack trace. > Because it triggers nothing , the server doesn't receive anything. > > > > 2014-07-07 14:21 GMT+08:00 Michael Haitz <[email protected]>: > > > please provide the full stacktrace. > > > > cheers, > > Michael > > > > Am 06.07.2014 um 05:44 schrieb smallufo <[email protected]>: > > > > > It seems working now. > > > But such removal also make theme-switching not working : > > > > > > If I enable the ThemeProvider : > > > > > > final ThemeProvider themeProvider = new > > > BootswatchThemeProvider(BootswatchTheme.Flatly); > > > > > > > > > settings.setJsResourceFilterName("footer-container").setThemeProvider(themeProvider); > > > > > > without "footer-container" in the BasePage > > > > > > wicket-bootstrap will throw > > > > > > WicketRuntimeException: theme does not exists: bootstrap > > > > > > at > > > > > > de.agilecoders.wicket.themes.settings.BootswatchThemeProvider.byName(BootswatchThemeProvider.java:49) > > > > > > > > > So I could only use the native bootstrap theme now. > > > > > > > > > > > > > > > 2014-07-06 11:30 GMT+08:00 smallufo <[email protected]>: > > > > > >> I found where goes wrong , > > >> it's RenderJavaScriptToFooterHeaderResponseDecorator that causes the > > >> problem. > > >> > > >> I am not familiar with wicket-bootstrap , so I mimicked > wicket-bootstrap > > >> sample's architecture : > > >> > > >> > > > https://github.com/l0rdn1kk0n/wicket-bootstrap/tree/master/bootstrap-samples/src/main/java/de/agilecoders/wicket/samples > > >> > > >> This is my 'not' working architecture : > > >> http://pastebin.com/vB3Ek2t9 > > >> > > >> After removing RenderJavaScriptToFooterHeaderResponseDecorator , > > >> footer-container , it works fine. > > >> > > >> http://pastebin.com/kAehvaRr > > >> > > >> > > >> > > >> > > >> > > >> 2014-07-05 21:10 GMT+08:00 Francois Meillet < > [email protected] > > >: > > >> > > >> Run your app in debug mode and set some breakpoint. > > >>> > > >>> eclipse > > >>> > > >>> > > > http://www.eclipse.org/jetty/documentation/current/debugging-with-intellij.html > > >>> http://www.vogella.com/tutorials/EclipseDebugging/article.html > > >>> > > >>> > > > http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fpreferences%2Frun-debug%2Fref-run_debug.htm > > >>> > > >>> intellij > > >>> http://www.jetbrains.com/idea/webhelp/run-debug-configurations.html > > >>> > > >>> > > > http://www.jetbrains.com/idea/webhelp/creating-and-editing-run-debug-configurations.html > > >>> > > >>> François Meillet > > >>> Formation Wicket - Développement Wicket > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> Le 5 juil. 2014 à 14:56, smallufo <[email protected]> a écrit : > > >>> > > >>>> 2014-07-05 20:55 GMT+08:00 smallufo <[email protected]>: > > >>>> > > >>>>> > > >>>>> But i still find another "id6c" or "id6d" in the source code. > > >>>>> > > >>>> > > >>>> sorry typo : > > >>>> > > >>>> But i still *cannot* find another "id6c" or "id6d" in the source > > code. > > >>> > > >>> > > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >
