Hi Gordon,

            No no not at all…That is great. Usually I will id all the accusable controls in my code. Unfortunately this time I forgot to give id to component which repeated. Since I did not have id in my code my eyes overlooked it and that caused lot of frustration. Now I know how to handle Repeater. Actually it makes more sense now.  

 

Thanks!
Hari

-----Original Message-----
From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith
Sent: Thursday, October 27, 2005 3:33 PM
To:
flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to access control attributes inside a repeater

 

Hi, Hari.

 

Does the indexing of the id make sense to you? I designed the Repeater so I'm curious whether you were expecting it to work a different way.

 

- Gordon

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTR
Sent: Thursday, October 27, 2005 10:24 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] How to access control attributes inside a repeater

 

Hi All,

            Thanks to all who put a thought about it. I was advised to id the component which is repeated and use that id in action script to access the control’s attributes in each instance.

Once again thanks to all.

 

Thanks!
Hari

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Wednesday, October 26, 2005 3:44 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to access control attributes inside a repeater

 

I am just thinking here, but perhaps you could use something like:

Alert.show(this.deptForm[i].getChildAt(n).text);

 

Debug this.deptForm[i] to make sure it is referencing what you expect.

 

Tracy

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTR
Sent: Wednesday, October 26, 2005 3:02 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] How to access control attributes inside a repeater

 

I tried ….

 

Alert.show(this.deptForm[i].deptDesc.text); 

Alert.show(this.parent.deptForm[i].deptDesc.text); 

 

 

Both statements above displayed blank alerts.

 

And found not working  L

Thanks!
Hari

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Wednesday, October 26, 2005 1:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to access control attributes inside a repeater

 

Hey, Jason, go ahead and risk being wrong.  I do it all the time!

 

Hari, repeaters generate an array of id’s, so if the form has id “myForm”, you should be able to reference the repeater with myForm[n].

 

Tracy

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Wednesday, October 26, 2005 12:31 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to access control attributes inside a repeater

 

I just re-read what I wrote, and I meant that last sentence in a humorous way by the way…

 

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Wednesday, October 26, 2005 11:48 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to access control attributes inside a repeater

 

I didn’t see you attached files since I am viewing via Outlook.  Usually that’s frowned upon on lists, but maybe with Yahoo lists like this its OK.  Anyway, since I was off on your question apparently, now I really can’t believe I responded.

 

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com

 

 

 

 

 

NOTICE:

This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited.










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to