Skip to Content
Former Member
Feb 10, 2006 at 01:03 AM

Events in AbstractPortalComponent



My AbstractPortalComponent dynamically builds a Form component with a collection of InputFields, RadioButtons and a Button for submit.

I can handle the "submit" event just fine, but what I would like to do is retrieve an array of components (all input fields and radio buttons attached to the form). The reason is that my component ids are generated dynamically, but with a specific naming convention. I was trying to avoid having to persist the component id names.

I have tried using getComponents from IPageContext and Form.iterator, but my array is empty.

Does anyone know if this is possible or do I just need to accept having to persist the component ids?

Thanks in advance for any advice.