Re: Weird problem with IFRAME

2012-12-14 Thread Claude Schnéegans
>> it looks like you need a space between mondossier.cfm and type=#type# No, type here is a parameter in the url, not an attribute for http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353

Re: Weird problem with IFRAME

2012-12-14 Thread Maureen
If this is exact code, it looks like you need a space between mondossier.cfm and type=#type# On Thu, Dec 13, 2012 at 2:13 PM, <> wrote: > > Hi, > One of my customers is having a very weird problem with an IFRAME in my > site. > Here is the code in file mondossier.cfm: > FRAMEBORDER="0" >

Re: Converting JS variable to CF variable

2012-12-14 Thread Matt Quackenbush
JS is client-side. CF is server-side. By the time the page gets to the client where JS can/is run, CF is already completely out of the picture. You could... a) set a CF variable and render it as a JS variable b) get fancy with some ajax to send off a request to CF to set/get a variable a

Converting JS variable to CF variable

2012-12-14 Thread Les Irvin
I don't know diddly squat about javascript. But I want to take a JS variable, such as those addressed in this alert: alert("Your coordinates are " + position.coords.latitude + ", " + position.coords.longitude); and use it as a CF variable elsewhere on the page, like #position.coords.latitude# (

Re: (ot) Windows Mesh Alternatives

2012-12-14 Thread Dave Watts
> One more caveat: Windows Mesh allows for peer-to-peer *only* (i.e. no > (apparent) storage of sensitive files on MSFT servers.) Anyone know whether > any of the already-mentioned services allows for that and/or can think of > another alternative that does? I know that Google Drive, box.com and

Re: (ot) Windows Mesh Alternatives

2012-12-14 Thread John M Bliss
One more caveat: Windows Mesh allows for peer-to-peer *only* (i.e. no (apparent) storage of sensitive files on MSFT servers.) Anyone know whether any of the already-mentioned services allows for that and/or can think of another alternative that does? On Fri, Dec 14, 2012 at 12:50 PM, Gerald Guid

Re: Changes do not show up on live website

2012-12-14 Thread funand learning
Thanks a lot for your replies. We found the issue and its a very silly one. We used to have a script that copies files from test server to prod server. I never had to bother what the folder name in prod was as script was written long back and we just run it. Recently the script was broken due to s

Re: (ot) Windows Mesh Alternatives

2012-12-14 Thread Gerald Guido
>> I'm a big fan of Google Drive, primarily because I'm also a big fan of Google Apps generally. 1++ I nutted up for the 80 gig plan and it has worked great so far. It has simple versioning which I am rather fond of. I can pick up where I left off from multiple locations and not have to worry ab

Re: (ot) Windows Mesh Alternatives

2012-12-14 Thread Dave Watts
> Hi! Currently, my geographically dispersed company uses Windows Mesh as a > "network drive" for shared office files. Microsoft has announced that Mesh > is going away to be replaced by SkyDrive. Before we migrate to SkyDrive, I > thought I'd poll the list to see if any of you might have another

Re: (ot) Windows Mesh Alternatives

2012-12-14 Thread Carl Von Stetten
+1 for Dropbox. Dropbox for Teams looks interesting as well. -Carl V. On 12/14/2012 9:50 AM, Cameron Childress wrote: > On Fri, Dec 14, 2012 at 12:36 PM, John M Bliss wrote: > >> Hi! Currently, my geographically dispersed company uses Windows Mesh as >> a "network drive" for shared office files.

Re: (ot) Windows Mesh Alternatives

2012-12-14 Thread Cameron Childress
On Fri, Dec 14, 2012 at 12:36 PM, John M Bliss wrote: > Hi! Currently, my geographically dispersed company uses Windows Mesh as > a "network drive" for shared office files. Microsoft has announced that > Mesh is going away to be replaced by SkyDrive. Before we migrate to > SkyDrive, I thought I'

(ot) Windows Mesh Alternatives

2012-12-14 Thread John M Bliss
Hi! Currently, my geographically dispersed company uses Windows Mesh as a "network drive" for shared office files. Microsoft has announced that Mesh is going away to be replaced by SkyDrive. Before we migrate to SkyDrive, I thought I'd poll the list to see if any of you might have another (better?

Re: Changes do not show up on live website

2012-12-14 Thread Dave Watts
> Dave, do you know if there's a good reason they'll all stuck in the same > dir, as opposed to hierarchically? I suspect it's just an oversight / it > not occurring to them on Adobe's part, but perhaps it needs to be this > way? It's always bugged me. I don't know if it's an oversight. I think

Re: Changes do not show up on live website

2012-12-14 Thread Russ Michaels
as you have said your using a CMS, I would suspect the issue lay there, it has not published the file changes properly. Are they published to a flat file or do they come from a database, check the settings on farcry and make sure the doc is actually published. On Fri, Dec 14, 2012 at 5:09 PM, Ad

Re: Changes do not show up on live website

2012-12-14 Thread Adam Cameron
Dave, do you know if there's a good reason they'll all stuck in the same dir, as opposed to hierarchically? I suspect it's just an oversight / it not occurring to them on Adobe's part, but perhaps it needs to be this way? It's always bugged me. Our app will stick about 8 files in that dir if

Re: Changes do not show up on live website

2012-12-14 Thread Adam Cameron
H. Nothing that I can think of from a CF perspective. Do you have a load-balanced environment, and only one of the servers has been updated or something? Or there's some logic-driven situation which might be working in an unexpected way which means it's all working fine, just not quite doing

Re: Changes do not show up on live website

2012-12-14 Thread funand learning
Thanks Adam and Dave, there were some old files dating back to 2010. We deleted them and restarted the server, but with no change. ANy other clues why this could be happening? On Fri, Dec 14, 2012 at 10:29 AM, Adam Cameron < adamcameroncoldfus...@gmail.com> wrote: > > Yep, definitely. > > When

Re: Changes do not show up on live website

2012-12-14 Thread Dave Watts
> On the down side of saving class files is that on Windows I actually find > it degrades performance (Charlie Arehart disagrees with me here, and he's > more of an expert on the topic, so take my advice with a pinch of salt), > because Windows really struggles with more than a few hundred files i

Re: Changes do not show up on live website

2012-12-14 Thread Adam Cameron
Yep, definitely. When CF compiles your source code (before it runs it), that "Save Class Files" makes CF write the compiled classes out to that directory. The only benefit this gives is that if you're short on memory, sometimes CF will cycle a compiled class out of memory, which means the next ti

Re: Changes do not show up on live website

2012-12-14 Thread Dave Watts
> Another question. Is it safe to delete those files? Coldfusion does not use > any of those files, right? CF does use them if they're there, but it is perfectly safe to delete them. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a V

RE: Regular Expression - decimal number positive & negative

2012-12-14 Thread Paul Giesenhagen
Good deal ... thank you! -Original Message- From: Adam Cameron [mailto:adamcameroncoldfus...@gmail.com] Sent: Friday, December 14, 2012 9:28 AM To: cf-talk Subject: Re: Regular Expression - decimal number positive & negative Recommend not reinventing the wheel here: http://www.cflib.or

Re: Changes do not show up on live website

2012-12-14 Thread funand learning
Another question. Is it safe to delete those files? Coldfusion does not use any of those files, right? On Fri, Dec 14, 2012 at 10:05 AM, Adam Cameron < adamcameroncoldfus...@gmail.com> wrote: > > Sorry, yes. > > -- > Adam > > On 14 December 2012 16:04, funand learning > wrote: > > > > > are the

Re: Changes do not show up on live website

2012-12-14 Thread Adam Cameron
Sorry, yes. -- Adam On 14 December 2012 16:04, funand learning wrote: > > are these cfclasses in WEB-INF folder? > > On Fri, Dec 14, 2012 at 9:56 AM, Adam Cameron < > adamcameroncoldfus...@gmail.com> wrote: > > > > > OK, but what about the files in cfclasses? It's unlikely there's old ones >

Re: Changes do not show up on live website

2012-12-14 Thread funand learning
are these cfclasses in WEB-INF folder? On Fri, Dec 14, 2012 at 9:56 AM, Adam Cameron < adamcameroncoldfus...@gmail.com> wrote: > > OK, but what about the files in cfclasses? It's unlikely there's old ones > in there if the setting is off, but sometimes there's some cruft lying > around. > > -- >

Re: Changes do not show up on live website

2012-12-14 Thread Adam Cameron
OK, but what about the files in cfclasses? It's unlikely there's old ones in there if the setting is off, but sometimes there's some cruft lying around. -- Adam On 14 December 2012 15:55, fun and learning wrote: > > >Try switching off "save class files" and getting rid of all the files in >

Re: Changes do not show up on live website

2012-12-14 Thread fun and learning
>Try switching off "save class files" and getting rid of all the files in >the cfclasses dir. They are more of a blight than a help in my experience. > >-- >Adam > >On 14 December 2012 15:40, fun and learning wrote: > >> This option is already unchecked in Coldfusion admin ~~~

Re: Changes do not show up on live website

2012-12-14 Thread Adam Cameron
Try switching off "save class files" and getting rid of all the files in the cfclasses dir. They are more of a blight than a help in my experience. -- Adam On 14 December 2012 15:40, fun and learning wrote: > > Hi All - > > We are using Coldfusion with farcry CMS. I made some changes and push

Changes do not show up on live website

2012-12-14 Thread fun and learning
Hi All - We are using Coldfusion with farcry CMS. I made some changes and pushed them live, but changes do not seem to reflect on the site. We recycled the servers, and the change showed up, but after a page refresh it stopped showing up. Can anyone have any clues on why this could be happenin

Re: Weird problem with IFRAME

2012-12-14 Thread Claude Schnéegans
>>Is it possible the IFrame src is getting redirected to the "root" It would be if the file is not found, but the file exists and it works with all other browsers, including IE8. Only IE9 seems to have trouble. And if it was redirectected, there would be a trace of it in the HTTP logs For insta

Re: Regular Expression - decimal number positive & negative

2012-12-14 Thread Adam Cameron
Recommend not reinventing the wheel here: http://www.cflib.org/udf/NumberUnFormat On 14 December 2012 14:59, Paul Giesenhagen wrote: > > Heya, > > I know that some will know this quickly ... but I have ReplaceNoCase(str, > "[^0-9\.]","","ALL") > > And this takes -5 to 5 ... which is not what

Re: Regular Expression - decimal number positive & negative

2012-12-14 Thread Matt Quackenbush
A contrived, slightly expanded example based upon Nathan's code... samples = { a = "5.24", b = "-5.24", c = "5", d = "-5", e = "$5.24", f = "$5,244.22" }; for ( key in samples ) { writeOutput( reReplace( reReplace( samples[k

Re: Regular Expression - decimal number positive & negative

2012-12-14 Thread Nathan Strutz
So you need something like [^0-9\.-] This just adds the dash to your existing match. You could get a lot better though, like this -?\d+(\.\d+)? -? matches an optional negative indiator, aka a dash \d+ is just numbers, same as 0-9, the only part of this regex that is required (\.\d+)? means mat

Regular Expression - decimal number positive & negative

2012-12-14 Thread Paul Giesenhagen
Heya, I know that some will know this quickly ... but I have ReplaceNoCase(str, "[^0-9\.]","","ALL") And this takes -5 to 5 ... which is not what I want - I want to include negative numbers what do I add to this regular expression to keep the decimals (if there) and keep the negative if there