Re: Regex Help

2010-07-26 Thread Dan Baughman

kidding? i already spent $15!

On Mon, Jul 26, 2010 at 6:52 PM, andy matthews wrote:

>
> You know I was kidding right?
>
> -Original Message-
> From: Bobby Hartsfield [mailto:bo...@acoderslife.com]
> Sent: Monday, July 26, 2010 6:21 PM
> To: cf-talk
> Subject: RE: Regex Help
>
>
> Sigh...
>
>
> .:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
>
> -Original Message-
> From: Andy Matthews [mailto:li...@commadelimited.com]
> Sent: Monday, July 26, 2010 3:03 PM
> To: cf-talk
> Subject: RE: Regex Help
>
>
> [Completely irrelevant link removed]
>
> :)
>
>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335743
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Regex Help

2010-07-26 Thread andy matthews

You know I was kidding right?

-Original Message-
From: Bobby Hartsfield [mailto:bo...@acoderslife.com] 
Sent: Monday, July 26, 2010 6:21 PM
To: cf-talk
Subject: RE: Regex Help


Sigh...

 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 
-Original Message-
From: Andy Matthews [mailto:li...@commadelimited.com] 
Sent: Monday, July 26, 2010 3:03 PM
To: cf-talk
Subject: RE: Regex Help


[Completely irrelevant link removed]

:)




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335742
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Refreshing or reloading a cfwindow?

2010-07-26 Thread Andrew Scott

First of all, the cfwindow is an ExtJS object and is not a normal DOM
window.

Secondly, if you want to get more information regarding the object you can
do something like this with FireFox and firebug to help you along your way.

Var test = ColdFusion.Window.getWindowObject('name of window')
Console.log(test);

This will dump the window object to the fireBug console, and as you can see
there are a lot of options available to you. The two you might be interested
in are the following two methods.

Update: when calling this method ie. windowObj.update('some text'); will
cause the window content to be replaced with this content.
Load: when using this method you can provide more information and ask the
window to go and fetch the content via Ajax.

For more information please visit
http://www.sencha.com/deploy/ext-1.1.1/docs/ this is the information that
will guide you further in the inner workings of ColdFusion8 and ExtJS, if
this is on ColdFusion 9 then you may visit www.extjs.com.docs/ for the
documentation.

Please feel free to contact me off list if you require more information, or
ask more about what it is you are trying to do.


Regards,
Andrew Scott
http://www.andyscott.id.au/




> -Original Message-
> From: Pete Ruckelshaus [mailto:pruckelsh...@gmail.com]
> Sent: Tuesday, 27 July 2010 9:48 AM
> To: cf-talk
> Subject: Refreshing or reloading a cfwindow?
> 
> 
> Hopefully a simple question.  I'm using cfwindow for an information popup
> that might have new data.  Is there a way to reload the contents of a
> cfwindow without closing it and reopening it?  I tried
> ColdFusion.Window.location.reload(); and it didn't do a thing.
> 
> Thanks,
> 
> Pete
> 
> 
> ~~
> ~~~|
> Order the Adobe Coldfusion Anthology now!
> http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-
> Dinowitz/dp/1430272155/?tag=houseoffusion
> Archive: http://www.houseoffusion.com/groups/cf-
> talk/message.cfm/messageid:335740
> Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
> Unsubscribe: http://www.houseoffusion.com/groups/cf-
> talk/unsubscribe.cfm


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335741
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Refreshing or reloading a cfwindow?

2010-07-26 Thread Pete Ruckelshaus

Hopefully a simple question.  I'm using cfwindow for an information popup
that might have new data.  Is there a way to reload the contents of a
cfwindow without closing it and reopening it?  I
tried ColdFusion.Window.location.reload(); and it didn't do a thing.

Thanks,

Pete


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335740
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Oracle 11g Stored Procedure won't talk to our ColdFusion code.

2010-07-26 Thread Maureen

Sounds more like a timing issue with the actual execution of the code
on the database.  Can you check the success of the insert before
calling the stored proc?

On Mon, Jul 26, 2010 at 3:12 PM, Ian Skinner  wrote:

> At this time, the Insert is done with a simple  call BEFORE
> the  call.  That is the way the stored procedure was
> created over a decade ago.  For the first phase of this project, we are
> only updating the application server level of this process.  It waits
> for a future phase to tackle the stored procedures in the database
> level.  And let me tell you that is a project we both desire and dr

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335739
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Regex Help

2010-07-26 Thread Bobby Hartsfield

Sigh...

 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 
-Original Message-
From: Andy Matthews [mailto:li...@commadelimited.com] 
Sent: Monday, July 26, 2010 3:03 PM
To: cf-talk
Subject: RE: Regex Help


[Completely irrelevant link removed]

:) 

-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com] 
Sent: Monday, July 26, 2010 1:00 PM
To: cf-talk
Subject: Regex Help


I want to replace any occurrence of multiple -- in string so the entire
string only contains one - in a row after filtering.

Something like this does (sort of):

#Replacelist("#mayvar#","-,,---,--","-,-,-,-")#

But with regex more like:

#ReReplace("#myvar#","--,"-","ALL")#

How do I write a reg to change all multiple -- to result in only one -?

Thanks




Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100
Hauppauge NY 11788
P : 631.231.6600 Ext. 119
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.? It must be?&.

Plug in to our blog:?A&W Unplugged
http://www.austin-williams.com/unplugged



 

__ Information from ESET Smart Security, version of virus signature
database 5315 (20100726) __

The message was checked by ESET Smart Security.

http://www.eset.com
 





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335738
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Oracle 11g Stored Procedure won't talk to our ColdFusion code.

2010-07-26 Thread Ian Skinner

  On 7/26/2010 2:47 PM, Craigsell wrote:
> If you are doing the insert inside the Oracle stored procedure, then you
> have to commit inside the stored procedure.  I have evolved into setting up
> a general exception process so that if, for some reason, a stored procedure
> fails, it can call a rollback and send some sort of a status message back to
> the CFC or whatever called the stored proc.  11g should be no different.
>
> If you want some simple examples of that work on 10g and CF8, let me know
> and I'll put something together and post it.
>
> Warren

At this time, the Insert is done with a simple  call BEFORE 
the  call.  That is the way the stored procedure was 
created over a decade ago.  For the first phase of this project, we are 
only updating the application server level of this process.  It waits 
for a future phase to tackle the stored procedures in the database 
level.  And let me tell you that is a project we both desire and dread.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335737
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Oracle 11g Stored Procedure won't talk to our ColdFusion code.

2010-07-26 Thread Craigsell

If you are doing the insert inside the Oracle stored procedure, then you 
have to commit inside the stored procedure.  I have evolved into setting up 
a general exception process so that if, for some reason, a stored procedure 
fails, it can call a rollback and send some sort of a status message back to 
the CFC or whatever called the stored proc.  11g should be no different.

If you want some simple examples of that work on 10g and CF8, let me know 
and I'll put something together and post it.

Warren 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335736
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: can there be an error structure without tagcontext

2010-07-26 Thread Michael Dinowitz

"extra work" in the sense that if it's always there, why check. I only
want to check something when there is any chance of a doubt. I would
expect there to always be an entry in an error dump for what template
caused the error but it seems this is not the case.

The doc I dug up says that the tagcontext array is not always
available and even when available it may be an empty array. On the
other hand, if there is an element in the array, it will always have
both the template and the line number. So it's down to a check for the
tagcontext and a check for it's length. 2 is better than 6.


--
Michael Dinowitz
Lead Author - Adobe Coldfusion Anthology
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion





On Mon, Jul 26, 2010 at 5:28 PM, Michael Grant  wrote:
>
> Personally I wouldn't consider checking for the existence of an
> array/structkey/variable before outputting it "all that extra work." Also I
> would say that relying on an element to exist in order to preserve the
> integrity of a function/app/procedure is very good practice. My custom error
> handlers are riddled with isDefined etc to preserve the integrity of the
> error report.
>
> my $0.02
>
> On Mon, Jul 26, 2010 at 5:13 PM, Michael Dinowitz <
> mdino...@houseoffusion.com> wrote:
>
>>
>> I hate doing all the extra work if it's not needed. There has to be 1
>> clause for one of the data values and 3 clauses for two of the others.
>> ick.
>>
>> Also, remind me to request an attribute of output="true" for the next
>> revision of cfsavecontent. I really hate having to add cfoutput around
>> the whole thing.
>>
>> --
>> Michael Dinowitz
>> Lead Author - Adobe Coldfusion Anthology
>>
>> http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
>>
>>
>> On Mon, Jul 26, 2010 at 5:05 PM, Raymond Camden  wrote:
>> >
>> > I want to say I have - but I have no proof. Why not just use an
>> > arrayLen and structKeyExists check to be safe?
>> >
>> >
>> > On Mon, Jul 26, 2010 at 4:01 PM, Michael Dinowitz
>> >  wrote:
>> >>
>> >> I'm rewriting an email alert system for errors and part of it is
>> >> pinpointing the error location early on in the email. This should be
>> >> in the error dump as error.tagcontext[1].template. Has anyone seen an
>> >> error dump that did not contain a tag context array? I'd hate to have
>> >> an error reporter that throws an error. :)
>> >>
>> >> Thanks
>>
>>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335735
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Vexed over CFID

2010-07-26 Thread Peter Terhorst

Two URL's:

http://redesign1.abc.com/admin
and
http://redesign2.abc.com/

when my coworker navigated to these two URL's he keeps the same 
CFID/CFTOKEN/SessionID between these two sites... but when I move from one to 
the other, CF assigned me new values for these variables.

He claims that by hitting the "admin" site and logging into the application 
there, we can retain our Client vars if we move to the "redesign2" front-end... 
but my client vars are no linger traceable because my cookies are being reset 
for CFID and CFTOKEN.

Why might this work for him, but not for me? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335734
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: can there be an error structure without tagcontext

2010-07-26 Thread Michael Grant

Personally I wouldn't consider checking for the existence of an
array/structkey/variable before outputting it "all that extra work." Also I
would say that relying on an element to exist in order to preserve the
integrity of a function/app/procedure is very good practice. My custom error
handlers are riddled with isDefined etc to preserve the integrity of the
error report.

my $0.02

On Mon, Jul 26, 2010 at 5:13 PM, Michael Dinowitz <
mdino...@houseoffusion.com> wrote:

>
> I hate doing all the extra work if it's not needed. There has to be 1
> clause for one of the data values and 3 clauses for two of the others.
> ick.
>
> Also, remind me to request an attribute of output="true" for the next
> revision of cfsavecontent. I really hate having to add cfoutput around
> the whole thing.
>
> --
> Michael Dinowitz
> Lead Author - Adobe Coldfusion Anthology
>
> http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
>
>
> On Mon, Jul 26, 2010 at 5:05 PM, Raymond Camden  wrote:
> >
> > I want to say I have - but I have no proof. Why not just use an
> > arrayLen and structKeyExists check to be safe?
> >
> >
> > On Mon, Jul 26, 2010 at 4:01 PM, Michael Dinowitz
> >  wrote:
> >>
> >> I'm rewriting an email alert system for errors and part of it is
> >> pinpointing the error location early on in the email. This should be
> >> in the error dump as error.tagcontext[1].template. Has anyone seen an
> >> error dump that did not contain a tag context array? I'd hate to have
> >> an error reporter that throws an error. :)
> >>
> >> Thanks
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335733
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: can there be an error structure without tagcontext

2010-07-26 Thread Michael Dinowitz

I hate doing all the extra work if it's not needed. There has to be 1
clause for one of the data values and 3 clauses for two of the others.
ick.

Also, remind me to request an attribute of output="true" for the next
revision of cfsavecontent. I really hate having to add cfoutput around
the whole thing.

--
Michael Dinowitz
Lead Author - Adobe Coldfusion Anthology
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion


On Mon, Jul 26, 2010 at 5:05 PM, Raymond Camden  wrote:
>
> I want to say I have - but I have no proof. Why not just use an
> arrayLen and structKeyExists check to be safe?
>
>
> On Mon, Jul 26, 2010 at 4:01 PM, Michael Dinowitz
>  wrote:
>>
>> I'm rewriting an email alert system for errors and part of it is
>> pinpointing the error location early on in the email. This should be
>> in the error dump as error.tagcontext[1].template. Has anyone seen an
>> error dump that did not contain a tag context array? I'd hate to have
>> an error reporter that throws an error. :)
>>
>> Thanks

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335732
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: can there be an error structure without tagcontext

2010-07-26 Thread Raymond Camden

I want to say I have - but I have no proof. Why not just use an
arrayLen and structKeyExists check to be safe?


On Mon, Jul 26, 2010 at 4:01 PM, Michael Dinowitz
 wrote:
>
> I'm rewriting an email alert system for errors and part of it is
> pinpointing the error location early on in the email. This should be
> in the error dump as error.tagcontext[1].template. Has anyone seen an
> error dump that did not contain a tag context array? I'd hate to have
> an error reporter that throws an error. :)
>
> Thanks
>
> --
> Michael Dinowitz
> Lead Author - Adobe Coldfusion Anthology
> http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335731
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


can there be an error structure without tagcontext

2010-07-26 Thread Michael Dinowitz

I'm rewriting an email alert system for errors and part of it is
pinpointing the error location early on in the email. This should be
in the error dump as error.tagcontext[1].template. Has anyone seen an
error dump that did not contain a tag context array? I'd hate to have
an error reporter that throws an error. :)

Thanks

--
Michael Dinowitz
Lead Author - Adobe Coldfusion Anthology
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335730
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: bind a method to all remotely accessed methods in a cfc

2010-07-26 Thread Tony Bentley

Just wanted to follow up in case anyone ever wants to try it. 
On your super init method, use this code:


accessRemote = false;
cfcname = getmetadata(this);
for(i=1;i lte arrayLen(cfcname.FUNCTIONS);i++){
fname = cfcname.FUNCTIONS[i];
if(fname.name eq url.method && fname.access eq "remote"){
accessRemote = true;
break;
}
}



Call super.init() on your child cfc's. This only works with methods called via 
URL and do not use only one instance of the parent cfc. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335729
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion heapsize and Win 2008 datacenter

2010-07-26 Thread Mark A. Kruger

You can do a tiny bit better than 1 gigs (1.2-1.3)

Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com



-Original Message-
From: Michael Dinowitz [mailto:mdino...@houseoffusion.com] 
Sent: Monday, July 26, 2010 3:18 PM
To: cf-talk
Subject: ColdFusion heapsize and Win 2008 datacenter


On a normal 32 bit windows server the max heapsize for ColdFusion is
limited to 1 gig. This limit does not exist on 64 bit servers. Does
this limit exist on 32 bit windows 2008 dataserver edition machines?
I've been told that there is "no ram limit" for this version of
windows but does that apply to ColdFusion?

Thanks

--
Michael Dinowitz
Lead Author - Adobe Coldfusion Anthology
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272
155/?tag=houseoffusion



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335728
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion heapsize and Win 2008 datacenter

2010-07-26 Thread Wil Genovese

If its a 32bit OS then yes there is a limit to the memory address.  Technically 
there is a limit for 64 bit OS's as well, but so far the memory we use in 
servers so not come close to surpassing that limit.


Wil Genovese
Sr. Web Application Developer/
Systems Administrator

Wil Genovese Consulting
wilg...@trunkful.com
www.trunkful.com

On Jul 26, 2010, at 3:17 PM, Michael Dinowitz wrote:

> 
> On a normal 32 bit windows server the max heapsize for ColdFusion is
> limited to 1 gig. This limit does not exist on 64 bit servers. Does
> this limit exist on 32 bit windows 2008 dataserver edition machines?
> I've been told that there is "no ram limit" for this version of
> windows but does that apply to ColdFusion?
> 
> Thanks
> 
> --
> Michael Dinowitz
> Lead Author - Adobe Coldfusion Anthology
> http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
> 
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335727
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion heapsize and Win 2008 datacenter

2010-07-26 Thread Paul Vernon

> On a normal 32 bit windows server the max heapsize for ColdFusion is
> limited to 1 gig. This limit does not exist on 64 bit servers. Does
> this limit exist on 32 bit windows 2008 dataserver edition machines?
> I've been told that there is "no ram limit" for this version of
> windows but does that apply to ColdFusion?

The limit applies to the JVM. If you're on 32-bit Windows then you're on a
32-bit JVM therefore the 1Gb limit applies as I understand it.

Paul




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335726
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ColdFusion heapsize and Win 2008 datacenter

2010-07-26 Thread Michael Dinowitz

On a normal 32 bit windows server the max heapsize for ColdFusion is
limited to 1 gig. This limit does not exist on 64 bit servers. Does
this limit exist on 32 bit windows 2008 dataserver edition machines?
I've been told that there is "no ram limit" for this version of
windows but does that apply to ColdFusion?

Thanks

--
Michael Dinowitz
Lead Author - Adobe Coldfusion Anthology
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335725
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Regex Help

2010-07-26 Thread Charlie Griefer

troublemaker :D

On Mon, Jul 26, 2010 at 12:02 PM, Andy Matthews wrote:

>
> http://www.cftagstore.com/tags/cfreextract.cfm
>
> :)
>
> -Original Message-
> From: Robert Harrison [mailto:rob...@austin-williams.com]
> Sent: Monday, July 26, 2010 1:00 PM
> To: cf-talk
> Subject: Regex Help
>
>
> I want to replace any occurrence of multiple -- in string so the entire
> string only contains one - in a row after filtering.
>
> Something like this does (sort of):
>
>#Replacelist("#mayvar#","-,,---,--","-,-,-,-")#
>
> But with regex more like:
>
>#ReReplace("#myvar#","--,"-","ALL")#
>
> How do I write a reg to change all multiple -- to result in only one -?
>
> Thanks
>
>
>
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
>
> Great advertising can't be either/or.  It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
>
>
>
> __ Information from ESET Smart Security, version of virus signature
> database 5315 (20100726) __
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335724
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Regex Help

2010-07-26 Thread Andy Matthews

http://www.cftagstore.com/tags/cfreextract.cfm

:) 

-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com] 
Sent: Monday, July 26, 2010 1:00 PM
To: cf-talk
Subject: Regex Help


I want to replace any occurrence of multiple -- in string so the entire
string only contains one - in a row after filtering.

Something like this does (sort of):

#Replacelist("#mayvar#","-,,---,--","-,-,-,-")#

But with regex more like:

#ReReplace("#myvar#","--,"-","ALL")#

How do I write a reg to change all multiple -- to result in only one -?

Thanks




Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100
Hauppauge NY 11788
P : 631.231.6600 Ext. 119
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged



 

__ Information from ESET Smart Security, version of virus signature
database 5315 (20100726) __

The message was checked by ESET Smart Security.

http://www.eset.com
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335723
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Regex Help

2010-07-26 Thread Robert Harrison

Thanks... I just could not get that straight. 


Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged



-Original Message-
From: Charlie Griefer [mailto:charlie.grie...@gmail.com] 
Sent: Monday, July 26, 2010 2:04 PM
To: cf-talk
Subject: Re: Regex Help


rereplace( myvar, '-+', '-', 'all' )

On Mon, Jul 26, 2010 at 10:59 AM, Robert Harrison <
rob...@austin-williams.com> wrote:

>
> I want to replace any occurrence of multiple -- in string so the entire
> string only contains one - in a row after filtering.
>
> Something like this does (sort of):
>
>#Replacelist("#mayvar#","-,,---,--","-,-,-,-")#
>
> But with regex more like:
>
>#ReReplace("#myvar#","--,"-","ALL")#
>
> How do I write a reg to change all multiple -- to result in only one -?
>
> Thanks
>
>
>
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
>
> Great advertising can't be either/or.  It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
>
>
>
> __ Information from ESET Smart Security, version of virus
signature
> database 5315 (20100726) __
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
> 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335722
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Regex Help

2010-07-26 Thread Michael Grant

OT: Isn't regex elegant? Often very cryptic but any solution where I've used
regex seems both sophisticated and simple.

As you were.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335721
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Regex Help

2010-07-26 Thread Charlie Griefer

rereplace( myvar, '-+', '-', 'all' )

On Mon, Jul 26, 2010 at 10:59 AM, Robert Harrison <
rob...@austin-williams.com> wrote:

>
> I want to replace any occurrence of multiple -- in string so the entire
> string only contains one - in a row after filtering.
>
> Something like this does (sort of):
>
>#Replacelist("#mayvar#","-,,---,--","-,-,-,-")#
>
> But with regex more like:
>
>#ReReplace("#myvar#","--,"-","ALL")#
>
> How do I write a reg to change all multiple -- to result in only one -?
>
> Thanks
>
>
>
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
>
> Great advertising can't be either/or.  It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
>
>
>
> __ Information from ESET Smart Security, version of virus signature
> database 5315 (20100726) __
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335720
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Regex Help

2010-07-26 Thread Robert Harrison

I want to replace any occurrence of multiple -- in string so the entire
string only contains one - in a row after filtering.

Something like this does (sort of):

#Replacelist("#mayvar#","-,,---,--","-,-,-,-")#

But with regex more like:

#ReReplace("#myvar#","--,"-","ALL")#

How do I write a reg to change all multiple -- to result in only one -?

Thanks




Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged



 

__ Information from ESET Smart Security, version of virus signature
database 5315 (20100726) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335719
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How to dispaly flash video in coldfusion pages

2010-07-26 Thread Kamru Miah

Many thanks to everyone who responded to my question.

I have downloaded the longtail player and really like it - just what I wanted!

However, it seems to only work from the same directory as the calling page.

Is there way of placing the player files in /mediaplayer subdirectory and the 
calling page in another /video subdirectory and still have it work?

Also, can ffmpeg/winff produce screen sizes other than the default 
320x240screen size?

Thanks

>There is also an open source version for non-commercial sites.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335718
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFTEXTAREA and basepath

2010-07-26 Thread Bryan Stevenson

Hey All,

I needed totally custom FCKEditor settings, so I used the basepath
attribute to point at a complete copy of the FCKEditor directory in
CFIDE.

After some screwing around to find out what exactly should be in the
basepath attribute...voila! my textareas started displaying with my
custom settings.

One MAJOR issue...all the images on the toolbar were broken image icons.
This is because the path for the images (or for CSS files to load the
images) was being doubled up in the FCKEditor code (i.e.
myBasePath/myBasePath/editor/skins/office2003/fck_editor.css).

Perhaps I expect production code to just workbut it ain't!! ;-)

Any ideas?  known bug?  am I think? ;-)

TIA

Cheers

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...@electricedgesystems.com
web: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335717
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Oracle 11g Stored Procedure won't talk to our ColdFusion code.

2010-07-26 Thread Dave Watts

> Are you referring to the ColdFusion DataSource settings or something
> more directly involving the JDBC drivers?

I don't know offhand if the CF Administrator will let you control
autocommit directly, or whether you need to edit the
neo-datasource.xml file to enable autocommit.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335716
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Oracle 11g Stored Procedure won't talk to our ColdFusion code.

2010-07-26 Thread Ian Skinner

  On 7/26/2010 8:37 AM, Dave Watts wrote:
> I suspect this has to do with your database's default settings. You
> can probably force autocommit in your JDBC settings, however.

Are you referring to the ColdFusion DataSource settings or something 
more directly involving the JDBC drivers?

We are using CF 9 Enterprise with its Oracle driver, if that changes 
anything?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335715
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Oracle 11g Stored Procedure won't talk to our ColdFusion code.

2010-07-26 Thread Dave Watts

> Our stored procedure is now working.    Our DBA determined that the call
> was working, but the procedure was waiting, because the previous
>  INSERT block was not committed.  But why would that be?
> I've never had to explicity commit my INSERTS using 
> before.  Is this something common?  Is is something in the Database or
> drivers or just Oracle 11g?

I suspect this has to do with your database's default settings. You
can probably force autocommit in your JDBC settings, however.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or on

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335714
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Oracle 11g Stored Procedure won't talk to our ColdFusion code.

2010-07-26 Thread Ian Skinner

  More Information.

Our stored procedure is now working.Our DBA determined that the call 
was working, but the procedure was waiting, because the previous 
 INSERT block was not committed.  But why would that be?  
I've never had to explicity commit my INSERTS using  
before.  Is this something common?  Is is something in the Database or 
drivers or just Oracle 11g?

Placing a commit  block around they  
resolved the issue.  But I have never had to do that before.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335713
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CSS and cfcontent

2010-07-26 Thread fun and learning

Hi All- 

Does linked CSS document apply styles to the HTML within cfcontent 
(type="excel"). I  do not see any CSS formatting in the excel document... 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335712
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ColdFusion 9 and Crystal Reports

2010-07-26 Thread Roberto Fonseca Alves

Hello,
I'm using ColdFusion 9 and Crystal Reports 8.5 an 9.0, runs normaly when I dont 
have to pass any param to RPT.
But When I do, or, need to do, generate an error that I dont know how to solve

This is the error
http://www.rhfactor.com.br/images/error.png

So, if someone knows something about!

Thanks! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335711
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm