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: [email protected]
For additional commands, e-mail: [email protected]