CF9 - CFC doesnt throw any error messages?

2010-04-08 Thread Mike Kear

Is this what's supposed to happen?

In every previous version, when there was a syntax or other error in
my code in a CFC,  I'd get an error message that would point me to the
line containing the problem.  Now, with CF9 Enterprise,  I get a
result from my CFCs or I get nothing.If there's an error in my
code, I have to carefully debug line by line, hoping the line I am
changing is the one that will fix the problem. It's extremely time
consuming and nowhere near as efficient as syntax error on line xxx

Is that what's supposed to happen with CF9? or have I missed something?

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332753
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Joni Mitchell and Cold Fusion

2010-04-08 Thread Gert Franz

If you like, I would like to help. Performance is one of our main objectives. 
Just contact me off list if you like me to help...



Greetings from Switzerland
Gert Franz

Railo Technologies  Professional Open Source
skype: gert.franz   g...@getrailo.com
+41 76 5680 231 www.getrailo.com

Help me, I think I'm falling... here's an odd request for a certain
individual.  Joni's official site is hosted on a GoDaddy server (don't
ask) running CF8.  They keep shutting it down for overloading the
server - asking me to streamline the code to avoid continued
violations.  I'm sure my code sucks, but it's been on other servers
without issue from those hosts.

Would anyone out there, perhaps a Joni fan, volunteer to take a look
at some code, shake their head in disgust at the awfulness of it, and
help me rewrite inefficient sections?  This feels a bit like walking
naked through a crowd, but hey

In return, I'll put a link to whatever site you want in the footer of
every page, and of course you'll have the satisfaction of helping out
all the Joni fans across the globe.  The site gets about 2500 unique
visitors a day.

http://jonimitchell.com

Thanks in advance,
Les



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332754
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: annoying table issue...

2010-04-08 Thread ColdFusion Developer

Based on the code snippets you provided, it will add the 1 pixel TD.

Do you have conditional logic around the last TD?

Can you paste the complete code snippet so it can be reviewed?
My initial thought is the conditional logic is not set up right.



On Wed, Apr 7, 2010 at 5:13 PM, Eric Roberts w...@witchnet.org wrote:


 I am having a browser rendering issue.  I have a dynamic table.  It is
 displaying radio buttons for a job assessment.  The assessment can have up
 to 10 responses, so the number of radio buttons is dynamic.  I have it set
 with 5 columns (a second row will show up if there are 6 or more
 responses).
 If there are less than 5 (from 6-9 responses) it puts radio buttons in the
 appropriate cells and then I use a spacer gif for the empty cells, so,
 for
 instance, if there are 2 responses, you have:  button button blank blank
 blank.  The cells have borders (using images rather than the table border).
 Here's the code (it repeats the response cells if there are more than 5
 obviously.)



 td align=center valign=middle #cell_width# #cellstyle#

 cfif get_answers.recordcount gte 1

 A href=## id=answer_detail_popup


 onMouseOver=document.getElementById('answer_detail_popup').style.cursor='de
 fault';stm(Text[1],Style[1])

 onMouseOut=htm()

 tabindex=-1

  cfinput type=radio

 name=assess_answer#GetAssess.CurrentRow#

 id=assess_answer#GetAssess.CurrentRow#

 checked=no

 value=#get_answers.answer_id[1]#

 required=no

 passThrough=title='#get_answers.answer_label[1]#'

 /a

  cfelse

img src=img/pixel.gif #cell_width# height=30 border=0

  /cfif

 /td

 td width=1 class=formborderimg src=img/pixel.gif width=1
 height=30 border=0/td





 The href is for an ajax call for a dynamic mouseover  label.  This snippet
 is repeated 5 times to generate the 5 cells across.cell width =
 'width=20%'





 This looks great in IE, but in FF, it adds a pixel to the last cell with a
 radio button to any rows that do not have 5 buttons.  Rows that are either
 blank or have 5 buttons render as expected.  I have tried adjusting the
 width of the spacer gif differently than the td width, but that didn't
 help.
 I have been banging my head over this all day.  Help!!!



 Any ideas?



 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332755
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF9 - CFC doesnt throw any error messages?

2010-04-08 Thread Scott Brady

I've seen plenty of errors from CFCs (sadly :) ), so there must be something up.

Two things:
1) I assume you've made sure there aren't any try/catch blocks around
the calling code, right?
2) Maybe post some code?

Scott


On Thu, Apr 8, 2010 at 1:16 AM, Mike Kear afpwebwo...@gmail.com wrote:

 Is this what's supposed to happen?

 In every previous version, when there was a syntax or other error in
 my code in a CFC,  I'd get an error message that would point me to the
 line containing the problem.  Now, with CF9 Enterprise,  I get a
 result from my CFCs or I get nothing.    If there's an error in my
 code, I have to carefully debug line by line, hoping the line I am
 changing is the one that will fix the problem. It's extremely time
 consuming and nowhere near as efficient as syntax error on line xxx

 Is that what's supposed to happen with CF9? or have I missed something?


-- 
-
Scott Brady
http://www.scottbrady

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332756
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: annoying table issue...

2010-04-08 Thread Shaun Webster

This might not be related at all but I know DreamWeaver likes to correct 
problems it sees with tag nesting etc. even if you disable the help in the 
settings.

For example if you used something like the following to start a new row after 
every 3 records DreamWeaver might add opening/closing tags or shuffle around 
the order of the tags to try to fix it.

cfif rowcount MOD 3 EQ 0
/trtr
/cfif

--
Shaun Webster

On Apr 8, 2010, at 6:41 AM, ColdFusion Developer wrote:

 
 Based on the code snippets you provided, it will add the 1 pixel TD.
 
 Do you have conditional logic around the last TD?
 
 Can you paste the complete code snippet so it can be reviewed?
 My initial thought is the conditional logic is not set up right.
 
 
 
 On Wed, Apr 7, 2010 at 5:13 PM, Eric Roberts w...@witchnet.org wrote:
 
 
 I am having a browser rendering issue.  I have a dynamic table.  It is
 displaying radio buttons for a job assessment.  The assessment can have up
 to 10 responses, so the number of radio buttons is dynamic.  I have it set
 with 5 columns (a second row will show up if there are 6 or more
 responses).
 If there are less than 5 (from 6-9 responses) it puts radio buttons in the
 appropriate cells and then I use a spacer gif for the empty cells, so,
 for
 instance, if there are 2 responses, you have:  button button blank blank
 blank.  The cells have borders (using images rather than the table border).
 Here's the code (it repeats the response cells if there are more than 5
 obviously.)
 
 
 
 td align=center valign=middle #cell_width# #cellstyle#
 
 cfif get_answers.recordcount gte 1
 
 A href=## id=answer_detail_popup
 
 
 onMouseOver=document.getElementById('answer_detail_popup').style.cursor='de
 fault';stm(Text[1],Style[1])
 
 onMouseOut=htm()
 
 tabindex=-1
 
 cfinput type=radio
 
 name=assess_answer#GetAssess.CurrentRow#
 
 id=assess_answer#GetAssess.CurrentRow#
 
 checked=no
 
 value=#get_answers.answer_id[1]#
 
 required=no
 
 passThrough=title='#get_answers.answer_label[1]#'
 
 /a
 
 cfelse
 
   img src=img/pixel.gif #cell_width# height=30 border=0
 
 /cfif
 
 /td
 
 td width=1 class=formborderimg src=img/pixel.gif width=1
 height=30 border=0/td
 
 
 
 
 
 The href is for an ajax call for a dynamic mouseover  label.  This snippet
 is repeated 5 times to generate the 5 cells across.cell width =
 'width=20%'
 
 
 
 
 
 This looks great in IE, but in FF, it adds a pixel to the last cell with a
 radio button to any rows that do not have 5 buttons.  Rows that are either
 blank or have 5 buttons render as expected.  I have tried adjusting the
 width of the spacer gif differently than the td width, but that didn't
 help.
 I have been banging my head over this all day.  Help!!!
 
 
 
 Any ideas?
 
 
 
 
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332757
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Joni Mitchell and Cold Fusion

2010-04-08 Thread Cutter (ColdFusion)

Amazon S3 for the storage, and Amazon CloudFront for CDN delivery. 
That's the ticket...

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



b...@bradwood.com wrote:
 The site seems pretty snappy to me.  I'd bet you are taking too much
 bandwidth with the media downloads.  If that truly is the problem, see
 if you can pay more for additional bandwidth, or most all the large
 media to an Amazon S3 bucket.  They charge peanuts.

 ~Brad


  Original Message 
 Subject: Joni Mitchell and Cold Fusion
 From: Les Irvin les.cft...@gmail.com
 Date: Wed, April 07, 2010 3:22 pm
 To: cf-talk cf-talk@houseoffusion.com


 Help me, I think I'm falling... here's an odd request for a certain
 individual. Joni's official site is hosted on a GoDaddy server (don't
 ask) running CF8. They keep shutting it down for overloading the
 server - asking me to streamline the code to avoid continued
 violations. 


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332758
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFDocs

2010-04-08 Thread Paul Kukiel

There is also http://www.cfmldocs.com which also has an offline AIR app.

Paul
http://blog.kukiel.net


On Apr 8, 2010, at 2:31 AM, Dave Sueltenfuss wrote:

 
 Does anyone know if the creator of cfdocs.org has plans to update the site
 to use the latest versions of CF Documentation
 It's still pointing to CF7'd documents
 
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332759
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFDocs

2010-04-08 Thread Eric Cobb

I like http://coldfusiondocs.com/app/, it has both ACF and Railo 
(although CF 9 stuff isn't there yet).

I've found that cfquickdocs is not accurate when doing broader lookups.  
For example, if you search for array, you'll see it only brings back 
items that start with array.  Things like isArray, ListToArray, 
etc..., are not listed in cfquickdocs, but they are in 
coldfusiondocs.com and cfmldocs.com.

Just being picky...

thanks,

eric cobb
http://www.cfgears.com



Paul Kukiel wrote:
 There is also http://www.cfmldocs.com which also has an offline AIR app.

 Paul
 http://blog.kukiel.net


 On Apr 8, 2010, at 2:31 AM, Dave Sueltenfuss wrote:

   
 Does anyone know if the creator of cfdocs.org has plans to update the site
 to use the latest versions of CF Documentation
 It's still pointing to CF7'd documents



 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332760
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Distributed Mode

2010-04-08 Thread Mahcsig

Is the new ColdFusion instance running as a user that has permission to read
from the share?

~Mahcsig



On Wed, Apr 7, 2010 at 12:55 PM, brad f b...@ciswired.com wrote:


 Have a question in regards to setting up distributed mode. We have ran in
 distributed mode for years with CF7 and windows 2000. We are in the process
 of upgrading to CF9 and Windows 2008. The problem I am having is the we used
 to be able to have all of our code on a fileserver and point IIS to that UNC
 path and life was good. Now the only way to get Coldfusion to server CFM
 pages is to have the CFM code on both the fileserver and the CF servers as
 well. It will give an error of file not found if you do not.

 Now I know in the documentation it says this is the way you have to set it
 up.. but I guess my two questions are
 1. Why did it work before with the code only being in one place?
 2. Why is the CFM files needed in both the file server (where IIS points
 for webcode) and on the CF boxes as well?

 Any help is appreciated.

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332761
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Distributed Mode

2010-04-08 Thread Dave Watts

 Now I know in the documentation it says this is the way you have to set it 
 up.. but I guess my two questions are
 1. Why did it work before with the code only being in one place?

I don't know. Maybe it was able to resolve to a remote share where the
files actually are?

 2. Why is the CFM files needed in both the file server (where IIS points for 
 webcode) and on the CF boxes as well?

The connector needs to be able to resolve the existence of the file.
The connector lives on the web server.

The CF service needs to be able to read and compile the file. The CF
service lives on a separate box.

All that said, I would recommend that you ditch distributed mode if
that's an option, and use a reverse proxy instead. The advantage of
using a reverse proxy is that there's nothing CF-specific about the
setup, and you don't have to have your files in two places.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332762
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: annoying table issue...

2010-04-08 Thread Eric Roberts

I found a solution...sort of...I made it static and used a blank row to set
the size of the cells with pixel gifs.  Now if I could just get the last
cell to cooperate and stay static when I expand the browser (yes...they are
set with values and not percents), I would be good :-D

The basic set up of this though is

cfoutput query=...
..codesnippet repeated 5 times...
cfif recordcount gte 6
...code snippet repeated 5 times...
/cfif
/cfoutput

Here's the code:

http://pastebin.com/fkMVND7G

Eric

-Original Message-
From: ColdFusion Developer [mailto:cfdev2...@gmail.com] 
Sent: Thursday, April 08, 2010 5:42 AM
To: cf-talk
Subject: Re: annoying table issue...


Based on the code snippets you provided, it will add the 1 pixel TD.

Do you have conditional logic around the last TD?

Can you paste the complete code snippet so it can be reviewed?
My initial thought is the conditional logic is not set up right.



On Wed, Apr 7, 2010 at 5:13 PM, Eric Roberts w...@witchnet.org wrote:


 I am having a browser rendering issue.  I have a dynamic table.  It is
 displaying radio buttons for a job assessment.  The assessment can have up
 to 10 responses, so the number of radio buttons is dynamic.  I have it set
 with 5 columns (a second row will show up if there are 6 or more
 responses).
 If there are less than 5 (from 6-9 responses) it puts radio buttons in the
 appropriate cells and then I use a spacer gif for the empty cells, so,
 for
 instance, if there are 2 responses, you have:  button button blank blank
 blank.  The cells have borders (using images rather than the table
border).
 Here's the code (it repeats the response cells if there are more than 5
 obviously.)



 td align=center valign=middle #cell_width# #cellstyle#

 cfif get_answers.recordcount gte 1

 A href=## id=answer_detail_popup



onMouseOver=document.getElementById('answer_detail_popup').style.cursor='de
 fault';stm(Text[1],Style[1])

 onMouseOut=htm()

 tabindex=-1

  cfinput type=radio

 name=assess_answer#GetAssess.CurrentRow#

 id=assess_answer#GetAssess.CurrentRow#

 checked=no

 value=#get_answers.answer_id[1]#

 required=no

 passThrough=title='#get_answers.answer_label[1]#'

 /a

  cfelse

img src=img/pixel.gif #cell_width# height=30 border=0

  /cfif

 /td

 td width=1 class=formborderimg src=img/pixel.gif width=1
 height=30 border=0/td





 The href is for an ajax call for a dynamic mouseover  label.  This snippet
 is repeated 5 times to generate the 5 cells across.cell width =
 'width=20%'





 This looks great in IE, but in FF, it adds a pixel to the last cell with a
 radio button to any rows that do not have 5 buttons.  Rows that are either
 blank or have 5 buttons render as expected.  I have tried adjusting the
 width of the spacer gif differently than the td width, but that didn't
 help.
 I have been banging my head over this all day.  Help!!!



 Any ideas?



 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332763
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: annoying table issue...

2010-04-08 Thread Eric Roberts

I am using eclipse...I avoid Dreamweaver because of issues like that ;-)
While it is definitely the cleanest of any of the code generating IDE's, it
still isn't perfect.  Thanks!

-Original Message-
From: Shaun Webster [mailto:sh...@webvalve.com] 
Sent: Thursday, April 08, 2010 7:19 AM
To: cf-talk
Subject: Re: annoying table issue...


This might not be related at all but I know DreamWeaver likes to correct
problems it sees with tag nesting etc. even if you disable the help in the
settings.

For example if you used something like the following to start a new row
after every 3 records DreamWeaver might add opening/closing tags or shuffle
around the order of the tags to try to fix it.

cfif rowcount MOD 3 EQ 0
/trtr
/cfif

--
Shaun Webster

On Apr 8, 2010, at 6:41 AM, ColdFusion Developer wrote:

 
 Based on the code snippets you provided, it will add the 1 pixel TD.
 
 Do you have conditional logic around the last TD?
 
 Can you paste the complete code snippet so it can be reviewed?
 My initial thought is the conditional logic is not set up right.
 
 
 
 On Wed, Apr 7, 2010 at 5:13 PM, Eric Roberts w...@witchnet.org wrote:
 
 
 I am having a browser rendering issue.  I have a dynamic table.  It is
 displaying radio buttons for a job assessment.  The assessment can have
up
 to 10 responses, so the number of radio buttons is dynamic.  I have it
set
 with 5 columns (a second row will show up if there are 6 or more
 responses).
 If there are less than 5 (from 6-9 responses) it puts radio buttons in
the
 appropriate cells and then I use a spacer gif for the empty cells, so,
 for
 instance, if there are 2 responses, you have:  button button blank blank
 blank.  The cells have borders (using images rather than the table
border).
 Here's the code (it repeats the response cells if there are more than 5
 obviously.)
 
 
 
 td align=center valign=middle #cell_width# #cellstyle#
 
 cfif get_answers.recordcount gte 1
 
 A href=## id=answer_detail_popup
 
 

onMouseOver=document.getElementById('answer_detail_popup').style.cursor='de
 fault';stm(Text[1],Style[1])
 
 onMouseOut=htm()
 
 tabindex=-1
 
 cfinput type=radio
 
 name=assess_answer#GetAssess.CurrentRow#
 
 id=assess_answer#GetAssess.CurrentRow#
 
 checked=no
 
 value=#get_answers.answer_id[1]#
 
 required=no
 
 passThrough=title='#get_answers.answer_label[1]#'
 
 /a
 
 cfelse
 
   img src=img/pixel.gif #cell_width# height=30 border=0
 
 /cfif
 
 /td
 
 td width=1 class=formborderimg src=img/pixel.gif width=1
 height=30 border=0/td
 
 
 
 
 
 The href is for an ajax call for a dynamic mouseover  label.  This
snippet
 is repeated 5 times to generate the 5 cells across.cell width =
 'width=20%'
 
 
 
 
 
 This looks great in IE, but in FF, it adds a pixel to the last cell with
a
 radio button to any rows that do not have 5 buttons.  Rows that are
either
 blank or have 5 buttons render as expected.  I have tried adjusting the
 width of the spacer gif differently than the td width, but that didn't
 help.
 I have been banging my head over this all day.  Help!!!
 
 
 
 Any ideas?
 
 
 
 
 
 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332764
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: annoying table issue...

2010-04-08 Thread Sebastiaan GMC van Dijk

Seems like someone need a quick HTML/CSS tutorial here (or maybe it's just 
legacy code you aren't allowed to touch, just touch up?) ;-)

Strip the script tag of it's language attribute, remove all the spacer-gif's 
(so 1990 - replace with CSS border-top:1px solid #000 or inline style if 
CFDocument), use div to center-align table, ditch the nobr-tags 
(http://www.htmlhelp.com/reference/css/classification/white-space.html), id 
your input-tags and remove the inline styles (valign etc) to the style-block or 
CSS-stylesheet.

When doing this and putting a nbsp; in the empty cells you at least have a 
cross-browser starting point, which makes your life a lot easier when it comes 
to bugfixing the styles.


Good luck! 




  
_
Windows 7: Se direkte-TV fra den bærbare PCen. Finn ut mer.
http://windows.microsoft.com/windows-7

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332765
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: annoying table issue...

2010-04-08 Thread Eric Roberts

That is how they want me to do it...

-Original Message-
From: Sebastiaan GMC van Dijk [mailto:seb...@hotmail.com] 
Sent: Thursday, April 08, 2010 10:31 AM
To: cf-talk
Subject: RE: annoying table issue...


Seems like someone need a quick HTML/CSS tutorial here (or maybe it's just
legacy code you aren't allowed to touch, just touch up?) ;-)

Strip the script tag of it's language attribute, remove all the spacer-gif's
(so 1990 - replace with CSS border-top:1px solid #000 or inline style if
CFDocument), use div to center-align table, ditch the nobr-tags
(http://www.htmlhelp.com/reference/css/classification/white-space.html), id
your input-tags and remove the inline styles (valign etc) to the style-block
or CSS-stylesheet.

When doing this and putting a nbsp; in the empty cells you at least have a
cross-browser starting point, which makes your life a lot easier when it
comes to bugfixing the styles.


Good luck! 




  
_
Windows 7: Se direkte-TV fra den bærbare PCen. Finn ut mer.
http://windows.microsoft.com/windows-7



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332766
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: annoying table issue...

2010-04-08 Thread Sebastiaan GMC van Dijk

OK ;-)


Then you could at least make sure you put a nbsp; in the empty table cells, to 
make sure they are filled up i.e. actually get borders in all browsers. 
Empty cells with no content is usually rendered very differently across 
browsers.
  
_
Windows Live™ Mail. Flere kontoer på ett sted.
http://download.live.com/wlmai

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332767
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Distributed Mode

2010-04-08 Thread brad f

 Have a question in regards to setting up distributed mode. We have ran 
 in distributed mode for years with CF7 and windows 2000. We are in the 
 process of upgrading to CF9 and Windows 2008. The problem I am having 
 is the we used to be able to have all of our code on a fileserver and 
 point IIS to that UNC path and life was good. Now the only way to get 
 Coldfusion to server CFM pages is to have the CFM code on both the 
 fileserver and the CF servers as well. It will give an error of file 
 not found if you do not.
 
 Now I know in the documentation it says this is the way you have to 
 set it up.. but I guess my two questions are
 1. Why did it work before with the code only being in one place?
 2. Why is the CFM files needed in both the file server (where IIS 
 points for webcode) and on the CF boxes as well?
 
 Any help is appreciated

Have found the answers needed.
1. Need to have interact with desktop checked on the coldfusion service
2. speed reasons alone is why you would have CFM code on the app box. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332768
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Distributed Mode

2010-04-08 Thread brad f

Is the new ColdFusion instance running as a user that has permission to read
from the share?

~Mahcsig

I have actually found the necessary info.
1. You need to have Interact with Desktop checked under services LogOn info.
2. Reason for CFM code to be stored on App box is purely for speed.
Thanks.
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332769
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFDocs

2010-04-08 Thread Barney Boisvert

Eric, you can use the function category dropdown if you want to
filter that way instead of enter the text it starts with.

cheers,
barneyb

On Thu, Apr 8, 2010 at 8:01 AM, Eric Cobb cft...@ecartech.com wrote:

 I like http://coldfusiondocs.com/app/, it has both ACF and Railo
 (although CF 9 stuff isn't there yet).

 I've found that cfquickdocs is not accurate when doing broader lookups.
 For example, if you search for array, you'll see it only brings back
 items that start with array.  Things like isArray, ListToArray,
 etc..., are not listed in cfquickdocs, but they are in
 coldfusiondocs.com and cfmldocs.com.

 Just being picky...

 thanks,

 eric cobb
 http://www.cfgears.com



 Paul Kukiel wrote:
 There is also http://www.cfmldocs.com which also has an offline AIR app.

 Paul
 http://blog.kukiel.net


 On Apr 8, 2010, at 2:31 AM, Dave Sueltenfuss wrote:


 Does anyone know if the creator of cfdocs.org has plans to update the site
 to use the latest versions of CF Documentation
 It's still pointing to CF7'd documents







 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332770
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Distributed Mode

2010-04-08 Thread brad f

I have found the answers to my questions
1. Need to have Interact with Desktop checked under the service LogOn tab.
2. Code resides on app box strictly for speed. 
 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332771
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


FileExists using variable - not working

2010-04-08 Thread Fred Grainger

Ok - I'm about to pull my hair out.

I am using fileexists() function to determine whether a image file exists on 
the server. When I type in the path it works fine, but when I use a variable it 
always returns false.

My code is like this:

cfset variables.ImageSource = C:\somedirectoy\somefile.txt

cfif FileExists(#variables.ImageSource#)
do something
cfelse
do something else
/cfif

The variable works everywhere else in the code. I am outputting it to the 
browser and have double triple checked to make sure the variable value is 
correct.

I've been working on this a day and a half and cannot get it to work.

HELP! 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332772
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Dorioo

To troubleshoot, one, the pounds are not needed so I'd take those out.
Two, in cfelse, what is the value of:

cfoutput#variables.ImageSource#cfoutput do something else

In other words, what is the variable's value as soon as you hit cfelse.

- Gabriel

On Thu, Apr 8, 2010 at 1:03 PM, Fred Grainger i...@fredgrainger.com wrote:

 Ok - I'm about to pull my hair out.

 I am using fileexists() function to determine whether a image file exists on 
 the server. When I type in the path it works fine, but when I use a variable 
 it always returns false.

 My code is like this:

 cfset variables.ImageSource = C:\somedirectoy\somefile.txt

 cfif FileExists(#variables.ImageSource#)
 do something
 cfelse
 do something else
 /cfif

 The variable works everywhere else in the code. I am outputting it to the 
 browser and have double triple checked to make sure the variable value is 
 correct.

 I've been working on this a day and a half and cannot get it to work.

 HELP!

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332773
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread William Seiter

try
cfif FileExists('#variables.ImageSource#')
or
cfif FileExists(variables.ImageSource)


--
William E. Seiter


On Apr 8, 2010, Fred Grainger i...@fredgrainger.com wrote: 


Ok - I'm about to pull my hair out.

I am using fileexists() function to determine whether a image file exists on 
the server. When I type in the path it works fine, but when I use a variable it 
always returns false.

My code is like this:

cfset variables.ImageSource = C:\somedirectoy\somefile.txt

cfif FileExists(#variables.ImageSource#)
do something
cfelse
do something else
/cfif

The variable works everywhere else in the code. I am outputting it to the 
browser and have double triple checked to make sure the variable value is 
correct.

I've been working on this a day and a half and cannot get it to work.

HELP! 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332774
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Cutter (ColdFusion)

We use this all over, though you don't need the hash marks.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Fred Grainger wrote:
 Ok - I'm about to pull my hair out.

 I am using fileexists() function to determine whether a image file exists on 
 the server. When I type in the path it works fine, but when I use a variable 
 it always returns false.

 My code is like this:

 cfset variables.ImageSource = C:\somedirectoy\somefile.txt

 cfif FileExists(#variables.ImageSource#)
 do something
 cfelse
 do something else
 /cfif

 The variable works everywhere else in the code. I am outputting it to the 
 browser and have double triple checked to make sure the variable value is 
 correct.

 I've been working on this a day and a half and cannot get it to work.

 HELP! 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332775
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts

 I am using fileexists() function to determine whether a image file exists on 
 the server. When I type in the path it works fine, but
 when I use a variable it always returns false.

 My code is like this:

 cfset variables.ImageSource = C:\somedirectoy\somefile.txt

 cfif FileExists(#variables.ImageSource#)
 do something
 cfelse
 do something else
 /cfif

 The variable works everywhere else in the code. I am outputting it to the 
 browser and have double triple checked to make sure the
 variable value is correct.

The fileExists function expects a string literal. Wrap
#variables.imageSource# with double quotes to treat the value as a
string literal.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332776
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger

Tried:
cfif FileExists(#variables.ImageSource#)
cfif FileExists('#variables.ImageSource#')
cfif FileExists(#variables.ImageSource#)
cfif FileExists(variables.ImageSource)

None of which works. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332777
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger

The value of the variable is:
C:\somepath\filename.png 
Which is correct. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332778
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Ian Skinner

On 4/8/2010 10:26 AM, Fred Grainger wrote:
 Tried:
 cfif FileExists(#variables.ImageSource#)
 cfif FileExists('#variables.ImageSource#')
 cfif FileExists(#variables.ImageSource#)
 cfif FileExists(variables.ImageSource)

 None of which works.


Just a shot in the dark, cfif FileExists(trim(variables.ImageSource))

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332779
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts

 The value of the variable is:
 C:\somepath\filename.png
 Which is correct.

When I was testing this a few minutes ago, I noticed that when I made
changes to the fileExists function, the file wasn't being recompiled -
I had to make some other change (any other change) and save the file
again.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332780
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger

How can you tell when a template is recompiled?

I made some changes and tried again.  Still no dice?

I'm outputting the variable and it looks correct, unless there is a control 
character or something in the string that I cannot see.  I am thinking this 
might be the issue.  The file name was imported in SQL Server from excel.

 The value of the variable is:
 C:\somepath\filename.png
 Which is correct.

When I was testing this a few minutes ago, I noticed that when I made
changes to the fileExists function, the file wasn't being recompiled -
I had to make some other change (any other change) and save the file
again.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332781
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger

It is the correct path and file name.

C:\somepath\filename.png

I am thinking that there may be a control character of something that I cannot 
see.  I am reading the filename.png from SQL Server.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332782
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts

 How can you tell when a template is recompiled?

You can attempt to identify the compiled file in the WEB-INF/cfclasses
subdirectory, and look at the timestamp.

 I made some changes and tried again.  Still no dice?

 I'm outputting the variable and it looks correct, unless there is a control 
 character or something in the string that I cannot see.  I
 am thinking this might be the issue.  The file name was imported in SQL 
 Server from excel.

That could be the issue.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsi

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332783
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger

Tried:
cfif FileExists(#variables.ImageSource#) 
cfif FileExists('#variables.ImageSource#')
cfif FileExists(#variables.ImageSource#)
cfif FileExists(variables.ImageSource)
cfif FileExists(trim(variables.ImageSource))
None of which works.


 The fileExists function expects a string literal. Wrap
 #variables.imageSource# with double quotes to treat the value as a
 string literal.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332784
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger

Took the hash marks out.  Put quotes, trimmed the variable, checked the length 
of the file name to make sure there weren't any control characters or anything. 
 My code is very straight forward.  

A day and a half later, still no dice.  This is the first time I've used this 
function.  We just upgraded to CF9 a few weeks ago, but it is up to date.

This makes no sense whatsoever.  When I type the file path into the FileExists 
function it works fine.  Will not work with a variable.  Period. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332785
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Dave Watts

 Took the hash marks out.  Put quotes, trimmed the variable, checked the 
 length of the file name to make sure there weren't any
 control characters or anything.  My code is very straight forward.

 A day and a half later, still no dice.  This is the first time I've used this 
 function.  We just upgraded to CF9 a few weeks ago, but it
 is up to date.

 This makes no sense whatsoever.  When I type the file path into the 
 FileExists function it works fine.  Will not work with a
 variable.  Period.

I can tell you that it's working on my laptop running CF 9 on 64-bit
Windows 7 just fine.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332786
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Re: FileExists using variable - not working

2010-04-08 Thread William Seiter

try:
cfset variables.blah = '[filelocation filename you know exists]'
cfif fileExists(variables.blah)
Success!!
cfelse
Failed!!
/cfif
cfdump var=#variables.blah#


--
William E. Seiter


On Apr 8, 2010, Fred Grainger i...@fredgrainger.com wrote: 


Took the hash marks out.  Put quotes, trimmed the variable, checked the length 
of the file name to make sure there weren't any control characters or anything. 
 My code is very straight forward.  

A day and a half later, still no dice.  This is the first time I've used this 
function.  We just upgraded to CF9 a few weeks ago, but it is up to date.

This makes no sense whatsoever.  When I type the file path into the FileExists 
function it works fine.  Will not work with a variable.  Period. 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332787
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Distributed Mode

2010-04-08 Thread brad f

  Now I know in the documentation it says this is the way you have to 
 set it up.. but I guess my two questions are
  1. Why did it work before with the code only being in one place?
 
 I don't know. Maybe it was able to resolve to a remote share where 
 the
 files actually are?
 
  2. Why is the CFM files needed in both the file server (where IIS 
 points for webcode) and on the CF boxes as well?
 
 The connector needs to be able to resolve the existence of the file.
 The connector lives on the web server.
 
 The CF service needs to be able to read and compile the file. The CF
 service lives on a separate box.
 
 All that said, I would recommend that you ditch distributed mode if
 that's an option, and use a reverse proxy instead. The advantage of
 using a reverse proxy is that there's nothing CF-specific about the
 setup, and you don't have to have your files in two places.

 I have found the answers to my questions
1. Need to have Interact with Desktop checked under the service LogOn tab.
2. Code resides on app box strictly for speed. 
 Thanks.
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332788
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


storing a cfinput inside of a variable

2010-04-08 Thread Steve Logan

Is there anyway to use cfset or cfsavecontent to store a complete cfinput tag?

i.e.

cfset config.formFieldA = cfinput type=text name=fieldname 
value=//

If I do a view source, I see it the code on my output page, but it won't render 
at all in the browser.

If I try cfsavecontent it errors because the cfinput isn't in a cfform (since 
the cfinput is in a CFC being called by the form page).

The reason for this is that this one form field could have different max 
lengths, validations, validation patterns, and messages based on a variety of 
factors.  If I can move the input into a CFC that returns all sorts of other 
partner specific info, it keeps me to having just one space to enter config 
data. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332789
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger

Yep - If it type in a literal into the variable it is working.  When I build 
the file path from the database fields it will not work.  When I manually cut 
and paste the cfoutput of the variable I build with the database fileds into 
the fileexists function it finds it.  It does not like something about the 
variable that is created with the query value.  

I'm sure it is something simple.  I'm about to throw in the towel though.  I 
cannot get this to work.
 
 I can tell you that it's working on my laptop running CF 9 on 64-bit
 Windows 7 just fine.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332790
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Wil Genovese

I was digging into Adobe's docs to see if something change.  1. Their examples 
are terrible.  It's amazing anyone learns anything from those. 2. Nothing noted 
about changed behavior.

So I took their example and fixed it so it would work.  Try this.

h3FileExists Example/h3

cfset thisPath = getCurrentTemplatePath()
cfset thisDirectory = GetDirectoryFromPath(thisPath)
cfoutputThe current directory is: #thisDirectory#/cfoutput

cfset yourFile = getFileFromPath(thispath)
cfif FileExists(thispath)
pThe filename is: cfoutput#yourfile#/cfoutput/p
cfelse
pThe file can not be found/p
/cfif




Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well. 

On Apr 8, 2010, at 1:30 PM, William Seiter wrote:

 
 try:
 cfset variables.blah = '[filelocation filename you know exists]'
 cfif fileExists(variables.blah)
 Success!!
 cfelse
 Failed!!
 /cfif
 cfdump var=#variables.blah#
 
 
 --
 William E. Seiter
 
 
 On Apr 8, 2010, Fred Grainger i...@fredgrainger.com wrote: 
 
 
 Took the hash marks out.  Put quotes, trimmed the variable, checked the 
 length of the file name to make sure there weren't any control characters or 
 anything.  My code is very straight forward.  
 
 A day and a half later, still no dice.  This is the first time I've used this 
 function.  We just upgraded to CF9 a few weeks ago, but it is up to date.
 
 This makes no sense whatsoever.  When I type the file path into the 
 FileExists function it works fine.  Will not work with a variable.  Period. 
 
 
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332791
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Roger Austin

 Fred Grainger i...@fredgrainger.com wrote: 
 
 Yep - If it type in a literal into the variable it is working.  When I build 
 the file path from the database fields it will not work.  When I manually cut 
 and paste the cfoutput of the variable I build with the database fileds into 
 the fileexists function it finds it.  It does not like something about the 
 variable that is created with the query value.  

Have you tried checking the length of the string? Sometimes, you get a 
CR/LF at the end with Excel.

--
http://www.linkedin.com/pub/roger-austin/8/a4/60
http://twitter.com/RogerTheGeek
http://www.misshunt.com/ Home of the Clean/Dirty Magnet
http://www.ncdevcon.com/ TACFUG 2010 Conference in North Carolina


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332792
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Wil Genovese

You said that When I build the file path from the database fields it will not 
work. .  Lets see that code.  Something may not be what it seems to be.



Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well. 

On Apr 8, 2010, at 1:44 PM, Fred Grainger wrote:

 When I build the file path from the database fields it will not work. 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332793
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger

 Have you tried checking the length of the string? Sometimes, you get a 
 
 CR/LF at the end with Excel.
 
 --
 http://www.linkedin.com/pub/roger-austin/8/a4/60
 http://twitter.com/RogerTheGeek
 http://www.misshunt.com/ Home of the Clean/Dirty Magnet
 http://www.ncdevcon.com/ TACFUG 2010 Conference in North Carolina

Yes - checked the length of the variable and it is correct.  I was thinking the 
same thing... 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332794
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger

 You said that When I build the file path from the database fields it 
 will not work. .  Lets see that code.  Something may not be what it 
 seems to be.
 
 
cfset variables.ImageSource = 
'C:\Inetpub\wwwroot\Interspire\images_originals\cfoutput#trim(catalog.sku)#/cfoutput.png'

The value is:
C:\Inetpub\wwwroot\Interspire\images_originals\707-2298005-001.png

The length of the variable is 15.

The file exists - I have the image output next to the path and file name... 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332795
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF9 - CFC doesnt throw any error messages?

2010-04-08 Thread Sean Corfield

On Thu, Apr 8, 2010 at 12:16 AM, Mike Kear afpwebwo...@gmail.com wrote:
 In every previous version, when there was a syntax or other error in
 my code in a CFC,  I'd get an error message that would point me to the
 line containing the problem.  Now, with CF9 Enterprise,  I get a
 result from my CFCs or I get nothing.    If there's an error in my
 code, I have to carefully debug line by line, hoping the line I am
 changing is the one that will fix the problem. It's extremely time
 consuming and nowhere near as efficient as syntax error on line xxx

Hmm, I still get the exact same level of error reporting on CF9 that
I'm used to from earlier versions. Sounds like there's something else
up in your environment?
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret A

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332796
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Wil Genovese

Well thats the problem alright.  Your putting CFOUTPUT in the cfset tag. It's 
getting used as a literal.

This is the better way to do this

cfset variables.ImageSource = 
'C:\Inetpub\wwwroot\Interspire\images_originals\#trim(catalog.sku)#.png'

Alternately you could do this:
cfset variables.ImageSource = 
'C:\Inetpub\wwwroot\Interspire\images_originals\'   trim(catalog.sku)  '.png'

What you were doing produced an output that looked like this:

C:\Inetpub\wwwroot\Interspire\images_originals\cfoutput394803/cfoutput.png
Assuming the catalog.sku = 394803




Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well. 

On Apr 8, 2010, at 1:58 PM, Fred Grainger wrote:

 
 You said that When I build the file path from the database fields it 
 will not work. .  Lets see that code.  Something may not be what it 
 seems to be.
 
 
 cfset variables.ImageSource = 
 'C:\Inetpub\wwwroot\Interspire\images_originals\cfoutput#trim(catalog.sku)#/cfoutput.png'
 
 The value is:
 C:\Inetpub\wwwroot\Interspire\images_originals\707-2298005-001.png
 
 The length of the variable is 15.
 
 The file exists - I have the image output next to the path and file name... 
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332797
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Ian Skinner

On 4/8/2010 11:58 AM, Fred Grainger wrote:

 You said that When I build the file path from the database fields it
 will not work. .  Lets see that code.  Something may not be what it
 seems to be.


  
 cfset variables.ImageSource = 
 'C:\Inetpub\wwwroot\Interspire\images_originals\cfoutput#trim(catalog.sku)#/cfoutput.png'


cfset variables.ImageSource = 
'C:\Inetpub\wwwroot\Interspire\images_originals\#trim(catalog.sku)#.png'

 The value is:
 C:\Inetpub\wwwroot\Interspire\images_originals\707-2298005-001.png


I bet if you view source you will see that the value is really :

C:\Inetpub\wwwroot\Interspire\images_originals\cfoutput707-2298005-001/cfoutput.png

But the browser is hiding the tags it does not understand.




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332798
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Looking for Suggestion: e-Commerce/CMS Integration

2010-04-08 Thread Matthew Lesko

I have ColdFusion CMS. I'm looking for an e-Commerce package suggestions where 
I can present its data - products  pricing, customer information, shopping 
cart, orders - in the CMS. The e-Commerce solution would preferably also offer 
fulfillment tracking.

I've worked with AbleCommerce in the past, but not since it converted to a .NET 
only solution. I briefly examined CFWebStore, but my investigation did not find 
any type of API that would facilitate integration. I also looked at KonaKart, 
and this appears to offer some easy integration options via a Java API or SOAP, 
but I imagine I'd be better running this as a separate JVM, instead of sharing 
with CF. 

So I am looking for opinions on these options, or for any others, readers have 
experience with. 

Regards, 

Matthew Lesko 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332799
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for Suggestion: e-Commerce/CMS Integration

2010-04-08 Thread Patrick Santora

Depending your time frame you may want to look at
http://www.quilldesign.com/. They provide an e-commerce solution. Their
latest version does not supply an API, but their upcoming release (version 5
around May or so) will have an API.

Here at Mura we are hoping to build a good relationship with them in hopes
to building a Mura plugin to their e-commerce solution.

-Pat

On Thu, Apr 8, 2010 at 12:14 PM, Matthew Lesko m.le...@verizon.net wrote:


 I have ColdFusion CMS. I'm looking for an e-Commerce package suggestions
 where I can present its data - products  pricing, customer information,
 shopping cart, orders - in the CMS. The e-Commerce solution would preferably
 also offer fulfillment tracking.

 I've worked with AbleCommerce in the past, but not since it converted to a
 .NET only solution. I briefly examined CFWebStore, but my investigation did
 not find any type of API that would facilitate integration. I also looked at
 KonaKart, and this appears to offer some easy integration options via a Java
 API or SOAP, but I imagine I'd be better running this as a separate JVM,
 instead of sharing with CF.

 So I am looking for opinions on these options, or for any others, readers
 have experience with.

 Regards,

 Matthew Lesko

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332800
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger

Thank you so much.  What a newbie error.  I had tried it without the cfoutput 
and was at the point of frustration I was coding recklessly.

That fixed it!

 Well thats the problem alright.  Your putting CFOUTPUT in the cfset 
 tag. It's getting used as a literal.
 
 This is the better way to do this
 
 cfset variables.ImageSource = 
 'C:\Inetpub\wwwroot\Interspire\images_originals\#trim(catalog.sku)#.
 png'
 
 Alternately you could do this:
 cfset variables.ImageSource = 
 'C:\Inetpub\wwwroot\Interspire\images_originals\'   trim(catalog.sku) 
  '.png'
 
 What you were doing produced an output that looked like this:
 
C:\I netpub\wwwroot\Interspire\images_originals\cfoutput394803/cfoutput.
 png
 Assuming the catalog.sku = 394803
 
 
 
 
 Wil Genovese
 
 One man with courage makes a majority.
 -Andrew Jackson
 
 A fine is a tax for doing wrong. A tax is a fine for doing well. 
 
 On Apr 8, 2010, at 1:58 PM, Fred Grainger wrote:
 
  
  You said that When I build the file path from the database fields 
 it 
  will not work. .  Lets see that code.  Something may not be what 
 it 
  seems to be.
  
  
  cfset variables.ImageSource = 
' C:\Inetpub\wwwroot\Interspire\images_originals\cfoutput#trim(catalog.
 sku)#/cfoutput.png'
  
  The value is:
  C:\Inetpub\wwwroot\Interspire\images_originals\707-2298005-001.png
  
  The length of the variable is 15.
  
  The file exists - I have the image output next to the path and file 
 name... 
  
  


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332801
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Fred Grainger

On 4/8/2010 11:58 AM, Fred Grainger wrote:

cfset variables.ImageSource = 
'C:\Inetpub\wwwroot\Interspire\images_originals\#trim(catalog.sku)#.png'

 The value is:
 C:\Inetpub\wwwroot\Interspire\images_originals\707-2298005-001.png


I bet if you view source you will see that the value is really :

C:\Inetpub\wwwroot\Interspire\images_originals\cfoutput707-2298005-001/cfoutput.png

But the browser is hiding the tags it does not understand.

I looked at the source and the tags were not there, but when I took the out, it 
worked.  Thanks! 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332802
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: storing a cfinput inside of a variable

2010-04-08 Thread Andy Matthews

The only option would be to evaluate the variable, and even that might not
work:

cfoutput
#Evaluate(config.formFieldA)#
/cfoutput

-Original Message-
From: Steve Logan [mailto:st...@sagescholars.com] 
Sent: Thursday, April 08, 2010 1:37 PM
To: cf-talk
Subject: storing a cfinput inside of a variable


Is there anyway to use cfset or cfsavecontent to store a complete cfinput
tag?

i.e.

cfset config.formFieldA = cfinput type=text name=fieldname
value=//

If I do a view source, I see it the code on my output page, but it won't
render at all in the browser.

If I try cfsavecontent it errors because the cfinput isn't in a cfform
(since the cfinput is in a CFC being called by the form page).

The reason for this is that this one form field could have different max
lengths, validations, validation patterns, and messages based on a variety
of factors.  If I can move the input into a CFC that returns all sorts of
other partner specific info, it keeps me to having just one space to enter
config data. 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332803
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: storing a cfinput inside of a variable

2010-04-08 Thread Ian Skinner

I think you want to be coding the actual input tag that is sent to 
the browser.

If you are not using any of the advanced features of the cfinput... 
tag, all it does is generate an input... html tag.  Skip the middle 
man and generate your own html tag.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332804
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: storing a cfinput inside of a variable

2010-04-08 Thread Ian Skinner

On 4/8/2010 11:37 AM, Steve Logan wrote:
 Is there anyway to use cfset or cfsavecontent to store a complete cfinput tag?

 i.e.

 cfset config.formFieldA = cfinput type=text name=fieldname 
 value=//

 If I do a view source, I see it the code on my output page, but it won't 
 render at all in the browser.

 If I try cfsavecontent it errors because the cfinput isn't in a cfform (since 
 the cfinput is in a CFC being called by the form page).

 The reason for this is that this one form field could have different max 
 lengths, validations, validation patterns, and messages based on a variety of 
 factors.  If I can move the input into a CFC that returns all sorts of other 
 partner specific info, it keeps me to having just one space to enter config 
 data.


Disregard my previous reply.  You are trying to have your cake and eat 
it too.  I.E. you are using the advanced features of the cfinput... 
tag. cfinput needs to be processed on the server to build the HTML 
and JavaScript code to send to the browser.

To do what you want, provide dynamic parameters to the tag.  Use the 
attributeCollection where you can define the attribuetes as a structure 
and pass it to the cfinput... (or any other CFML) tag.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332805
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: RE: storing a cfinput inside of a variable

2010-04-08 Thread William Seiter

Hey Steve,

Can you tell us what the bigger picture is, what is it that you are trying to 
accomplish by saving the cfinput in a variable?

cfinput is rendered by coldfusion for the browser in respect to the cfform 
tags that are around it.

Are you trying to create a reuseable form field where you can just paste the 
results into your form by calling the variable, for any given form you may 
create?

There are different methods for handling different scenarios.

You could create a structure that you set at the top of the page and then 
copy/paste the cfinput that uses that structure for its settings.
You could create a function that creates the cfinput field, and then call that 
function everywhere that you want that cfinput to show up.

Let us know where you want to go, and we can help you get there.  :)

--
William E. Seiter


On Apr 8, 2010, Andy Matthews li...@commadelimited.com wrote: 


The only option would be to evaluate the variable, and even that might not
work:

cfoutput
#Evaluate(config.formFieldA)#
/cfoutput

-Original Message-
From: Steve Logan [mailto:st...@sagescholars.com] 
Sent: Thursday, April 08, 2010 1:37 PM
To: cf-talk
Subject: storing a cfinput inside of a variable


Is there anyway to use cfset or cfsavecontent to store a complete cfinput
tag?

i.e.

cfset config.formFieldA = cfinput type=text name=fieldname
value=//

If I do a view source, I see it the code on my output page, but it won't
render at all in the browser.

If I try cfsavecontent it errors because the cfinput isn't in a cfform
(since the cfinput is in a CFC being called by the form page).

The reason for this is that this one form field could have different max
lengths, validations, validation patterns, and messages based on a variety
of factors.  If I can move the input into a CFC that returns all sorts of
other partner specific info, it keeps me to having just one space to enter
config data. 





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332806
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: storing a cfinput inside of a variable

2010-04-08 Thread Dan G. Switzer, II

Steve,

Is there anyway to use cfset or cfsavecontent to store a complete cfinput
 tag?

 i.e.

 cfset config.formFieldA = cfinput type=text name=fieldname
 value=//

 If I do a view source, I see it the code on my output page, but it won't
 render at all in the browser.

 If I try cfsavecontent it errors because the cfinput isn't in a cfform
 (since the cfinput is in a CFC being called by the form page).

 The reason for this is that this one form field could have different max
 lengths, validations, validation patterns, and messages based on a variety
 of factors.  If I can move the input into a CFC that returns all sorts of
 other partner specific info, it keeps me to having just one space to enter
 config data.


That doesn't work, instead do something like:

cfset fieldA = {
  type=text
  ,  name=fieldname
  , value=
} /

cfinput attributeCollection=#fieldA# /

You can use a structure to define the parameters for the cfinput / tag.

-Dan


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332807
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: annoying table issue...

2010-04-08 Thread Eric Roberts

I tried both nbsp; and the gif and got the same results.

Eric


-Original Message-
From: Sebastiaan GMC van Dijk [mailto:seb...@hotmail.com] 
Sent: Thursday, April 08, 2010 10:57 AM
To: cf-talk
Subject: RE: annoying table issue...


OK ;-)


Then you could at least make sure you put a nbsp; in the empty table cells,
to make sure they are filled up i.e. actually get borders in all
browsers. Empty cells with no content is usually rendered very differently
across browsers.
  
_
Windows Live™ Mail. Flere kontoer på ett sted.
http://download.live.com/wlmai



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332808
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: [JOB] Junior CF Developer, New York City

2010-04-08 Thread Phillip Vector

Perhaps you shouldn't look on a ColdFusion list for people to move a
site AWAY from ColdFusion to a language that is less efficient and
will end up costing your client more in the long run.

On Thu, Apr 8, 2010 at 10:12 AM, Beau Gould (OSS)
b...@open-source-staffing.com wrote:

 My New York City client is seeking is a motivated Junior CF Developer who
 wants to crank out code and make a name for him/herself.  Salary is going to
 be around 45-55k

 What they really really want is someone who can manage ColdFusion *and* PHP,
 because they are planning to migrate some of their sites to PHP.  Honestly,
 someone who only *kinda* knows ColdFusion will be fine, as long as he/she is
 smart and ambitious, and willing to put in the effort to learn and to solve
 problems.

 I should be able to fill this role at light speed, but I need the applicants
 to do it.  Please submit your resume (preferably in MS-Word) and your salary
 requirements to beau[AT]open-source-staffing.com

 * US Citizens or Green Card holders only
 * Tri-state (NY, NJ, CT) residents only
 * 100% on-site job in New York City

 Thank you,
 Beau J. Gould
 --
 Open Source Staffing
 http://www.open-source-staffing.com
 http://www.facebook.com/beau.gould
 beau[AT]open-source-staffing.com


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4301
Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm


RE: [JOB] Junior CF Developer, New York City

2010-04-08 Thread Beau Gould (OSS)

They are planning to migrate some of their sites to PHP 

Some is the key word. 



-Original Message-
From: phillipvec...@gmail.com [mailto:phillipvec...@gmail.com] On Behalf Of
Phillip Vector
Sent: Thursday, April 08, 2010 1:15 PM
To: cf-jobs-talk@houseoffusion.com
Cc: b...@open-source-staffing.com
Subject: Re: [JOB] Junior CF Developer, New York City


Perhaps you shouldn't look on a ColdFusion list for people to move a site
AWAY from ColdFusion to a language that is less efficient and will end up
costing your client more in the long run.

On Thu, Apr 8, 2010 at 10:12 AM, Beau Gould (OSS)
b...@open-source-staffing.com wrote:

 My New York City client is seeking is a motivated Junior CF Developer 
 who wants to crank out code and make a name for him/herself.  Salary 
 is going to be around 45-55k

 What they really really want is someone who can manage ColdFusion 
 *and* PHP, because they are planning to migrate some of their sites to 
 PHP.  Honestly, someone who only *kinda* knows ColdFusion will be 
 fine, as long as he/she is smart and ambitious, and willing to put in 
 the effort to learn and to solve problems.

 I should be able to fill this role at light speed, but I need the 
 applicants to do it.  Please submit your resume (preferably in 
 MS-Word) and your salary requirements to 
 beau[AT]open-source-staffing.com

 * US Citizens or Green Card holders only
 * Tri-state (NY, NJ, CT) residents only
 * 100% on-site job in New York City

 Thank you,
 Beau J. Gould
 --
 Open Source Staffing
 http://www.open-source-staffing.com
 http://www.facebook.com/beau.gould
 beau[AT]open-source-staffing.com


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4302
Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm


Re: [JOB] Junior CF Developer, New York City

2010-04-08 Thread Ray Champagne

Personally, I think it's on-topic.

I use both PHP and CF in my work life.  I still prefer CF, but I'm not going
to turn down a job because I have drank the CF kool-aid.

Only having one tool in your toolbox and shutting out anyone who suggests
that you use another tool is kinda ignorant.  Sorry if that is a little
harsh, but you're only limiting yourself with that attitude.

Let the battle begin.  :)

On Thu, Apr 8, 2010 at 12:20 PM, Beau Gould (OSS) 
b...@open-source-staffing.com wrote:


 They are planning to migrate some of their sites to PHP

 Some is the key word.



 -Original Message-
 From: phillipvec...@gmail.com [mailto:phillipvec...@gmail.com] On Behalf
 Of
 Phillip Vector
 Sent: Thursday, April 08, 2010 1:15 PM
 To: cf-jobs-talk@houseoffusion.com
 Cc: b...@open-source-staffing.com
 Subject: Re: [JOB] Junior CF Developer, New York City


 Perhaps you shouldn't look on a ColdFusion list for people to move a site
 AWAY from ColdFusion to a language that is less efficient and will end up
 costing your client more in the long run.

 On Thu, Apr 8, 2010 at 10:12 AM, Beau Gould (OSS)
 b...@open-source-staffing.com wrote:
 
  My New York City client is seeking is a motivated Junior CF Developer
  who wants to crank out code and make a name for him/herself.  Salary
  is going to be around 45-55k
 
  What they really really want is someone who can manage ColdFusion
  *and* PHP, because they are planning to migrate some of their sites to
  PHP.  Honestly, someone who only *kinda* knows ColdFusion will be
  fine, as long as he/she is smart and ambitious, and willing to put in
  the effort to learn and to solve problems.
 
  I should be able to fill this role at light speed, but I need the
  applicants to do it.  Please submit your resume (preferably in
  MS-Word) and your salary requirements to
  beau[AT]open-source-staffing.com
 
  * US Citizens or Green Card holders only
  * Tri-state (NY, NJ, CT) residents only
  * 100% on-site job in New York City
 
  Thank you,
  Beau J. Gould
  --
  Open Source Staffing
  http://www.open-source-staffing.com
  http://www.facebook.com/beau.gould
  beau[AT]open-source-staffing.com
 
 
 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4303
Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm


RE: [JOB] Junior CF Developer, New York City

2010-04-08 Thread David Wilf

I do not think Phillip was criticizing the use of other technologies. He was
confused as to why a decision was made to remove CF code and replace it with
PHP code. There are times that a political factor will override solid
technical solutions which may be the case here.

Thanks
David Wilf PMP
Program Manager


-Original Message-
From: Ray Champagne [mailto:r...@raychampagne.com] 
Sent: Thursday, April 08, 2010 1:26 PM
To: cf-jobs-talk
Subject: Re: [JOB] Junior CF Developer, New York City


Personally, I think it's on-topic.

I use both PHP and CF in my work life.  I still prefer CF, but I'm not going
to turn down a job because I have drank the CF kool-aid.

Only having one tool in your toolbox and shutting out anyone who suggests
that you use another tool is kinda ignorant.  Sorry if that is a little
harsh, but you're only limiting yourself with that attitude.

Let the battle begin.  :)

On Thu, Apr 8, 2010 at 12:20 PM, Beau Gould (OSS) 
b...@open-source-staffing.com wrote:


 They are planning to migrate some of their sites to PHP

 Some is the key word.



 -Original Message-
 From: phillipvec...@gmail.com [mailto:phillipvec...@gmail.com] On Behalf
 Of
 Phillip Vector
 Sent: Thursday, April 08, 2010 1:15 PM
 To: cf-jobs-talk@houseoffusion.com
 Cc: b...@open-source-staffing.com
 Subject: Re: [JOB] Junior CF Developer, New York City


 Perhaps you shouldn't look on a ColdFusion list for people to move a site
 AWAY from ColdFusion to a language that is less efficient and will end up
 costing your client more in the long run.

 On Thu, Apr 8, 2010 at 10:12 AM, Beau Gould (OSS)
 b...@open-source-staffing.com wrote:
 
  My New York City client is seeking is a motivated Junior CF Developer
  who wants to crank out code and make a name for him/herself.  Salary
  is going to be around 45-55k
 
  What they really really want is someone who can manage ColdFusion
  *and* PHP, because they are planning to migrate some of their sites to
  PHP.  Honestly, someone who only *kinda* knows ColdFusion will be
  fine, as long as he/she is smart and ambitious, and willing to put in
  the effort to learn and to solve problems.
 
  I should be able to fill this role at light speed, but I need the
  applicants to do it.  Please submit your resume (preferably in
  MS-Word) and your salary requirements to
  beau[AT]open-source-staffing.com
 
  * US Citizens or Green Card holders only
  * Tri-state (NY, NJ, CT) residents only
  * 100% on-site job in New York City
 
  Thank you,
  Beau J. Gould
  --
  Open Source Staffing
  http://www.open-source-staffing.com
  http://www.facebook.com/beau.gould
  beau[AT]open-source-staffing.com
 
 
 

 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4304
Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm


Re: [JOB] Junior CF Developer, New York City

2010-04-08 Thread Teddy R. Payne

Gentlemen,
An employer is offering a position to CF developers.  Regardless of the
eventual tool set or the range of tools that you can offer, it is a position
that is available for an aspiring developer.  Let us be satisfied with the
continued job offerings for those trying to get more experience with
ColdFusion.

A battle over subjective opinion of someone who is enthusiastic about the
benefits of one tool set over another may be a worth while discussion, but
not at the expense of the job advertisement.  Put the foils away and perhaps
fence another day?


Teddy R. Payne, ACCFD
Google Talk - teddyrpa...@gmail.com

On Thu, Apr 8, 2010 at 1:26 PM, Ray Champagne r...@raychampagne.com wrote:


 Personally, I think it's on-topic.

 I use both PHP and CF in my work life.  I still prefer CF, but I'm not
 going
 to turn down a job because I have drank the CF kool-aid.

 Only having one tool in your toolbox and shutting out anyone who suggests
 that you use another tool is kinda ignorant.  Sorry if that is a little
 harsh, but you're only limiting yourself with that attitude.

 Let the battle begin.  :)

 On Thu, Apr 8, 2010 at 12:20 PM, Beau Gould (OSS) 
 b...@open-source-staffing.com wrote:

 
  They are planning to migrate some of their sites to PHP
 
  Some is the key word.
 
 
 
  -Original Message-
  From: phillipvec...@gmail.com [mailto:phillipvec...@gmail.com] On Behalf
  Of
  Phillip Vector
  Sent: Thursday, April 08, 2010 1:15 PM
  To: cf-jobs-talk@houseoffusion.com
  Cc: b...@open-source-staffing.com
  Subject: Re: [JOB] Junior CF Developer, New York City
 
 
  Perhaps you shouldn't look on a ColdFusion list for people to move a site
  AWAY from ColdFusion to a language that is less efficient and will end up
  costing your client more in the long run.
 
  On Thu, Apr 8, 2010 at 10:12 AM, Beau Gould (OSS)
  b...@open-source-staffing.com wrote:
  
   My New York City client is seeking is a motivated Junior CF Developer
   who wants to crank out code and make a name for him/herself.  Salary
   is going to be around 45-55k
  
   What they really really want is someone who can manage ColdFusion
   *and* PHP, because they are planning to migrate some of their sites to
   PHP.  Honestly, someone who only *kinda* knows ColdFusion will be
   fine, as long as he/she is smart and ambitious, and willing to put in
   the effort to learn and to solve problems.
  
   I should be able to fill this role at light speed, but I need the
   applicants to do it.  Please submit your resume (preferably in
   MS-Word) and your salary requirements to
   beau[AT]open-source-staffing.com
  
   * US Citizens or Green Card holders only
   * Tri-state (NY, NJ, CT) residents only
   * 100% on-site job in New York City
  
   Thank you,
   Beau J. Gould
   --
   Open Source Staffing
   http://www.open-source-staffing.com
   http://www.facebook.com/beau.gould
   beau[AT]open-source-staffing.com
  
  
  
 
 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4305
Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm