Thank you for your suggestion, I restored -XX:MaxPermSize and it works fine!
I removed this args because of other problems on CF 7 on a version of
the same application with a lot of call to COM object (Macromedia
suggested me to do it). The strange thing was that without this args the
current ve
Barney Boisvert wrote:
> The Google Maps API doesn't do any sort of driving directions related
> stuff, either on the map, or just as API calls.
amateurs ;-) if you want GIS functionality use a GIS. have a look at what
esri's
public web services has to offer (scroll to the bottom for "routing"):
I have bound a form to a cfdiv for the purpose of filter as you fill out the
form kinda thing.
everything is working fine, however I only want it to filter after the third
character typed in the CompanyName field. Does anyone know of a way to tie in
a javascript function to check if the leng
> Ahh-- thanks for the explanation. So I take it that the
> maximum amount of memory is allocated to each thread whether
> it needs it or not and that's all it gets whether it needs
> more or not. Wouldn't this be the opposite of how Windows
> works-- where each process is only given what it
Paul Vernon wrote:
> I want to set the defaults to "British" for the language and "dmy" for the
i tried adding language & dateformat to a jTDS driver, which seemed to work, at
least this:
SELECT @@LANGUAGE as serverLanguage
returned:
"British" for the serverLanguage. btw i think you
Yes but wouldn't a regex be more efficient (in both languages)?
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 13, 2007 3:25 PM
To: CF-Talk
Subject: ASCII String Value
There's a good point. If it's OS memory then this is a non-issue.
On Nov 14, 2007 7:26 AM, Gaulin, Mark <[EMAIL PROTECTED]> wrote:
> BTW, I'm assuming you are looking at the
> amount of memory used by the process/exe, and not the amount of free
> memory in the JVM, which is totally different.
--
Im using CF Version 6.1 and am hitting an issue with retrieving data stored in
an NTEXT field in SQL Server 2000.
The issue is that the entire value is being stored in the database, but upon
retrieval its being truncated. When I check the Enable long text retrieval
(CLOB) in CF Admin for my da
The Google Maps API doesn't do any sort of driving directions related
stuff, either on the map, or just as API calls.
cheers,
barneyb
On Nov 13, 2007 1:54 PM, E C list <[EMAIL PROTECTED]> wrote:
> Great circle is often used to get the distance "as the
> crow flies"...that's
> a lot different than
> Subject: java.lang.OutOfMemoryError: PermGen space on CF 8
>
> Hi all,
> has someone ever experienced this issue. We saw that memory
> increase very quickly and analyze it with Fusion Reactor. We
> inserted a log in pages executing during the CF server crash,
> but we didn't find any problems
I'm having a little trouble with a project.
I need to display a spreadsheet like set-up with product names on the left;
quality types along the top; and the user fills in the product quality
scores.
The products are foods and the qualities have to do with taste, texture,
etc. The user will the
On Nov 13, 2007 5:13 PM, Rey Bango <[EMAIL PROTECTED]> wrote:
>
>
> > Is it a network drive ?
>
> Tried it across the Internet to a remote server using the Adobe RDS
> plugin.
>
I'd say this is probably the culprit, since I've never used it, and saving
files onto a local drive has never been a pr
Loginstorage should be set to "session" for better security (and it
might make this problem go away).
On Nov 14, 2007 7:15 AM, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> No, I am talking about our actual site, not cfadmin. That works fine
> from home or work.
> My cfapplication tag looks like this:
You could use mid(mystring, i, 1) which returns a substring starting at
i and 1 long.
--Ben Doom
Richard White wrote:
> Hi,
>
> I have a javascript function that checks for any unwanted string character
> values - such as \ or / etc...
>
> In Javascript i loop through the length of the string
Java garbage collection is a complicated process - memory isn't
necessarily cleared immediately after it is marked for GC. You can use
different tuning parameters and different GC algorithms within the JVM
to change the way it works, but it will help to do some reading first
and test on a developme
I didn't pull that number out of thin air. I counted the errors.
The proc was looping over accounting line items and concatenating their
invoice codes together for display. Usually there are no more than 5
items to iterate over. Due to some poorly configured pricing setup on a
test order, there
Sadly no. Ben's right, regex isn't very good at this sort of problem,
because you can't match the same portion of the string in two
different ways. If you could constrain the problem so that there was
never more than one newline per quoted string, then you could do it.
Without that restriction, h
On Nov 13, 2007 11:38 AM, Richard White <[EMAIL PROTECTED]> wrote:
> Hi, hopefully this is a very simple question. i cant find the answer on
> google :(
>
> how do i count how many columns were returned in a cfquery
>
> thanks
>
>
~~~
Ahh-- thanks for the explanation. So I take it that the maximum amount
of memory is allocated to each thread whether it needs it or not and
that's all it gets whether it needs more or not. Wouldn't this be the
opposite of how Windows works-- where each process is only given what it
needs at first
Time for some of you guys to switch to gmail!
On Nov 13, 2007 3:07 PM, Richard White <[EMAIL PROTECTED]> wrote:
> thanks works perfectly :)
>
>
~|
Enterprise web applications, build robust, secure
scalable apps today - Try it
>>myString.charCodeAt(i) // this gives me the asci value for the
character so i can test if it is an unwanted character
>>is there any similar function in coldfusion?
try asc(mid(myString, i, 1))
But in CF like in JS, there might be a more efficient way to accomplish
what you are trying to do
No, I am talking about our actual site, not cfadmin. That works fine
from home or work.
My cfapplication tag looks like this:
So my login storage is in the cookie, and I am not setting domain
cookies, it is all stored on the client machine.
Bruce
Gaulin, Mark wrote:
> Are you talking about t
Just wait for Barney...he'll have an answer I'll bet.
-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 13, 2007 1:17 PM
To: CF-Talk
Subject: Re: Regex Gunslingers
Actually, that's not all that easy. Regex is great for tokenizing, but not
parsing. The
When CF connects to an MS SQL server, as part of the connection it sets the
language and date format as follows:
set language us_english
set dateformat mdy
Can I override these values in the Connection String and if so, how? I've
been Googling for hours and found a few things to try but I've had
Hi,
I have an application which sets some server variables, enclosed in a
lock on server scope:
Since I added this code, apparently, many times, sessions variables are
lost in any application and admin users have to relogin.
What I am missing?
I get this both under CF 5 and CF 7.
Should I also
Hi,
thanks for the replies, its been a long day and didnt notice this on livedocs.
Thanks
~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macrome
Hey Tom,
> What O/S ?
WinXP
> What versions of CFE/Eclipse/Java ?
CFE: 1.3.1.5
Eclipse: v3.2.2
Java: JRE/JDK 6
> Is it a network drive ?
Tried it across the Internet to a remote server using the Adobe RDS plugin.
> Do you have a virus scanner (etc.) scanning that drive ?
No.
~~
Use string functions. Use MID(string, startAt, count) to get the character at a
specific position and ASC() to get its ascii value
http://livedocs.adobe.com/coldfusion/7/htmldocs/0353.htm
You might also find ReFind() and ReFindNoCase() useful for validating character
strings.
Sounds like normal virtual memory usage... The JVM had to grow to the
bigger size and waited until it was sure it didn't need the memory again
to give it back to the OS (because taking memory from the OS and giving
it are expensive operations). BTW, I'm assuming you are looking at the
amount of mem
Disregard:
I found the following link to work like a charm:
http://devlicio.us/blogs/ziemowit_skowronski/archive/2007/03/01/multiple-sites-and-host-headers-on-localhost-with-iis7.aspx
From: "CF Developer" <
Hi, hopefully this is a very simple question. i cant find the answer on google
:(
how do i count how many columns were returned in a cfquery
thanks
~|
Get involved in the latest ColdFusion discussions, product
development shar
ListLen(queryName.ColumnList)
On Nov 13, 2007 1:38 PM, Richard White <[EMAIL PROTECTED]> wrote:
> Hi, hopefully this is a very simple question. i cant find the answer on
> google :(
>
> how do i count how many columns were returned in a cfquery
>
> thanks
>
>
~~~
listLen(queryName.columnList)
should work
On 11/13/07, Richard White <[EMAIL PROTECTED]> wrote:
>
> Hi, hopefully this is a very simple question. i cant find the answer on
> google :(
>
> how do i count how many columns were returned in a cfquery
>
> thanks
>
>
> I have a javascript function that checks for any unwanted
> string character values - such as \ or / etc...
>
> In Javascript i loop through the length of the string and use
> the code:
>
> myString.charCodeAt(i) // this gives me the asci value for
> the character so i can test if it is an u
>how do i count how many columns were returned in a cfquery
One way
~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/cold
Great circle is often used to get the distance "as the
crow flies"...that's
a lot different than driving times/distance though.
Take a look at this
UDF:
http://www.cflib.org/udf.cfm?id=502
What I have been hankering for is for google's driving
time figures. In
other words, I hand it two address
Hi,
I have a javascript function that checks for any unwanted string character
values - such as \ or / etc...
In Javascript i loop through the length of the string and use the code:
myString.charCodeAt(i) // this gives me the asci value for the character so i
can test if it is an unwanted char
> Since I am the mercy of the web service (they have not listened to
> my inquiries w/regards to this) ...
You can't really expect them to change how their web service works to suit
you, can you? That might negatively affect all the people currently using
the web service.
If the problem is that
Are you talking about the ColdFusion site admin? I'm not recalling a
rich text editor, so I'm wondering if there is some other authoring
admin tool in play here. (Is /cfide in the url?)
A random idea that might have no relevance whatsoever: check your
browser cookies... Do you have a login-type co
ok I can deal with that, however, do you have a link or
something I can look at how to setup the host name to be mapped to a directory
(client code)?
TIA!
From: Tom Chiverton <[EMAIL PROTECTED]>
Sent: Tue
thanks works perfectly :)
~|
Enterprise web applications, build robust, secure
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps
Archive:
http://www.houseoffusion.com/groups/CF-Ta
> ok I can deal with that, however, do you have a
> link or something I can look at how to setup the host name to
> be mapped to a directory (client code)?
If I recall correctly, you mentioned using IIS 7, right? If so, use the IIS
7 Management Console to create another web site. D
Terrence,
Thanks for the information. I have it working now.
I am running only a single instance of ColdFusion. I copied the most recent
version of the cacerts file to the other directories and it allowed it to
connect.
Thanks again!
Brian Case
SR. MLS Technical Support Rep
Tucson Associati
> The point is, this application is going to be used in
> different scenarios where the concept of a user won't always
> be the same. In one situation, employeeId might be a
> perfectly reasonable property for a user, while in another
> scenario, it would have no meaning at all. Part of the a
I don't think there is a direct count of columns returned, but there is
queryName.columnListso just use listLen(queryName.columnList) and
there ya go ;-)
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.
I found out what it was... for some reason even though the people that
developed it said that name is an attribute its not, instead of name i had to
put 'r_qResults'
hmmm, very useful
~|
ColdFusion is delivering applications s
Hello all. I am trying to output the results of a web service. The problem
is, the returned data at times has missing values. The values aren't blank,
they are completely undefined for certain rows that are returned. Since I am
the mercy of the web service (they have not listened to my inquiries
w/
ListLen( query.columnlist )
On 11/13/07, Richard White <[EMAIL PROTECTED]> wrote:
>
> Hi, hopefully this is a very simple question. i cant find the answer on
> google :(
>
> how do i count how many columns were returned in a cfquery
>
> thanks
>
>
listlen(queryname.columnlist)
On Nov 13, 2007 1:38 PM, Richard White <[EMAIL PROTECTED]> wrote:
> Hi, hopefully this is a very simple question. i cant find the answer on
> google :(
>
> how do i count how many columns were returned in a cfquery
>
> thanks
>
--
If you're using CF 8 you can populate those fields with the CFPDFFORM tag.
Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
Robert Harrison wrote:
> I have some downloadable high res PDFs
Actually, that's not all that easy. Regex is great for tokenizing, but
not parsing. There are ways to determine whether or not you are
"inside" quotes, but in my experience, looping usually gives you the
best results -- especially when the text is not precicely what you
expect. For example,
> Can I add a URL to the #name# field displaying on a cfdirectory?
>
> I want the user to be able to list the .doc files and then
> click on the doc files listed to display them.
>
> Thanks.
>
> RO
> HWW
>
> directory="#GetDirectoryFromPath(GetTemplatePath())#"
>name="myDirectory"
>
I have a to create a pdf report that is about 1500 pages long, all text and
tables, no charts or images etc. Well it does not take to long to create,
about 30 seconds, but it just kills my memory. I am putting the content in
cfsavecontent, maybe that is what is killing the memory. But I would
Have i installed it in the wrong directory, does it need to be in the wwwroot
somewhere?
thanks
~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe
Hey all,
Got a regex challenge...I was able to solve it using an REFind and then
REReplace, but I'm wondering if anyone can come with a "one-shot" way to
replace without looping.
I need to remove any carriage returns within a quoted string, but not touch
them if they are outside quotes. So:
"
>
sorry the above should have been...
~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052
You can create an FDF file. It is an answer file for PDF forms. Basically...
You create a PDF with form fields, then you create an FDF file with the
answers and point the FDF to the url of the PDF file.
Then you just feed the dynamic FDF via cfcontent.
I did this for a college scholarship applica
Good morning everyone.
Our school district site has four domains (www.snowline.k12.ca.us,
snowlineschools.com, .org and .net). When I log in and do any admin type
work within the office everything works fine regardless of which domain
I use. However, when I log in to the site from home using the
Hi
i am trying to install a cfx tag for the first time. The tag is
cfx_excel2query: http://www.emerle.net/programming/display.cfm/t/cfx_excel2query
I have set the coldfusion class path in the Java JVM page of the administrator
as C:\ColdFusion8\cfx_tags\cfx_excel2query\cfx_Excel2Query.jar - the
On Tuesday 13 Nov 2007, ColdFusion wrote:
> That way I can always use: http://localhost for each client as a top level
> domain.
Unrelated aside: most* people normally* setup http://projectname.localdomain
or something, so each project has a different host name.
--
Tom Chiverton
Helping to bian
> #Replace('form.description','"',"'","ALL")#">
Remove the quotes around form.description.
Dave Watts, CTO, Fig Leaf Software
~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
ht
remove the quotes around form.description
#Replace(form.description,'"',"'","ALL")#
Rick Sanders wrote:
> Hey list,
>
>
>
> I'm trying to replace double quotes for single quotes in a string using this
> syntax:
>
> #Replace('form.description','"',"'","ALL")#">
>
>
>
> However, it's givi
On Tuesday 13 Nov 2007, Rey Bango wrote:
> Any ideas on what could be causing this?
What O/S ?
What versions of CFE/Eclipse/Java ?
Is it a network drive ?
Do you have a virus scanner (etc.) scanning that drive ?
--
Tom Chiverton
Helping to simultaneously improve end-to-end experiences
on: http:/
When I originally installed Altiris, I did the 'Simple Install' which sets a
database listener on port 8080. I reinstalled Altiris and set a different
port, so all is well now.
Thanks.
-Original Message-
From: Jordan Michaels [mailto:[EMAIL PROTECTED]
Sent: Monday, November 12, 2007 1:
Okay, so you have to use https, that explains perfectly why you can't do it
with http. Let me try again.
Taking another look at the error message, it looks to me like the certificate
on the exchange server isn't properly installed on the ColdFusion box.
Do a search for "cacerts"
If you are
I have some downloadable high res PDFs. These are print ads for schools.
They have a couple of form fields where the school puts in their name,
address, and phone number. The problem is many schools don't have the Adobe
writer so they can't update the fields.
Is there a function in CF where I can
Sure - you can manipulate any query object using queryAddColum,
queryAddRow, querySetCell. Please see the docs. If you wanted to use
it in cftable (holy crap - someone uses cftable!) then you would
modify the query before you run the cftable.
On Nov 13, 2007 9:07 AM, Orlini, Robert <[EMAIL PROTECT
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Rick Sanders [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 13, 2007 9:25 AM
To: CF-Talk
Subject: Replace Syntax
Hey list,
I'm trying to replace double quotes for single quote
Okay, so you have to use https, that explains perfectly why you can't do it
with http. Let me try again.
Taking another look at the error message, it looks to me like the certificate
on the exchange server isn't properly installed on the ColdFusion box.
Do a search for "cacerts"
If you are
>>What am I doing wrong?
You are actually replacing quotes in the string 'form.description'
instead of variable form.description.
Just try #Replace(form.description,'"',"'","ALL")#
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/cust
You need the breaking "". Try this:
#Replace('form.description','""',"&rsquo","ALL")#">
Robert B. Harrison
Director of Interactive services
Austin & Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119
F : 631.434.7022
www.austin-williams.com
Great advertising can
replace(form.description
not
replace('form.description'...
form.description is the variable, 'form.description' is a string with
the name of the variable.
--Ben Doom
Rick Sanders wrote:
> Hey list,
>
>
>
> I'm trying to replace double quotes for single quotes in a string using this
> sy
Hi
I am having exactly the same problem, does anyone have any clue why this would
occur and how to fix it
thanks
~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com
Sweet! It worked, thanks!
Rick Sanders
Webenergy
Canada: 902-401-7689
USA: 919-799-9076
Canada: www.webenergy.ca
USA: www.webenergyusa.com
-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: November-13-07 11:02 AM
To: CF-Talk
Subject: Re: Replace Synta
Yeh, I don't think you have any choice but to convert to varchar if you need
to do the grouping (pls somone correct me if I'm wrong).
I would run some sql to check the biggest note and convert the text field
into a varchar of reasonable size relative to that (hoping that it is less
than 8000):
SE
Can I add a URL to the #name# field displaying on a cfdirectory?
I want the user to be able to list the .doc files and then click on the doc
files listed to display them.
Thanks.
RO
HWW
~|
Check out the new f
#Replace(form.description,'"',"'","ALL")#
On Nov 13, 2007 9:25 AM, Rick Sanders <[EMAIL PROTECTED]> wrote:
> Hey list,
>
>
>
> I'm trying to replace double quotes for single quotes in a string using
> this
> syntax:
>
> #Replace('form.description','"',"'","ALL")#">
>
>
>
> However, it's giving ba
Remove the single quotes from form.description. You are treating it as a
string rather a variable
-Original Message-
From: Rick Sanders [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 13, 2007 9:25 AM
To: CF-Talk
Subject: Replace Syntax
Hey list,
I'm trying to replace double quotes
Hey list,
I'm trying to replace double quotes for single quotes in a string using this
syntax:
#Replace('form.description','"',"'","ALL")#">
However, it's giving back form.description in the output and not the actual
text from the textfield named "description".
What am I doing wrong?
It's being served up by the exchange server. The redirect may be in due part
because if you type the address (mail.ourdomain.com) with http to get to OWA it
redirects it to https.
Thanks for the response. Any other ideas?
Brian Case
SR. MLS Technical Support Rep
Tucson Association of REALTORS®
So I made the plunge into Eclipse/CFEclipse and I'm experiencing
something odd. I was editing some CFM pages locally and all was well. I
stepped away for a little while and left the page I was editing opening.
When I came back, I went to make a change and when I refreshed the page
in the browse
The table is more like this, which I might not have expressed clearly earlier.
1,10,John,note1
2,10,Jack,note1
3,10,Jean,note1
4,20,David,note2
5,20,Duncan,note2
6,30,Sean,note3
The text fields (notes in this case) are duplicated for records in a certain
group. This is very kludgy but unfortuna
Erik,
I am not sure this is the best place to look, as I am also just working
through OOP for the first time, but it in the total absence of
frameworks or anything else that would dilute the learning of object
oriented principles.
http://www.bennadel.com/blog/tags/19-Exercise-List-blog-entries.h
Sweet that worked!
-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 13, 2007 12:04 AM
To: CF-Talk
Subject: Re: OT: CFEclipse / SVN problem
Try svn://localhost
On Nov 12, 2007 10:40 PM, ColdFusion <[EMAIL PROTECTED]> wrote:
> Configuration:
>
> I lo
I don't know if the 1-click install sets up services but I am sure it
doesn't install apache. Did you try svn://localhost/?
-Original Message-
From: ColdFusion [mailto:[EMAIL PROTECTED]
Sent: 13 November 2007 03:41
To: CF-Talk
Subject: OT: CFEclipse / SVN problem
Configuration:
I loade
85 matches
Mail list logo