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 of the enclosing form ?

Thanks in advance for any assistance !

Shing
Home page : http://www.lombok.demon.co.uk/



___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to