View Full Version : reference the item on the component (i.e. how to avoid getting component by ID)

28 Jun 2010, 12:57 PM
Hi Guys,

idea is this I'm building a complex form and create a new reusable component extended from FormPanel. That component has several fields in it.

I have 1-N windows that contains the same form inside them (widgets). In this case as far as I understand I can't give IDs to every field/item inside the form, otherwise it won't work at all.

So the question is, assuming I have 10 widgets of the same type instantiated on the page. How can I get a particular element/item on the form, if I can't get them by ID?

Is there a solution for that?

thanks for your help!

28 Jun 2010, 1:08 PM
Hope this post helps.