Re: find html tag

2013-02-10 Thread Michael Jaruska
again with my question: is it possible to get markup in onRender() of the component? have found this article: https://cwiki.apache.org/WICKET/component-rendering.html but in onRender() section is just code snippet I'm not understand. is there more detailed example how to get markup of the

Re: find html tag

2013-02-10 Thread Sven Meier
Sure, with #getMarkup() you can get hold of the component's markup. With a MarkupStream you can iterate over it. Sven On 02/10/2013 10:23 PM, Michael Jaruska wrote: again with my question: is it possible to get markup in onRender() of the component? have found this article:

Re: find html tag

2013-02-10 Thread Michael Jaruska
my quick test: @Override protected void onRender() { super.onRender(); System.out.println(this.getMarkup().toString()); } get me just top-level tag in my panel, subtags isn't shown. how to get whole markup for my panel? On 10.2.2013 22:38, Sven Meier wrote: Sure, with #getMarkup() you

Re: find html tag

2013-02-10 Thread Sven Meier
See BorderBehavior#beforeRender(Component) on how to iterate over the markup. Sven On 02/10/2013 11:09 PM, Michael Jaruska wrote: my quick test: @Override protected void onRender() { super.onRender(); System.out.println(this.getMarkup().toString()); } get me just top-level tag in my

Page ... is not stateless ... but the stateless hint is set to true!

2013-02-10 Thread Tom Eicher
Hello, I am receiving this message in the log 01:27:01,006 WARN [org.apache.wicket.Page] Page '[Page class = com.x.yy.components.editor.Editor$EditorPage, id = 5, render count = 0]' is not stateless because it is not bookmarkable, but the stateless hint is set to true! and I