Great forums at the Big Moose Saloon here: www.javaranch.com
http://www.javaranch.com/
Regards,
Andr
-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: 22 December 2003 17:11
To: CF-Talk
Subject: Re: Java Mailing List
Does anyone have any recommendations
Allan,
What is the URL you need to type into a browser in order to run
menu.asp?
That is the URL you need to specify for using CFHTTP.
(Remember when using CFHTTP it is the ColdFusion server running the
request so the URL needs to be from the perspective of what the
ColdFusion server can
If you are actually on the ColdFusion server can you browse to that same
URL?
Andr
-Original Message-
From: ColdFusion Programmer [mailto:[EMAIL PROTECTED]
Sent: 17 October 2003 16:55
To: CF-Talk
Subject: Re:CFHTTP Question!
When I browse the asp file in the browse, it displays
2) Create actual blank pages on the filesystem named astronomy.cfm, etc
when the content is created, then use application.cfm to get the ball
rolling.Is there much, if any, overhead in using the application.cfm
file in this manner?
A variant of this approach that is used by content management
Dwayne,
Try this:
cfscript
// Get the MX Service Factory...
factory =
CreateObject(java,coldfusion.server.ServiceFactory);
// Get the data source service...
dataSourceService = factory.dataSourceService;
// Finally, Get the datasources!
datasources = dataSourceService.getDataSources();
This is a known issue, no way around it as far as I recall other than
getting your code right first time :-)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 14 October 2003 10:28
To: CF-Talk
Subject: developing java cfx
According the the CF docs
Jim,
There are several approaches one can take here. One of those
possibilities is to utilize the Composite Design Pattern (google will
give you endless examples including:
http://www.javaworld.com/javaworld/jw-09-2002/jw-0913-designpatterns_p.h
tml) perhaps in combination with the Strategy
I suspect this will only be really feasible via a C++ based CFX
leveraging the Telephone API (TAPI) if you are on Windows (not sure of
the solution to use on a Unix based OS). I know there is some C++ code
floating about to do this (try google) and all it would require is
wrapping it up in a CFX
you could invoke directly
from the OS?Then it could just be a matter of sending ATDT and whatnot
via CFEXECUTE, wouldn't it?
- Jim
Andre Mohamed wrote:
I suspect this will only be really feasible via a C++ based CFX
leveraging the Telephone API (TAPI) if you are on Windows (not sure
Erm,just to be anal and incite multiple flames (Ive learnt thistechnique from others on the list)
I believe UTF actually stands forUCS transformation format rather than the more popular interpretationof Unicode Transformation Format :-) UCS Stands for Universal Character Set a.k.a Universal
Doh! Hoping no one would be as anal as me and actually check that out
ohwell. I did try (secretly trying to prolong this exciting debate) Interesting how an abbreviation can mean two things, not ambiguous atall. Andr -Original Message-From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: 26
Yes, although originally the U in UTF stood for UCS, it seems that overtime there has been some kind of revisionism leaning towards Unicode probably to avoid confusion and more specifically to prevent these kindsof discussions turning up on mailing lists ;) Ive now managed to successfully bore
1) Code Templates
If you mean the ability to create and load templates to use as new files
then the Dreamweaver does support this.
2) Search and save as a file
If you mean the ability to save search/replace queries and load them
again at a later point then yes, Dreamweaver does support this.
in Studio for indenting code, now it's a
shortcut under 'Text'.
I am a mouse user and not so much on the short cuts.
Rick
-Original Message-
From: Andre Mohamed [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 8:41 AM
To: CF-Talk
Subject: RE: dreamweaver stuff
1) Code
F10 Code Inspector.
André
-Original Message-
From: cfhelp [mailto:[EMAIL PROTECTED]
Sent: 22 September 2003 14:42
To: CF-Talk
Subject: RE: dreamweaver stuff
No I am referring to Split View in CF Studio it gives you 2 views of the
code.
Example:
So you can look at a query at the top
Right you are.
-Original Message-
From: Dave Carabetta [mailto:[EMAIL PROTECTED]
Sent: 22 September 2003 15:20
To: CF-Talk
Subject: RE: dreamweaver stuff
Not a solution but:
In Dreamweaver, using just the Tab key will indent blocks of code for
you. You can't do that in Studio.
Sure
In order to get Homesite+ I'm pretty sure you need to buy DW.
You can get Homesite by itself but not Homesite+or something like
that. It's changing every 5 minutes so who knows.
You have to ask yourself, will MM continue developing two products that
have such a large overlap of
In order to get Homesite+ I'm pretty sure you need to buy DW.
Right. But if you, like me, don't need the additional functionalities,
Homesite 5.5 is 99 bucks (29 for the upgrade)
You can get Homesite by itself but not Homesite+or something
like
that. It's changing every 5 minutes
Eh? This was done about a year ago I think. It's not flipped back and
forth at all. MACR simply stopped selling ColdFusion Studio, renamed
it
as HS+ and put it with DW. Whether you like that move or not, I don't
think MACR is being wishy-washy about it.
I've been corrected on this point
Just to be anal, you don't need any #'s or the GT 0 at end as GT 0
evaluates to true.
cfif listFind(variables.accesslist,cat_ID)
André
-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 19 September 2003 17:32
To: CF-Talk
Subject: Correction
Replace all spaces on the list first.
-Original Message-
From: Smith, Daron [PA] [mailto:[EMAIL PROTECTED]
Sent: 19 September 2003 17:06
To: CF-Talk
Subject: FW: ListFind not working properly
I'm not sure what I'm doing wrong with this list function. I have a
variable with a list in
Michael,
You should be able to utilize the underlying HttpSessionListener
interface to monitor session creations and destructions, though that
requires writing an appropriate Java class which isn't a big deal if you
don't mind getting your hands dirty with Java. You'll also need to use
J2EE
I concur.
HTTP compression works well with IIS5.0 and ColdFusion MX.
No added purchase or change to code necessary.
See here for a good description of how to set it up:
http://www.eggheadcafe.com/articles/20020716.asp
The gzip filter from Servlet Suite also works well:
Are you sure it's binary data?
Does it return true when you try isBinary(gifdatahere)??
You can try outputting the data to the output stream directly by
utilizing the underlying page context.
Christian Cantrell blogged an example of doing this here:
George,
I have done this and it works quite successfully.
I use XSLT to transform the XML into both tab delimited and csv format
amongst others then in combination with cfcontent I allow the user to
export/save the data in their desired format.
The XML document is built up at the same time as
Mike,
Does it need to be ColdFusion?
And if it is, does it need to be customizable?
If not there are plenty around in other languages.
Regards,
André
-Original Message-
From: Michael Traher [mailto:[EMAIL PROTECTED]
Sent: 04 September 2003 17:01
To: CF-Talk
Subject: meeting room
Tony,
Alternatively, just append the data to a variable as you are looping
through with commas as delimiters etc. and then write the variable to
the file when you are done.
André
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: 04 September 2003 16:55
To: CF-Talk
Shahzad,
A few pointers:
If you locate the relevant services via the services applet you can
specify files to run on various events including:
First Failure
Second Failure
Subsequent Failures
In addition to specifying a file to execute you can indicate you want
the service automatically
Perhaps you thinking of the Heisenberg Uncertainty principle.
André
-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: 02 September 2003 14:45
To: CF-Talk
Subject: RE: machII(too much)
But then it dawned on me that maybe the debug output was causing the
higher
times.
No help whatsoever but for future reference:
This arrangement is sometimes referred to as a Vertical Partition as
opposed to Horizontal Partitions which is what you might use for
archiving data etc.
Vertical Partitions are definitely worth considering for saving space if
the circumstances are
Mike,
Macromedia has an article about this very topic:
http://www.macromedia.com/devnet/mx/coldfusion/articles/cfc_practices.ht
ml
Its been there for about a year so Im sure there are more
comprehensive examples around by now.
Regards,
André
-Original Message-
From: Mike Kear
Murat,
There are plenty of resources covering OOP which are language agnostic
and indeed OOAD is of course language neutral.
I believe that's what Hal was referring to and even if he wasn't it's
still a valid.
I'm pretty sure there have been recommendations for OO books/resources
on this list
Try this:
Go to your ColdFusion Administrator. Locate the web service in question
via Data Services - Web Services. Click on the refresh icon.
Try running your code again.
André
-Original Message-
From: A.Little [mailto:[EMAIL PROTECTED]
Sent: 08 August 2003 10:00
To: CF-Talk
Some people (not necessarily me) believe doing this is better:
cf_mytag theQuery=#myQuery#/
i.e. passing the query by value and hence avoiding breaking any kind of
encapsulation.
Inside the tag you refer to the query in the normal way e.g.
cfset localQuery = attributes.theQuery
or just:
In other words you need to come up with your own mechanism for
maintaining a session across web service invocations. This is fairly
trivial and there are different approaches you can take.
If you called the CFC as a web service from within ColdFusion you'd have
the same problem. However, you
You can't get smaller than 1 pixel thickness (unless you consider
dotted/dashed borders)
table style=border:1px solid black
tr
tdhello world/td
/tr
/table
That's as thin as you can get (it definitely doesn't look the same the
default border - though that depends on your browser)
André
-
From: Andre Mohamed [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 5:47 AM
To: CF-Talk
Subject: RE: THE FIX (struct question)
Tony,
Minor point but you shouldn't need the #'s.
André
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: 11 August 2003 04:46
To: CF
Tony,
Minor point but you shouldn't need the #'s.
André
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: 11 August 2003 04:46
To: CF-Talk
Subject: THE FIX (struct question)
heres how...
cfset numberOfThesePuppies =
#arraylen(structFindKey(session.cart,product.id))#
Ryan,
Try Google and free load testing tools.
More specifically, you'll want to search for Load/Stress testing
specific to web sites e.g. the following are all free:
1)Microsoft's Web Application Stress Tool
http://www.microsoft.com/downloads/details.aspx?FamilyID=e2c0585a-062a-4
Is the SMTP server accessible from your new box?
Can you ping 65.110.72.126 from the box?
I suspect not because that is what the log files say.
Verify the correct IP address to use for your SMTP server.
André
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent: 06
GetPageContext() allows you to gain access to the underlying JSP/Servlet
page context.
This allows you to share sessions and requests with JSP's and Servlets
as well as letting you perform server-side re-directs and forwards.
cflocation as I'm sure you know performs a client-side redirect.
The
CFunit?
Unfortunately, there are some of us that can't afford the DRKs!!
Well I'd prefer an ipod.
WG
-Original Message-
From: Andre Mohamed [mailto:[EMAIL PROTECTED]
Sent: 03 July 2003 17:48
To: CF-Talk
Subject: RE: CFUnit
I'm hoping it will be released separatelyor continue
Try www.junit.org?
-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
Sent: 04 July 2003 08:56
To: CF-Talk
Subject: Re: CFUnit
On Thursday 03 Jul 2003 23:43 pm, Christian Cantrell wrote:
I wrote the code (it is not based on anyone else's work), but the
concept is
Raymond,
Can you perhaps quantify a little in terms of the level of stress that
you have found to trigger this behavior?
If it does turn out to be a bug and it isn't rectified in Red Sky then
there are some serious implications for CFC based application frameworks
such as FBMX which of course
Cantrell [mailto:[EMAIL PROTECTED]
Sent: 04 July 2003 16:25
To: CF-Talk
Subject: Re: CFUnit
On Friday, July 4, 2003, at 04:55 AM, Andre Mohamed wrote:
Although I haven't got the DRK or seen the code for CFUnit, what I
gather from Christian's article is that the CFUnit framework is
merely
just
You would use ListFind not ListContains because ListContains looks at
elements to see if they contain the specified substring.
-Original Message-
From: webguy [mailto:[EMAIL PROTECTED]
Sent: 03 July 2003 14:29
To: CF-Talk
Subject: RE: Parse formated list
This ???
ListContains(list,
Providing it was the PDA that was browsing the page then yes, this is
possible.
You could use an ActiveX component or a Java applet amongst other
possibilities to achieve this. The component would need to be able to
run on the PDA naturally and would be embedded in the particular web
page the PDA
Is there a particular reason why Flash is being mandated or needs to be
used?
If not, it would be just as possible to build using DHTML though that
doesn't mean Flash shouldn't be used after all you'll have to deal with
cross browser issues with the DHTML approach - however I believe the
It is based on the XUnit testing framework originally developed by Kent
Beck along with Extreme Programming.
http://www.xprogramming.com/software.htm
I see no reason why Macromedia should charge for this though - it should
be submitted along with all the other XUnit tools for public use.
A
I'm hoping it will be released separatelyor continue writing my own
version. It's not hard to do and have already developed a version for
unit testing custom tags. See the links I just posted to see how you
could implement your own (even more comprehensive) version.
Unfortunately, there are
You can get cffile to create a unique file name if you set the
nameConflict attribute to makeUnique.
The name of the file as saved on the server is accessed in the variable:
Cffile.serverFile
See the ColdFusion Tag Reference for cffile action=upload for more
information.
Yes, Verity can index
Have a look here:
http://www.cfcomet.com/pdf/
More specifically, look at solutions utilizing FDF files and not needing
COM.
These FDFs can be generated server-side allowing you to pre-populate
some of the form information from a database etc. before sending to the
user who can then fill in the
I couldn't agree more.
I have achieved a similar work flow using FDFs and ColdFusion without
problems (except some people not having Acrobat Reader installed) at a
rate of approximately 100 per hour.
I also have used Active PDF and believe it to be overpriced and overkill
for the requirements
There is no alternative but to include the file.
However, if the code is all cfscript, it would technically be possible
to evaluate the whole lot at run time.
André
-Original Message-
From: Peter Mayer [mailto:[EMAIL PROTECTED]
Sent: 20 June 2003 11:15
To: CF-Talk
Subject: Parse cfm
Web
http://www.electricsheep.co.nz/
- Original Message -
From: Andre Mohamed [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, June 20, 2003 10:52 PM
Subject: RE: Parse cfm templates stored in a variable?
There is no alternative but to include the file.
However
Yes, I realised during lunch - just now - that's probably what you
meant!
-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED]
Sent: 20 June 2003 13:48
To: CF-Talk
Subject: Re: Parse cfm templates stored in a variable?
Actually you can evaluate functions too e.g.
Right. I
This is a known issue and has I believe been acknowleged by various
parties.
It is the result of a limitation of the underlying Axis engine that
CFMX uses.
I believe there were plans for Axis in the future (possibly the version
that is used in the next point release of MX - I haven't tried yet)
To avoid the refresh problem the best way to handle idempotent actions
i.e form submissions is to perform a redirection after the relevant
action has occurred.
Note: This requires a client-side redirect which cflocation will do
for you. So the page flow becomes this:
1) Form
2) Action Page -
Try this:
In your application.cfm
cfif IsDefined(URL.refreshQueryCache)
cfset request.cachetimespan = CreateTimeSpan(0,0,0,0)
cfelse
cfset request.cachetimespan = CreateTimeSpan(1,0,0,0)
/cfif
Then...
cfquery name=query datasource=dsn
cachedwithin=#request.cachetimespan#
Unfortunately its not quite as simple as being able to see each others
session or application variables in the same way. Request variables can
be seen as you would expect.
To put a variable into a ColdFusion session you have to do something
like this:
In your JSP/Servlet
(Map)
Standing on the shoulders of giants a very quick and dirty way of
dealing with the case issue:
cfset oldname=ben
cfset newname=mike
cfset
t=rereplace(str,(^|[^[a-zA-Z]]?)#oldName#([^[a-zA-Z]]?|$),\1#newName#
\2,ALL)
cfset oldname=Ben
cfset newname=Mike
cfset
innerText is what you are after.
You'll need to locate the relevant anchor object using DOM and then once
you have that object it is just:
anchorObject.innerText;
That should set you on your way,
André
-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]
Sent: 03 June 2003
Try something like this:
select name=selectSystem size=1 class=inputfield
option value= cfif NOT Len(form.value)selected/cfifSelect
system.../option
option value= Nintendo GameCube cfif NOT CompareNoCase(Nintendo
GameCube,form.value)selected/cfif Nintendo GameCube/option
...
/select
If your
I still receive posts from there so yes, it does appear to still be
alive.
André
-Original Message-
From: D. Delcomminette [mailto:[EMAIL PROTECTED]
Sent: 04 June 2003 13:23
To: CF-Talk
Subject: SOT: CFCDEV List
Is CFCDEV list still alive? I didn't receive any posts for more than a
Create a ColdFusion Archive (using the archive tool found in the
administrator) of the relevant bits and pieces you want to transfer.
André
-Original Message-
From: Tim Laureska [mailto:[EMAIL PROTECTED]
Sent: 02 June 2003 14:38
To: CF-Talk
Subject: exporting DSN list
Is it possible to
You need to make sure com.allaire.cfx is on your classpath by setting a
system variable.
Alternatively you can compile with the -c switch specifiying where the
library is e.g.
Javac -c c:/cfusionmx/lib/ SimpleMessage.java
Etc.
André
-Original Message-
From: John McCosker
Err...
Just realized my last post wasn't very helpful.
Try this:
javac -c {Installation Path}\lib\cfx.jar SimpleMessage.java
André
-Original Message-
From: John McCosker [mailto:[EMAIL PROTECTED]
Sent: 03 June 2003 11:10
To: CF-Talk
Subject: Can someone help me understand how to
Blood,
It's fairly straight forward to code yourself.
You can access the undeliverables folder using CFDIRECTORY and then
parse the messages for the e-mail address that bounced and use that to
update the database.
If on MX I suggest using server.coldfusion.rootDir etc. to locate the
Dave,
Another possibility:
Perhaps all of the instances of the persisted CFC merely carry a
name/pointer pair which points to a singe stale copy of the method and
hence Sean's statement still holds partially true regarding not taking
up a great deal of space.
However, I'm merely making a
If you only use 4 characters then there are only roughly (10+26) to the
power of 4 = 1679616 different combinations... this is a relatively low
number which may or may not be considered unique enough for your
purposes.
With only 100,000 records you already have nearly a 6% chance of a
collision.
Ignore my last post...ASCII has more than 36 characters...the point
still holds though.
-Original Message-
From: Andre Mohamed [mailto:[EMAIL PROTECTED]
Sent: 17 March 2003 13:48
To: CF-Talk
Subject: RE: Using createUUID()
If you only use 4 characters then there are only roughly (10+26
:[EMAIL PROTECTED]
Sent: 17 March 2003 13:48
To: CF-Talk
Subject: RE: Using createUUID()
yep, as noted in another post, if it fits your development, then you can
still use it;
back on track : does and will mySQL support newid()
-Original Message-
From: Andre Mohamed [mailto:[EMAIL
Oliver,
Try something like this:
cfset yourNewString = ReReplaceNoCase(yourOldString, [^]*, ,
ALL)
Thanks,
André
-Original Message-
From: Oliver Cookson [mailto:[EMAIL PROTECTED]
Sent: 14 March 2003 11:13
To: CF-Talk
Subject: SOT: RegEx Help!
Any ninja's out there? ;)
Im having
Rob,
Not sure if CF5 query of queries can handling your sub-selects. Anyway,
try this as a possible alternative:
Select * from Query1 where Q1MachineName not in
(#QuotedValueList(Query2.Q2MachineName)#)
UNION
Select * from Query2 where Q2MachineName not in
Michael,
You're right, you'll need to import javax.rmi.PortableRemoteObject or
perhaps cfobject one. This whole thing might be best written as a
Servlet or JSP which you then include or forward to. Just a thought.
André
-Original Message-
From: Michael Hoffman [mailto:[EMAIL PROTECTED]
Depending on the impact you might want to reimplement your
cdjwebdoc.cdweb structure as a query using QueryNew etc. as long as each
row has the same columns...this certainly seems to be what you are
trying to achieve.
Then you can use cfloop query=... as normal. A little easier to read
and
Try something LIKE this inside of your custom tag:
cfset theQuery = caller.#attributes.queryname#
cfoutput query=theQuery
blah blah
/cfoutput
Thanks,
André
-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: 11 March 2003 14:29
To: CF-Talk
Subject: Custom
A few additions:
You don't really need the conditional logic around the cferror tag.
It might be wise to also include a request error handler e.g.
cferror type=request...
Although you are restricted to the number of variables you can use in
this template (and you can't log/mail etc.) it
Pity the top toolbar on the home page doesn't work how it's supposed to
:)
Other than that, looks great. I wouldn't like to load it over a modem
though!
-Original Message-
From: Oliver Cookson [mailto:[EMAIL PROTECTED]
Sent: 05 March 2003 09:45
To: CF-Talk
Subject: New Macromedia.com
Ian,
Perhaps I can clarify/expand on what Adam suggested:
1) You do not stop the data entering the database when a story is
submitted. Instead, it is inserted as normal but you also set another
column probably in the same table, perhaps named status with a value
of P for pending when you perform
that
the
content has been declined.
Does this make sense logically ??
Or would you add more features and or more advanced settings??
- Original Message -
From: Andre Mohamed [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, March 03, 2003 11:24 AM
Subject: RE: Is it possible to achieve
Pete,
There is a patch floating around somewhere for CF's administrator which
gives you more meaningful error messages when connecting to data sources
other than the generic JDBC pool error. Search macromedia.com
For SQL Server:
1) Make sure you are using Mixed Mode Authentication (not Windows
Bryan,
Did you try the usual:
1) Make sure you're using mixed mode authentication on SQL server.
2) Make sure your passwords are not more than 16 chars.
3) Make sure you aren't using (local) as the server etc.
Thanks,
André
PS
Good luck with the dating web app!
-Original Message-
: Converting a recordset to XML
If you are using MS SQL you can convert the record set to XML with its
XML
publishing tools..
- Original Message -
From: Andre Mohamed [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 12:50 AM
Subject: RE: Converting a recordset
Rich,
A couple of things that might help:
1) Make sure you are using Mixed Mode authentication (not Windows only)
on your SQL server DBMS.
2) Make sure your password is not more than 16 chars otherwise it gets
truncated by the CF Administrator App!
3) There is a patch for the CF Administrator
Brook,
If you're going via CF, you could try using WDDX as long as wherever you
are sending it to can understand it. You'd this via the cfwddx tags
passing in a CF variable e.g. a recordset. If converting a recordset
into XML the quickest and EASIEST way is your MAIN criteria then this is
Just a stab in the dark:
Is orgname always uppercase in your DB? If so, that might explain why
searching by orgname always works but searching by the others doesn't.
You might have to do this:
...AND UPPER(funding) LIKE UPPER('%#Form.funding#%')
or EVEN (the same):
...AND UPPER(funding) LIKE
You probably want to refer to the JSP specs here:
http://java.sun.com/products/jsp/download.html#specs
to get the best understanding of full capabilities of the Page Context
object.
Thanks,
André
-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: 24 February 2003
More specifically, see here:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/jsp/PageCont
ext.html
Thanks,
André
-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: 24 February 2003 15:26
To: CF-Talk
Subject: Re: anti-cfflush
cfset
One small note with FBX3 and CFMX - just need to make sure that in your
index.cfm you include the CF5 core file (even though you are running on
CFMX)
e.g. cfinclude template=fbx_fusebox30_CF50.cfm
Everything else works same as on 5.
As for performance, no issues have arisen so far - debugging
Specify ONE as your scope.
e.g.
cfset temp = Replace(temp,.,,ONE)
The CF docs are quite comprehensive on tag use.
André
-Original Message-
From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2003 12:21
To: CF-Talk
Subject: Re: Should be easy :)
Will that not replace ALL
Btw...ONE is the default scope for replace!
André
-Original Message-
From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2003 12:21
To: CF-Talk
Subject: Re: Should be easy :)
Will that not replace ALL periods ?
I just want the first...
On 20/2/03 12:17, Simon Whittaker
Luck for me I am a dragonno really :)
André
-Original Message-
From: Dave Lyons [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2003 16:26
To: CF-Talk
Subject: Re: astrological sign
the placemats at the chinese restaurants arent always correct u know!
haha
sure...we all wanna be the
Thane,
No need to have a separate CommitWrite variable. Just do this:
cftransaction!--- Begin is implied ---
cftry
cfloop
...DB Inserts here...
/cfloop
cfcatch type=Database
cftransaction action=rollback/
/cfcatch
/cftry
/cftransaction!--- Commit is implied ---
Doh! That's true! Only need to explicitly rollback for example if there
is something else inside of the transaction tags that is NOT a db query
and hence won't necessarily exit the transaction automatically e.g.
cftransaction
...DB Queries
cf_chargecreditcard
cfif
Jeff,
You could also do a CFHTTP call to the page you are setting the headers
on. Then cfdump cfhttp.header for the raw response header you get back
from your page or cfdump cfhttp.responseHeader (which is a Structure) or
use cfhttp.responseHeader[testVar] to see if you get testVarValue as
Jeff,
Are you trying to read request headers i.e. those set by the browser
when requesting one of your pages, or are you trying to read response
headers set by another server e.g. when you request a resource/page
programmatically via cfhttp?
André
-Original Message-
From: Jeff Chastain
Jeff,
If you want to pass in some test data you need some kind of custom
browser or HTTP client that lets you set some headers when making
requests to your page. There are a few of these around, or you could
write a simple Java/VB app to do it. Alternatively, a load testing tool
(probably
Jeff,
It may well be that PlumTree is manipulating the headers before calling
third party pages but that doesn't necessarily mean it is doing it via
CF code.
You can do v.limited header manipulation using CFHTTP...well, you can
set the user-agent header, and you can set some cookies but other
Craig,
Not sure if the license file is in the same location/format on nix
versions of CF but on Win versions the license file is located here:
installation_root\lib\license.properties
e.g.
C:\CFusionMX\lib\license.properties
You might like to try doing a find for this file when you SSH
100 matches
Mail list logo