[flexcoders] Empty Arrays Returned from CFC

2005-12-14 Thread bsd












I have a CFC that calls a complex query, one that in Cold
Fusion I would parse through using grouping in my cfoutput. When
Ive tried passing this query back into Flex, Im getting less than
desirable results. I can pass the query back, but AS doesnt have a
neat way to parse through the results as I would do with grouped query outputs
in CF. Ive tried putting the results of the query into a structure
and passing that back, either as a structure or as an array of
structures. When I do this, all I get are empty arrays.. no data
whatsoever, even though when I use dumpToFile to view the actual data
structures, all the data is there.



Any ideas? Suggestions? 



Any help is appreciated.




Thanks,
Brad

















--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Tracing Events

2005-09-29 Thread bsd










Is there a way to trace events from one point to another in
a Flex application, say when clicking on a tab or changing to another
selectedChild in a viewstack?





Thanks in advance!



Brad









--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Trace All Events

2005-09-14 Thread bsd










Is there a way to trace all the events that get fired from
one point in an application to another (say from the time a button is clicked
until a datagrid is loaded with its data)?





Brad















--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Custom Component Dynamic Data

2005-09-12 Thread bsd










I have built a custom City/State/Zip component to use
throughout an application and, hopefully, throughout multiple
applications. 



It consists of three ComboBoxes; if the user selects the
state, it populates the city ComboBox with the cities for that state pulled
from a database. Once the user selects a city, the zip codes for that
city are then populated in the third ComboBox. It also works in reverse
where the user can type in the zip code in the editable ComboBox and the State
and City ComboBoxes are populated and selected with the appropriate data.






Okay, all thats working. The application at
hand is one where the user creates an event and selects the hotel for that
event. Right now Im dealing only with the hotel data. There
is a panel to list all the hotels in the database and a panel to edit that hotels
data (along with panels for adding hotels, etc.).



The application has a model to hold the data for the
particular hotel being dealt with (

mx:Model id=HotelToEdit{roHotels.getHotel.result._items[0]}/mx:Model)





I have the custom component dropped into my
application on an edit form with the id=editCityStateZip and the
data passed in so that is looks like:



CityStateZip id=editCityStateZip state={HotelToEdit.HotelState}
city={HotelToEdit.HotelCity} zip={HotelToEdit.HotelZip}
/



The user selects the hotel from the first panel, clicks a
button that calls the RemoteObject (roHotels) that is used to pull the hotel
data from the database and is directed to the Edit panel. 



Now, all of this is working so far. However, when the
user goes back to the main panel that lists all the hotels, selects a new hotel,
clicks the button and is sent back to the edit panel, all the data in that edit
panel is updated except for the that in the CityStateZip component. 



Ive created a test function within the custom
component to trace the data values for the city, state and zip variables and the
correct ones are there in the component. It just seems that the function that
picks the state in the state ComboBox, fn_pickState(stateName), (as this is the
one that drives the others) gets fired before the data in model is changed or
doesnt get fired after the initialization of the ComboBox. I
call this function using the modelChanged event handler of the state
ComboBox. Im also calling it using the resultHandler attribute of
my RemoteObject. Ive also tried calling it with the function that
loads the data for the edit panel and using the valueCommitted method of the
state ComboBox. None of these are working. 



What am I missing here? How do I call my function
after the data has been returned from the database and loaded into my data
model? Im getting a huge headache from banging my head against the
wall for two days!



Please help!



Thanks in advance,

Brad



















--
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



  Visit your group "flexcoders" on the web.
  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] Color component

2005-09-08 Thread bsd










Very cool..











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Philippe Maegerman
Sent: Thursday, September 08, 2005
9:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Color
component







cool color component .. free download+
swc version





http://www.powerclients.de/colorfan-component









Philippe
Maegerman















--
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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  








--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--



RE: [flexcoders] OH, For the love of all that's good, please help!

2005-08-25 Thread bsd










Where do I make the change to this
setting?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rick Bullotta
Sent: Thursday, August 25, 2005
8:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] OH, For
the love of all that's good, please help!





One piece of advice: Avoid
rpc/encoded web services and use doc/literal whenever possible











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sean McKibben
Sent: Tuesday, August 23, 2005
1:09 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] OH, For
the love of all that's good, please help!





I ran into this as well. Looking at the SOAP encoded message, it
appeared to me that flex wasn't making clean SOAP (pun definitely intended).









When we switched over to using the CFC's RemoteObject instead of the
WebService, things started working again. Wasn't too hard of a switch, and I'll
take the NetConnectionDebugger over paging through SOAP any day. (still wish
webservice serializing worked better...)











See my Flex serializer vs CF7 deserializer post thread or
the Collections between Flex and Web services thread for some
possible workarounds that didn't work for me...











Sean McKibben

















On Aug 23, 2005, at 10:29 AM, bsd wrote:






I'm passing an array from Flex to a web service located in a CFC.
It returns an error that states:

org.xml.sax.SAXException: No deserializer for array type 
















--
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
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] OH, For the love of all that's good, please help!

2005-08-23 Thread bsd










Im still trying to figure this out. Anyone
whos had experience with this issue and found a solution, your help
would be appreciated






I'm passing an array from Flex to a web service
located in a CFC.
It returns an error that states:

org.xml.sax.SAXException: No deserializer
for array type 


I've tried any number of workarounds to no avail,
including:

1. including
the array as part of a structure that is passed to
the cfc (the structure by itself passes fine)

2. sending the
array as a separate argument to the cfc

3. creating a
separate method within the cfc to handle the array

4. trying the
data types array, object, structure, and any to
handle the array











Brad Dardaganian









--
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
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Passing array to web service CFC

2005-08-22 Thread bsd










Can anyone help with this issue? It would
be greatly appreciated.



Brad











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of bdardaganian
Sent: Friday, August 19, 2005
12:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing
array to web service CFC





I've seen a couple of posts about this but haven't found a 
definitive answer.



I'm passing an array from Flex to a web service
located in a CFC.
It returns an error that states:

org.xml.sax.SAXException: No deserializer
for array type 


I've tried any number of workarounds to no avail,
including:

1. including
the array as part of a structure that is passed to
the cfc (the structure by itself passes fine)

2. sending the
array as a separate argument to the cfc

3. creating a
separate method within the cfc to handle the array

4. trying the
data types array, object, structure, and any to
handle the array


Any help is appreciated.

TIA,

Brad











--
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
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Passing array to web service

2005-08-21 Thread bsd










Ive seen a couple of posts about this but havent
found a definitive answer.



Im passing an array from Flex to a web service
located in a CFC. It returns an error that states:



org.xml.sax.SAXException: No deserializer for array
type 



Ive tried any number of workarounds to no avail,
including:

1. including
the array as part of a structure that is passed to the cfc (the structure by
itself passes fine)

2. sending the
array as a separate argument to the cfc

3. creating a
separate method within the cfc to handle the array

4. trying the
data types array, object, structure, and any to handle the array



Any help is appreciated.





TIA,


Brad















--
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
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.