Re: Storing decimal parts of a second & cfqueryparam

2011-02-28 Thread James Holmes
You need to set the scale attribute in the cfqueryparam tag. http://cfquickdocs.com/cf9/?getDoc=cfqueryparam -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 1 March 2011 10:43, Pete Ruckelshaus wrote: > > Primarily because it's easier and more accurate to sort on a si

Re: Carriage returns in text email

2011-02-28 Thread Rob Voyle
Found the problem, but not the solution. It is not in the CF but the specific email client Pegasus which is doing some weird things with formatting that has to do with how it wraps text Rob On 28 Feb 2011 at 13:52, Wil Genovese wrote: > > Remember that the content saved between the opening

Re: Storing decimal parts of a second & cfqueryparam

2011-02-28 Thread Pete Ruckelshaus
Primarily because it's easier and more accurate to sort on a single overall value (inches). Of course, if it were up to me, we'd be using metric :) On Mon, Feb 28, 2011 at 7:12 PM, Roger Austin wrote: > > On 2/26/2011 10:08 PM, Pete Ruckelshaus wrote: > > > > OK, just not my night with decimal

Re: How secure is RDS

2011-02-28 Thread Nicholas Tunney
Most of my apps use multiple clients. I many times have a serviceProxy and remotingProxy. At a real basic level the remotingProxy mirrors whatever I need in the serviceProxy as remote methods. The service layer can be RESTful (put/get/post/delete), as Andrew suggested, or can be regular methods

RE: How secure is RDS

2011-02-28 Thread Andrew Scott
That is one way, but a façade and/or proxy is not always the best either. Depending on one's needs an API behind a RESTful service, offers far more security and other benefits. Regards, Andrew Scott http://www.andyscott.id.au/ > -Original Message- > From: Bryan Stevenson [mailto:br...

Re: How secure is RDS

2011-02-28 Thread Bryan Stevenson
and it was the "accessor" stuff that lost me ;-) In simple terms are you talking about a single CFC that all other CFC calls pass-through? I've heard that called a "facade", but whatever you call it, it is a way of not requiring all CFCs to be of accessType remote when using AJAX_CFC for exa

Re: How secure is RDS

2011-02-28 Thread Nicholas Tunney
The article is about CF 9 ORM, but the pattern remains the same. The ORM methods are generated in cf9, but in CF8 your objects would probably still have the same accessor methods. Nic On 2/28/11 8:01 PM, "Bryan Stevenson" wrote: > >Oopsone last thing for now I think Nic > >The article

Re: How secure is RDS

2011-02-28 Thread Bryan Stevenson
Oopsone last thing for now I think Nic The article seems to perhaps be more about CF 9 and ORM than Flex and CFis that a safe assumption? I'm asking because I'm stuck on CF 8 for the time being and hoping to avoid confusion between what I'm trying to do and what CF 9 can do ;-) Chee

Re: How secure is RDS

2011-02-28 Thread Bryan Stevenson
Thanks NicI'll do my reading!! ;-) On Mon, 2011-02-28 at 19:52 -0500, Nicholas Tunney wrote: > Check out my other reply. For the CF side of things you should be good to > go. In Flex the wizard should help you point ot your services-config, but > I;ve seen Flash Builder mess that up. Let

Re: How secure is RDS

2011-02-28 Thread Nicholas Tunney
Check out my other reply. For the CF side of things you should be good to go. In Flex the wizard should help you point ot your services-config, but I;ve seen Flash Builder mess that up. Let us know if you have issues. Also, make sure you can hit http://yourdomain.com/flex2gateway in a browser (

Re: How secure is RDS

2011-02-28 Thread Nicholas Tunney
I don't see anything about RDS in that article. The only thing I can think of if you saw it somewhere else is that RDS can be used to generate CFCs, but still, do this in dev only. You have several options for hitting CFC via remoting, including RTMP and AMF. There are lots of good articles out

Re: How secure is RDS

2011-02-28 Thread Bryan Stevenson
Thanks Nic et al I think the confusion was all mineand glad that's all it was as having to use RDS in PROD (as I thought was the case) would have been brutalamen!! Nicif I need more than to set CFC accesstype to "remote" and setup the data services in Flex via the wizard, please

Re: How secure is RDS

2011-02-28 Thread nic.tun...@nictunney.com
I'll check the link when I am home, but I use flash remoting all the time which uses blaze ds under the hood. You should never install rds in production. Sent from my Verizon Wireless Phone - Reply message - From: "Andrew Scott" Date: Mon, Feb 28, 2011 7:08 pm Subject: How secure is

Re: How secure is RDS

2011-02-28 Thread Casey Dougall
On Mon, Feb 28, 2011 at 7:02 PM, Bryan Stevenson < br...@electricedgesystems.com> wrote: > > OK then Nic/Mark > > > http://www.adobe.com/devnet/flex/articles/fcf_ataglance_flex_coldfusion.html > > Seems to contradict you guys > > I'd love a non-webservice and non-RDS enabled solution, but

Re: Storing decimal parts of a second & cfqueryparam

2011-02-28 Thread Roger Austin
On 2/26/2011 10:08 PM, Pete Ruckelshaus wrote: > > OK, just not my night with decimal values. > > Trying to store distances (for throwing and jumping events), which are > measured in feet and inches. In order to maintain proper sort order, I > decided to convert feet and inches (with fractions of

RE: How secure is RDS

2011-02-28 Thread Andrew Scott
I don't see any where that it mentions using RDS to communicate with Flex<->ColdFusion. I am no expert in Flash/Flex development but I am under the impression the Flash Remoting on ColdFusion is the way Flash talks to ColdFusion, however in development the Flash Builder might require RDS to do Fl

Re: How secure is RDS

2011-02-28 Thread Bryan Stevenson
...and I've re-read the link I just posted and I may be confused about the role of RDS in all this. It may only be required for CFC introspection in Flex Builder 4. I may very well have confused a bunch of articles that said RDS had to be enabled.then landed on the Adobe page thinking I'd la

Re: How secure is RDS

2011-02-28 Thread Bryan Stevenson
OK then Nic/Mark http://www.adobe.com/devnet/flex/articles/fcf_ataglance_flex_coldfusion.html Seems to contradict you guys I'd love a non-webservice and non-RDS enabled solution, but Adobe seems to think RDS is the way?? I am in no way wanting to use RDS and not disagreeing with anyone

Re: How secure is RDS

2011-02-28 Thread nic.tun...@nictunney.com
It doesn't. Nic Sent from my Verizon Wireless Phone - Reply message - From: "Mark Mandel" Date: Mon, Feb 28, 2011 6:27 pm Subject: How secure is RDS To: "cf-talk" I'm no Flex guru by any stretch, but I've never heard this one before (and find it kinda hard to believe?) Can anyone

Re: How secure is RDS

2011-02-28 Thread Mark Mandel
I'm no Flex guru by any stretch, but I've never heard this one before (and find it kinda hard to believe?) Can anyone who has more Flex experience confirm this? Mark On Tue, Mar 1, 2011 at 7:25 AM, Bryan Stevenson < br...@electricedgesystems.com> wrote: > Now I did mention that Flex says it RE

Re: Storing decimal parts of a second & cfqueryparam

2011-02-28 Thread Charlie Griefer
I think your code is fine, but take a look at the precision value for the column in SQL Server. Ensure that it's set to 2. -- Charlie Griefer http://charlie.griefer.com I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. On Saturda

RE: How secure is RDS

2011-02-28 Thread Bryan Stevenson
Thanks Ben/Matt! Now I did mention that Flex says it REQUIRES RDS to be enabled in order to use Flex data services. The only alternative I see is to call the CFCs as webservices instead of as a Flex data service. Calling local webservices would have a tonne of extra overhead.seems like the

RE: How secure is RDS

2011-02-28 Thread Ben Forta
Short answer, how secure RDS is or isn't is really not the issue. What is more important is that security fundamentals demand that you don't run anything not completely necessary on production boxes. Your HTTP server is necessary, remote access services (be it RDS or FTP or ...) are generally not

Re: Carriage returns in text email

2011-02-28 Thread Wil Genovese
Remember that the content saved between the opening and closing cfmail tags is translated literally. So any carriage returns in the code itself will carry into the generated email. The same is true if you are using cfsavecontent to generate the text portion of the email. See this post of mine

Re: How secure is RDS

2011-02-28 Thread Matt Quackenbush
RDS in production is still a no-no. :-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/messag

Re: Carriage returns in text email

2011-02-28 Thread Andrew Grosset
try %0D%0A Andrew >Hi folks > >I am creating a text mail using cfmail > >I have a text variable "programSchedule" which is stored in mySQL as text: > >Monday:9:00 am-5:30 pm Leadership Program begins. >Tuesday: 9:00 am-5:30 pm. > 7:00 pm-9:00 pm: Optional - An I

Carriage returns in text email

2011-02-28 Thread Rob Voyle
Hi folks I am creating a text mail using cfmail I have a text variable "programSchedule" which is stored in mySQL as text: Monday:9:00 am-5:30 pm Leadership Program begins. Tuesday: 9:00 am-5:30 pm. 7:00 pm-9:00 pm: Optional - An Introduction to Yes! Wednesday

How secure is RDS

2011-02-28 Thread Bryan Stevenson
let's try that again... ;-) Hi All, Way back in the day I was told RDS was horribly insecure and I wrote it off and never looked back. Well now I'm into Flex and it uses RDS in order to use CF data services (or I can use webservices). So how safe is having RDS enabled? Any good tutorials on s

How safe is RDS

2011-02-28 Thread Bryan Stevenson
Hi All, Way back in the day I was told RDS was horribly insecure and I wrote it off and never looked back. Well -- Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electriced

Re: Storing decimal parts of a second & cfqueryparam

2011-02-28 Thread Pete Ruckelshaus
OK, just not my night with decimal values. Trying to store distances (for throwing and jumping events), which are measured in feet and inches. In order to maintain proper sort order, I decided to convert feet and inches (with fractions of an inch as decimal value) to inches with fractions of an