Take a look at Component's method onComponentTagBody. One of its parameters is MarkupStream which provides access to previous tags (it has method getPreviousTag()).
Is it possible to get access to the markup of preceding elements in a
Component's rendering? Im wondering if I can detect the presence of a
<label> element preceding an input field (Textfield)

N



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to