I thing the only way to do this is iterate over all page components and look for some Form class component instance, as far as i know theres no direct way to get the id from a component type, something like the DOM getElementByTagName does (which could be graet!!)
Correct me if im wrong. On 2/15/06, Adam Zimowski <[EMAIL PROTECTED]> wrote: > > Hi, > > Suppose I have a custom component built around a @TextField such that > I can drop this component inside any new @Form and it will magicall > work. From within my @TextField component I know nothing about the > host @Form, but I need to know it's ID at runtime. How can I do this? > > -adam > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
