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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTR
Sent: Thursday, October 27, 2005 10:24 AM
To: '[email protected]'
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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Wednesday, October 26, 2005 3:44 PM
To: [email protected]
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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTR
Sent: Wednesday, October 26, 2005 3:02 PM
To: '[email protected]'
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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Wednesday, October 26, 2005 1:47 PM
To: [email protected]
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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Wednesday, October 26, 2005 12:31 PM
To: [email protected]
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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Wednesday, October 26, 2005 11:48 AM
To: [email protected]
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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to