Re: Firebug not playing nice

2008-04-19 Thread Rey Bango
Is this an issue with FireBug or FireFox?

Rey...

Don L wrote:
> Upon loading ajax extensive page, it hangs (at creatingXMLhttpRequest ...)
> But everything was working just fine with FF and security frame for FF or the 
> network has not changed (at least not to my knowledge) and the same app works 
> fine with IE (6/7).
> 
> Have any of you encountered a similar problem?
> FF version is 2.0.0.14.
> 
> Thks.  
> 
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303812
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cftextarea: how to count characters? maxlength

2008-04-19 Thread denstar
Yo paul, if you need help, hit me up private-like, but there is a
plugin for FCKEditor that counts both the number of HTML chars, and
non-html chars (using a bit of reg-ex).

It'll even prevent more entry when the count gets too high, IIRC.

It's been a while, but I can probably patch it back up if it's not
working (I helped with it, long ago, but haven't been using it
lately-- I did get a work request to add it back to one project, tho,
so...).

Not exactly monitoring cf-talk, so... yeah...  laters on dude.

:D

On Sat, Apr 19, 2008 at 2:05 PM, Paul Ihrig <[EMAIL PROTECTED]> wrote:
> ok this works, is slow and dosnt update from the cftextarea, unless i
>  type into the regular textarea, then it does...
>  if any one knows a better way to count the characters in a cftextarea
>  where richtext is true, please let me know..
>
>bind="cfc:getLen.getdescLong([EMAIL PROTECTED], [EMAIL PROTECTED])"
>  size="50" style="border:0px;" >
>
>  
> 
> 
> 
>   #Len(descShort)#  of 8000">
> 
>  
>
>
>  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303811
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Firebug not playing nice

2008-04-19 Thread Don L
Upon loading ajax extensive page, it hangs (at creatingXMLhttpRequest ...)
But everything was working just fine with FF and security frame for FF or the 
network has not changed (at least not to my knowledge) and the same app works 
fine with IE (6/7).

Have any of you encountered a similar problem?
FF version is 2.0.0.14.

Thks.  


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303810
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Accessing SSIS package

2008-04-19 Thread Bruce Sorge
Happy Saturday!
I created an SSIS package and deployed it to my SQL Server, but what I am
trying to figure out is how to trigger it using ColdFusion. Do I need to
create an SP or a trigger to do this? I know in the past with DTS packages
we would use the CFOBJECT tag to invoke it.

Thanks,

Bruce


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303809
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cftextarea: how to count characters? maxlength

2008-04-19 Thread Paul Ihrig
ok this works, is slow and dosnt update from the cftextarea, unless i
type into the regular textarea, then it does...
if any one knows a better way to count the characters in a cftextarea
where richtext is true, please let me know..











~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303808
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CGI.HTTP_REMOTE_USER vs CGI.REMOTE_USER

2008-04-19 Thread Paul Hargreaves
We're running CF 6.x and the variable CGI.HTTP_REMOTE_USER works fine.  We've 
installed CF 7 on a test server and CGI.HTTP_REMOTE_USER won't resolve anymore. 
 CGI.REMOTE_USER works fine but we've got about 500 pages that use 
CGI.HTTP_REMOTE_USER.  Is there something missing on our test server (different 
Java version?) that's keeping this old variable from working or did Cold Fusion 
actually trash this variable in V7?  Help please - I'm getting desperate. 


Thanks. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303807
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cftextarea: how to count characters? maxlength

2008-04-19 Thread Paul Ihrig
was meant to go here
 Characters remaining

how can i do Len() inside the bind?

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303806
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfForm binding text field, visible to checkbox

2008-04-19 Thread Paul Ihrig
ok...
i can bind from the cftextarea...
but why cant i Len the chars?


Characters remaining

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303805
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


ColdFusion 8.0 clustering - quick question.

2008-04-19 Thread WebSite CFtalk
Hello,

I'm struggling with a cluster setup. (IIS6/CF8, 2 servers with 2
instances each)

The problem is session replication - tons of errors regarding "session
replication failed" in the logs:

" 19/04 19:01:40 error Setup of session replication failed.
[2]java.io.StreamCorruptedException: unexpected end of block data
"

And a lot of these: 

"
19/04 19:01:40 error unexpected end of block data
java.io.StreamCorruptedException: unexpected end of block data"

As soon as I turn off session replication the errors disappear.

This also happens when running a cluster with 2 instances on one server
- i.e. no network trouble.

One thing is unclear (or obvious?..) in the references I've found:

Should the jndi ports and proxy ports be different on each server
instance, or should they be the same all over?

Anyone?

Thanks,
Helge

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303804
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ColdFusion and IIS as an external Web Server - Is JRun requir ed o n both machines?

2008-04-19 Thread Joseph Bugeja
Thanks for this info. 

I was a bit confused because when I install ColdFusion as an EAR file and I 
examine its content I can still find jrun.xml and thus I thought that we still 
JRun. 

Regards,
Joseph.

>> if we install ColdFusion on another application server, 
>> like WebSphere, then do we still need jrun.dll.
>
>No, your J2EE application server is responsible for connecting to your web
>server.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
>http://training.figleaf.com/
>
>WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
>http://www.webmaniacsconference.com/ 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303803
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Proxy Authentication with Oracle - Does ColdFusion Support th is?

2008-04-19 Thread Joseph Bugeja
Hi Dave,

Thanks for your immediate reply. 

This is a bit problematic. I think there are workarounds to this but do you 
happen to know how this problem can be dealt with? Speaking from a security 
perspective, we need to find a way to identify the users that are actually 
connected to the database whilst preserving the advantages of connection 
pooling. .NET does not have this problem because in the connection string we 
can specify both the proxy user and the real users. I know that Oracle has 
something that is called the client id, and this could be a possible solution, 
but again we need to know what Adobe or CF users recommend.

Regards,
Joseph.

>> In order to have proper auditing and for other benefits like 
>
>No, I don't think so.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
>http://training.figleaf.com/
>
>WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
>http://www.webmaniacsconference.com/ 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303802
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cftextarea: how to count characters? maxlength

2008-04-19 Thread Paul Ihrig
yeah i am not getting it scipt then form fields below

var mlength=8000

 var oEditor = FCKeditorAPI.GetInstance('descLong');
   var sigcnt2 = oEditor.GetXHTML(true);
   if (sigcnt2.length==0) {
 alert('You need to enter something for the body of your story.');
 return false;
   }

if (document.form1.descLong.value.length > mlength)
{
document.form1.descLong.value =
document.form1.descLong.value.substring(0,mlength);
alert('Your descLong may not exceed 8000 characters in length.')
}

sigcnt2.value = 8000 - document.form1.descLong.value.length;
}


 Characters remaining

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303801
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: getex replace

2008-04-19 Thread [STS] Ravi Gehlot
Thanks Bobby!




Ravi.


On Fri, Apr 18, 2008 at 9:31 AM, Bobby Hartsfield <[EMAIL PROTECTED]>
wrote:

> #replace(str, '#char(13)##chr(10)#memberUserName', '|memberUserName',
> 'all')#
>
> -Or-
>
> #replace(str, '#char(13)##chr(10)##char(13)##chr(10)#', '|', 'all')#
>
>
> With 18,000 blocks... you are bound to run into some data discrepancies so
> look it over well. And for the love of god... if you are feeding that list
> back to CF... use an array of structures or something instead of a list
> :-)
>
> ..:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
> http://cf4em.com
>
>
> -Original Message-
> From: [STS] Ravi Gehlot [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 17, 2008 8:22 PM
> To: CF-Talk
> Subject: getex replace
>
> I have a list I obtained from export ldap members out of a ldap directory
> in
> LDIF format that looks like this:
>
> memberUserName: John Doe
> memberAge: 34
> memberLocation: US
> memberEmail: [EMAIL PROTECTED]
>
>  memberUserName: Mary Doe
> memberAge: 44
> memberLocation: US
> memberEmail: [EMAIL PROTECTED]
>
>  memberUserName: Jack Doe
> memberAge: 86
> memberLocation: US
> memberEmail: [EMAIL PROTECTED]
>
> I need to import this list of almost 18,000 members onto an SQL database.
> So
> what I want to do is to convert this LDIF file into one big list pipe
> delimited, then loop through it and add it to the database. So I got:
>
> 1) File is read
>  file="#expandPath(/imports/testList.ldif)#" />
>
> 2) Replace all new lines for commas
> 
> 
>
> Question here: How do I replace all EMPTY (BLANK LINES) like the ones
> between memberUserName for pipes?
>
>
> 
> Ravi Gehlot
> Web Programmer & IT Specialist
>
> Sunshine Tech Solutions, LLC
> http://www.sunshinetechsolutions.com
> [EMAIL PROTECTED]
> President
> 
>
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303800
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4