I have a component that subclass AbstractField.
In the beginRender method of my component, how do
I get the name of the enclosing form ?
Thanks in advance for any assistance !
Shing
Home page : http://www.lombok.demon.co.uk/
The id and name of a form are the same, so:
@Environmental
private FormSupport _formSupport;
...
String name = _formSupport.getClientId();
Cheers,
Nick.
Shing Hing Man wrote:
I have a component that subclass AbstractField.
In the beginRender method of my component, how do
I get the name