RE: [flexcoders] how to use a repeater question

2005-05-13 Thread Craig Newroth
THanks Matt, that worked great...and thanks for the
answer to the last part about performance...no, thrust
data isn't going to change (at least in the near
future :-)), but I wanted to be able to use a query to
provide the different labels from the DB so that they
would be dynamic if needed...

--- Matt Chotin [EMAIL PROTECTED] wrote:
 I think the repeater for this would be:
 
  
 
 mx:Repeater id=r dataProvider={thrustData}
 
   mx:CheckBox label={r.currentItem} /
 
 /mx:Repeater
 
  
 
 So it's pretty easy, though if thrustData isn't
 going to change I think it's
 more efficient code-wise to write it out by hand.
 
  
 
 Matt
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of cnewroth55
 Sent: Thursday, May 12, 2005 10:57 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] how to use a repeater question
 
  
 
 is it possible to use a repeater control to
 'duplicate' a group of
 checkboxes? I have this text array i would like to
 have put into a
 group of checkboxes;
 ![CDATA[
   var thrustData:Array = [All Reports, ASMT -
 Affordable
 Structures  Mfg. Tech., ALE - Advanced Lean 
 Efficient, ASC -
 Advanced Support Concepts, APS - Advanced Platform
 Systems, NCO -
 Netcentric Operations ];   
 ]]
 and would like for it to be the checkboxes label.
 is it faster to do a repeater or just make them up
 normally..
 
 Craig Newroth
 Structures Technology - STL 
 Executive Computing Support 
 The Boeing Company 
 
 
 
 
 
   _  
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 http://groups.yahoo.com/group/flexcoders/ 
   
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]

mailto:[EMAIL PROTECTED]
 
   
 * Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/  Terms of
 Service. 
 
 



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 


 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE : [flexcoders] how to use a repeater question

2005-05-12 Thread CHANSOU Patrick ROSI/SICOR
Title: [flexcoders] how to use a repeater question







mx:Repeater id="rp" 
dataProvider="{thrustData}"mx:CheckBox 
id="subCheck" label="{rp.currentItem}"//mx:Repeater
I don't know if it's faster but you can have your array populatedvia 
AS
or use the same array in multiple mxml.

   Message d'origine De: 
  flexcoders@yahoogroups.comde la part decnewroth55 Date: 
  jeu. 12/05/2005 19:57 À: flexcoders@yahoogroups.com Cc: 
  Objet: [flexcoders] how to use a repeater 
  question
  is it possible to use a repeater control to 'duplicate' a 
  group ofcheckboxes? I have this text array i would like to have put into 
  agroup of checkboxes;![CDATA[ 
  var thrustData:Array = ["All Reports", "ASMT - AffordableStructures  
  Mfg. Tech.", "ALE - Advanced Lean  Efficient", "ASC -Advanced Support 
  Concepts", "APS - Advanced Platform Systems", "NCO -Netcentric Operations" 
  ];]]and would like for it to be the checkboxes 
  label.is it faster to do a repeater or just make them up 
  normally..Craig NewrothStructures Technology - STLExecutive 
  Computing SupportThe Boeing CompanyYahoo! Groups 
  Links* To visit your group on the web, go 
  to: http://groups.yahoo.com/group/flexcoders/* 
  To unsubscribe from this group, send an email to: 
  [EMAIL PROTECTED]* Your use of Yahoo! 
  Groups is subject to: http://docs.yahoo.com/info/terms/









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] how to use a repeater question

2005-05-12 Thread Matt Chotin










I think the repeater for this would be:



mx:Repeater id=r
dataProvider={thrustData}

 mx:CheckBox label={r.currentItem}
/

/mx:Repeater



So its pretty easy, though if
thrustData isnt going to change I think its more efficient
code-wise to write it out by hand.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of cnewroth55
Sent: Thursday, May 12, 2005 10:57
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to use a
repeater question





is it possible to use a repeater control to 'duplicate' a group of
checkboxes? I have this text array i would like to
have put into a
group of checkboxes;
![CDATA[
 var
thrustData:Array = [All Reports, ASMT - Affordable
Structures  Mfg. Tech., ALE -
Advanced Lean  Efficient, ASC -
Advanced Support Concepts, APS -
Advanced Platform Systems, NCO -
Netcentric Operations ]; 
]]
and would like for it to be the checkboxes label.
is it faster to do a repeater or just make them up
normally..

Craig Newroth
Structures Technology - STL 
Executive Computing Support 
The Boeing Company 














Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.