flash remoting uses cfc's set to remote access

On 8/3/06, Mike Sumner <[EMAIL PROTECTED]> wrote:


Please allow me to ask a really stupid question in the middle of this.  I
used one of the samples at AS Fusion as the starting point for my form - I
think the one Laura mentioned that allows you to filter the grid and even
select which column you filter on.  My question - I can post the form the
old way, but I want to post it to the same page and start building another
grid building a list of items entered - it was suggested that I would need
to use FlashRemoting to make it one page --> in FlashRemoting you have to
use a web service? and is that possible with CF Standard version?

I appreciate your input.

Best regards,

Mike Sumner
Nations Best Sports
817-788-0034 ext 244
817-788-8542 Fax


 ________________________________
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Justin Cook
Sent: Thursday, August 03, 2006 8:27 AM
To: Dallas/Fort Worth ColdFusion User Group Mailing List
Subject: Re: [DFW CFUG] new keyword in Flash Forms



I emailed Laura from ASFusion and here was her reply:


Justin,
I don't really know what you are doing exactly, but that problem arises
*only* when the word is written into ActionScript at compile time (you
either write it yourself or make CF write it for you). Writing dynamic data
on ActionScript directly is a bad practice really, as it will make your form
recompile every time the data changes. Even if the data does not change, it
is not a good idea to write 50000 records in AS code.  If you look at this
example:
http://www.asfusion.com/examples/item/multiple-selects-related-flash-cfform
you will see that New York is there, and there is no ActionScript problem.
Why? because we don't loop over the records with CF writing ActionScript
(somewhat like the blog post you showed me, where the data might be pushed
on an array at each iteration of the cfoutput loop), but rather load the
data normally, which it is done via Remoting under the covers. Then we do
whatever we need to do with the data (in which case it will be strings for
AS, not the word 'new'), for example, loop over the records, filter them,
etc.

Cheers,
Laura

I am still a bit confused about this. How do I get the data into the form
when it has to be pulled from the database, because it is dynamic, then
displayed in the form?  Anyone have any thoughts....and by the way, pardon
my ignorance!

Thanks,
Justin

Justin Cook <[EMAIL PROTECTED]> wrote:


The database data comes from a query on the page. In the form itself,
primarily I am doing it as follows:


 <cfinput name="bCity" type="text" width="150" maxlength="50" required="yes"
validateat="onsubmit" message="Please provide the subscriber's city."
label="City: " value="#qSubscriber.bcity#"/>




Mike Kelp <[EMAIL PROTECTED]> wrote:

I have heard of this issue, but it usually only occurs if the new keyword is
actually generated in the flash form, like outputted into actionscript, etc.

How are you getting the database data into the form?

Mike.



On 8/2/06, Justin Cook <[EMAIL PROTECTED]> wrote:
>

Anyone out there heard of this issue and how to resolve it?


Justin Cook < [EMAIL PROTECTED]> wrote:



Anyone run across the problem with Flash forms whereby when you pull data
out of the database and one of the words is "new" the Flash form throws an
error because of the reserved word?  For example, we have people with the
address of New York City, and when it is pulled out of the database, it
throws an error.  If you have had this happen and/or know of a solution
please let me know!

Thanks,
Justin

_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/

DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/



_______________________________________________
Reply to DFWCFUG:
 [email protected]
Subscribe/Unsubscribe:
 http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
    http://www.mail-archive.com/list%40list.dfwcfug.org/
  http://www.mail-archive.com/list%40dfwcfug.org/

DFWCFUG Sponsors:
 www.HostMySite.com
  www.teksystems.com/






--
Mike Kelp

--Education's purpose is to replace an empty mind with an open one.
~Malcolm S. Forbes
--If knowledge is power, know this is tyranny.
~Thrice
_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/

DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/


_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/

DFWCFUG Sponsors:
www.HostMySite.com
www.teksystems.com/


_______________________________________________
Reply to DFWCFUG:
  [email protected]
Subscribe/Unsubscribe:
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
    http://www.mail-archive.com/list%40list.dfwcfug.org/
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
  www.HostMySite.com
  www.teksystems.com/





--
diabetic? http://www.diabetesforums.com
Albert Einstein - "It's not that I'm so smart, it's just that I stay
with problems longer."

_______________________________________________
Reply to DFWCFUG: [email protected] Subscribe/Unsubscribe: http://lists1.safesecureweb.com/mailman/listinfo/list List Archives: http://www.mail-archive.com/list%40list.dfwcfug.org/ http://www.mail-archive.com/list%40dfwcfug.org/ DFWCFUG Sponsors: www.HostMySite.com www.teksystems.com/

Reply via email to