Re: cfqueryparam and LIKE operator error

2008-12-17 Thread Tom Chiverton
On Tuesday 16 Dec 2008, Mike Little wrote:
 WHERE #PreserveSingleQuotes(boolsearch)#

Note that doesn't protect against SQL injection.

-- 
Tom Chiverton
Helping to dramatically reintermediate 24/7 low-risk cross-platform 
applications





This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316853
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: help translating webservice

2008-12-17 Thread JD Yeiter
I did browse to the URL...it does NOTHING.  Doesn't ask for a user/password, 
returns no HTMLjust a blank page.




 
 Or, even easier, just go to the URL of the service within your
 browser, since it doesn't look like there's anything special you have
 to do other than provide a username and password.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more 
information! 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316856
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


re: CF / Javascript question

2008-12-17 Thread CF Developer

Why not place a checkbox on the page (after the textarea) 
indicating: 

[ ] I have read the prescribed text.

If the box is checked, fire off a JS to enable the Continue button, else keep 
it disabled.

Just a thought!



From: Jenny Gavin-Wear 
jenn...@fasttrackonline.co.uk
Sent: Wednesday, December 17, 2008 6:54 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: CF / Javascript question 

Hi all,

In a registration procedure, I need to do a verification that the person
registering has read a large piece of text.

The way I thought about doing is is with a scrolling div area which enables
a continue to next page option when the user has scrolled to the bottom of
the text.

How could I best go about this using CF and/or javascript, please?

Grateful for any ideas ...

Jenny



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316865
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFEclipse Show Line Numbers

2008-12-17 Thread Phillip Molaro
My CFEclipse doesn't have the show line numbers option.  My General- Editor 
panel does, and it's turned on, but in CFEclipse- Editor I do NOT have a line 
numbers option.  I am running version 1.3.2 beta as a plugin into standard 
Eclipse. 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316869
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How do I use A name=bookmarkname in a cfm document

2008-12-17 Thread Barney Boisvert
If you want to load a page at the bookmark (it's really a named
anchor), then you need to append a hash to the URL.  So your link on
the edit page should look like this:

a href=jobs.cfm###jobNumber#BACK/a

And now that I think about it, you don't want the literal hash in the
name.  It was late.  :)  jobs.cfm should have this in it:

a name=#jobnumber#/aa href=edit.cfm?jobNumber=#jobNumber#edit/a

cheers,
barneyb

On Wed, Dec 17, 2008 at 8:28 AM, Terry Troxel te...@it-werks.com wrote:
 Thanks Barney,
 I did exactly that before posting my question as it just doesn't work as
 advertised.
 Tell me if this is the problem.
 I run a query as in
 select * from the jobdatabase
 order by jobnumber

 then I do an output query and run through all the jobs

 each job has a display of various data with the jobnumber having a link to
 an edit page for that jobnumber as in a
 href=editjob.cfm?jobnumber=#jobnumber##jobnumber#/a

 On this edit page there is this url we are speaking about and it
 Points back to the page that has the jobnumber query displayed and it
 refreshes the page as in a href-

 This works fine but they are at the top of the page.

 I am adding a bookmark as in a name = #jobnumber#/a
 Above each jobnumber's link to the edit page for that jobnumber as in
 a name=###jobnumber#a href=jobs.cfm?jobnumber=#jobnumber# BACK /a

 What am I doing wrong? Or what am I missing?

 Help...

 Terry

 -Original Message-
 From: Barney Boisvert [mailto:bboisv...@gmail.com]
 Sent: Tuesday, December 16, 2008 8:44 PM
 To: cf-talk
 Subject: Re: How do I use A name=bookmarkname in a cfm document

 You escape a hash by putting another one in front of it:

 cfoutput##/cfoutput

 will yield a single hash in the generated output:

 #

 So for your specific case, you want this (or something like it):

 a name=###jobnumber#a href=mypage.cfm?jobnumber=#jobnumber#

 This (doubling) is also how you escape quotes inside CF strings, while
 we're on the topic:

 cfset myString = string with quotes inside /

 cheers,
 barneyb

 On Tue, Dec 16, 2008 at 8:40 PM, Terry Troxel te...@it-werks.com wrote:
 I have a page with a query to select all jobnumbers from a table and an
 output query that displays info on each jobnumber.

 I would like to add a bookmark above each #jobnumber# and am unsure how to
 do it as it requires a # sign in the href calling the page as in
 a href=mypage.cfm?jobnumber=#jobnumber#JOB NUMBER/a

 Terry Troxel







 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316875
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: How do I use A name=bookmarkname in a cfm document

2008-12-17 Thread Terry Troxel
Barney,

My hat is off to you.
It works flawlessly.

Thank you very much,
Terry Troxel


-Original Message-
From: Barney Boisvert [mailto:bboisv...@gmail.com] 
Sent: Wednesday, December 17, 2008 8:37 AM
To: cf-talk
Subject: Re: How do I use A name=bookmarkname in a cfm document

If you want to load a page at the bookmark (it's really a named
anchor), then you need to append a hash to the URL.  So your link on
the edit page should look like this:

a href=jobs.cfm###jobNumber#BACK/a

And now that I think about it, you don't want the literal hash in the
name.  It was late.  :)  jobs.cfm should have this in it:

a name=#jobnumber#/aa href=edit.cfm?jobNumber=#jobNumber#edit/a

cheers,
barneyb

On Wed, Dec 17, 2008 at 8:28 AM, Terry Troxel te...@it-werks.com wrote:
 Thanks Barney,
 I did exactly that before posting my question as it just doesn't work as
 advertised.
 Tell me if this is the problem.
 I run a query as in
 select * from the jobdatabase
 order by jobnumber

 then I do an output query and run through all the jobs

 each job has a display of various data with the jobnumber having a link to
 an edit page for that jobnumber as in a
 href=editjob.cfm?jobnumber=#jobnumber##jobnumber#/a

 On this edit page there is this url we are speaking about and it
 Points back to the page that has the jobnumber query displayed and it
 refreshes the page as in a href-

 This works fine but they are at the top of the page.

 I am adding a bookmark as in a name = #jobnumber#/a
 Above each jobnumber's link to the edit page for that jobnumber as in
 a name=###jobnumber#a href=jobs.cfm?jobnumber=#jobnumber# BACK
/a

 What am I doing wrong? Or what am I missing?

 Help...

 Terry

 -Original Message-
 From: Barney Boisvert [mailto:bboisv...@gmail.com]
 Sent: Tuesday, December 16, 2008 8:44 PM
 To: cf-talk
 Subject: Re: How do I use A name=bookmarkname in a cfm document

 You escape a hash by putting another one in front of it:

 cfoutput##/cfoutput

 will yield a single hash in the generated output:

 #

 So for your specific case, you want this (or something like it):

 a name=###jobnumber#a href=mypage.cfm?jobnumber=#jobnumber#

 This (doubling) is also how you escape quotes inside CF strings, while
 we're on the topic:

 cfset myString = string with quotes inside /

 cheers,
 barneyb

 On Tue, Dec 16, 2008 at 8:40 PM, Terry Troxel te...@it-werks.com wrote:
 I have a page with a query to select all jobnumbers from a table and an
 output query that displays info on each jobnumber.

 I would like to add a bookmark above each #jobnumber# and am unsure how
to
 do it as it requires a # sign in the href calling the page as in
 a href=mypage.cfm?jobnumber=#jobnumber#JOB NUMBER/a

 Terry Troxel







 



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316877
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: help translating webservice

2008-12-17 Thread JD Yeiter
blank page when i view source.

View source? 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316858
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFEclipse Show Line Numbers

2008-12-17 Thread Barney Boisvert
Type cfeclipse line numbers into Google.  You'll get this page:
http://trac.cfeclipse.org/cfeclipse/wiki/LineNumbers  Check the known
issues.

On Wed, Dec 17, 2008 at 8:09 AM, Phillip Molaro pmol...@earthlink.net wrote:
 My CFEclipse doesn't have the show line numbers option.  My General- Editor 
 panel does, and it's turned on, but in CFEclipse- Editor I do NOT have a 
 line numbers option.  I am running version 1.3.2 beta as a plugin into 
 standard Eclipse.

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316870
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: help translating webservice

2008-12-17 Thread Adrian Lynch
View source?

 -Original Message-
 From: JD Yeiter [mailto:jdyei...@hotmail.com]
 Sent: 17 December 2008 12:33
 To: cf-talk
 Subject: Re: help translating webservice
 
 I did browse to the URL...it does NOTHING.  Doesn't ask for a
 user/password, returns no HTMLjust a blank page.
 
 
  Or, even easier, just go to the URL of the service within your
  browser, since it doesn't look like there's anything special you have
  to do other than provide a username and password.
 
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
 
  Fig Leaf Software provides the highest caliber vendor-authorized
  instruction at our training centers in Washington DC, Atlanta,
  Chicago, Baltimore, Northern Virginia, or on-site at your location.
  Visit http://training.figleaf.com/ for more
 information!


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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316857
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Browsing files and directories on the server?

2008-12-17 Thread Wil Genovese
I suppose I could, but that would require me to read the cfdocs and
experiment. Which at this point is really what you should be doing since it
will benefit you far more than me.

Wil Genovese


On Wed, Dec 17, 2008 at 9:49 AM, Ravi Gehlot r...@ravigehlot.net wrote:

 Wil,

That's great. However, can you make the cftree show all subdirectories?

 Ravi.



 Wil Genovese wrote:
  If you dig into the cfform world there is cftree and cftreeitem.  This
 can
  be built and is used in the Coldfusion Adminitrator
 
  cfdirectory action=list directory=/var/www/dev/wil/src
 name=webroot
  sort=asc recurse=true
  cfform action=
 
  cftree name=myfiles lookandfeel=metal format=flash width=300
  cftreeitem value=name query=webroot queryAsRoot=yes
  img=folder,document
  /cftree
  /cfform
 
  Wil Genovese
  Sr. Web Application Developer
 
 
  On Wed, Dec 17, 2008 at 8:51 AM, Ravi Gehlot r...@ravigehlot.net
 wrote:
 
 
  Hello Pete,
 
 You will be better off with using a Java management applet of some
  kind. If you do a search on Google, you may find some free applets. You
  can also achieve it with cfdirectory and AJAX but it will be time
  consuming since you gotta make it work cross platform and watch out for
  security issues. The Java applets run on the Java runtime engine and are
  cross platform compatible with a fair amount of security.
 
  Good Luck,
  Ravi.
 
 
 
  Mike Chabot wrote:
 
  This would be a relatively common feature that many developers have
  implemented. I would guess that the manual or the Ben Forta book has
  sample code in the cfdirectory chapter. There is a file explorer in
  cfadmin on the screen where you apply CF updates, although it uses a
  Java applet. Plenty of Ajax solutions are on the Web. Often HTML text
  area editor controls (like FCKeditor) have file explorers with them to
  allow for inserting images into the HTML, but these would likely be
  overkill to what you are asking for.
 
  -Mike Chabot
 
  On Tue, Dec 16, 2008 at 9:44 PM, Pete Ruckelshaus
  pruckelsh...@gmail.com wrote:
 
 
  I need to create an interface that will allow a user to browse
  directories and files in a specific path on the server, preferably
  with an Explorer-style interface.  Anyone here done such a thing?
 
  Thanks,
 
  Pete
 
 
 
 
 
 

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316876
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: How do I use A name=bookmarkname in a cfm document

2008-12-17 Thread Terry Troxel
Thanks Barney,
I did exactly that before posting my question as it just doesn't work as
advertised.
Tell me if this is the problem.
I run a query as in 
select * from the jobdatabase
order by jobnumber

then I do an output query and run through all the jobs

each job has a display of various data with the jobnumber having a link to
an edit page for that jobnumber as in a
href=editjob.cfm?jobnumber=#jobnumber##jobnumber#/a

On this edit page there is this url we are speaking about and it
Points back to the page that has the jobnumber query displayed and it
refreshes the page as in a href-

This works fine but they are at the top of the page.

I am adding a bookmark as in a name = #jobnumber#/a
Above each jobnumber's link to the edit page for that jobnumber as in
a name=###jobnumber#a href=jobs.cfm?jobnumber=#jobnumber# BACK /a

What am I doing wrong? Or what am I missing?

Help...

Terry

-Original Message-
From: Barney Boisvert [mailto:bboisv...@gmail.com] 
Sent: Tuesday, December 16, 2008 8:44 PM
To: cf-talk
Subject: Re: How do I use A name=bookmarkname in a cfm document

You escape a hash by putting another one in front of it:

cfoutput##/cfoutput

will yield a single hash in the generated output:

#

So for your specific case, you want this (or something like it):

a name=###jobnumber#a href=mypage.cfm?jobnumber=#jobnumber#

This (doubling) is also how you escape quotes inside CF strings, while
we're on the topic:

cfset myString = string with quotes inside /

cheers,
barneyb

On Tue, Dec 16, 2008 at 8:40 PM, Terry Troxel te...@it-werks.com wrote:
 I have a page with a query to select all jobnumbers from a table and an
 output query that displays info on each jobnumber.

 I would like to add a bookmark above each #jobnumber# and am unsure how to
 do it as it requires a # sign in the href calling the page as in
 a href=mypage.cfm?jobnumber=#jobnumber#JOB NUMBER/a

 Terry Troxel



 



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316874
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Browsing files and directories on the server?

2008-12-17 Thread Ravi Gehlot
Wil,

That's great. However, can you make the cftree show all subdirectories?

Ravi.



Wil Genovese wrote:
 If you dig into the cfform world there is cftree and cftreeitem.  This can
 be built and is used in the Coldfusion Adminitrator

 cfdirectory action=list directory=/var/www/dev/wil/src name=webroot
 sort=asc recurse=true
 cfform action=

 cftree name=myfiles lookandfeel=metal format=flash width=300
 cftreeitem value=name query=webroot queryAsRoot=yes
 img=folder,document
 /cftree
 /cfform

 Wil Genovese
 Sr. Web Application Developer


 On Wed, Dec 17, 2008 at 8:51 AM, Ravi Gehlot r...@ravigehlot.net wrote:

   
 Hello Pete,

You will be better off with using a Java management applet of some
 kind. If you do a search on Google, you may find some free applets. You
 can also achieve it with cfdirectory and AJAX but it will be time
 consuming since you gotta make it work cross platform and watch out for
 security issues. The Java applets run on the Java runtime engine and are
 cross platform compatible with a fair amount of security.

 Good Luck,
 Ravi.



 Mike Chabot wrote:
 
 This would be a relatively common feature that many developers have
 implemented. I would guess that the manual or the Ben Forta book has
 sample code in the cfdirectory chapter. There is a file explorer in
 cfadmin on the screen where you apply CF updates, although it uses a
 Java applet. Plenty of Ajax solutions are on the Web. Often HTML text
 area editor controls (like FCKeditor) have file explorers with them to
 allow for inserting images into the HTML, but these would likely be
 overkill to what you are asking for.

 -Mike Chabot

 On Tue, Dec 16, 2008 at 9:44 PM, Pete Ruckelshaus
 pruckelsh...@gmail.com wrote:

   
 I need to create an interface that will allow a user to browse
 directories and files in a specific path on the server, preferably
 with an Explorer-style interface.  Anyone here done such a thing?

 Thanks,

 Pete

 
   
 

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316868
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFEclipse Show Line Numbers

2008-12-17 Thread Ravi Gehlot
Hello Phillip,

1) Locate the workspace directory for your projects
2) On your workspace directory, there is a subdirectory called .metadata
3) Go to 
*.metadata\.plugins\org.eclipse.core.runtime\.settings\org.cfeclipse.cfml.prefs
*4) If org.cfeclipse.cfml.prefs is not present, go ahead and create it
5) insert lineNumberRuler = true

I found that the plugin XML Buddy tends to mess up CFEclipse. I 
think that the two don't really go together.

Ravi.
*
*
Phillip Molaro wrote:
 My CFEclipse doesn't have the show line numbers option.  My General- Editor 
 panel does, and it's turned on, but in CFEclipse- Editor I do NOT have a 
 line numbers option.  I am running version 1.3.2 beta as a plugin into 
 standard Eclipse. 

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316872
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF / Javascript question

2008-12-17 Thread Jenny Gavin-Wear
Hi all,

In a registration procedure, I need to do a verification that the person
registering has read a large piece of text.

The way I thought about doing is is with a scrolling div area which enables
a continue to next page option when the user has scrolled to the bottom of
the text.

How could I best go about this using CF and/or javascript, please?

Grateful for any ideas ...

Jenny




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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316863
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfqueryparam and LIKE operator error

2008-12-17 Thread JediHomer
Try wrapping the QueryParams...

i.e.

Change (P.product_code LIKE cfqueryparam cfsqltype=cf_sql_varchar
value=%tents%)

to (P.product_code LIKE (cfqueryparam cfsqltype=cf_sql_varchar
value=%tents%))

HTH

2008/12/16 Mike Little m...@nzsolutions.co.nz:
 hi guys,

 getting an error using the following syntax...

 WHERE ((P.product_code LIKE cfqueryparam cfsqltype=cf_sql_varchar 
 value=%tents%) OR (PD.product_title LIKE cfqueryparam 
 cfsqltype=cf_sql_varchar value=%tents%) OR (PD.product_description LIKE 
 cfqueryparam cfsqltype=cf_sql_varchar value=%tents%))

 the error i get is...

 You have an error in your SQL syntax; check the manual that corresponds to 
 your MySQL server version for the right syntax to use near ') OR 
 (PD.product_title ' at line 9

 this was working fine till i added the cfqueryparams.

 mike

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316854
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Browsing files and directories on the server?

2008-12-17 Thread Wil Genovese
If you dig into the cfform world there is cftree and cftreeitem.  This can
be built and is used in the Coldfusion Adminitrator

cfdirectory action=list directory=/var/www/dev/wil/src name=webroot
sort=asc recurse=true
cfform action=

cftree name=myfiles lookandfeel=metal format=flash width=300
cftreeitem value=name query=webroot queryAsRoot=yes
img=folder,document
/cftree
/cfform

Wil Genovese
Sr. Web Application Developer


On Wed, Dec 17, 2008 at 8:51 AM, Ravi Gehlot r...@ravigehlot.net wrote:

 Hello Pete,

You will be better off with using a Java management applet of some
 kind. If you do a search on Google, you may find some free applets. You
 can also achieve it with cfdirectory and AJAX but it will be time
 consuming since you gotta make it work cross platform and watch out for
 security issues. The Java applets run on the Java runtime engine and are
 cross platform compatible with a fair amount of security.

 Good Luck,
 Ravi.



 Mike Chabot wrote:
  This would be a relatively common feature that many developers have
  implemented. I would guess that the manual or the Ben Forta book has
  sample code in the cfdirectory chapter. There is a file explorer in
  cfadmin on the screen where you apply CF updates, although it uses a
  Java applet. Plenty of Ajax solutions are on the Web. Often HTML text
  area editor controls (like FCKeditor) have file explorers with them to
  allow for inserting images into the HTML, but these would likely be
  overkill to what you are asking for.
 
  -Mike Chabot
 
  On Tue, Dec 16, 2008 at 9:44 PM, Pete Ruckelshaus
  pruckelsh...@gmail.com wrote:
 
  I need to create an interface that will allow a user to browse
  directories and files in a specific path on the server, preferably
  with an Explorer-style interface.  Anyone here done such a thing?
 
  Thanks,
 
  Pete
 
 
 

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316867
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: help translating webservice

2008-12-17 Thread Dave Watts
 I did browse to the URL...it does NOTHING.  Doesn't ask for a user/password, 
 returns no
 HTMLjust a blank page.

Then, maybe the problem is with the URL and not your code. Although it
is possible that the server expects a specific user agent, or
something like that.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316864
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Browsing files and directories on the server?

2008-12-17 Thread Ravi Gehlot
Hello Pete,

You will be better off with using a Java management applet of some 
kind. If you do a search on Google, you may find some free applets. You 
can also achieve it with cfdirectory and AJAX but it will be time 
consuming since you gotta make it work cross platform and watch out for 
security issues. The Java applets run on the Java runtime engine and are 
cross platform compatible with a fair amount of security.

Good Luck,
Ravi.



Mike Chabot wrote:
 This would be a relatively common feature that many developers have
 implemented. I would guess that the manual or the Ben Forta book has
 sample code in the cfdirectory chapter. There is a file explorer in
 cfadmin on the screen where you apply CF updates, although it uses a
 Java applet. Plenty of Ajax solutions are on the Web. Often HTML text
 area editor controls (like FCKeditor) have file explorers with them to
 allow for inserting images into the HTML, but these would likely be
 overkill to what you are asking for.

 -Mike Chabot

 On Tue, Dec 16, 2008 at 9:44 PM, Pete Ruckelshaus
 pruckelsh...@gmail.com wrote:
   
 I need to create an interface that will allow a user to browse
 directories and files in a specific path on the server, preferably
 with an Explorer-style interface.  Anyone here done such a thing?

 Thanks,

 Pete
 

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316862
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfqueryparam and LIKE operator error

2008-12-17 Thread CF Developer

It is as Dave suggested, you can not use CFQUERYPARAM as part 
of the actual SQL query.
You are writting the WHERE clause as a variable, remove the queryparam from 
that since you are declaring the variable.



From: JediHomer jediho...@gmail.com
Sent: Wednesday, December 17, 2008 3:17 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: cfqueryparam and LIKE operator error 

Try wrapping the QueryParams...

i.e.

Change (P.product_code LIKE value=%tents%)

to (P.product_code LIKE (value=%tents%))

HTH

2008/12/16 Mike Little :
 hi guys,

 getting an error using the following syntax...

 WHERE ((P.product_code LIKE ) OR (PD.product_title LIKE ) OR 
 (PD.product_description LIKE ))

 the error i get is...

 You have an error in your SQL syntax; check the manual that corresponds to 
 your MySQL server version for the right syntax to use near ') OR 
 (PD.product_title ' at line 9

 this was working fine till i added the cfqueryparams.

 mike

 



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316855
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Browsing files and directories on the server?

2008-12-17 Thread Ravi Gehlot
Hello Wil,

This was a question originally asked by someone else but I took 
interest in it. I will try to come up with the solution to show 
subdirectories. But thanks for mentioning cftree.

Ravi Gehlot.






Wil Genovese wrote:
 I suppose I could, but that would require me to read the cfdocs and
 experiment. Which at this point is really what you should be doing since it
 will benefit you far more than me.

 Wil Genovese


 On Wed, Dec 17, 2008 at 9:49 AM, Ravi Gehlot r...@ravigehlot.net wrote:

   
 Wil,

That's great. However, can you make the cftree show all subdirectories?

 Ravi.



 Wil Genovese wrote:
 
 If you dig into the cfform world there is cftree and cftreeitem.  This
   
 can
 
 be built and is used in the Coldfusion Adminitrator

 cfdirectory action=list directory=/var/www/dev/wil/src
   
 name=webroot
 
 sort=asc recurse=true
 cfform action=

 cftree name=myfiles lookandfeel=metal format=flash width=300
 cftreeitem value=name query=webroot queryAsRoot=yes
 img=folder,document
 /cftree
 /cfform

 Wil Genovese
 Sr. Web Application Developer


 On Wed, Dec 17, 2008 at 8:51 AM, Ravi Gehlot r...@ravigehlot.net
   
 wrote:
 
   
 Hello Pete,

You will be better off with using a Java management applet of some
 kind. If you do a search on Google, you may find some free applets. You
 can also achieve it with cfdirectory and AJAX but it will be time
 consuming since you gotta make it work cross platform and watch out for
 security issues. The Java applets run on the Java runtime engine and are
 cross platform compatible with a fair amount of security.

 Good Luck,
 Ravi.



 Mike Chabot wrote:

 
 This would be a relatively common feature that many developers have
 implemented. I would guess that the manual or the Ben Forta book has
 sample code in the cfdirectory chapter. There is a file explorer in
 cfadmin on the screen where you apply CF updates, although it uses a
 Java applet. Plenty of Ajax solutions are on the Web. Often HTML text
 area editor controls (like FCKeditor) have file explorers with them to
 allow for inserting images into the HTML, but these would likely be
 overkill to what you are asking for.

 -Mike Chabot

 On Tue, Dec 16, 2008 at 9:44 PM, Pete Ruckelshaus
 pruckelsh...@gmail.com wrote:


   
 I need to create an interface that will allow a user to browse
 directories and files in a specific path on the server, preferably
 with an Explorer-style interface.  Anyone here done such a thing?

 Thanks,

 Pete


 
   
 

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316878
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFEclipse Show Line Numbers

2008-12-17 Thread Francois Levesque
Hi Phillip,
You have to edit a settings file. In your workspace folder, open
..metadata/.plugins/org.eclipse.core.runtime/.settings/org.cfeclipse.cfml.prefs
and add this line at the end:

lineNumberRuler=true

Restart Eclipse and you should be on track.

More details here:
http://blog.critical-web.com/blog/index.cfm/2008/8/3/Enabling-Line-Numbers-In-CFEclipse-1316-On-Eclipse-Ganymede-34(shameless
plug)

Francois Levesque
http://blog.critical-web.com/


On Wed, Dec 17, 2008 at 11:09 AM, Phillip Molaro pmol...@earthlink.netwrote:

 My CFEclipse doesn't have the show line numbers option.  My General-
 Editor panel does, and it's turned on, but in CFEclipse- Editor I do NOT
 have a line numbers option.  I am running version 1.3.2 beta as a plugin
 into standard Eclipse.

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316871
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ColdFusion 32bit or 64bit, that is the question.

2008-12-17 Thread Sagar Gupta
ColdFusion's 64-bit edition definitely offers more performance as compared
to 32-bit in various scenarios, especially when incorporated with 64-bit
system architecture and larger RAM size. 

It's fast and as stable as 32-bit. I have installed it on Windows 2008
64-bit (web server edition) and it runs perfect and quite faster.

I'd suggest you to go through the following article by Manjukiran:  

Taking advantage of 64-bit support ColdFusion 8
http://www.adobe.com/devnet/coldfusion/articles/64_bit_print.html  

Cheers,
Sagar Gupta
Adobe Certified ColdFusion MX 7 Advanced Developer
L: www.linkedin.com/in/guptasagar 
M: sagar_gu...@msn.com 
B: www.codecurry.com 

-Original Message-
From: Ian Skinner [mailto:h...@ilsweb.com] 
Sent: Wednesday, December 17, 2008 4:30 AM
To: cf-talk
Subject: ColdFusion 32bit or 64bit, that is the question.

If you where installing a brand new ColdFusion application 8.0.1 server 
on a recently acquired Solaris 5.10 64bit Unix box would you choose to 
install ColdFusion as 64bit or 32bit?

Is there any downsides to going 64bit?  Any considerations that somebody 
who has never *ever* installed ColdFusion as 64bit should be careful 
with?  Any good discussions of what one should do, when considering this 
option?





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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316861
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF / Javascript question

2008-12-17 Thread Ravi Gehlot
Jenny,

Great question. It is not really easy to accomplish what you have in 
mind. I understand that you want the user to scroll down in order to 
show a button for continue. Dzone.com has a great example of how you can 
scroll down using javascript. If you can get the position where it 
stops, perhaps you can pass that as an argument to enable your button. I 
am not sure how to do it though. This is just my thought. Check this 
article for more information: 
http://www.jaisenmathai.com/blog/2008/02/18/eliminate-paging-results-by-using-javascript-ala-dzone/

Just my $0.02 cents,
Ravi.




Jenny Gavin-Wear wrote:
 Hi all,

 In a registration procedure, I need to do a verification that the person
 registering has read a large piece of text.

 The way I thought about doing is is with a scrolling div area which enables
 a continue to next page option when the user has scrolled to the bottom of
 the text.

 How could I best go about this using CF and/or javascript, please?

 Grateful for any ideas ...

 Jenny




 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316866
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: IT IS TOTALLY possible to skip js with cfif

2008-12-17 Thread Robert Harrison
It is 100% possible to skip java script code using CF conditioning. I use CF
conditioning in JS code all the time. I change variable names, feed variable
values to JS, turn functions on and off, etc. 

To do this you have to run the JS code in-line so it's parsed through the CF
interpreter. You can either put the complete JS code in the head or body of
your page or put it in a CFINCLUDE that calls into the page for in-line
execution. You cannot do it if you have the script in a .js file.


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't be either/or... It must be .




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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316860
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Browsing files and directories on the server?

2008-12-17 Thread Nathan Strutz
Hey, I made a program a few years ago that does this. Mostly IE only :(

http://www.dopefly.com/projects/filesurfer.cfm

nathan strutz
[Blog and Family @ http://www.dopefly.com/]
[AZCFUG Manager @ http://www.azcfug.org/]



On Tue, Dec 16, 2008 at 7:44 PM, Pete Ruckelshaus pruckelsh...@gmail.comwrote:

 I need to create an interface that will allow a user to browse
 directories and files in a specific path on the server, preferably
 with an Explorer-style interface.  Anyone here done such a thing?

 Thanks,

 Pete

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316873
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Browsing files and directories on the server?

2008-12-17 Thread Mike Chabot
This would be a relatively common feature that many developers have
implemented. I would guess that the manual or the Ben Forta book has
sample code in the cfdirectory chapter. There is a file explorer in
cfadmin on the screen where you apply CF updates, although it uses a
Java applet. Plenty of Ajax solutions are on the Web. Often HTML text
area editor controls (like FCKeditor) have file explorers with them to
allow for inserting images into the HTML, but these would likely be
overkill to what you are asking for.

-Mike Chabot

On Tue, Dec 16, 2008 at 9:44 PM, Pete Ruckelshaus
pruckelsh...@gmail.com wrote:
 I need to create an interface that will allow a user to browse
 directories and files in a specific path on the server, preferably
 with an Explorer-style interface.  Anyone here done such a thing?

 Thanks,

 Pete

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316859
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: IT IS TOTALLY possible to skip js with cfif

2008-12-17 Thread s. isaac dealey
 It is 100% possible to skip java script code using CF conditioning. I
 use CF conditioning in JS code all the time. I change variable names,
 feed variable values to JS, turn functions on and off, etc. 
 
 To do this you have to run the JS code in-line so it's parsed through
 the CF interpreter. You can either put the complete JS code in the
 head or body of your page or put it in a CFINCLUDE that calls into the
 page for in-line execution. You cannot do it if you have the script in
 a .js file.

Not with a default install... You can do that however if you customize
your webserver settings so that .js files are parsed by CF. For a long
time I'd considered creating my own site using .ike files. I never have
though. ;) 

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316879
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: IT IS TOTALLY possible to skip js with cfif

2008-12-17 Thread Ian Skinner
s. isaac dealey wrote:
 Not with a default install... You can do that however if you customize
 your webserver settings so that .js files are parsed by CF. For a long
 time I'd considered creating my own site using .ike files. I never have
 though. ;) 

You are also not required to name your linked JavaScript files with the 
'.js' extension.  There is nothing preventing one from doing something 
like. script src=myJavaScript.cfm/script.  And then put your CFML 
built JavaScript code in the myJavaScript.cfm file.  This will most 
likely confuse the heck out of ones IDE editors so that they can not 
properly color code or provide relevant hints and auto-completes for 
ones JavaScript code.  You will also probably want to add some relevant 
headers so that the browser properly caches the downloaded file as 
desired according to ones goals.



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316880
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Element SESSIONTIMEOUT is undefined in APPLICATION.

2008-12-17 Thread Richard White
Hi

we had a working version of coldfusion application on one site, and another 
working version of coldfusion on a sub domain of that site. We swapped these 
version over and now one of the applications is producing the error: Element 
SESSIONTIMEOUT is undefined in APPLICATION. 

does anyone know what the cause of this may be?

thanks

richard 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316881
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


cfgrid with and auto size cfgridcolumn

2008-12-17 Thread Tom Jones
Hello,
I have found if I specify the width of a cfgrid of html type, the  
columns do not auto size to fit the width. Without having to specify  
the column widths what can I do?


Thanks,
tom

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316882
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: IT IS TOTALLY possible to skip js with cfif

2008-12-17 Thread Rick Faircloth
Thanks for the info, guys!

Rick

 -Original Message-
 From: Ian Skinner [mailto:h...@ilsweb.com]
 Sent: Wednesday, December 17, 2008 5:27 PM
 To: cf-talk
 Subject: Re: IT IS TOTALLY possible to skip js with cfif
 
 s. isaac dealey wrote:
  Not with a default install... You can do that however if you customize
  your webserver settings so that .js files are parsed by CF. For a long
  time I'd considered creating my own site using .ike files. I never have
  though. ;)
 
 You are also not required to name your linked JavaScript files with the
 '.js' extension.  There is nothing preventing one from doing something
 like. script src=myJavaScript.cfm/script.  And then put your CFML
 built JavaScript code in the myJavaScript.cfm file.  This will most
 likely confuse the heck out of ones IDE editors so that they can not
 properly color code or provide relevant hints and auto-completes for
 ones JavaScript code.  You will also probably want to add some relevant
 headers so that the browser properly caches the downloaded file as
 desired according to ones goals.
 



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316883
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgrid with and auto size cfgridcolumn

2008-12-17 Thread Andrew Scott
If it follows the extJS guidelines, there are some serious known issues with
grids. This will flow into Coldfusion as it still only uses extJS 1.1 and
extJS is now 2.2+, I would suggest looking into the forums as it is not an
easy solution to conquer across all browsers without using the latest extJS.

It might sound silly, but until extJS is updated within Coldfusion. It might
be a better exercise to look into Cold Ext, which I think is on RIAForge
from memory. You'll find you'll not only be able to do a lot more, but all
the liitle annoyances such as this are almost 100% fixed.



On Thu, Dec 18, 2008 at 10:43 AM, Tom Jones tjo...@acworld.com wrote:

 Hello,
 I have found if I specify the width of a cfgrid of html type, the
 columns do not auto size to fit the width. Without having to specify
 the column widths what can I do?


 Thanks,
 tom

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316884
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How do I use A name=bookmarkname in a cfm document

2008-12-17 Thread Azadi Saryev
to simplify your code a bit more, you do not even need a named anchor -
just add an ID attribute to your link tag and it will work just the
same. so all you need is:
a href=edit.cfm?jobNumber=#jobNumber# id=#jobnumber#edit/a

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Terry Troxel wrote:
 Barney,

 My hat is off to you.
 It works flawlessly.

 Thank you very much,
 Terry Troxel

   


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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316885
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Browsing files and directories on the server?

2008-12-17 Thread Pete Ruckelshaus
As usual, Ben is a year and a half ahead of me:

http://www.forta.com/blog/index.cfm/2007/6/5/ColdFusion-Ajax-Tutorial-5-File-System-Browsing-With-The-Tree-Control

I just need to modify it to allow me to pass in the root of my choice,
rather than showing all the drives on the filesystem.

Pete

On Wed, Dec 17, 2008 at 12:27 PM, Ravi Gehlot r...@ravigehlot.net wrote:
 Hello Wil,

This was a question originally asked by someone else but I took
 interest in it. I will try to come up with the solution to show
 subdirectories. But thanks for mentioning cftree.

 Ravi Gehlot.






 Wil Genovese wrote:
 I suppose I could, but that would require me to read the cfdocs and
 experiment. Which at this point is really what you should be doing since it
 will benefit you far more than me.

 Wil Genovese


 On Wed, Dec 17, 2008 at 9:49 AM, Ravi Gehlot r...@ravigehlot.net wrote:


 Wil,

That's great. However, can you make the cftree show all subdirectories?

 Ravi.



 Wil Genovese wrote:

 If you dig into the cfform world there is cftree and cftreeitem.  This

 can

 be built and is used in the Coldfusion Adminitrator

 cfdirectory action=list directory=/var/www/dev/wil/src

 name=webroot

 sort=asc recurse=true
 cfform action=

 cftree name=myfiles lookandfeel=metal format=flash width=300
 cftreeitem value=name query=webroot queryAsRoot=yes
 img=folder,document
 /cftree
 /cfform

 Wil Genovese
 Sr. Web Application Developer


 On Wed, Dec 17, 2008 at 8:51 AM, Ravi Gehlot r...@ravigehlot.net

 wrote:


 Hello Pete,

You will be better off with using a Java management applet of some
 kind. If you do a search on Google, you may find some free applets. You
 can also achieve it with cfdirectory and AJAX but it will be time
 consuming since you gotta make it work cross platform and watch out for
 security issues. The Java applets run on the Java runtime engine and are
 cross platform compatible with a fair amount of security.

 Good Luck,
 Ravi.



 Mike Chabot wrote:


 This would be a relatively common feature that many developers have
 implemented. I would guess that the manual or the Ben Forta book has
 sample code in the cfdirectory chapter. There is a file explorer in
 cfadmin on the screen where you apply CF updates, although it uses a
 Java applet. Plenty of Ajax solutions are on the Web. Often HTML text
 area editor controls (like FCKeditor) have file explorers with them to
 allow for inserting images into the HTML, but these would likely be
 overkill to what you are asking for.

 -Mike Chabot

 On Tue, Dec 16, 2008 at 9:44 PM, Pete Ruckelshaus
 pruckelsh...@gmail.com wrote:



 I need to create an interface that will allow a user to browse
 directories and files in a specific path on the server, preferably
 with an Explorer-style interface.  Anyone here done such a thing?

 Thanks,

 Pete








 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316886
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 + SVNkit

2008-12-17 Thread ronnie otts
 Has anyone used the SVNkit (http://svnkit.com/) and can advise me how 
 to interface ColdFusion (to obtain log messages from Subversion)? 


do you still need an answer on this, if so I have some code that may get you 
going.


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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316887
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4