[cfaussie] Re: Flash Remoting -Change 7.0.2

2006-11-16 Thread Dale Fraser

I'm now using it on 7.02 and it's working fine, but didn't try previously so
not sure if it changed.

Regards
Dale Fraser

http://dale.fraser.id.au


 


-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of 
Sent: Thursday, 16 November 2006 11:59 AM
To: cfaussie
Subject: [cfaussie] Flash Remoting -Change 7.0.2


Hey Guys,

Does anyone know if Flash Remoting has changed in the way that we
connect to coldfusion. I had this working correctly on the early
version by commenting out the revevant sections in the
gateway-config.xml.

Now it just comes back with a blank screen. I'm using the basic example
that was on the site www.asfusion.com

Jeremy.





--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Application scope problem

2006-11-16 Thread Matthew

I was against the DB idea as well because these variables will rarely
change and the whole point is to chop out a call to the DB. The only
negative about using the request scope is that you are having to set it
everytime (each call per user) so it defeats the main purpose of the
applications scope ("a shared variable scope where you set something
once for a long time"). I guess the answer is to use the app scope and
add all the locking code! Thanks for the help!


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Application scope problem

2006-11-16 Thread Barry Beattie

just to support Joel's argument, why not set it to an applicaiton scoped CFC?

or better still add it to a CFC and decorate an application-scopoed CFC with it?

"I've just read this article
(http://www.adobe.com/devnet/server_archive/articles/cf_locking_best_practices.html)
on locking read/write to application scoop, however the article seems
old, is this still relevant?"

most certainly. Race conditions on singletons can still happen.


from some kludgy code at hand (in an Application.cfm, for CF6.1)


  






























  


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Flash Remoting -Change 7.0.2

2006-11-16 Thread

Hey Guys,

Does anyone know if Flash Remoting has changed in the way that we
connect to coldfusion. I had this working correctly on the early
version by commenting out the revevant sections in the
gateway-config.xml.

Now it just comes back with a blank screen. I'm using the basic example
that was on the site www.asfusion.com

Jeremy.


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Flash Remoting -Change 7.0.2

2006-11-16 Thread

Hey Guys,

Does anyone know if Flash Remoting has changed in the way that we
connect to coldfusion. I had this working correctly on the early
version by commenting out the revevant sections in the
gateway-config.xml.

Now it just comes back with a blank screen. I'm using the basic example
that was on the site www.asfusion.com

Jeremy.


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Application scope problem

2006-11-16 Thread Joel Cass
Just some things I would like to point out (I know I am always running under
my own steam round here..)

1. A normal variables scope cannot be accessed via custom tags without using
the caller scope and that can get complicated with nested tags. Using the
request scope is a matter of global search and replace (application.rews >>
request.rews).

2. If the data is of a "set-and-forget" nature (ie. no need to be updated by
users), then you're just adding overhead by calling it from a database.
Especially if you have to make this call to the database at the start of
each request.

That's my rationale
  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Andrew Scott
  Sent: Friday, 17 November 2006 3:54 PM
  To: cfaussie@googlegroups.com
  Subject: [cfaussie] Re: Application scope problem


  I agree with Dale, a normal variable scope and pull the information out of
a database.



  On 11/17/06, Joel Cass <[EMAIL PROTECTED] > wrote:

Hi,

The application scope is useful for this kind of data (in moderation of
course), but you should also minimise the number of writes you actually
do
to the application scope.

Hopefully (though the code does not indicate this), you should have a
check
to see if the array doesn't already exist in the application scope
before
creating it (ie. NOT structKeyExists(application,"rews")). Otherwise,
every
request will be resetting your array and you'll end up with lots of
gremlins
when multiple users are hitting the application at the same time.

Personally if it just a simple array that gets created at the start of
each
request then I might want to set it in the request scope. Horses for
courses

Joel

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Dale Fraser
Sent: Friday, 17 November 2006 3:33 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Application scope problem



I wouldn't use application scope for this level of data.

You do need to lock all references to application as it's shared so you
need
to ensure only one page is modifying it at a time.

Regards
Dale Fraser

http://dale.fraser.id.au




-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf
Of Matthew
Sent: Friday, 17 November 2006 15:15 PM
To: cfaussie
Subject: [cfaussie] Application scope problem


Hi guys,

I think I'm getting a corrupt application scope problem.
The CF error is:

The element at position 3 cannot be found. LINE 411

LINE 411 is:

#application.rews.timePeriods[X].name# (it's in a loop so X would have
been equal to 3).

Application.cfm code:

application.rews.locale
=
"en_US";
application.rews.timePeriods=
ArrayNew(1);
application.rews.timePeriods[1] =
StructNew();
application.rews.timePeriods[1].name= "00:00-06:00";
application.rews.timePeriods [1].period.low  = "00:00";
application.rews.timePeriods[1].period.high = "06:00";
application.rews.timePeriods[2] =
StructNew();
application.rews.timePeriods [2].name=
"06:00-08:00";
application.rews.timePeriods[2].period.low  = "06:00";
application.rews.timePeriods[2].period.high = "08:00";
application.rews.timePeriods [3] =
StructNew();
application.rews.timePeriods[3].name= "08:00-10:00";
application.rews.timePeriods[3].period.low  = "08:00";
 application.rews.timePeriods[3].period.high = "10:00";
application.rews.timePeriods[4] =
StructNew();
application.rews.timePeriods[4].name= "10:00-13:00";
application.rews.timePeriods[4].period.low  = "10:00";
application.rews.timePeriods[4].period.high = "13:00";
application.rews.timePeriods[5] =
StructNew();
application.rews.timePeriods[5].name= "13:00-17:00";
application.rews.timePeriods[5].period.low  = "13:00";
application.rews.timePeriods [5].period.high = "17:00";
application.rews.timePeriods[6] =
StructNew();
application.rews.timePeriods[6].name= "17:00-21:00";
application.rews.timePeriods [6].period.low  = "17:00";
application.rews.timePeriods[6].period.high = "21:00";
application.rews.timePeriods[7] =
StructNew();
application.rews.timePeriods [7].name=
"21:00-24:00";
application.rews.

[cfaussie] Re: Flex2Cf

2006-11-16 Thread Scott Barnes
stupidity. it was the only domain reg'd with directNic.com and their
reminder alerts never got to me :(

I usually reg domains with clickngo.com.au but this one for some reason went
the other way (cant remember why at the time).

Now some punk is parking on it and doing squat with it :(



On 11/10/06, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
>  How do you loose a domain?
>
> Regards
> Dale Fraser
>
> http://dale.fraser.id.au
>
>
>
>  --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Scott Barnes
> *Sent:* Friday, 10 November 2006 11:07 AM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flex2Cf
>
>
>
> I am still pisssed about losing the domain flexcoders.com :(
>
>
>
> This could of been a great contribution towards this idea ;(
>
>
>
> On 11/6/06, *Chris Ellem* <[EMAIL PROTECTED]> wrote:
>
>
> Dale
>
> I am in the process of setting up a similar site...
>
> You are most welcome to post or contribute any FLEX2, FLEX2 - AS3,
> FLEX2 - CF content, or anything FLEX here...
>
> www.qflex.org    not live  ..but coming very soon...
>
> Queensland Flex Community Website
>
> This site should be up and running very soon.
>
> Regards
> Chris Ellem AIPM
> Adobe Certified Professional
>
>
>
>
> --
> Regards,
> Scott Barnes
> http://www.mossyblog.com
>
> >
>


-- 
Regards,
Scott Barnes
http://www.mossyblog.com


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Application scope problem

2006-11-16 Thread Andrew Scott
I agree with Dale, a normal variable scope and pull the information out of a
database.


On 11/17/06, Joel Cass <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> The application scope is useful for this kind of data (in moderation of
> course), but you should also minimise the number of writes you actually do
> to the application scope.
>
> Hopefully (though the code does not indicate this), you should have a
> check
> to see if the array doesn't already exist in the application scope before
> creating it (ie. NOT structKeyExists(application,"rews")). Otherwise,
> every
> request will be resetting your array and you'll end up with lots of
> gremlins
> when multiple users are hitting the application at the same time.
>
> Personally if it just a simple array that gets created at the start of
> each
> request then I might want to set it in the request scope. Horses for
> courses
>
> Joel
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
> Behalf Of Dale Fraser
> Sent: Friday, 17 November 2006 3:33 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Application scope problem
>
>
>
> I wouldn't use application scope for this level of data.
>
> You do need to lock all references to application as it's shared so you
> need
> to ensure only one page is modifying it at a time.
>
> Regards
> Dale Fraser
>
> http://dale.fraser.id.au
>
>
>
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> Of Matthew
> Sent: Friday, 17 November 2006 15:15 PM
> To: cfaussie
> Subject: [cfaussie] Application scope problem
>
>
> Hi guys,
>
> I think I'm getting a corrupt application scope problem.
> The CF error is:
> 
> The element at position 3 cannot be found. LINE 411
> 
> LINE 411 is:
> 
> #application.rews.timePeriods[X].name# (it's in a loop so X would have
> been equal to 3).
> 
> Application.cfm code:
> 
> application.rews.locale =
> "en_US";
> application.rews.timePeriods=
> ArrayNew(1);
> application.rews.timePeriods[1] =
> StructNew();
> application.rews.timePeriods[1].name= "00:00-06:00";
> application.rews.timePeriods[1].period.low  = "00:00";
> application.rews.timePeriods[1].period.high = "06:00";
> application.rews.timePeriods[2] =
> StructNew();
> application.rews.timePeriods[2].name= "06:00-08:00";
> application.rews.timePeriods[2].period.low  = "06:00";
> application.rews.timePeriods[2].period.high = "08:00";
> application.rews.timePeriods[3] =
> StructNew();
> application.rews.timePeriods[3].name= "08:00-10:00";
> application.rews.timePeriods[3].period.low  = "08:00";
> application.rews.timePeriods[3].period.high = "10:00";
> application.rews.timePeriods[4] =
> StructNew();
> application.rews.timePeriods[4].name= "10:00-13:00";
> application.rews.timePeriods[4].period.low  = "10:00";
> application.rews.timePeriods[4].period.high = "13:00";
> application.rews.timePeriods[5] =
> StructNew();
> application.rews.timePeriods[5].name= "13:00-17:00";
> application.rews.timePeriods[5].period.low  = "13:00";
> application.rews.timePeriods[5].period.high = "17:00";
> application.rews.timePeriods[6] =
> StructNew();
> application.rews.timePeriods[6].name= "17:00-21:00";
> application.rews.timePeriods[6].period.low  = "17:00";
> application.rews.timePeriods[6].period.high = "21:00";
> application.rews.timePeriods[7] =
> StructNew();
> application.rews.timePeriods[7].name= "21:00-24:00";
> application.rews.timePeriods[7].period.low  = "21:00";
> application.rews.timePeriods[7].period.high = "23:59";
>
> application.rews.timePeriodsDefault.departOption  = 3;
> application.rews.timePeriodsDefault.returnOption  = 6;
> application.rews.paxMax =
> 9;
> 
>
> I've just read this article
> (
> http://www.adobe.com/devnet/server_archive/articles/cf_locking_best_practic
> es.html)
> on locking read/write to application scoop, however the article seems
> old, is this still relevant? Note: the project I'm working on does not
> use application.cfc.
>
> Do I need to put application scope locking in place? There are 2650
> refernece to this scope throughout the website!
>
> Perhaps it's not a locking issue, can anyone see any probs with the
> code?
>
> Cheers
>
>
>
>
>
>
>
>
> >
>


-- 



Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  

[cfaussie] Re: Application scope problem

2006-11-16 Thread Joel Cass

Hi,

The application scope is useful for this kind of data (in moderation of
course), but you should also minimise the number of writes you actually do
to the application scope.

Hopefully (though the code does not indicate this), you should have a check
to see if the array doesn't already exist in the application scope before
creating it (ie. NOT structKeyExists(application,"rews")). Otherwise, every
request will be resetting your array and you'll end up with lots of gremlins
when multiple users are hitting the application at the same time.

Personally if it just a simple array that gets created at the start of each
request then I might want to set it in the request scope. Horses for courses

Joel

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Dale Fraser
Sent: Friday, 17 November 2006 3:33 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Application scope problem



I wouldn't use application scope for this level of data.

You do need to lock all references to application as it's shared so you need
to ensure only one page is modifying it at a time.

Regards
Dale Fraser

http://dale.fraser.id.au




-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Matthew
Sent: Friday, 17 November 2006 15:15 PM
To: cfaussie
Subject: [cfaussie] Application scope problem


Hi guys,

I think I'm getting a corrupt application scope problem.
The CF error is:

The element at position 3 cannot be found. LINE 411

LINE 411 is:

#application.rews.timePeriods[X].name# (it's in a loop so X would have
been equal to 3).

Application.cfm code:

application.rews.locale =
"en_US";
application.rews.timePeriods=
ArrayNew(1);
application.rews.timePeriods[1] =
StructNew();
application.rews.timePeriods[1].name= "00:00-06:00";
application.rews.timePeriods[1].period.low  = "00:00";
application.rews.timePeriods[1].period.high = "06:00";
application.rews.timePeriods[2] =
StructNew();
application.rews.timePeriods[2].name= "06:00-08:00";
application.rews.timePeriods[2].period.low  = "06:00";
application.rews.timePeriods[2].period.high = "08:00";
application.rews.timePeriods[3] =
StructNew();
application.rews.timePeriods[3].name= "08:00-10:00";
application.rews.timePeriods[3].period.low  = "08:00";
application.rews.timePeriods[3].period.high = "10:00";
application.rews.timePeriods[4] =
StructNew();
application.rews.timePeriods[4].name= "10:00-13:00";
application.rews.timePeriods[4].period.low  = "10:00";
application.rews.timePeriods[4].period.high = "13:00";
application.rews.timePeriods[5] =
StructNew();
application.rews.timePeriods[5].name= "13:00-17:00";
application.rews.timePeriods[5].period.low  = "13:00";
application.rews.timePeriods[5].period.high = "17:00";
application.rews.timePeriods[6] =
StructNew();
application.rews.timePeriods[6].name= "17:00-21:00";
application.rews.timePeriods[6].period.low  = "17:00";
application.rews.timePeriods[6].period.high = "21:00";
application.rews.timePeriods[7] =
StructNew();
application.rews.timePeriods[7].name= "21:00-24:00";
application.rews.timePeriods[7].period.low  = "21:00";
application.rews.timePeriods[7].period.high = "23:59";

application.rews.timePeriodsDefault.departOption  = 3;
application.rews.timePeriodsDefault.returnOption  = 6;
application.rews.paxMax = 9;


I've just read this article
(http://www.adobe.com/devnet/server_archive/articles/cf_locking_best_practic
es.html)
on locking read/write to application scoop, however the article seems
old, is this still relevant? Note: the project I'm working on does not
use application.cfc.

Do I need to put application scope locking in place? There are 2650
refernece to this scope throughout the website!

Perhaps it's not a locking issue, can anyone see any probs with the
code?

Cheers








--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Application scope problem

2006-11-16 Thread Dale Fraser

A database.

Regards
Dale Fraser

http://dale.fraser.id.au


 


-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Matthew
Sent: Friday, 17 November 2006 15:41 PM
To: cfaussie
Subject: [cfaussie] Re: Application scope problem


So what scope would you use?





--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Application scope problem

2006-11-16 Thread Matthew

So what scope would you use?


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Application scope problem

2006-11-16 Thread Dale Fraser

I wouldn't use application scope for this level of data.

You do need to lock all references to application as it's shared so you need
to ensure only one page is modifying it at a time.

Regards
Dale Fraser

http://dale.fraser.id.au


 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Matthew
Sent: Friday, 17 November 2006 15:15 PM
To: cfaussie
Subject: [cfaussie] Application scope problem


Hi guys,

I think I'm getting a corrupt application scope problem.
The CF error is:

The element at position 3 cannot be found. LINE 411

LINE 411 is:

#application.rews.timePeriods[X].name# (it's in a loop so X would have
been equal to 3).

Application.cfm code:

application.rews.locale =
"en_US";
application.rews.timePeriods=
ArrayNew(1);
application.rews.timePeriods[1] =
StructNew();
application.rews.timePeriods[1].name= "00:00-06:00";
application.rews.timePeriods[1].period.low  = "00:00";
application.rews.timePeriods[1].period.high = "06:00";
application.rews.timePeriods[2] =
StructNew();
application.rews.timePeriods[2].name= "06:00-08:00";
application.rews.timePeriods[2].period.low  = "06:00";
application.rews.timePeriods[2].period.high = "08:00";
application.rews.timePeriods[3] =
StructNew();
application.rews.timePeriods[3].name= "08:00-10:00";
application.rews.timePeriods[3].period.low  = "08:00";
application.rews.timePeriods[3].period.high = "10:00";
application.rews.timePeriods[4] =
StructNew();
application.rews.timePeriods[4].name= "10:00-13:00";
application.rews.timePeriods[4].period.low  = "10:00";
application.rews.timePeriods[4].period.high = "13:00";
application.rews.timePeriods[5] =
StructNew();
application.rews.timePeriods[5].name= "13:00-17:00";
application.rews.timePeriods[5].period.low  = "13:00";
application.rews.timePeriods[5].period.high = "17:00";
application.rews.timePeriods[6] =
StructNew();
application.rews.timePeriods[6].name= "17:00-21:00";
application.rews.timePeriods[6].period.low  = "17:00";
application.rews.timePeriods[6].period.high = "21:00";
application.rews.timePeriods[7] =
StructNew();
application.rews.timePeriods[7].name= "21:00-24:00";
application.rews.timePeriods[7].period.low  = "21:00";
application.rews.timePeriods[7].period.high = "23:59";

application.rews.timePeriodsDefault.departOption  = 3;
application.rews.timePeriodsDefault.returnOption  = 6;
application.rews.paxMax = 9;


I've just read this article
(http://www.adobe.com/devnet/server_archive/articles/cf_locking_best_practic
es.html)
on locking read/write to application scoop, however the article seems
old, is this still relevant? Note: the project I'm working on does not
use application.cfc.

Do I need to put application scope locking in place? There are 2650
refernece to this scope throughout the website!

Perhaps it's not a locking issue, can anyone see any probs with the
code?

Cheers





--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Flash Remoting

2006-11-16 Thread Bjorn Schultheiss

Have any of you guys successfully implemented session management in CF using
Remoting?

Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Shane Farmer
Sent: Thursday, 16 November 2006 8:28 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

From the Flash remoting server samples this might help you send an array
through:
 
/** 
* function: testArray, no paramaters
* creates new Array object
* updates text field "arrayInput"  with value of Array object
* then invokes the method, "testArray" in the Flash Remoting Service called
"flashtestService" defined in the init function. 
* sending the value of the Array object to the service.
*/
function testArray()
{
    flashArray= new Array();
    flashArray[0]=messageInput.text;
    flashArray[1]=numInput.text;
    flashArray[2]=["kev","irina","steph"]; 
    flashtestService.testArray(flashArray);
}


 
On 11/16/06, Brett Payne-Rhodes <[EMAIL PROTECTED]> wrote: 

Thats more like it! Share the cfaussie love!

B)

Steve Onnis wrote:
> Here you go Dale 
>
>
>
> Lots of love
>
> Steve J
>
>
>
> 
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Dale Fraser
> *Sent:* Thursday, 16 November 2006 8:01 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
>
>
>
> It's just Flash 8 -> CF7.
>
>
>
> I'm thinking it's simple, searching through lots of examples to find an 
> example.
>
>
>
> Regards
> Dale Fraser
>
>
>
> http://dale.fraser.id.au
>
>  
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Shane Farmer
> *Sent:* Thursday, 16 November 2006 7:41 PM 
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
>
>
>
> Dale,
>
>
>
> Are you trying to connect CF7 and Flex through remoting or just a Flash 
> movie? While I know nothing about either I may know of someone that is a
> bit of a Flash developer that may know.
>
>
>
> At least if it is clear what you are trying to do it may stop pointless 
> replies.
>
>
>
> Shane
>
>
>
> On 11/16/06, *Dale Fraser* <[EMAIL PROTECTED]
> > wrote:
>
> Can anyone point me to a simple example of Flash remoting to CF7.
>
>
>
> I want to pass CF an array and return an array.
>
>
> 
> I could pass a string and return a string if this makes it much easier.
>
> Regards
> Dale Fraser
>
> http://dale.fraser.id.au < http://dale.fraser.id.au/>
>
>
>
>
>
>
>
>
>
>
> >
>




--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Application scope problem

2006-11-16 Thread Matthew

Hi guys,

I think I'm getting a corrupt application scope problem.
The CF error is:

The element at position 3 cannot be found. LINE 411

LINE 411 is:

#application.rews.timePeriods[X].name# (it's in a loop so X would have
been equal to 3).

Application.cfm code:

application.rews.locale = 
"en_US";
application.rews.timePeriods= ArrayNew(1);
application.rews.timePeriods[1] = StructNew();
application.rews.timePeriods[1].name= "00:00-06:00";
application.rews.timePeriods[1].period.low  = "00:00";
application.rews.timePeriods[1].period.high = "06:00";
application.rews.timePeriods[2] = StructNew();
application.rews.timePeriods[2].name= "06:00-08:00";
application.rews.timePeriods[2].period.low  = "06:00";
application.rews.timePeriods[2].period.high = "08:00";
application.rews.timePeriods[3] = StructNew();
application.rews.timePeriods[3].name= "08:00-10:00";
application.rews.timePeriods[3].period.low  = "08:00";
application.rews.timePeriods[3].period.high = "10:00";
application.rews.timePeriods[4] = StructNew();
application.rews.timePeriods[4].name= "10:00-13:00";
application.rews.timePeriods[4].period.low  = "10:00";
application.rews.timePeriods[4].period.high = "13:00";
application.rews.timePeriods[5] = StructNew();
application.rews.timePeriods[5].name= "13:00-17:00";
application.rews.timePeriods[5].period.low  = "13:00";
application.rews.timePeriods[5].period.high = "17:00";
application.rews.timePeriods[6] = StructNew();
application.rews.timePeriods[6].name= "17:00-21:00";
application.rews.timePeriods[6].period.low  = "17:00";
application.rews.timePeriods[6].period.high = "21:00";
application.rews.timePeriods[7] = StructNew();
application.rews.timePeriods[7].name= "21:00-24:00";
application.rews.timePeriods[7].period.low  = "21:00";
application.rews.timePeriods[7].period.high = "23:59";

application.rews.timePeriodsDefault.departOption  = 3;
application.rews.timePeriodsDefault.returnOption  = 6;
application.rews.paxMax = 9;


I've just read this article
(http://www.adobe.com/devnet/server_archive/articles/cf_locking_best_practices.html)
on locking read/write to application scoop, however the article seems
old, is this still relevant? Note: the project I'm working on does not
use application.cfc.

Do I need to put application scope locking in place? There are 2650
refernece to this scope throughout the website!

Perhaps it's not a locking issue, can anyone see any probs with the
code?

Cheers


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Flash Remoting

2006-11-16 Thread AJ Mercer
thanks for you suggestions guys.

I was thinking that perhaps the would be an equivalent of an input's
defaultValue for select.
How does the input type=reset work?

On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
>  Yep,
>
>
>
> Good stuff had to change the CFC to return an array, as the flash object
> was trying to display an array but it was returning a string, got it to
> successfully return and display the array.
>
>
>
> Thanks heaps, I might try to post the result and let everyone see how
> their brain is performing.
>
>
>
> Regards
> Dale Fraser
>
>
>
> http://dale.fraser.id.au
>   --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Steve Onnis
> *Sent:* Thursday, 16 November 2006 9:45 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
>
>
>
> It should have unpacked into its own directory so that should have worked
> unless you put everything into the root of the domain, in which case yes,
> you would have had to make that change
>
>
>
> The advantage of doing it the way my example shows is that you can use the
> same result handler and service object for multiple calls, otherwise you
> need a service and result handler set for every call you make
>
>
>  --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Dale Fraser
> *Sent:* Thursday, 16 November 2006 9:40 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
>
>
>
> Worked it out, changed the remoting_sample.myCfc to just myCFC, makes
> sense.
>
>
>
> Thanks Steve, nice and simple.
>
>
>
> Regards
> Dale Fraser
>
>
>
> http://dale.fraser.id.au
>   --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Dale Fraser
> *Sent:* Thursday, 16 November 2006 9:34 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
>
>
>
> Ok,
>
>
>
> Getting there, installed the Flash 8 stuff and the thing compiles, very
> good.
>
>
>
> Got it setup on CF but still get this message
>
>
>
> result failed
>
>
>
> __type =
>
> __detail =
>
> __faultstring = Service remoting_example.myCFC not found.
>
> __faultcode = Server.ResourceNotFound
>
>
>
> In the SWF, I have it all in C:\InetPub\wwwroot which is my 127.0.0.1root. 
> I'm thinking there might be CF7 config stuff to allow the remoting to
> happen.
>
>
>
> Regards
> Dale Fraser
>
>
>
> http://dale.fraser.id.au
>   --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Steve Onnis
> *Sent:* Thursday, 16 November 2006 8:48 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
>
>
>
> You will have to install the Remoting components into flash yes.  Make
> sure you get the AS2 components.  The components install the imported
> classes at the top of the action script so that when you compile the swf it
> can include them.  After you do that, you should be able to just unpack the
> zip file into the root of your webroot and it should run.
>
>
>
> If you need some help let me know.
>
>
>
> Steve
>
>
>  --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Dale Fraser
> *Sent:* Thursday, 16 November 2006 8:29 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
>
>
>
> Oh,
>
>
>
> And is there any CF7 config needed. Also where does the cfc go?
>
>
>
> Regards
> Dale Fraser
>
>
>
> http://dale.fraser.id.au
>   --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Steve Onnis
> *Sent:* Thursday, 16 November 2006 8:12 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
>
>
>
> Here you go Dale
>
>
>
> Lots of love
>
> Steve J
>
>
>  --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Dale Fraser
> *Sent:* Thursday, 16 November 2006 8:01 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
>
>
>
> It's just Flash 8 -> CF7.
>
>
>
> I'm thinking it's simple, searching through lots of examples to find an
> example.
>
>
>
> Regards
> Dale Fraser
>
>
>
> http://dale.fraser.id.au
>   --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Shane Farmer
> *Sent:* Thursday, 16 November 2006 7:41 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
>
>
>
> Dale,
>
>
>
> Are you trying to connect CF7 and Flex through remoting or just a Flash
> movie? While I know nothing about either I may know of someone that is a bit
> of a Flash developer that may know.
>
>
>
> At least if it is clear what you are trying to do it may stop pointless
> replies.
>
>
>
> Shane
>
>
>
> On 11/16/06, *Dale Fraser* <[EMAIL PROTECTED]> wrote:
>
> Can anyone point me to a simple example of

[cfaussie] Re: csv File Import problem

2006-11-16 Thread Toby Tremayne
I had something like this just recently, reading a file with cffile  
on linux, but the file was created by cf on windows.  Try adjusting  
the charset in the cffile type to Windows-1252 or iso-8859-1 and see  
if that helps.
Failing that, I found just using trim() on the values gets rid of the  
extra chars.

Toby

On 17/11/2006, at 10:37 , Scott Thornton wrote:

>
> Hi,
>
> Having a bit of a problem with a csv file import
>
> Structure is:
>
> j225,28-Sep-06,139145,66515| 65126| 65070,1799459
> j225,28-Aug-06,139115,73527| 69354| 66515| 65126| 65096|  
> 69333,L1796208
> j225,01-Sep-06,139122,66515| 65096,L1796669
>
> List element 5 ( obtained by ListGetAt(CSV_RECORD,5,"," )> should  
> contain 1799459, or L1796208.
>
> However item 1799459 works okay, but L1796208 comes out with what I  
> can only describe as a carriage return\line feed after it (so too  
> does L1796669)
>
> to best illustrate it, the variable used in a query:
>
>   SELECT  SB_PATIENT_MRN,
>   SB_DEBTOR_ID
>   FROMSB_PATIENT_REGISTER
>   WHERE   SB_PATIENT_MRN = 
> 'L1796208
> ' AND
>   SB_HL7_SOURCE = 
> 'LMNC'  
>
> I have opened the file up and retyped the last values. I have  
> opened the csv file up in a text editor to check for hidden  
> characters (at the end of each line there is a CRLF ).
>
> Can anyone offer any advice?
>
>
>
>
>
>
> >



---

Life is poetry, write it in your own words

---

Toby Tremayne
Senior Technical Consultant
Lyricist Software
0416 048 090
ICQ: 13107913




--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: csv File Import problem

2006-11-16 Thread Scott Thornton

never mind.

I looped over the line using line feed as the break, rather than carriage 
return line feed.

sorry,



>>> [EMAIL PROTECTED] 17/11/2006 10:37:38 am >>>

Hi,

Having a bit of a problem with a csv file import

Structure is:

j225,28-Sep-06,139145,66515| 65126| 65070,1799459
j225,28-Aug-06,139115,73527| 69354| 66515| 65126| 65096| 69333,L1796208
j225,01-Sep-06,139122,66515| 65096,L1796669

List element 5 ( obtained by ListGetAt(CSV_RECORD,5,"," )> should contain 
1799459, or L1796208.

However item 1799459 works okay, but L1796208 comes out with what I can only 
describe as a carriage return\line feed after it (so too does L1796669) 

to best illustrate it, the variable used in a query:

SELECT  SB_PATIENT_MRN,
SB_DEBTOR_ID
FROMSB_PATIENT_REGISTER
WHERE   SB_PATIENT_MRN = 
'L1796208
' AND
SB_HL7_SOURCE = 
'LMNC'  

I have opened the file up and retyped the last values. I have opened the csv 
file up in a text editor to check for hidden characters (at the end of each 
line there is a CRLF ).

Can anyone offer any advice?









--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] csv File Import problem

2006-11-16 Thread Scott Thornton

Hi,

Having a bit of a problem with a csv file import

Structure is:

j225,28-Sep-06,139145,66515| 65126| 65070,1799459
j225,28-Aug-06,139115,73527| 69354| 66515| 65126| 65096| 69333,L1796208
j225,01-Sep-06,139122,66515| 65096,L1796669

List element 5 ( obtained by ListGetAt(CSV_RECORD,5,"," )> should contain 
1799459, or L1796208.

However item 1799459 works okay, but L1796208 comes out with what I can only 
describe as a carriage return\line feed after it (so too does L1796669) 

to best illustrate it, the variable used in a query:

SELECT  SB_PATIENT_MRN,
SB_DEBTOR_ID
FROMSB_PATIENT_REGISTER
WHERE   SB_PATIENT_MRN = 
'L1796208
' AND
SB_HL7_SOURCE = 
'LMNC'  

I have opened the file up and retyped the last values. I have opened the csv 
file up in a text editor to check for hidden characters (at the end of each 
line there is a CRLF ).

Can anyone offer any advice?






--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: javascript question :: select default value

2006-11-16 Thread Pat

heres my attempt at a solution.

hth

Pat


window.onload = function()
{
alert('running')
var oSelect = document.getElementById("mySelect");
oSelect.onchange = myChangeFn;
oSelect.onclick = myFocusFn;
}

getElement = function(event)
{
return event.target || event.srcElement;
}

myChangeFn = function(event)
{
oSelect = getElement(event);

if( confirm('are you sure ?') )
{
return ;
}
else if (oSelect.getAttribute("prevSelected") )
{
oSelect.selectedIndex = 
oSelect.getAttribute("prevSelected");
}
}

myFocusFn = function(event)
{
oSelect = getElement(event);
//alert(oSelect.selectedIndex)
oSelect.setAttribute("prevSelected",oSelect.selectedIndex);

}



1
2
3


On Nov 16, 9:25 pm, "darryl lyons" <[EMAIL PROTECTED]> wrote:
> If you didn't want to use an onload method of persisting this
> information, you could merely store the last selectedIndex against the
> DOM element itself.. It just depends on how the initial default value
> is being set (via DOM or part of the static HTML). That way, you can
> just  set the selectedIndex to the "lastSelectedIndex" stored on the
> DOM element if the user selects 'cancel'.
>
> On 16/11/06, AJ Mercer <[EMAIL PROTECTED]> wrote:
>
>
>
> > I have gone with this for now
> > onchange="if (this.options[this.selectedIndex].value == 0 )  if (
> > !confirm('delete this')) this.value='#RS_ID#';"
>
> > where RS_ID is what is being used to select the correct option in the first
> > place.
>
> > But it means if the select another option, then the first option (value ==
> > 0), and cancel it will go to the original value (as it load time) and not
> > the previous value they selected. But I think I can live with that.
>
> > On 11/16/06, Steve Onnis <[EMAIL PROTECTED]> wrote:
>
> > > Andrew
>
> > > This help you at all?
>
> > ///
>
> > > 
>
> > > 
>
> > > 
>
> > > Untitled
>
> > > 
>
> > > function doConfirm(obj) {
>
> > > if (!confirm("Are you
> > sure you want this one?  ")) {
>
> > obj.outerHTML = selectBoxes[obj.name];
>
> > > }
>
> > > }
>
> > > selectBoxes = new Object();
>
> > > function saveSelectBoxes() {
>
> > > var selects =
> > document.getElementsByTagName("SELECT");
>
> > > var i = 0;
>
> > > for(i=0; i <
> > selects.length; ++i) {
>
> > selectBoxes[selects[i].name] = selects[i].outerHTML;
>
> > > }
>
> > > }
>
> > > 
>
> > > 
>
> > > 
>
> > > 
>
> > > 1
>
> > > 2
>
> > > 3
>
> > > 4
>
> > > 5
>
> > > 
>
> > > 
>
> > > 1
>
> > > 2
>
> > > 3
>
> > > 4
>
> > > 5
>
> > > 
>
> > > 
>
> > > 1
>
> > > 2
>
> > > 3
>
> > > 4
>
> > > 5
>
> > > 
>
> > > 
>
> > > 
>
> > ///
>
> > > Regards
>
> > > Steve Onnis
>
> > > 
>
> > > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> > Behalf Of AJ Mercer
> > > Sent: Thursday, 16 November 2006 7:09 PM
> > > To: cfaussie@googlegroups.com
> > > Subject: [cfaussie] javascript question :: select default value
>
> > > Does anyone have any suggestion on how to do the following
>
> > > I have a select field with onChange event the calls the confirm function.
> > If cancel is selected, the original value (select item) is restored.
> 
> > > TIA.--
> 
> Darrylhttp://www.acheron.org/darryl/


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Flash Remoting

2006-11-16 Thread Dale Fraser
Yep,

 

Good stuff had to change the CFC to return an array, as the flash object was
trying to display an array but it was returning a string, got it to
successfully return and display the array.

 

Thanks heaps, I might try to post the result and let everyone see how their
brain is performing.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 9:45 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

It should have unpacked into its own directory so that should have worked
unless you put everything into the root of the domain, in which case yes,
you would have had to make that change

 

The advantage of doing it the way my example shows is that you can use the
same result handler and service object for multiple calls, otherwise you
need a service and result handler set for every call you make

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 9:40 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Worked it out, changed the remoting_sample.myCfc to just myCFC, makes sense.

 

Thanks Steve, nice and simple.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 9:34 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Ok,

 

Getting there, installed the Flash 8 stuff and the thing compiles, very
good.

 

Got it setup on CF but still get this message

 

result failed

 

__type = 

__detail = 

__faultstring = Service remoting_example.myCFC not found.

__faultcode = Server.ResourceNotFound

 

In the SWF, I have it all in C:\InetPub\wwwroot which is my 127.0.0.1 root.
I'm thinking there might be CF7 config stuff to allow the remoting to
happen.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 8:48 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

You will have to install the Remoting components into flash yes.  Make sure
you get the AS2 components.  The components install the imported classes at
the top of the action script so that when you compile the swf it can include
them.  After you do that, you should be able to just unpack the zip file
into the root of your webroot and it should run.

 

If you need some help let me know.

 

Steve

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:29 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Oh,

 

And is there any CF7 config needed. Also where does the cfc go?

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 8:12 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Here you go Dale

 

Lots of love

Steve :-)

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

It's just Flash 8 -> CF7.

 

I'm thinking it's simple, searching through lots of examples to find an
example.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Shane Farmer
Sent: Thursday, 16 November 2006 7:41 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Dale,

 

Are you trying to connect CF7 and Flex through remoting or just a Flash
movie? While I know nothing about either I may know of someone that is a bit
of a Flash developer that may know.

 

At least if it is clear what you are trying to do it may stop pointless
replies.

 

Shane

 

On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote: 

Can anyone point me to a simple example of Flash remoting to CF7.

 

I want to pass CF an array and return an array.

 

I could pass a string and return a string if this makes it much easier.

Regards
Dale Fraser

http://dale.fraser.id.au  


 

 

 

 


lang=EN-US>

 


lang=EN-US>

 

 












--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Flash Remoting

2006-11-16 Thread Steve Onnis
It should have unpacked into its own directory so that should have worked
unless you put everything into the root of the domain, in which case yes,
you would have had to make that change

 

The advantage of doing it the way my example shows is that you can use the
same result handler and service object for multiple calls, otherwise you
need a service and result handler set for every call you make

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 9:40 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Worked it out, changed the remoting_sample.myCfc to just myCFC, makes sense.

 

Thanks Steve, nice and simple.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 9:34 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Ok,

 

Getting there, installed the Flash 8 stuff and the thing compiles, very
good.

 

Got it setup on CF but still get this message

 

result failed

 

__type = 

__detail = 

__faultstring = Service remoting_example.myCFC not found.

__faultcode = Server.ResourceNotFound

 

In the SWF, I have it all in C:\InetPub\wwwroot which is my 127.0.0.1 root.
I'm thinking there might be CF7 config stuff to allow the remoting to
happen.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 8:48 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

You will have to install the Remoting components into flash yes.  Make sure
you get the AS2 components.  The components install the imported classes at
the top of the action script so that when you compile the swf it can include
them.  After you do that, you should be able to just unpack the zip file
into the root of your webroot and it should run.

 

If you need some help let me know.

 

Steve

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:29 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Oh,

 

And is there any CF7 config needed. Also where does the cfc go?

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 8:12 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Here you go Dale

 

Lots of love

Steve :-)

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

It's just Flash 8 -> CF7.

 

I'm thinking it's simple, searching through lots of examples to find an
example.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Shane Farmer
Sent: Thursday, 16 November 2006 7:41 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Dale,

 

Are you trying to connect CF7 and Flex through remoting or just a Flash
movie? While I know nothing about either I may know of someone that is a bit
of a Flash developer that may know.

 

At least if it is clear what you are trying to do it may stop pointless
replies.

 

Shane

 

On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote: 

Can anyone point me to a simple example of Flash remoting to CF7.

 

I want to pass CF an array and return an array.

 

I could pass a string and return a string if this makes it much easier.

Regards
Dale Fraser

http://dale.fraser.id.au  


 

 

 

 


lang=EN-US>

 


lang=EN-US>

 











--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Flash Remoting

2006-11-16 Thread Dale Fraser
Worked it out, changed the remoting_sample.myCfc to just myCFC, makes sense.

 

Thanks Steve, nice and simple.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 9:34 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Ok,

 

Getting there, installed the Flash 8 stuff and the thing compiles, very
good.

 

Got it setup on CF but still get this message

 

result failed

 

__type = 

__detail = 

__faultstring = Service remoting_example.myCFC not found.

__faultcode = Server.ResourceNotFound

 

In the SWF, I have it all in C:\InetPub\wwwroot which is my 127.0.0.1 root.
I'm thinking there might be CF7 config stuff to allow the remoting to
happen.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 8:48 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

You will have to install the Remoting components into flash yes.  Make sure
you get the AS2 components.  The components install the imported classes at
the top of the action script so that when you compile the swf it can include
them.  After you do that, you should be able to just unpack the zip file
into the root of your webroot and it should run.

 

If you need some help let me know.

 

Steve

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:29 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Oh,

 

And is there any CF7 config needed. Also where does the cfc go?

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 8:12 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Here you go Dale

 

Lots of love

Steve :-)

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

It's just Flash 8 -> CF7.

 

I'm thinking it's simple, searching through lots of examples to find an
example.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Shane Farmer
Sent: Thursday, 16 November 2006 7:41 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Dale,

 

Are you trying to connect CF7 and Flex through remoting or just a Flash
movie? While I know nothing about either I may know of someone that is a bit
of a Flash developer that may know.

 

At least if it is clear what you are trying to do it may stop pointless
replies.

 

Shane

 

On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote: 

Can anyone point me to a simple example of Flash remoting to CF7.

 

I want to pass CF an array and return an array.

 

I could pass a string and return a string if this makes it much easier.

Regards
Dale Fraser

http://dale.fraser.id.au  


 

 

 

 


lang=EN-US>

 


lang=EN-US>










--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Flash Remoting

2006-11-16 Thread Dale Fraser
Ok,

 

Getting there, installed the Flash 8 stuff and the thing compiles, very
good.

 

Got it setup on CF but still get this message

 

result failed

 

__type = 

__detail = 

__faultstring = Service remoting_example.myCFC not found.

__faultcode = Server.ResourceNotFound

 

In the SWF, I have it all in C:\InetPub\wwwroot which is my 127.0.0.1 root.
I'm thinking there might be CF7 config stuff to allow the remoting to
happen.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 8:48 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

You will have to install the Remoting components into flash yes.  Make sure
you get the AS2 components.  The components install the imported classes at
the top of the action script so that when you compile the swf it can include
them.  After you do that, you should be able to just unpack the zip file
into the root of your webroot and it should run.

 

If you need some help let me know.

 

Steve

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:29 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Oh,

 

And is there any CF7 config needed. Also where does the cfc go?

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 8:12 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Here you go Dale

 

Lots of love

Steve :-)

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

It's just Flash 8 -> CF7.

 

I'm thinking it's simple, searching through lots of examples to find an
example.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Shane Farmer
Sent: Thursday, 16 November 2006 7:41 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Dale,

 

Are you trying to connect CF7 and Flex through remoting or just a Flash
movie? While I know nothing about either I may know of someone that is a bit
of a Flash developer that may know.

 

At least if it is clear what you are trying to do it may stop pointless
replies.

 

Shane

 

On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote: 

Can anyone point me to a simple example of Flash remoting to CF7.

 

I want to pass CF an array and return an array.

 

I could pass a string and return a string if this makes it much easier.

Regards
Dale Fraser

http://dale.fraser.id.au  


 

 

 

 


lang=EN-US>

 









--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: javascript question :: select default value

2006-11-16 Thread darryl lyons

If you didn't want to use an onload method of persisting this
information, you could merely store the last selectedIndex against the
DOM element itself.. It just depends on how the initial default value
is being set (via DOM or part of the static HTML). That way, you can
just  set the selectedIndex to the "lastSelectedIndex" stored on the
DOM element if the user selects 'cancel'.

On 16/11/06, AJ Mercer <[EMAIL PROTECTED]> wrote:
> I have gone with this for now
> onchange="if (this.options[this.selectedIndex].value == 0 )  if (
> !confirm('delete this')) this.value='#RS_ID#';"
>
> where RS_ID is what is being used to select the correct option in the first
> place.
>
> But it means if the select another option, then the first option (value ==
> 0), and cancel it will go to the original value (as it load time) and not
> the previous value they selected. But I think I can live with that.
>
>
>
>
> On 11/16/06, Steve Onnis <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > Andrew
> >
> >
> >
> > This help you at all?
> >
> >
> >
> >
> ///
> >
> > 
> >
> >
> >
> > 
> >
> > 
> >
> > Untitled
> >
> > 
> >
> > function doConfirm(obj) {
> >
> > if (!confirm("Are you
> sure you want this one?  ")) {
> >
> >
> obj.outerHTML = selectBoxes[obj.name];
> >
> > }
> >
> >
> >
> > }
> >
> >
> >
> >
> >
> > selectBoxes = new Object();
> >
> > function saveSelectBoxes() {
> >
> > var selects =
> document.getElementsByTagName("SELECT");
> >
> > var i = 0;
> >
> > for(i=0; i <
> selects.length; ++i) {
> >
> >
> selectBoxes[selects[i].name] = selects[i].outerHTML;
> >
> > }
> >
> > }
> >
> > 
> >
> > 
> >
> >
> >
> > 
> >
> >
> >
> > 
> >
> > 1
> >
> > 2
> >
> > 3
> >
> > 4
> >
> > 5
> >
> > 
> >
> >
> >
> > 
> >
> > 1
> >
> > 2
> >
> > 3
> >
> > 4
> >
> > 5
> >
> > 
> >
> >
> >
> > 
> >
> > 1
> >
> > 2
> >
> > 3
> >
> > 4
> >
> > 5
> >
> > 
> >
> >
> >
> > 
> >
> > 
> >
> >
> ///
> >
> >
> >
> > Regards
> >
> > Steve Onnis
> >
> > 
>
> >
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of AJ Mercer
> > Sent: Thursday, 16 November 2006 7:09 PM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] javascript question :: select default value
> >
> >
> >
> > Does anyone have any suggestion on how to do the following
> >
> > I have a select field with onChange event the calls the confirm function.
> If cancel is selected, the original value (select item) is restored.
> >
> > TIA.
> >
> >
> >
> >
> >
>
>
>  >
>


-- 

Darryl
http://www.acheron.org/darryl/

--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Flash Remoting

2006-11-16 Thread Steve Onnis
You will have to install the Remoting components into flash yes.  Make sure
you get the AS2 components.  The components install the imported classes at
the top of the action script so that when you compile the swf it can include
them.  After you do that, you should be able to just unpack the zip file
into the root of your webroot and it should run.

 

If you need some help let me know.

 

Steve

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:29 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Oh,

 

And is there any CF7 config needed. Also where does the cfc go?

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 8:12 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Here you go Dale

 

Lots of love

Steve :-)

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

It's just Flash 8 -> CF7.

 

I'm thinking it's simple, searching through lots of examples to find an
example.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Shane Farmer
Sent: Thursday, 16 November 2006 7:41 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Dale,

 

Are you trying to connect CF7 and Flex through remoting or just a Flash
movie? While I know nothing about either I may know of someone that is a bit
of a Flash developer that may know.

 

At least if it is clear what you are trying to do it may stop pointless
replies.

 

Shane

 

On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote: 

Can anyone point me to a simple example of Flash remoting to CF7.

 

I want to pass CF an array and return an array.

 

I could pass a string and return a string if this makes it much easier.

Regards
Dale Fraser

http://dale.fraser.id.au  


 

 

 

 


lang=EN-US>








--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Flash Remoting

2006-11-16 Thread Dale Fraser
Oh,

 

And is there any CF7 config needed. Also where does the cfc go?

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 8:12 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Here you go Dale

 

Lots of love

Steve :-)

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

It's just Flash 8 -> CF7.

 

I'm thinking it's simple, searching through lots of examples to find an
example.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Shane Farmer
Sent: Thursday, 16 November 2006 7:41 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Dale,

 

Are you trying to connect CF7 and Flex through remoting or just a Flash
movie? While I know nothing about either I may know of someone that is a bit
of a Flash developer that may know.

 

At least if it is clear what you are trying to do it may stop pointless
replies.

 

Shane

 

On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote: 

Can anyone point me to a simple example of Flash remoting to CF7.

 

I want to pass CF an array and return an array.

 

I could pass a string and return a string if this makes it much easier.

Regards
Dale Fraser

http://dale.fraser.id.au  


 

 

 

 







--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Flash Remoting

2006-11-16 Thread Shane Farmer
>From the Flash remoting server samples this might help you send an array
through:

/**
* function: testArray, no paramaters
* creates new Array object
* updates text field "arrayInput"  with value of Array object
* then invokes the method, "testArray" in the Flash Remoting Service called
"flashtestService" defined in the init function.
* sending the value of the Array object to the service.
*/
function testArray()
{
flashArray= new Array();
flashArray[0]=messageInput.text;
flashArray[1]=numInput.text;
flashArray[2]=["kev","irina","steph"];
flashtestService.testArray(flashArray);
}



On 11/16/06, Brett Payne-Rhodes <[EMAIL PROTECTED]> wrote:
>
>
> Thats more like it! Share the cfaussie love!
>
> B)
>
> Steve Onnis wrote:
> > Here you go Dale
> >
> >
> >
> > Lots of love
> >
> > Steve J
> >
> >
> >
> > 
> >
> > *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Dale Fraser
> > *Sent:* Thursday, 16 November 2006 8:01 PM
> > *To:* cfaussie@googlegroups.com
> > *Subject:* [cfaussie] Re: Flash Remoting
> >
> >
> >
> > It's just Flash 8 -> CF7.
> >
> >
> >
> > I'm thinking it's simple, searching through lots of examples to find an
> > example.
> >
> >
> >
> > Regards
> > Dale Fraser
> >
> >
> >
> > http://dale.fraser.id.au
> >
> > 
> >
> > *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Shane Farmer
> > *Sent:* Thursday, 16 November 2006 7:41 PM
> > *To:* cfaussie@googlegroups.com
> > *Subject:* [cfaussie] Re: Flash Remoting
> >
> >
> >
> > Dale,
> >
> >
> >
> > Are you trying to connect CF7 and Flex through remoting or just a Flash
> > movie? While I know nothing about either I may know of someone that is a
> > bit of a Flash developer that may know.
> >
> >
> >
> > At least if it is clear what you are trying to do it may stop pointless
> > replies.
> >
> >
> >
> > Shane
> >
> >
> >
> > On 11/16/06, *Dale Fraser* <[EMAIL PROTECTED]
> > > wrote:
> >
> > Can anyone point me to a simple example of Flash remoting to CF7.
> >
> >
> >
> > I want to pass CF an array and return an array.
> >
> >
> >
> > I could pass a string and return a string if this makes it much easier.
> >
> > Regards
> > Dale Fraser
> >
> > http://dale.fraser.id.au 
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > >
> >
>
>
> >
>


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Flash Remoting

2006-11-16 Thread Dale Fraser
Thanks everyone for the help (Peter Excluded).

 

Steve, that looks exactly like what I was after thanks heaps.

 

Do I need to do anything in Flash for this to work or should work out of
Flash 8 box, read about installing the remoting components, am unclear if
this is needed or built into flash.

 

Thanks again.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Onnis
Sent: Thursday, 16 November 2006 8:12 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Here you go Dale

 

Lots of love

Steve :-)

 

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Thursday, 16 November 2006 8:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

It's just Flash 8 -> CF7.

 

I'm thinking it's simple, searching through lots of examples to find an
example.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Shane Farmer
Sent: Thursday, 16 November 2006 7:41 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Dale,

 

Are you trying to connect CF7 and Flex through remoting or just a Flash
movie? While I know nothing about either I may know of someone that is a bit
of a Flash developer that may know.

 

At least if it is clear what you are trying to do it may stop pointless
replies.

 

Shane

 

On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote: 

Can anyone point me to a simple example of Flash remoting to CF7.

 

I want to pass CF an array and return an array.

 

I could pass a string and return a string if this makes it much easier.

Regards
Dale Fraser

http://dale.fraser.id.au  


 

 

 

 







--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Flash Remoting

2006-11-16 Thread

This is really weird Dale, I asked a very simular post early today but
It didn't come through. Maybe tomorrow.

I was trying to flash remote to a CFC via flash forms. Had some serious
issues.
As soon as I find out the issue I'll let you know.

Jeremy


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Flash Remoting

2006-11-16 Thread Brett Payne-Rhodes

Thats more like it! Share the cfaussie love!

B)

Steve Onnis wrote:
> Here you go Dale
> 
>  
> 
> Lots of love
> 
> Steve J
> 
>  
> 
> 
> 
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On 
> Behalf Of *Dale Fraser
> *Sent:* Thursday, 16 November 2006 8:01 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
> 
>  
> 
> It’s just Flash 8 -> CF7.
> 
>  
> 
> I’m thinking it’s simple, searching through lots of examples to find an 
> example.
> 
>  
> 
> Regards
> Dale Fraser
> 
>  
> 
> http://dale.fraser.id.au
> 
> 
> 
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On 
> Behalf Of *Shane Farmer
> *Sent:* Thursday, 16 November 2006 7:41 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
> 
>  
> 
> Dale,
> 
>  
> 
> Are you trying to connect CF7 and Flex through remoting or just a Flash 
> movie? While I know nothing about either I may know of someone that is a 
> bit of a Flash developer that may know.
> 
>  
> 
> At least if it is clear what you are trying to do it may stop pointless 
> replies.
> 
>  
> 
> Shane
> 
>  
> 
> On 11/16/06, *Dale Fraser* <[EMAIL PROTECTED] 
> > wrote:
> 
> Can anyone point me to a simple example of Flash remoting to CF7.
> 
>  
> 
> I want to pass CF an array and return an array.
> 
>  
> 
> I could pass a string and return a string if this makes it much easier.
> 
> Regards
> Dale Fraser
> 
> http://dale.fraser.id.au 
> 
> 
>  
> 
>  
> 
>  
> 
> 
> 
> > 
> 


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Flash Remoting

2006-11-16 Thread Shane Farmer
So what have you got so far? Have you got the Flash app talking to the web
service?


On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
>  It's just Flash 8 -> CF7.
>
>
>
> I'm thinking it's simple, searching through lots of examples to find an
> example.
>
>
>
> Regards
> Dale Fraser
>
>
>
> http://dale.fraser.id.au
>  --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Shane Farmer
> *Sent:* Thursday, 16 November 2006 7:41 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] Re: Flash Remoting
>
>
>
> Dale,
>
>
>
> Are you trying to connect CF7 and Flex through remoting or just a Flash
> movie? While I know nothing about either I may know of someone that is a bit
> of a Flash developer that may know.
>
>
>
> At least if it is clear what you are trying to do it may stop pointless
> replies.
>
>
>
> Shane
>
>
>
> On 11/16/06, *Dale Fraser* <[EMAIL PROTECTED]> wrote:
>
> Can anyone point me to a simple example of Flash remoting to CF7.
>
>
>
> I want to pass CF an array and return an array.
>
>
>
> I could pass a string and return a string if this makes it much easier.
>
> Regards
> Dale Fraser
>
> http://dale.fraser.id.au
>
>
>
>
>
>
>
>
>
> >
>


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Flash Remoting

2006-11-16 Thread Dale Fraser
It's just Flash 8 -> CF7.

 

I'm thinking it's simple, searching through lots of examples to find an
example.

 

Regards
Dale Fraser

 

http://dale.fraser.id.au

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Shane Farmer
Sent: Thursday, 16 November 2006 7:41 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting

 

Dale,

 

Are you trying to connect CF7 and Flex through remoting or just a Flash
movie? While I know nothing about either I may know of someone that is a bit
of a Flash developer that may know.

 

At least if it is clear what you are trying to do it may stop pointless
replies.

 

Shane

 

On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote: 

Can anyone point me to a simple example of Flash remoting to CF7.

 

I want to pass CF an array and return an array.

 

I could pass a string and return a string if this makes it much easier.

Regards
Dale Fraser

http://dale.fraser.id.au  


 

 






--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Flash Remoting

2006-11-16 Thread Shane Farmer
Dale,

Are you trying to connect CF7 and Flex through remoting or just a Flash
movie? While I know nothing about either I may know of someone that is a bit
of a Flash developer that may know.

At least if it is clear what you are trying to do it may stop pointless
replies.

Shane


On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
>  Can anyone point me to a simple example of Flash remoting to CF7.
>
>
>
> I want to pass CF an array and return an array.
>
>
>
> I could pass a string and return a string if this makes it much easier.
>
> Regards
> Dale Fraser
>
> http://dale.fraser.id.au
>
>
>
>
>
>
> >
>
>


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Flash Remoting

2006-11-16 Thread Dale Fraser

Peter,

I hope to run in to you one day.

Thanks for posting crap to my blog, I think this is revenge for me asking a
flash remoting question.

Regards
Dale Fraser

 
http://dale.fraser.id.au
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Peter Tilbrook
Sent: Thursday, 16 November 2006 6:08 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Flash Remoting


Am I the only one sick of you yet?

www.actcfug.com (look under web links/flex)

On 16/11/06, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Can anyone point me to a simple example of Flash remoting to CF7.
>
>
>
> I want to pass CF an array and return an array.
>
>
>
> I could pass a string and return a string if this makes it much easier.
>
>
> Regards
>  Dale Fraser
>
> http://dale.fraser.id.au
>
>
>
>
>
>  >
>


-- 
Peter Tilbrook
ColdGen Internet Solutions
Manager, ACT and Region ColdFusion Users Group
PO Box 2247
Queanbeyan, NSW, 2620
AUSTRALIA

http://www.coldgen.com/
http://www.actcfug.com/

Tel: +61-2-6284-2727
Mob: +61-0432-897-437

Email: [EMAIL PROTECTED]





--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] CFMAIL not releasing memory

2006-11-16 Thread steve
Back into the CFMAIL issues again

 

I have debugging some code, trying to find out why when I run a bulk mail
process the memory get sucked up by the cf server.  I just did an
interesting test just to see what would happen.  

 

Basically this is the process.  All this happens from flash using Remoting
so..

 

- Flash triggers a send

- Send commences and proceeds to loop over the contacts to send.  Currently
about 6000 recipients.

- Flash, using setInterval() polls a cfc to keep track of the number of
emails sent and basically updates a progress meter in the flash movie

- Send completes and shows "Send complete" message in flash.

 

Now initially I though it might have been the bombarding of the CF mail
spool directory causing the issue so I wrote a bit of code to move the
emails out of the spool directory into another "Que" directory I created in
the Mail directory.  I ran the process and no change.

 

I am also using the 





..thing to slow the processing down and I thought that might be it so I
removed it.  No change.

 

 

Then I ran the exact same script but commented out only the CFMAIL section
where it creates the email and the process ran and the memory usage hardly
moved at all.  I also ran the process including the CFMAIL tag but without
and without the CFMAILPART tag and with the CFMAILPART tag the memory usage
of jrun.exe increased 3 fold.

 

Now..I have the CF server set to spool mail, not hold in memory and try to
send as part of the process so that's not it.

 

My question is, could there be a memory leak issue in the CFMAIL or
CFMAILPART process that is consuming the memory and not releasing it?

 

Regards

Steve Onnis



--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: javascript question :: select default value

2006-11-16 Thread AJ Mercer
I have gone with this for now
onchange="if (this.options[this.selectedIndex].value == 0 )  if (
!confirm('delete this')) this.value='#RS_ID#';"

where RS_ID is what is being used to select the correct option in the first
place.

But it means if the select another option, then the first option (value ==
0), and cancel it will go to the original value (as it load time) and not
the previous value they selected. But I think I can live with that.



On 11/16/06, Steve Onnis <[EMAIL PROTECTED]> wrote:
>
>  Andrew
>
>
>
> This help you at all?
>
>
>
>
> ///
>
> 
>
>
>
> 
>
> 
>
> Untitled
>
> 
>
> function doConfirm(obj) {
>
> if (!confirm("Are you sure you want
> this one?  ")) {
>
> obj.outerHTML =
> selectBoxes[obj.name];
>
> }
>
>
>
> }
>
>
>
>
>
> selectBoxes = new Object();
>
> function saveSelectBoxes() {
>
> var selects =
> document.getElementsByTagName("SELECT");
>
> var i = 0;
>
> for(i=0; i < selects.length; ++i) {
>
>
> selectBoxes[selects[i].name] = selects[i].outerHTML;
>
> }
>
> }
>
> 
>
> 
>
>
>
> 
>
>
>
> 
>
> 1
>
> 2
>
> 3
>
> 4
>
> 5
>
> 
>
>
>
> 
>
> 1
>
> 2
>
> 3
>
> 4
>
> 5
>
> 
>
>
>
> 
>
> 1
>
> 2
>
> 3
>
> 4
>
> 5
>
> 
>
>
>
> 
>
> 
>
>
> ///
>
>
>
> Regards
>
> Steve Onnis
>  --
>
> *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *AJ Mercer
> *Sent:* Thursday, 16 November 2006 7:09 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* [cfaussie] javascript question :: select default value
>
>
>
> Does anyone have any suggestion on how to do the following
>
> I have a select field with onChange event the calls the confirm function.
> If cancel is selected, the original value (select item) is restored.
>
> TIA.
>
>
>
> >
>


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: javascript question :: select default value

2006-11-16 Thread Steve Onnis
Andrew

 

This help you at all?

 


///



 





Untitled



function doConfirm(obj) {

if (!confirm("Are you sure you want this
one?  ")) {

obj.outerHTML =
selectBoxes[obj.name];

}



}





selectBoxes = new Object();

function saveSelectBoxes() {

var selects =
document.getElementsByTagName("SELECT");

var i = 0;

for(i=0; i < selects.length; ++i) {

selectBoxes[selects[i].name]
= selects[i].outerHTML;

}

}





 



 



1

2

3

4

5



 



1

2

3

4

5



 



1

2

3

4

5



 






///

 

Regards

Steve Onnis

  _  

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of AJ Mercer
Sent: Thursday, 16 November 2006 7:09 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] javascript question :: select default value

 

Does anyone have any suggestion on how to do the following

I have a select field with onChange event the calls the confirm function. If
cancel is selected, the original value (select item) is restored.

TIA.





--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---


[cfaussie] Re: Flash Remoting

2006-11-16 Thread ACTCFUG

Goober is good.

Real good :)

http://www.oreilly.com/catalog/programadobe/index.html

is the closest yet to a decent Flex 2 tome. Forthcoming like all good
things.


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] javascript question :: select default value

2006-11-16 Thread AJ Mercer
Does anyone have any suggestion on how to do the following

I have a select field with onChange event the calls the confirm function. If
cancel is selected, the original value (select item) is restored.

TIA.


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---