cfx problem

2001-08-23 Thread Jordan Saardchit

I'm having a problem registering a cfx, I registered the cfx, the dll is
in
the appropriate directory and permissions are fine but I keep getting an
error saying that the dll can not be found.  PLEASE HELP 

Thanks in advance



The error looks like this:

Error Diagnostic Information
Error loading cfx custom tag library


The library associated with the custom tag cfx_BRANCHSUM
(C:\CFusion\cfx\branchsum.dll) was not found.

Please check the LibraryPath entry for this tag in the custom tag
database to verify that the library file exists and is accessible by the
Cold Fusion service.


The error occurred while processing an element with a general identifier
of (CFX_BRANCHSUM), occupying document position (5:1) to (7:20).

Jordon

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Regexp

2001-08-17 Thread Jordan Saardchit

heh... switch your function names you need REReplace if you are
pattern matching RegularExpressions.  In the source below, you are
trying to pattern match a regular expression with the normal replace
function.

-Original Message-
From: Bruce, Rodney [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 2:43 PM
To: CF-Talk
Subject: RE: Regexp


I must be missing something:  here is what I have,  trying to use a UDF.

The testing file name is ^@#$% $rt4o.txt 
When I run it through this code newfile is D:\documents\^@#$%$rt4o.txt
I left the space separate for testing,  the space is remove but none of
the
other chars are

CFSCRIPT
Function removestrangechars(pagestring){

temppage = REReplaceNoCase(pagestring,  , , all);
temppage = ReplaceNoCase(temppage, [@##$%^*()], ,
all);
return temppage;
}

/CFSCRIPT

CFOUTPUT
CFSET newfile = getpagename(form.filename)
CFSET newfile = D:\Documents\ removestrangechars(newfile)
#newfile#
/CFOUTPUT 

thanks
rodney

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 2:23 PM
To: CF-Talk
Subject: RE: Regexp


Since CF treats # as a variable marker, you have to escape it. Just use
##
to mean one #.

Also, instead of doing multiple REReplaces, use []s.

Ie, tempstring = REREplace(tempstring,[ @##etc],,ALL);

==Raymond Camden, 
Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

My ally is the Force, and a powerful ally it is. - Yoda

 -Original Message-
 From: Bruce, Rodney [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 17, 2001 5:13 PM
 To: CF-Talk
 Subject: OT: Regexp


 I need help with a regexp.

 I am trying to remove all special chars from file names.
 I can remove them one at a time like so:

 tempstring = REREplace(tempstring,  , , all)
 tempstring = REReplace(tempstring, @, , all)
 etc

 but the # errors out.

 How can I do this in one pass,  if possible?

 Thanks for any and all help





~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFX dll Problems

2001-08-16 Thread Jordan Saardchit


Anyone ever see something with CF 5.0 with the CF Server unable to
locate cfx .dll's in the path that you specify when you register, but
they are in fact there?  Its not permissions issue, and we can't figure
out what the problem is.

Jordon

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Apache, CFObject and Java

2001-08-15 Thread Jordan Saardchit

you sure the xerces jar is in the CF Server's classpath?

-Original Message-
From: Zac Belado [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 1:15 PM
To: CF-Talk
Subject: RE: Apache, CFObject and Java


 stuff doesn't have anything to do with the web server. I've used
 COM objects
 with CFOBJECT on Apache/Win32.

That is odd then. I'm trying to access the Xerces XML parser(s) in the
xerces.jar file and I was able to access them using IIS but since I've
changed over to Apache I just  get class not found errors.

Same code, same .jar.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: double post - JavaScript and windows

2001-07-27 Thread Jordan Saardchit

window.opener.location.href = URL;

-Original Message-
From: Will Swain [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 8:47 AM
To: CF-Talk
Subject: double post - JavaScript and windows


Hi,

Just a quick one. I have a window that is opened through clicking on a
a
href in another window. There is a link in this second window, which
when
clicked I want to open a page in the first window.

Any ideas?

Will Swain
Hot Horse Ltd
http://www.hothorse.com
e: [EMAIL PROTECTED]
t: 01273 675375
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF 4.5 and SourceSafe

2001-07-16 Thread Jordan Saardchit

its not all the difficult.  If you create a SourceSafe DB, make sure you
share its VSS_DATA folder.  Then in coldfusion, create a new project,
map it to source control by browsing to the srcsafe.ini file in the
folder of your VSS DB.  Though I'm not a big fan of VSS, that is how
easy it is.

Jordon

-Original Message-
From: Percy Perez [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 7:46 AM
To: CF-Talk
Subject: CF 4.5 and SourceSafe


Hello,

Has anyone implemented SourceSafe under CF environment?
I noticed that the CF server has a section for SourceControl, and don't
really know how to implement.
Any kind of suggestions on practices or pointers would be greatly
appreciated.

THank you all,


Percy E Perez
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF 4.5 and SourceSafe

2001-07-16 Thread Jordan Saardchit

Or you could use Version Control software that supports concepts like
branching, and merging for parallel development.


-Original Message-
From: James Maltby [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 8:57 AM
To: CF-Talk
Subject: RE: CF 4.5 and SourceSafe


Yup - knew that :)

. What I meant to imply was if Percy is using VSS within a
development
environment (using the roll-back ideology) purely to protect his build
from external/part-time developers coming in and changing code (i.e.
breaking it) - it may be easier to implement the working build practice
of
fusebox instead.  And instead of breaking development work and having
to
roll-back to previous working versions - if he developed a working
version of something he could re-use that code (aka fusebox).

However, implementing VSS from scratch really depends on the development
environment that Percy uses - if he already has a dev intranet site
(for
example) and his designers/developers are using this to build sites
within
then implementing VSS on top of that platform would mean a HUGE change
of
developmental practice, such as checking out versions of files for
either
local station development then checking them back in after working on
them,
or replacing his dev infra-structure with the lockable source
safe/project
scenario.

If he's thinking of using VSS in the above light, it may be better (less
money/working practice changes) to simply use a fusebox approach to
development, combined with the use of projects within studio and
back-ups of
working folders - just a suggestion anyway...

but, of course, being the lazy sod that I am I simply wrote 'instead'...
;)

J

-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
Sent: 16 July 2001 16:23
To: CF-Talk
Subject: RE: CF 4.5 and SourceSafe


 Depending on what working methodology you have in-house - 
 it may be better
 to use something like (Hal forgive me!) fusebox instead - aarg! ;-)

Of course, you relise that fusebox is an application building
methodology,
and source safe is a way to protect you files, and therefore, 'instead'
doesn't apply ?
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF 4.5 and SourceSafe

2001-07-16 Thread Jordan Saardchit

I've always been a big fan of Rational's solution (clearcase), but it is
slightly on the expensive side.  I also hear that Starbase has an
excellent solution.  Might want to try lookin into those.

Jordon

-Original Message-
From: Avi Flax [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 1:19 PM
To: CF-Talk
Subject: RE: CF 4.5 and SourceSafe


Jordan, is there a different source control system that you prefer? I am

currently researching source control and as of this moment, I am 
considering VSS, StarTeam, and CRS. This is on a Win2K platform.

Thanks!
Avi

At 09:27 AM 7/16/2001 -0700, Jordan Saardchit wrote:
its not all the difficult.  If you create a SourceSafe DB, make sure
you
share its VSS_DATA folder.  Then in coldfusion, create a new project,
map it to source control by browsing to the srcsafe.ini file in the
folder of your VSS DB.  Though I'm not a big fan of VSS, that is how
easy it is.

Jordon
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Is it really POST?

2001-07-09 Thread Jordan Saardchit

interesting point, about HTTP headers can be faked.  CF generates the
FORM scope furing a request from the HTTP request headers.  So if you
don't trust one, can't trust the other.

-Original Message-
From: Andrew Tyrone [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 8:55 AM
To: CF-Talk
Subject: RE: Is it really POST?


-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 08, 2001 2:40 PM
To: CF-Talk
Subject: Is it really POST?


How can I check if the .cfm file was submitted using POST and not GET?
(I'm trying to prevent, as possible, people to submit the params using
URL and not form fields).

Thanks,

Michael Lugassy




Well this was interesting when I tested it.  I made two pages:

!--- testform.cfm ---

form name=newform action=testform_action.cfm method=get

Test Form:br
input type=text name=test1 value=

input type=hidden name=hidden1 value=yep, I'm hidden!

input type=submit name=submitbutton value=click to go

/form



!--- testform_action.cfm ---

cfif IsStruct(form)

FORM is defined.

brbr
cfloop collection=#form# item=thisvar
cfoutput#thisvar#br/cfoutput
/cfloop

cfelse

FORM is not defined.

/cfif


Now, if you run the first page and submit it, whether you keep the FORM
method as GET or change it to POST, the IsStruct() function will tell
you that FORM is indeed a structure.  This first led me to believe that
even though the form was submitted by GET, CF still knew a form had been
submitted.  Now, even though I didn't check (bad), I surmise that the
called page doesn't know a form has been submitted when method=GET
because if you run the second page on it's own, FORM is STILL a
structure.  I might be wrong about that, but I still have a solution
that I think will work for you.  Since the FORM structure exists on
every page, and is empty on some, if you change the IsStruct() function
to the StructIsEmpty() one, you will be able to tell if a form was
submitted by GET and not post.

I figured this was a good alternative method since HTTP headers can be
faked.


-Andy
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Query of a Query

2001-07-03 Thread Jordan Saardchit

Can someone please send me the syntax on using QoQ.  I can't remember
the CFQUERY sytnax to reference a result set already in memory.
Thanks


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFOBJECT Java

2001-06-26 Thread Jordan Saardchit

 Does anyone know how to call a static method as opposed to calling the
 constructor to instantiate an object using CFOBJECT?  I've got a
 Singleton object that I am trying to implement, but when you use
 CFOBJECT with the CREATE action, it attempts to instantiate the object
 by calling the default constructor, which is private.  Any help would
 be great.  Thanks.
 
 Jordon

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



CFOBJECT Java

2001-06-22 Thread Jordan Saardchit

Does anyone know how to call a static method as opposed to calling the
constructor to instantiate an object using CFOBJECT?  I've got a
Singleton object that I am trying to implement, but when you use
CFOBJECT with the CREATE action, it attempts to instantiate the object,
and throws an exception due to a private constructor.  Any help would be
great.  Thanks.

Jordon

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists