That helped alot, thanks Jeff. --- Jeff Steiner <[EMAIL PROTECTED]> wrote:
> Craig, > > I have a specific example on FlexAuthority. Visit: > http://www.flexauthority.com/samplesIndex.cfm?sampleID=23 > > I have multiple checkboxes that pass along their > checked state to a CFC that > returns XML to populate a chart. > > Let me know if that does not answer your specific > question. > > Jeff > http://www.flexauthority.com > > ----- Original Message ----- > From: "Craig Newroth" <[EMAIL PROTECTED]> > To: <flexcoders@yahoogroups.com> > Sent: Tuesday, May 24, 2005 4:55 AM > Subject: RE: [flexcoders] can I bind more that one > checkbox to a send requ > est? > > > > Matt: > > Thanks for the response, I am trying to pass a > list of > > the ones that are checked..values in the > checkboxes > > are going to be passed to a cfc to get data from > query > > and returned to datagrid. > > so I guess that you are saying to build an array > out > > of the checkboxes (if they are checked) and then > pass > > that array value to my cfc call? > > Craig > > > > --- Matt Chotin <[EMAIL PROTECTED]> wrote: > > > Are you trying to pass a list of the ones that > are > > > checked or just one? > > > Your changeThrusts method can simply store which > > > checkboxes are selected and > > > then you can build an array to pass to your web > > > service for the query. If > > > only one of those checkboxes is meant to be > checked > > > maybe you should look > > > into using RadioButtons instead and then take > > > advantage of > > > RadioButtonGroup.selectedData. > > > > > > > > > > > > Matt > > > > > > > > > > > > _____ > > > > > > From: flexcoders@yahoogroups.com > > > [mailto:[EMAIL PROTECTED] On > > > Behalf Of cnewroth55 > > > Sent: Thursday, May 19, 2005 10:44 AM > > > To: flexcoders@yahoogroups.com > > > Subject: [flexcoders] can I bind more that one > > > checkbox to a send request? > > > > > > > > > > > > I have a form that has several different > checkboxes > > > and need to pass > > > any of their respected labels (or data) to a > > > webservice cfc..what i > > > what to do is be able to pass any of the below > up to > > > my webservice > > > call. the code for the web service call is below > > > this...; > > > > > > <mx:VBox> > > > <mx:CheckBox label="Select All > > > Thrust" > > > color="#123154" labelPlacement="right" > > > id="ThrustReportsCHB1" > > > click="changeThrusts( event );" /> > > > <mx:CheckBox label="ASMT - > Affordable > > > Structures > > > & Mfg. Tech" color="#123154" > > > labelPlacement="right" > > > id="ThrustReportsCHB2" /> > > > <mx:CheckBox label="ALE - Adv. > Lean > > > & Efficient" > > > color="#123154" labelPlacement="right" > > > id="ThrustReportsCHB3" /> > > > <mx:CheckBox label="ASC - Adv. > > > Support Concepts" > > > color="#123154" labelPlacement="right" > > > id="ThrustReportsCHB4" /> > > > <mx:CheckBox label="ASC - APS - > Adv. > > > Platform > > > Systems" color="#123154" labelPlacement="right" > > > id="ThrustReportsCHB5" /> > > > <mx:CheckBox label="NCO - > Net-Centric > > > Operations" > > > color="#123154" labelPlacement="right" > > > id="ThrustReportsCHB6" /> > > > <mx:HBox x="5" y="230" > > > > <mx:FormItem > > > > <mx:CheckBox label="Summary" > > > color="#123154" > > > labelPlacement="top" id="summaryCHB" > > > click="changeOther( event );"/> > > > </mx:FormItem> > > > <mx:FormItem> > > > <mx:CheckBox label="Detail" > > > color="#123154" > > > labelPlacement="top" id="detailCHB" > > > click="changeOther( event );"/> > > > </mx:FormItem> > > > </mx:HBox> > > > </mx:VBox> > > > > > > WEB SERVICE CALL > > > <mx:WebService > > > > > > wsdl="http://nameremoved.com/gvs/_cfc/gvs_queries.cfc? > > > > <http://nameremoved.com/gvs/_cfc/gvs_queries.cfc?> > > > wsdl" id="gvsQueriesWS"> > > > <mx:operation name="Thrust_Query"> > > > <mx:request> > > > > > > > > > <ThrustName>{WhereIneedToPassCheckboxDATA}</ThrustName> > > > </mx:request> > > > </mx:operation> > > > </mx:WebService> > > > > > > > > > > > > > > > > > > > > > _____ > > > > > > 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. > > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Small Business - Try our new Resources site > > http://smallbusiness.yahoo.com/resources/ > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/ 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/