[flexcoders] How to Send the Entire Contents of a DataGrid to a CFC

2006-09-25 Thread cnewroth55
howdy all:
been awhile since i posted or asked anytyhing, but i am in desparate 
need of an example of how to send the ENTIRE contents of a datagrid 
that has been populated back to a CFC to update a DB. Peter Ent has 
been working with me and sending me some good code, but alas I am 
still clueless. I have what i think will work in the CFC, but how to 
get Flex 2.0 to send that to it has stumped me, and I confess that 
even tho Peter has helped alot, I am just not 'getting' it.

IF ANYONE has a working example, please email me @ 
[EMAIL PROTECTED] 
ANY help is greatly appreciated!!

Craig

code is below:
 mxml that i have *

http://www.adobe.com/2006/mxml"; 
layout="vertical"
creationComplete="getCLDesciptions.send()">

http://www.adobe.com/2006/mxml"; 
layout="vertical"
creationComplete="getCLDesciptions.send()">





http://130.38.115.8:8300/Cart/cart_orc/querys1a.cfc?wsdl"; 
id="getData">
  

{searchDeptsText.text}

  
  

{resultsDG.selectedItem.USER_ID}
{resultsDG.selectedItem.DEPT}


  
  

{resultsDG.selectedItem.USER_ID}

  
  
  


























   







This is the DataGrid you will 
use to update the CL field



 



















* the cfc function ***


 


update USAGE_RESPONSES
(NEW_CL)
values 
('#listgetat(Arguments.NEW_CL,i)#')
WHERE Prop_Tag = '#listgetat(Arguments.Prop_Tag,i)#'











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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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





[flexcoders] How to read the Drive and place list into Tree?

2006-01-13 Thread cnewroth55
hi all, what i am looking to do is to have Flex or Cold Fusion, read 
the contents of a selected area of my drive and then display those 
contents into a Tree Control. Is this possible? and if so, are there 
any examples documenting how to do this?
thx






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

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





[flexcoders] Re: Security error - can anyone help with this?

2005-10-27 Thread cnewroth55
The container was the FLex examples and tried to bring up the flex 
explorer example...was testing my install in the https server.
Craig



--- In flexcoders@yahoogroups.com, "Dave Wolf" <[EMAIL PROTECTED]> wrote:
>
> That setting should be on by default.  Is it?  If so I actually 
want
> you to do the opposite, and to set
> 
> useProxy="false"
> 
> You will need to update flex-config to allow this also.
> 
> Please let me know if it suddenly works now.  If so I can explain 
why
> it worked when bypassing the proxy.  If not, we need some more 
digging ;)
> 
> Oh, BTW, what container?
> 
> 
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Macromedia Flex Alliance Partner
> http://www.cynergysystems.com
> 
> Email:  [EMAIL PROTECTED]
> Office: 866-CYNERGY x85 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, Jeff Tapper <[EMAIL PROTECTED]> wrote:
> >
> > try setting useProxy="true" on your HttpService tag
> > 
> > At 12:05 PM 10/26/2005, you wrote:
> > >I am getting the following popup error when i try to access the
> > >examples on my secured server. Any one seen this before and I 
ahve my
> > >flex-config wide open..
> > >
> > >HTTPService Fault:
> > >sun.security.validator.ValidatorExecption:
> > >no trusted certificate could be found
> > >
> > >i am on a https connection, so it looks like that the service 
call is
> > >thinking it is a http. is there something in the tag that I 
need to
> > >chage to tell it that it is a https?
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >--
> > >Flexcoders Mailing List
> > >FAQ: 
> >
> 
>ht
tp://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
> > >
> > >*  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.
> > >
> > >
> > >--
> >
>






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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




[flexcoders] Security error - can anyone help with this?

2005-10-26 Thread cnewroth55
I am getting the following popup error when i try to access the 
examples on my secured server. Any one seen this before and I ahve my 
flex-config wide open..

HTTPService Fault:
sun.security.validator.ValidatorExecption:
no trusted certificate could be found

i am on a https connection, so it looks like that the service call is 
thinking it is a http. is there something in the tag that I need to 
chage to tell it that it is a https?







 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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




[flexcoders] Re: MACR +3.35

2005-09-20 Thread cnewroth55
no you dont, i lost about 2000.00 in that little deal due to 
jeremy's screwing around with itthen in class action lawsuit 
only recovered about 30cents on the dollar...
they make great products yes, but they get enough of my monies with 
out me having to invest in them as well.. 
;)


--- In flexcoders@yahoogroups.com, Scott Barnes <[EMAIL PROTECTED]> 
wrote:
> I'm wishin i had $$ to invest when Allaire and MM merged or around 
that 
> time...
> 
> 
> 
> 
> On 9/17/05, Tariq Ahmed <[EMAIL PROTECTED]> wrote:
> > 
> > A I love it. Not only does Macromedia make awesome 
products, but
> > the stock this year has been kicking ass. +3.35 today! Nice!
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > 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
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> Regards,
> Scott Barnes
> http://www.mossyblog.com




 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

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

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




[flexcoders] RemoteObject Error - maybe some one can help!!!

2005-09-16 Thread cnewroth55
have this .class file that i am trying to access as a RO, and when i 
try to access it, the error i am getting back from the network monitor 
is:
(Unsupported major.minor version 49.0)
had a co-worker compile the .java file for me, so i dont know what 
version to maybe have him make it availble to? What version does the 
FLex JRUN server use? or am i asking the wrong questions?






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

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




[flexcoders] Re: Calling ArrayStructures in CFCs from Flex

2005-08-12 Thread cnewroth55
not sure if this will help Darius, but here is how i did basically 
the same thing...hth

* CFC code *




 




   
   
 
  





tempmgr is: #tempmgr#

   
   
   
 
  














 
  







 


   employee = StructNew();
   StructInsert(employee, "name", getInfo.DisplayName);
   StructInsert(employee, "firstname", getInfo.givenname);
   StructInsert(employee, "lastname", getInfo.sn);
   StructInsert(employee, "initials", getInfo.initials);
   StructInsert(employee, "email", getInfo.mail);
   StructInsert(employee, "clocknumber", getInfo.Number);
   StructInsert(employee, "bemsid", getInfo.ID);
   StructInsert(employee, "prefuid", getInfo.PrefUID);
   StructInsert(employee, "phone", getInfo.telephoneNumber);   
   StructInsert(employee, "mailcode", getInfo.MailCode);   
   StructInsert(employee, "bldg", getInfo.Building);
   StructInsert(employee, "department", getInfo.departmentNumber);   
   StructInsert(employee, "extcompany", getInfo.ExternalCompany);
   StructInsert(employee, "sponsorsID", #tempsponsor2#);  
   StructInsert(employee, "manager", #tempmgr3#);  
   StructInsert(employee, "managersPhone", 
getmgrInfo.telephoneNumber); 
   StructInsert(employee, "managersID", getmgrInfo.ID);  
   StructInsert(employee, "sponsorsName", 
getsponsorInfo.DisplayName);
   StructInsert(employee, "sponsorsEmail", getsponsorInfo.mail);
   StructInsert(employee, "sponsorsDept", 
getsponsorInfo.departmentNumber);
   StructInsert(employee, "sponsorsPhone", 
getsponsorInfo.telephoneNumber);

 
   






--- In flexcoders@yahoogroups.com, <[EMAIL PROTECTED]> wrote:
> Jeff,
>  
> Great example! It almost works for me except the cfc I call from 
Flex is
> a facade to my cfc query.  The cfc query returns a variable that 
needs
> to be converted to an array or whatever before being put into a
> structure.  Do you have any ideas how to do this?  Many thanks, 
Darius
>  
> 
>  
> 
>   returnType="Array">
>
>   
>   
>   
>   
>   
>"Model.mUtilities.mUpdate.qry_UpdateAuthorization">
>   
> 
>returnvariable="qGetUpdateAuthorization">
>
>
>
> value="#CourtOrderAvailableFlag#">
>
>   
>  
> 
>   
>   
>  
>   
>
> 
> 
> 
> 
>
>
> 
>   
>  
>   
>  
>  
>  
> 
>  
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Battershall, Jeff
> Sent: Thursday, August 11, 2005 8:38 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Calling ArrayStructures in CFCs from Flex
> 
> 
> I'm jonny-come-lately to this thread, but I send and return arrays 
and
> structures to/from CFCs all the time.  I've abandoned passing back
> CFQueries as such but convert them to an array of structures first 
as
> that is what Flex UIComponents seem to like. 
> 
> Example code:
> 
>  access="public">
>   
> 
> 
> 
>  datasource="#getDataSource()#">
>   
>   
>   
> 
>   
>   
>   
>   
> 
> 
>   
> 
>   
> 
> If you were dealing with a dynamic list of columns the code could 
be
> altered as such:
> 
> 
> 
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> Produced in this fashion, Flex WILL accept this result as an array 
of
> structures. I'm mystified at the problem you're experiencing. 
> 
> Jeff
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Malcolm
> Sent: Wednesday, August 10, 2005 7:48 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Calling ArrayStructures in CFCs from Flex
> 
> 
> Hi Darius,
> 
> I too went through the same pain (days & days of trying see what 
data
> types I could successfully return from a CFC).
> 
> I'm still learning but in my somewhat limited experience I could 
find no
> way to return an array datatype, it just wouldn't do it no matter 
what I
> tried, same goes for structures. I have successfully returned the
> following
> datatypes:
> 
> :String
> :Query
> :Boolean
> 
> :Numeric (yet to try)
> :Date (yet to try)
> 
> It's interesting to note that Flex (somehow) in the background 
actually
> converts a ColdFusion query to an array. (Search the group on how 
these
> can be accessed)
> 
> At the moment I am mostly using queries to get data back. This has 
the
> unfortunate side effect of losing typing (everything in the query 
is a
> string), thus you may need cast some results etc to their correct 
type
> in Flex.
> 
> Malcolm
> 
> -Original Message-
> From: fle

[flexcoders] okay i am stuck

2005-08-12 Thread cnewroth55
okay, i have a datagrid that I am populating with a cfc, and want to 
be able to write any changes back to the db. so this is kind of a 
Flex/CF question. I know i am going to have to loop over my dg 
items, but am not exactly sure how to do this...
is 'datagrid1 in itself going to be returned as a list that I can 
loop over

here is the code snippet for the dg
* refresh.mxml


  















  


***
the cfc - well what i have so far ***





SELECT ID, BemsNumber, UserName, UserPhone, Bldg, 
Lvl, Post, ComponentChrgDept, Program, Type, Mfg, Model, 
PartDescription, 
   PropertyTag, SerialNumber, 
ActionTaken
FROM testDept 
WHERE testDept.ComponentChrgDept LIKE '%
#selectedDept#%'  
ORDER BY UserName











 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12ht1j9r0/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123878896/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

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

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





[flexcoders] problem with cell renderer showing data in datagrid twice

2005-08-11 Thread cnewroth55
okay, heres one for all; i have a datagrid and the last cell i 
wanted 
to put a combo box in it with a set of selections for a user to pick 
from. got the cell renederer to work and it puts the combo box in 
it, 
however if yu select an item from them combo box, it will put that 
selection in the next row that is 'invisible' or below the datagrids 
visible rows.
graphic representation:
__
[][][combo box]<-i select an item here 
say '1'
(say there are 7 visible rows to datagrid)
__
here is the next row (8) that you cannot see unless you use scroll 
bar
--
[][][combo box] <-the item '1' shows up here...and in 
subsequent selection(s) numbering the amount of visible rows in the 
dg..?
here is the cellrenderer code file and the main mxml file
any thoughts as to why or what I am doing wrong?
(guess I will have to attach the files in a seperate reply to this 
post, dont see where to attach them here)





 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hel909n/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123792338/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

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

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




[flexcoders] Text content larger than 16384 bytes may not be included at compile-time (740684

2005-08-11 Thread cnewroth55
I have an xml file that is 26000 lines long and am trying to read it 
into a datagrid, when i do i get the error listed as the subject:

Text content larger than 16384 bytes may not be included at compile-
time (740684)

any idead why i am getting this? have nto seen this before

thx all






 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h0nbfie/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123767565/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

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

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




[flexcoders] Re: getting data to a webservice from a tree node - fix found (sort of)

2005-07-15 Thread cnewroth55
well, using a hint from Tracey, this is what finally worked, but i 
do have to go back in and restructure my xml...no bigie...

*** This worked, and removed the error, and passed the data to 
my WS call correctly ***
{tree1.selectedNode.getData()}
***

thanks to all that responded...

..now to re-write all that xml :-)  

Craig



--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
> First, I think you should use selectedNode, not selectedItem.
> 
> I also think you should put your data in the data object and then 
use
> the TreeDataProvider API: tree2.selectedNode.getData().UserBemsId.
> 
> Perhaps you can get at the id the way you have it if you do:
> tree2.selectedNode.getProperty("UserBemsId")
> 
> If you still get the warning, cast the reference to String:
> String(tree2.selectedNode.getData().UserBemsId)
> 
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of cnewroth55
> Sent: Friday, July 15, 2005 10:56 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: getting data to a webservice from a tree 
node
> - fix found (sort of)
> 
> well, i searched the archives and found this, which works, but i 
do 
> get a 'warning', "Changes to unknown property, UserBemsID, will 
not 
> be detected."...
> here is what I used to pass up to WS from Tree...
> 
> {tree1.selectedItem.attributes.UserBemsID}
> 
> now, can anyone tell me why i get the warning?
> 
> --- In flexcoders@yahoogroups.com, "cnewroth55" <[EMAIL PROTECTED]> 
> wrote:
> > how does one get data from a selected tree node to a parameter 
in 
> a 
> > web service? I have a tree and tried doing the selectedItem. 
call 
> > but it doesn't pass the data up to the webservice; here is the 
> > webserice call;
> >  > wsdl="http://127.0.0.1:8300/components/getTechPOCUserID.cfc?
wsdl" 
> > id="POCservice1">
> >   
> > 
> >   {tree2.selectedItem.UserBemsID}

> > 
> >   
> > 
> >  and the snippet of the tree... ***
> >  > change="selectedNode=POCservice1.getuserinfo.send()" width="340" 
> > backgroundColor="#8B9393" id="tree1" initialize="initTree()">
> > 
> > 
> >  > data="This selection contains Flutter Analysis, Static 
Aeroelastic 
> > Analysis & Aeroservoelastic Analysis">
> > 
> >  > data="" UserBemsID="11"/>
> > 
> > Want to pass UserBemsID up to webservice, but can't seem to get 
> that 
> > to happen...
> > can anyone see what I am doing wrong
> > Craig
> 
> 
> 
> 
> --
> 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




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

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




[flexcoders] Re: getting data to a webservice from a tree node - fix found (sort of)

2005-07-15 Thread cnewroth55
well, i searched the archives and found this, which works, but i do 
get a 'warning', "Changes to unknown property, UserBemsID, will not 
be detected."...
here is what I used to pass up to WS from Tree...

{tree1.selectedItem.attributes.UserBemsID}

now, can anyone tell me why i get the warning?

--- In flexcoders@yahoogroups.com, "cnewroth55" <[EMAIL PROTECTED]> 
wrote:
> how does one get data from a selected tree node to a parameter in 
a 
> web service? I have a tree and tried doing the selectedItem. call 
> but it doesn't pass the data up to the webservice; here is the 
> webserice call;
>  wsdl="http://127.0.0.1:8300/components/getTechPOCUserID.cfc?wsdl"; 
> id="POCservice1">
>   
> 
>   {tree2.selectedItem.UserBemsID}
> 
>   
> 
>  and the snippet of the tree... ***
>  change="selectedNode=POCservice1.getuserinfo.send()" width="340" 
> backgroundColor="#8B9393" id="tree1" initialize="initTree()">
> 
> 
>data="This selection contains Flutter Analysis, Static Aeroelastic 
> Analysis & Aeroservoelastic Analysis">
> 
>  data="" UserBemsID="11"/>
> 
> Want to pass UserBemsID up to webservice, but can't seem to get 
that 
> to happen...
> can anyone see what I am doing wrong
> Craig




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

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




[flexcoders] getting data to a webservice from a tree node

2005-07-15 Thread cnewroth55
how does one get data from a selected tree node to a parameter in a 
web service? I have a tree and tried doing the selectedItem. call 
but it doesn't pass the data up to the webservice; here is the 
webserice call;
http://127.0.0.1:8300/components/getTechPOCUserID.cfc?wsdl"; 
id="POCservice1">
  

  {tree2.selectedItem.UserBemsID}

  

 and the snippet of the tree... ***







Want to pass UserBemsID up to webservice, but can't seem to get that 
to happen...
can anyone see what I am doing wrong
Craig





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

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




[flexcoders] Flash Player 8 Beta - found problem??!!

2005-07-14 Thread cnewroth55
Okay, saw the post about the beta Flash Player 8 beta, and as I like 
to jump in with both feet, installed it for IE, Netscape 7.2 and Fire 
Fox 1.0.4...went to one of my flex apps and found that I could no 
longer see my label in the Link tag in my app. I was setting the 
property 'alpha' to  zero so that the "bar" that highlights the 
selection is invisible and just the rollovers would be seen. Removing 
the alpha property lets my labe be seen but then (as I am using 
haloBlue) i get a big ugly blue bar across my link label...I have a 
graphic behind the link bar and did not want this to show up (the 
bar)...it used to work in Flash player 7...so beta team thought you 
would like to knowI really, really dont want to give up my alpha :)

ps. did noticed a slight improvement in load speed...

this on longer works





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

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




[flexcoders] okay, so I can't beleive that......

2005-06-08 Thread cnewroth55
okay, so i can't beleive that I cannot pass multiple valuse into a 
RO tagI have a list control, it is being fed from an array, 
multiple selections are set to truei have tried SEVERAL 
different ways to pass the 'selectedItems' property to my Remote 
Object tag...see below
the cfc call (obvious parts removed):


(have tired every thing in the type for this piece)

the function;

var revResult:Object;
function one(myEvent:Object):Void
{
revResult=myEvent.result;
} //Thanks Matt Boles

the list control



the RO tag:
http://mydomains.com/flashservices/gateway"; >


{thrustCB.selectedItems}



no matter WHAT I do tyring to use this returns squat!
if i change just this in the mx:arguments tag it works,
{thrustCB.selectedItem}
(so that i am only using a single value)...if I change the RO to a 
web service then using 'selectedItems' will work. I am convinced 
that you cannot make a call to a CFC using a RO with 
the 'selectedIems' property, maybe a bug, has ANYONE been able to do 
this? any insights or code would be MUCH appreciated...I want the 
performance of an AMF vs the SOAP, but.







 
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/
 





[flexcoders] Bug with RO Tag - can anyone explain or have noticed...

2005-06-07 Thread cnewroth55
I have a RO object call. heres the code;

http://mydomainsbox.com/flashservices/gateway"; 
result="reviewThrusts=event.result" > 


{thrustCB.selectedItem}



notice that I have a CB which has some data in it and it is the 
dataprovider that is providing data to my arg ..
the aboive works just fine, HOWEVER if I change it (the 
dataprovider) to this;
{thrustCB.selectedItems}
(notice i just changed it so that I can select mutliple items and 
that string be returned to the binding)
THE WHOLE DARN THING BREAKS nothing is returned back to my 
DG...anyone else had this happen to them? IF so is this a bug MM?






 
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/
 





[flexcoders] symbol in the FLex builder question

2005-06-03 Thread cnewroth55
in the flex builder, the data panel, when i select a type, they have
several different symbols, the one for Remote Object is a little gold
triangle, if it has a "!" nexxt to it does that mean that the
connection is not there? When I have a Web Service (the globe) it (the
data coneections) don't have that exclamation point next to them.. am
i right about the "!".
C





 
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/
 





[flexcoders] prblem with getting dat back from A Remote Object

2005-06-02 Thread cnewroth55
hi all, I am haiving a problem getting my data back from my call to 
a RO. It looks like (in the network monitor) that the call is 
working, but I am not getting any data back into my datagrid (where 
i think i have the binding right). 
the netowrk monitor shows this:

Method: gvs._cfc.gvs_queries.Thrust_Query
Parameter 1: 
name : param1
type : object
value[object] : 
ThrustName[array] : 
length[Number] : 1
[0][String] : ASMT - Affordable Structures and Mfg. Tech
and my code is this:

//the call to the RO
http://www-stl-
100d.mw.nos.boeing.com/flashservices/gateway" 
source="gvs._cfc.gvs_queries" >
 

the scraip call to put everything where is it supposed to go (this 
is where I think i am doing it wrong)


[flexcoders] using the Style control tag

2005-05-19 Thread cnewroth55
not sure if anyone else knows this, but I tried to use the 
 tag to set a style in one of my components, and when I 
did i got an error that said "CSS type selectors are not supported 
in components", here is what I had:

LinkBar {some style stuf
}


however this is wrong and the error message was kind of misleading, 
based on it i thought that i could NOT use the tag/style in a 
component;
but when I changed it to this;

myLinkBar.LinkBar {some style stuff
}

noticed i added a ID to the LinkBar style it worked just fine...just 
thought someone might what to know...
Craig





 
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/
 




[flexcoders] can I bind more that one checkbox to a send request?

2005-05-19 Thread cnewroth55
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...;


   
   
   
   
   
   
   
  

  
  

  
   


WEB SERVICE CALL
http://nameremoved.com/gvs/_cfc/gvs_queries.cfc?
wsdl" id="gvsQueriesWS">

  
{WhereIneedToPassCheckboxDATA}
  







 
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/
 




[flexcoders] Re: media control question - fixed THANKS Abdul

2005-05-13 Thread cnewroth55
yes, that did help alot, and here is what i did...just added your
pause() to the function call


function triggerHideEffectMediaPlayback()
{
  // this triggers the hideEffect on MediaPlayback.
  MediaPlayback.visible = false;
  this.MediaPlayback.myMediaPlayBack.pause();
}

Craig


--- In flexcoders@yahoogroups.com, Abdul Qabiz <[EMAIL PROTECTED]> wrote:
> Hi
> 
> "playing" is a read-only property of MediaPlayback component. You
can use,
> MediaPlayback's play(..), pause() and stop() methods control the
playback.
> 
> I guess, when you bring another component, you can either pause the
playback
> or stop the playback, all depends on your requirement.
> 
> 
> I also notice, you are using id similar to MediaPlayback, choose a
different
> id for MediaPlayback component instance and refer the component
using that
> id. MediaPlayback is not a static class.
> 
> function triggerHideEffectMediaPlayback()
> {
>   MediaPlaybackInstance.visible = false;
>   MediaPlaybackInstance.pause();
>   //MediaPlaybackInstance.stop();
> }
> 
> Look at following link for MediaPlayback API:
>
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/MediaPlayback.h
> tml
> 
> 
> 
> Does that help..
> 
> -abdul
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of cnewroth55
> Sent: Friday, May 13, 2005 5:10 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] media control question
> 
> First what a great forumnow the question, I have a media control
> to play my flv, but when i click on another 'button' to bring up a
> different component in my app, the media controller continues to play
> the flv file. I have tried in my AS code that controls my hide/show
> functions and I get this error...
> "there is no property with the name 'playing'. 
> 
> and file doesn't even compile and run...
> 
> Live docs say that 'playing' is indeed a property of MediaPlayback,
>
(http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/
> wwhelp.htm?href=part2_de.htm)
> so why if I try to set that property to 'false' so that when it gets
> 'hidden' doesn't it shut off? 
> the AS code is: (MediaPlayback is the ID of the component)
> 
> function triggerHideEffectMediaPlayback()
> {
>   // this triggers the hideEffect on MediaPlayback.
>   MediaPlayback.visible = false;
>   MediaPlayback.playing = false;
> }
> do I need to reference my controller via the componentID then the ID
> of the controler in the component and then the property? ie
> MediaPlayback.myMediaPlayBack.playing = 'false';
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links




 
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/
 




[flexcoders] media control question

2005-05-13 Thread cnewroth55
First what a great forumnow the question, I have a media control
to play my flv, but when i click on another 'button' to bring up a
different component in my app, the media controller continues to play
the flv file. I have tried in my AS code that controls my hide/show
functions and I get this error...
"there is no property with the name 'playing'. 

and file doesn't even compile and run...

Live docs say that 'playing' is indeed a property of MediaPlayback,
(http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/wwhelp.htm?href=part2_de.htm)
so why if I try to set that property to 'false' so that when it gets
'hidden' doesn't it shut off? 
the AS code is: (MediaPlayback is the ID of the component)

function triggerHideEffectMediaPlayback()
{
  // this triggers the hideEffect on MediaPlayback.
  MediaPlayback.visible = false;
  MediaPlayback.playing = false;
}
do I need to reference my controller via the componentID then the ID
of the controler in the component and then the property? ie
MediaPlayback.myMediaPlayBack.playing = 'false';





 
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/
 




[flexcoders] Re: calling a CFR from a CFC - got it working!

2005-05-12 Thread cnewroth55
the cfm file code:






the CFC code:






 *** your sql goes here   






 




This works fine for me, now all I have to do is pass the arguments
from FLEX to the CFC...
Craig



--- In flexcoders@yahoogroups.com, Scott Barnes <[EMAIL PROTECTED]> wrote:
> If you use CFCONTENT you can push the mime-type back to the browser,
> which in turn should trigger the intended result you are after.
> 
> I'm actually about to integrate FLASHPAPER with my FLEX app today, so
> umm I'll let you know if i discover anything bad/good :)
> 
> 
> 
> 
> On 5/12/05, Tarik Ahmed <[EMAIL PROTECTED]> wrote:
> > I haven't used CF7 so a blind guess is perhaps you need to add a
> > CFHEADER to the cfm file to identify the mime-type.
> > 
> > Or try it this way:
> > 
> > 
> > #myCFC.Needs_Report("PDF")#
> > 
> > Try asking this on BACFUG (www.bacfug.org), someone on there will
> > probably know (Sean Corfield and a bunch of other CF gurus are on
there).
> > 
> > cnewroth55 wrote:
> > 
> > >I understand I can easily call a cfc in a cfm file and then use the
> > >cfreport tag in the cfm file to call the template and use the query
> > >returned by the cfc for my report. However what I want to do is a bit
> > >different. I would like to have a function in my cfc that does the
> > >query and another function inside cfc that uses the query to create
> > >the report and pass a format argument like PDF or Flash or Excel
> > >Remotely using Flex (flash) Here is my CFC Code, but when i call it
> > >from a cfm file to test it. I get a blank page.
> > >
> > >What am i doing wrong?
> > >
> > >Attached CFM Code to test CFC:
> > >
> > > > >returnvariable="MyReport" ReportFormat="PDF">
> > >
> > >
> > >
> > >Attached CFC Code
> > >
> > >
> > > > >access="public">
> > >   
> > >
> > >   
> > >   A Cool Query SQL
> > >Statement here
> > >   
> > >   
> > >
> > >
> > > > >access="remote">
> > >> >required="yes" hint="format type for report" />
> > >
> > >   
> > >
> > >> >method="Needs_Query" returnvariable="MyQuery">
> > >
> > >> >template="../_reports/gvs_techneeds.cfr"
> > >format="#ARGUMENTS.ReportFormat#" query="MyQuery" />
> > >   
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> Regards,
> Scott Barnes
> http://www.mossyblog.com
> http://www.flexcoder.com (Coming Soon)




 
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/
 




[flexcoders] how to use a repeater question

2005-05-12 Thread cnewroth55
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;

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:
http://docs.yahoo.com/info/terms/
 




[flexcoders] calling a CFR from a CFC

2005-05-11 Thread cnewroth55
I understand I can easily call a cfc in a cfm file and then use the
cfreport tag in the cfm file to call the template and use the query
returned by the cfc for my report. However what I want to do is a bit
different. I would like to have a function in my cfc that does the
query and another function inside cfc that uses the query to create
the report and pass a format argument like PDF or Flash or Excel
Remotely using Flex (flash) Here is my CFC Code, but when i call it
from a cfm file to test it. I get a blank page.

What am i doing wrong? 

Attached CFM Code to test CFC:



 

Attached CFC Code 



   
 
   
   A Cool Query SQL
Statement here
   
   



   
   

   
   
   
   
   







 
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/
 




[flexcoders] help enabling or disabling a control when a user selects something

2005-05-05 Thread cnewroth55
What I am trying to do (with out much success) is to disable the one 
list container(srcgrid) if a person drags "All Reports" into the 
destination list container(destgrid), I have tried using 
selectedIndices with both the text and the value of zero as this is 
the index of "all reports" but it doesn't work, can anyone help?
...here is my mxml code:

standardReports.mxml

http://www.macromedia.com/2003/mxml";  
width="100%" >

function changeOther( event )
{
if ( event.target == summaryCHB )
detailCHB.enabled = !
detailCHB.enabled;

if ( event.target == detailCHB )
summaryCHB.enabled = !
summaryCHB.enabled;

if ( event.target == summaryCHB2 )
detailCHB2.enabled = !
detailCHB2.enabled;

if ( event.target == detailCHB2 )
summaryCHB2.enabled = !
summaryCHB2.enabled;

if ( event.target == summaryCHB3 )
detailCHB3.enabled = !
detailCHB3.enabled;

if ( event.target == detailCHB3 )
summaryCHB3.enabled = !
summaryCHB3.enabled;

}



  


  
  

  
  
 




  


  

   

  
 



 












  


  

   

 










  


  

   

  

and the drag and drop as stuff, actually just the doDragComplete 
section;
function doDragComplete(event) {
doDragExit(event);
var src = event.target;


if (event.action == DragManager.MOVE) {

var items = src.selectedIndices;

   items.sort(sortByNumber) 
   items.reverse() 

var s="";
for(var i = 0; i < items.length; i++) {
s=s+items[i]+" : ";
}

for(var i = 0; i < items.length; i++) {
src.removeItemAt(items[i])
}

}
if (event.target.selectedIndices == "All Reports"){
srcgrid.enabled = !srcgrid.enabled;
}
}






 
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/
 




[flexcoders] xml data from the Charting Components Explorer on MM' Site

2005-05-03 Thread cnewroth55
SOme one was askign for the the xml data file that was on MM's 
Charting Component Explorer? Well, I did not find that file but made 
my own and is works okay...so here is the structure: (this works for 
the Tips and Misc section, just subtitute you data for mine)(I saved 
this as data.xml)

















 
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/
 





[flexcoders] Re: creditcard dashboard - for Alistair

2005-04-28 Thread cnewroth55
did look at flex-config.mxml... not a clue sorry. and the book it self
doesn't seem to explain where or give example for whitelist..

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
> Look at flex-config.xml itself. It has extensive explanatory comments
> and examples.  There is also the documentation.
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of cnewroth55
> Sent: Thursday, April 28, 2005 1:06 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: creditcard dashboard - for Alistair
> 
> okay, so I changed all the 'chart' references to just  and
> that seems to work, but now when it starts I get...
> "onFault Client.NotAllowed You are not allowed to access the service
> com.iterationtwo.boe.business.Application Delegate. THe service is not
> in the configured whitelist. 
> so I know I need to put that "path' in the whitelist, just not sure of
> syntax or place in flex.config...can you provide example...
> Craig
> 
> --- In flexcoders@yahoogroups.com, "Alistair McLeod" <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> > 
> > The book was written before the charts were added to Flex 1.5, so the
> > namespace is now different - use the mx namespace for all the charts
> code.
> > You should also check the Flex 1.5 documentation for the actual
> chart usage
> > - the book was published before Flex 1.5 was released and the chart
> APIs may
> > have changed in the interim.
> > 
> > Cheers,
> > 
> > Ali
> > 
> > 
> > --
> > Alistair McLeod
> > Development Director
> > iteration::two
> > [EMAIL PROTECTED]
> >  
> > Office:  +44 (0)131 338 6108
> >  
> > This e-mail and any associated attachments transmitted with it may
> contain
> > confidential information and must not be copied, or disclosed, or
> used by
> > anyone other than the intended recipient(s). If you are not the
> intended
> > recipient(s) please destroy this e-mail, and any copies of it,
> immediately.
> >  
> > Please also note that while software systems have been used to try
> to ensure
> > that this e-mail has been swept for viruses, iteration::two do not
> accept
> > responsibility for any damage or loss caused in respect of any viruses
> > transmitted by the e-mail. Please ensure your own checks are carried
> out
> > before any attachments are opened.
> >  
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of cnewroth55
> > Sent: 28 April 2005 13:16
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] creditcard dashboard - for Alistair
> > 
> > Alistair McLeod:
> >  I am trying to get chapters 22-25 to run. THe creditcard
> dashboard, and
> > have had to change a few of the name space things, but this one has me
> > stumped, in the file SalesByCard (folder charts) you reference an
> xlmns of
> > (well see code)to the url at mm, this does not exist. how do I change
> so
> > that this error does not happen when I run the dashboard...
> > (errors below code snippet)
> > 
> > http://www.macromedia.com/2003/mxml";
> >  xmlns:chart="http://www.macromedia.com/2004/charts";
> >  xmlns:i2View="views.*"
> >  title="Bank of Edinburgh Credit Card - Application Dashboard" >
> > 
> >  Errors I am getting *** Error
> > /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
> > Namespace http://www.macromedia.com/2004/charts has not been
> associated with
> > component manifest.
> > 
> > Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
> > Don't know how to parse element
> > "http://www.macromedia.com/2004/charts:ColumnChart";. It is not a
> known type
> > or a property of mx.containers.VBox.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
> > Namespace http://www.macromedia.com/2004/charts has not been
> associated with
> > component manifest.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
> > Don't know how to parse element
> > "http://www.macromedia.com/2004/charts:PieChart";. It is not a known
> type or
> > a property of mx.containers.VBox.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
> > Namespace http://www.macromedia.com/2004/charts has 

[flexcoders] Re: creditcard dashboard - for Alistair

2005-04-28 Thread cnewroth55
okay, so I changed all the 'chart' references to just  and
that seems to work, but now when it starts I get...
"onFault Client.NotAllowed You are not allowed to access the service
com.iterationtwo.boe.business.Application Delegate. THe service is not
in the configured whitelist. 
so I know I need to put that "path' in the whitelist, just not sure of
syntax or place in flex.config...can you provide example...
Craig

--- In flexcoders@yahoogroups.com, "Alistair McLeod" <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> The book was written before the charts were added to Flex 1.5, so the
> namespace is now different - use the mx namespace for all the charts
code.
> You should also check the Flex 1.5 documentation for the actual
chart usage
> - the book was published before Flex 1.5 was released and the chart
APIs may
> have changed in the interim.
> 
> Cheers,
> 
> Ali
> 
> 
> --
> Alistair McLeod
> Development Director
> iteration::two
> [EMAIL PROTECTED]
>  
> Office:  +44 (0)131 338 6108
>  
> This e-mail and any associated attachments transmitted with it may
contain
> confidential information and must not be copied, or disclosed, or
used by
> anyone other than the intended recipient(s). If you are not the intended
> recipient(s) please destroy this e-mail, and any copies of it,
immediately.
>  
> Please also note that while software systems have been used to try
to ensure
> that this e-mail has been swept for viruses, iteration::two do not
accept
> responsibility for any damage or loss caused in respect of any viruses
> transmitted by the e-mail. Please ensure your own checks are carried out
> before any attachments are opened.
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of cnewroth55
> Sent: 28 April 2005 13:16
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] creditcard dashboard - for Alistair
> 
> Alistair McLeod:
>  I am trying to get chapters 22-25 to run. THe creditcard
dashboard, and
> have had to change a few of the name space things, but this one has me
> stumped, in the file SalesByCard (folder charts) you reference an
xlmns of
> (well see code)to the url at mm, this does not exist. how do I change so
> that this error does not happen when I run the dashboard...
> (errors below code snippet)
> 
> http://www.macromedia.com/2003/mxml";
>  xmlns:chart="http://www.macromedia.com/2004/charts";
>  xmlns:i2View="views.*"
>  title="Bank of Edinburgh Credit Card - Application Dashboard" >
> 
>  Errors I am getting *** Error
> /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
> Namespace http://www.macromedia.com/2004/charts has not been
associated with
> component manifest.
> 
> Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
> Don't know how to parse element
> "http://www.macromedia.com/2004/charts:ColumnChart";. It is not a
known type
> or a property of mx.containers.VBox.
> 
> Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
> Namespace http://www.macromedia.com/2004/charts has not been
associated with
> component manifest.
> 
> Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
> Don't know how to parse element
> "http://www.macromedia.com/2004/charts:PieChart";. It is not a known
type or
> a property of mx.containers.VBox.
> 
> Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
> Namespace http://www.macromedia.com/2004/charts has not been
associated with
> component manifest.
> 
> Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
> Don't know how to parse element
> "http://www.macromedia.com/2004/charts:LineChart";. It is not a known
type or
> a property of mx.containers.HBox.
> 
> Error /flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:56
> Don't know how to parse element "charts.*:SalesByCard". It is not a
known
> type or a property of mx.containers.ViewStack.
> 
> Error /flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:60
> Don't know how to parse element
> "http://www.macromedia.com/2003/mxml:HBox";. It is not a known type or a
> property of mx.core.Application.
> 
> Error /flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:66
> Don't know how to parse element "services.*:Services". It is not a known
> type or a property of mx.core.Application.
> 
> Thanks,
> Craig
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links





 
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/
 





[flexcoders] creditcard dashboard - for Alistair

2005-04-28 Thread cnewroth55
Alistair McLeod:
 I am trying to get chapters 22-25 to run. THe creditcard
dashboard, and have had to change a few of the name space things, but
this one has me stumped, in the file SalesByCard (folder charts) you
reference an xlmns of (well see code)to the url at mm, this does not
exist. how do I change so that this error does not happen when I run
the dashboard...
(errors below code snippet)

http://www.macromedia.com/2003/mxml";
 xmlns:chart="http://www.macromedia.com/2004/charts";
 xmlns:i2View="views.*"
 title="Bank of Edinburgh Credit Card - Application Dashboard" >

 Errors I am getting ***
Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82 
Namespace http://www.macromedia.com/2004/charts has not been
associated with component manifest.

Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82 
Don't know how to parse element
"http://www.macromedia.com/2004/charts:ColumnChart";. It is not a known
type or a property of mx.containers.VBox.

Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112 
Namespace http://www.macromedia.com/2004/charts has not been
associated with component manifest.

Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112 
Don't know how to parse element
"http://www.macromedia.com/2004/charts:PieChart";. It is not a known
type or a property of mx.containers.VBox.

Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139 
Namespace http://www.macromedia.com/2004/charts has not been
associated with component manifest.

Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139 
Don't know how to parse element
"http://www.macromedia.com/2004/charts:LineChart";. It is not a known
type or a property of mx.containers.HBox.

Error /flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:56 
Don't know how to parse element "charts.*:SalesByCard". It is not a
known type or a property of mx.containers.ViewStack.

Error /flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:60 
Don't know how to parse element
"http://www.macromedia.com/2003/mxml:HBox";. It is not a known type or
a property of mx.core.Application.

Error /flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:66 
Don't know how to parse element "services.*:Services". It is not a
known type or a property of mx.core.Application.

Thanks, 
Craig






 
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/
 





[flexcoders] Comments: Tab Navigator with Tabs at Bottom

2005-04-19 Thread cnewroth55


Alistair:
this component is being called from gvsStartA.mxmx 
Here is the code:




http://www.macromedia.com/2003/mxml";>
 

 

  





  

  

   
What goes here, do i do the same thing as a 'regular' tabnavigator?
   

   





 
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/
 





[flexcoders] how to remove the background color on a link tag

2005-04-15 Thread cnewroth55


How do I make either a  tag's solid background go away? I 
just want the text to show up and when I mouseover it it change color, 
like what pillardata.com did on their menu at top?






 
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/
 





[flexcoders] how to make an object active?

2005-04-14 Thread cnewroth55


Here's a quickie that I am sure someone can answer pretty quickly; I 
have a radio group that has x number of items, and what I want to do 
is make a coulple of checkboxes either be greyed out (active) or in-
active depending on which radiobutton a user clicks on; my code:
if a user click on the first radiobutton I want the summary check 
box to be active and the detail check box to gey out...
can reply to [EMAIL PROTECTED] or here...








  
  
  

  
  

  
  






 
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/
 





[flexcoders] How to pass var to CFC when it is blank

2005-03-30 Thread cnewroth55


I have a form that I have several fields on and I am sending them to a
cfc for processing, however if any of the fields are blank then I get,
"Required parameter '' not found in input arguements". How can I
either validate the fields or allow them to be blank...
here is a sample of one of the field(s):


  
  

* on of the request inputs in the webservice call to the cfc;
{TypeOfAction.selectedData}

now if I don't check this radio box then I will get the error
mentioned above...i have other fields that vary from radio buttons to
text fields and if I don't fill them all in the I get that error. ANy
idea on how to allow for blank or nulls?
Craig Newroth
The Boeing Company - STL






 
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/
 





CFC's and Databinding in FLEX

2005-03-09 Thread cnewroth55

I am using a cfc to make a call to one of our LDAP servers that
contain info on our employees, I used the Netdebugger and can see that
I am getting data back, but it is not in the `usual' format (i.e when
I make a DB call in a CFC to one of my `regular' db's, typically I get
the datafields back in CAPS) , I am enclosing what the debugger
`sees'. Now because I am not getting it back in CAPS then I cannot
bind the result to anything…also this code is being used as a
`component' and I can see the call to the Web service, but when I put
it in it's own application framework, it doesn't work at all….

What the debugger sees; 

[array] : 

length[Number] : 1

[0][object] : 

smallcaseID[String] : XX
smallcaseBuilding[String] : 33.3
smallcaseClock[String] : MXX
smallcaseDisplayName[String] : Newroth, Craig
smallcaseMailCode[String] : S034-1060
departmentNumber[String] : GT-XX-XXX
givenname[String] : Craig
initials[String] : 
mail[String] : [EMAIL PROTECTED]
sn[String] : Newroth
telephoneNumber[String] : XXX-XXX-

also, Matt Chotin wrote an item in one of the blogs on how to load a
flashpaper swf into flex, exactly what I am trying to do with a file
that I converted to FlashPaper but am unsure as to where to put the
.as file to make that work…
the url for the thing Matt wrote:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=117










zinger chart help

2005-03-04 Thread cnewroth55

okay, I am trying to follow the zingerChart Example from MM Flex dev
site and have created my own columnCHart, what I want to do is to pass
the mouseClickData to my webservice, specificaly the field
'displaygrd' so that the CFC can use this as an argument to get
employess out of DB I am not sure how to pass that data up to the
correct spot. 
when I click a data column i get this error:
"Array of input arguments did not contain a required parameter at
position 2"

Here is my code:
can anyone help?

http://127.0.0.1:8300/components/getdata.cfc?wsdl";
id="getCountGrade1s">










http://www.macromedia.com/2003/mxml"; >





















  

 









charting examples and the code I am using - Help!

2005-03-03 Thread cnewroth55

to all here is the code for a chart, but I cannot get the chart to
display the number. I have tested the CFC in CF and it returns a
number (61), but I cannot get the chart to display the value:
the mxml

http://www.macromedia.com/2003/mxml"; >
http://127.0.0.1:8300/components/getdata.cfc?wsdl"; id="getGrade1s">





















the cfc


SELECT DISTINCT ((Count(d350_Roster.GRD))) AS Grade1Cnt
FROM d350_Roster
WHERE d350_Roster.GRD ='1';



what am I doing wrong? any help is appreciated...







charting examples

2005-03-03 Thread cnewroth55

does anyone have any good examples of how to get data to and from a
chart if RO's or CFC's? All the ones I have seen are static xml...
thanks,
Craig Newroth