Re: [flexcoders] setting value on cfc & invoke another method on cfc
On Thursday 20 July 2006 23:01, Doug Arthur wrote: > How would you invoke one method on a cfc from flex, then call another > method on the same cfc and the cfc maintain the values from the first > invoke? Write a service-layer wrapper that does both 'internal' calls for you. -- Tom Chiverton 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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/
Re: [flexcoders] setting value on cfc & invoke another method on cfc
Session scope. Coldfusion maintains session for remoting as it does for http requests from html apps. How would you hold normally hold session data? Maybe a facade object?On 21/07/06, Doug Arthur <[EMAIL PROTECTED] > wrote: How would you invoke one method on a cfc from flex, then call another method on the same cfc and the cfc maintain the values from the first invoke? example: name="init" access="remote" output= "false" returntype="any"> this /> name="doSomething" access= "remote" output="false" returntype= "any> getSomeValue() & ' is the value you asked for...' /> name="setSomeValue" access="remote" output= "false" returntype="any"> name="someValue" required= "true" default="" /> Variables.someValue = arguments.someValue /> name="getSomeValue" access= "remote" output="false" returntype="any"> Variables.someValue /> remoteObject.setSomeValue('something'); remotObject.doSomething(); // I'm looking for event.result to contain the string 'something is the value you asked for...' __._,_.___ -- 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 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. __,_._,___
[flexcoders] setting value on cfc & invoke another method on cfc
How would you invoke one method on a cfc from flex, then call another method on the same cfc and the cfc maintain the values from the first invoke? example: name="init" access="remote" output= "false" returntype="any"> this /> name="doSomething" access= "remote" output="false" returntype= "any> getSomeValue() & ' is the value you asked for...' /> name="setSomeValue" access="remote" output= "false" returntype="any"> name="someValue" required= "true" default="" /> Variables.someValue = arguments.someValue /> name="getSomeValue" access= "remote" output="false" returntype="any"> Variables.someValue /> remoteObject.setSomeValue('something'); remotObject.doSomething(); // I'm looking for event.result to contain the string 'something is the value you asked for...' __._,_.___ -- 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 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. __,_._,___