[flexcoders] Re: ArrayCollection question in Cairngorm?

2007-12-17 Thread denny431
In your result method of your Command class try this:

var arr:Array = data.result as Array;
modelLocator.acDept = new ArrayCollection( arr );

DJM

--- In flexcoders@yahoogroups.com, "markflex2007" <[EMAIL PROTECTED]> 
wrote:
>
> Hi,
> 
> I have a simple cfc, the function is like this,it get a department 
> list
> 
>  output="false" returntype="query">
>   
>   
>SELECT Id, Dept 
>FROM tlkpDept
>
>
>
>   
>  
> 
> 2.This is the modellocator .I want to save department list to the 
> acDept (ArrayCollection)
> 
> 
> 
> public class  BursaryModel implements IModelLocator {
>   
>
>   private static var instance:CESFBursaryModel;
>  
>   ...
>   public var acDept : ArrayCollection;
>   
>   ...
>   }
>   
> 
> 3.This is the Delegate function. this  builds a flex function 
getDept
> ()
> 
> 
>  public function getDept():void {
>
>   var call:Object = this.service.getDept();
>   call.addResponder(responder);
>
>   }
>   
>   
> 4.This is part of the command class 
> 
> public function result( event:Object ):void {
>
>   ...
>modelLocator.acDept = event.result;
> ...
>
>
>   }
>   
> 5 the view page, bind the 
> 
>   ...
>   private var modelLocator:BursaryModel = 
> CESFBursaryModel.getInstance();
>   ...
>   
>dataProvider="{modelLocator.acDept}" /> 
>   
> 
> my error is I get a list and it looks like.
> 
> [object Object]
> [object Object]
> [object Object]
> [object Object]
> 
>  
>  
>  but I want to show the dapartment list,Please help me and give me 
a 
> hit how to fix this.
>  
>  I do not know what the event.result is command class and how to 
> convert is to a real department list.
>  
>  
>  Thanks for your help
>  
>  
>  Mark
>




[flexcoders] Re: Sloooooow Flex Builder

2007-12-06 Thread denny431
Forgot to note:

Plug In version

would be eclipse.ini



--- In flexcoders@yahoogroups.com, "denny431" <[EMAIL PROTECTED]> wrote:
>
> 
> I had the same problem on large Flex projects.
> Try adjusting the settings in FlexBuilder.ini file.(Standalone 
> version)
> 
> You can increase the amount of memory alloted to Flex Builder.
> 
> Such as:
> -vmargs
> -Xms512M
> -Xmx1024M
> -XX:MinHeapFreeRatio=20
> 
> DJM
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Paul Andrews"  wrote:
> >
> > Plenty of disc space?
> > 
> > - Original Message - 
> > From: "Tim Ashworth" 
> > To: 
> > Sent: Thursday, December 06, 2007 4:52 PM
> > Subject: RE: [flexcoders] Sloow Flex Builder
> > 
> > 
> > > One project open, sometimes save to a network drive, sometimes 
> save 
> > > locally,
> > > always slow.
> > >
> > > I learnt about the open project thing and that's made things 
> better, but
> > > really it's still pretty unbearable.
> > >
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Tom Chiverton
> > > Sent: 06 December 2007 13:10
> > > To: flexcoders@yahoogroups.com
> > > Subject: Re: [flexcoders] Sloow Flex Builder
> > >
> > > On Thursday 06 Dec 2007, Tim Ashworth wrote:
> > >> pauses on saves or just get used to sitting on my hands 
looking 
> out
> > >> the window (at the rain)?
> > >
> > > Are you saving locally or to a network ? Do you have an on-
access 
> virus
> > > scanner running ? How many projects do you have open ?
> > >
> > > --
> > > Tom Chiverton
> > > Helping to preemptively extend value-added methodologies
> > > on: http://thefalken.livejournal.com
> > >
> > > 
> > >
> > > Please note, as of 10th December 2007 the registered office 
> address of
> > > Halliwells LLP will be at 3 Hardman Square, Spinningfields, 
> Manchester, M3
> > > 3EB
> > >
> > > 
> > >
> > > This email is sent for and on behalf of Halliwells LLP.
> > >
> > > Halliwells LLP is a limited liability partnership registered in 
> England 
> > > and
> > > Wales under registered number OC307980 whose registered office 
> address is 
> > > at
> > > St James's Court Brown Street Manchester M2 2JF.  A list of 
> members is
> > > available for inspection at the registered office.  Any 
reference 
> to a
> > > partner in relation to Halliwells LLP means a member of 
> Halliwells LLP.
> > > Regulated by The Solicitors Regulation Authority.
> > >
> > > CONFIDENTIALITY
> > >
> > > This email is intended only for the use of the addressee named 
> above and 
> > > may
> > > be confidential or legally privileged.  If you are not the 
> addressee you
> > > must not read it and must not use any information contained in 
> nor copy it
> > > nor inform any person other than Halliwells LLP or the 
addressee 
> of its
> > > existence or contents.  If you have received this email in 
error 
> please
> > > delete it and notify Halliwells LLP IT Department on 0870 365 
> 2500.
> > >
> > > For more information about Halliwells LLP visit 
> www.halliwells.com.
> > >
> > >
> > > --
> > > 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
> > >
> > >
> > >
> > >
> >
>




[flexcoders] Re: Sloooooow Flex Builder

2007-12-06 Thread denny431

I had the same problem on large Flex projects.
Try adjusting the settings in FlexBuilder.ini file.(Standalone 
version)

You can increase the amount of memory alloted to Flex Builder.

Such as:
-vmargs
-Xms512M
-Xmx1024M
-XX:MinHeapFreeRatio=20

DJM




--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> Plenty of disc space?
> 
> - Original Message - 
> From: "Tim Ashworth" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, December 06, 2007 4:52 PM
> Subject: RE: [flexcoders] Sloow Flex Builder
> 
> 
> > One project open, sometimes save to a network drive, sometimes 
save 
> > locally,
> > always slow.
> >
> > I learnt about the open project thing and that's made things 
better, but
> > really it's still pretty unbearable.
> >
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Tom Chiverton
> > Sent: 06 December 2007 13:10
> > To: flexcoders@yahoogroups.com
> > Subject: Re: [flexcoders] Sloow Flex Builder
> >
> > On Thursday 06 Dec 2007, Tim Ashworth wrote:
> >> pauses on saves or just get used to sitting on my hands looking 
out
> >> the window (at the rain)?
> >
> > Are you saving locally or to a network ? Do you have an on-access 
virus
> > scanner running ? How many projects do you have open ?
> >
> > --
> > Tom Chiverton
> > Helping to preemptively extend value-added methodologies
> > on: http://thefalken.livejournal.com
> >
> > 
> >
> > Please note, as of 10th December 2007 the registered office 
address of
> > Halliwells LLP will be at 3 Hardman Square, Spinningfields, 
Manchester, M3
> > 3EB
> >
> > 
> >
> > This email is sent for and on behalf of Halliwells LLP.
> >
> > Halliwells LLP is a limited liability partnership registered in 
England 
> > and
> > Wales under registered number OC307980 whose registered office 
address is 
> > at
> > St James's Court Brown Street Manchester M2 2JF.  A list of 
members is
> > available for inspection at the registered office.  Any reference 
to a
> > partner in relation to Halliwells LLP means a member of 
Halliwells LLP.
> > Regulated by The Solicitors Regulation Authority.
> >
> > CONFIDENTIALITY
> >
> > This email is intended only for the use of the addressee named 
above and 
> > may
> > be confidential or legally privileged.  If you are not the 
addressee you
> > must not read it and must not use any information contained in 
nor copy it
> > nor inform any person other than Halliwells LLP or the addressee 
of its
> > existence or contents.  If you have received this email in error 
please
> > delete it and notify Halliwells LLP IT Department on 0870 365 
2500.
> >
> > For more information about Halliwells LLP visit 
www.halliwells.com.
> >
> >
> > --
> > 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
> >
> >
> >
> >
>




[flexcoders] Re: need urgent help >> Working with CF8 and flex

2007-11-30 Thread denny431
Just adjust the path to the CFC.
The path on a J2EE installation is: /c:/JRun4/servers/cfusion/cfusion-
ear/cfusion-war/

This is where Coldfusion will start to look for CFC's.

Build a folder structure from here such as:
mysite/cfsource

So if you are using RemoteObject the source would be 
mysite/cfsource/AddressBook

Hope this helps

DJM




--- In flexcoders@yahoogroups.com, "Shakthi. K" <[EMAIL PROTECTED]> 
wrote:
>
> Hi,
> 
> I have developed a flex application which uses CFCs to access data 
from 
> MySQL 5.0
> It works fine on my localhost (installed with CF8 and MySQL 5).
> But when I upload this to my web host which supports CF8 and MySQL 
5, it 
> gives the following error
> 
> faultCode:Server.Processing faultString:'Unable to invoke CFC - 
Could 
> not find the ColdFusion Component or Interface 
AddressBook.cfcs.getAll.' 
> faultDetail:'For details, turn on Robust Exception Information in 
the 
> ColdFusion Administrator'
> 
> Please visit below link and click on the button "ALL".
> http://76.12.87.37/apps/addressbook/myAddressBookCon.html
> 
> Can somebody help on this.
> 
> VERY URGENT.
> 
> Regards,
> 
> Shakthi
>




[flexcoders] /messagebroker/amf

2006-03-21 Thread denny431
Hello All,

In Flex Beta 2 I am getting this error when calling a RemoteObject:
"Requested resource /messagebroker/amf file not found"
Anyone know why throwing this error.

Flex Beta 1 everything worked fine.

Thanks,

Dennis





--
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] flex.data package

2006-03-13 Thread denny431
Hello everyone,

I am trying to use the flex.data.ChangeObject class in an Assembler 
Java Class such as is used in the Flex 2.0 samples. Does anyone know 
where I may find this library to install so that I may compile this 
Java class?

Dennis





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