Re: T5 How to get form name

2007-07-31 Thread Shing Hing Man
Thanks! Shing --- Nick Westgate <[EMAIL PROTECTED]> wrote: > 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

Re: T5 How to get form name

2007-07-30 Thread Nick Westgate
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

T5 How to get form name

2007-07-30 Thread Shing Hing Man
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/ _