Cfdiv error ie 7

2008-10-30 Thread Loathe
Unable to open connection to url:

Works just fine in FF.  Seems like it might be related to this being on a
secure server. Anyone have any ideas?


~|
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:314601
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Looking for Adam Lehman's CF8 Demos

2008-10-29 Thread Loathe
What accident? 

Tim Heald

 -Original Message-
 From: Steve Moore [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 29, 2008 4:02 PM
 To: cf-talk
 Subject: Looking for Adam Lehman's CF8 Demos
 
 Prior to his accident, Adam Lehman from Adobe had posted 
 version 2 of his CF 8 demos to his website at 
 adrocknaphobia.com. This site is now unavailable and I was 
 wondering if anybody had his zip file? I'm specifically 
 looking for his samples for the CF/Blaze DS chat application.
 
 Steve Moore
 [EMAIL PROTECTED]
 
 
 

~|
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:314570
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Looking for Adam Lehman's CF8 Demos

2008-10-29 Thread Loathe
Thanks. 

 -Original Message-
 From: Jason Fisher [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 29, 2008 4:30 PM
 To: cf-talk
 Subject: Re: Looking for Adam Lehman's CF8 Demos
 
 http://carehart.org/blog/client/index.cfm/2008/9/29/adam_lehma
 n_accident
 
 :-( 
 
 

~|
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:314575
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: docx (office 2007) from CF? (Cross)

2008-10-14 Thread Loathe
We already have a PDF solution in place.  Which is great if they just 
need to print the document.  They also want to be able to save, edit and 
pass around the document.

I'm just doing what the client has told me, word is what they want.

Tom Chiverton wrote:
 On Monday 13 Oct 2008, Loathe wrote:
 I have to create very large (sometimes hundreds of pages) word documents
 from CF with some pretty specific formatting and layout rules.
 
 Is PDF not an option ? You've jumped straight to a technology specific answer 
 twice now, with out explain the actual intent of your application.
 

~|
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:313843
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: docx (office 2007) from CF? (Cross)

2008-10-14 Thread Loathe
Yeah, I'm working on finalizing the formatting requirements for a 
template now.

Then it's unzip the docx and tear it apart to see how I can have cf 
create the xml files.

Jim Davis wrote:
 -Original Message-
 From: Tom Chiverton [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 14, 2008 10:36 AM
 To: cf-talk
 Subject: Re: docx (office 2007) from CF? (Cross)

 On Tuesday 14 Oct 2008, Loathe wrote:
 We already have a PDF solution in place.  Which is great if they just
 need to print the document.  They also want to be able to save, edit
 and
 pass around the document.
 Perfectly possible in a PDF file format. Sometimes without paying Adobe
 (OpenOffice v3, for example).
 
 I'm just a poor country chicken... but this here OpenOffice don't seem
 like it's Word.
 
 Seriously tho' - the requirement is to do this in Word.  It's nonsensical to
 suggest non-Word alternatives.  The client-side requirements are immutable.
 
 That said, Loath, the link provided should give all the information about
 the format. I'm sure you've thought of this but I'll say it anyway: don't
 try to build the doc from scratch.  What you've described seems pretty
 formulaic (complex, but formula) - create a template that contains all the
 elements and look to add/edit new nodes as needed rather than build from
 scratch.
 
 In my experience with formats like this (I've not done DocX, but I have
 dealt with similar) the key is to let the native tool do as much of the work
 as possible.  Doing small changes natively then comparing (diffing) that doc
 to the previous one can be invaluable.
 
 While developing test CONSTANTLY because even small changes can have
 dramatic effects.  I also strongly urge to have the output checked out by
 multiple people: in docs like this there are so many little things to go
 wrong.  The more eyeballs the better.
 
 Sorry I can't be more specific.
 
 Jim Davis
 
 
 

~|
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:313886
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: docx (office 2007) from CF? (Cross)

2008-10-14 Thread Loathe
It's gong to be in Word 07.  Thats the requirement.

Shannon Peevey wrote:

 Perfectly possible in a PDF file format. Sometimes without paying Adobe
 (OpenOffice v3, for example).
 I'm just a poor country chicken... but this here OpenOffice don't seem
 like it's Word.

 Seriously tho' - the requirement is to do this in Word.  It's nonsensical
 to
 suggest non-Word alternatives.  The client-side requirements are immutable.

 
 OpenOffice can convert between Microsoft Office and other document formata,
 (server-side).  (It's really probably the best there is at this).
 OpenDocument Format is the original standard for file representation, (
 ISO/IEC 26300:2006 Open Document Format for Office Applications
 (OpenDocument) v1.0), so I don't know why Microsoft pursued a second
 standard...  Last but not least, Microsoft Office will soon support
 OpenDocument Format, (
 http://www.microsoft.com/Presspass/press/2008/may08/05-21ExpandedFormatsPR.mspx).
 
 I see your point, though :)
 speeves
 
 
 

~|
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:313887
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: docx (office 2007) from CF? (Cross)

2008-10-14 Thread Loathe
iText has done great for smallish documents.  As has just forcing mime 
type, and using CSS.

Wil Genovese wrote:
 Ya know we do something here similar where we convert html to RTF  
 which can be read by MS Word without any problems.
 
 There is an htmltortf.exe program somewhere that we execute from CF5.   
 Yeah, this is real old legacy code on an old server but the thing  
 still works for the client. However, this requires Windows.
 
 Part of moving them to CF8 we have to figure out how to replicate  
 this. I've been digging for a Java RTF api.  I haven't found the grail  
 yet, but I suspect I've just looked in the wrong places.
 
 Anyways, this may be a valid way to solve your problem.
 
 
 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 Oct 14, 2008, at 3:09 PM, Loathe wrote:
 
 Yeah, I'm working on finalizing the formatting requirements for a
 template now.

 Then it's unzip the docx and tear it apart to see how I can have cf
 create the xml files.

 Jim Davis wrote:
 -Original Message-
 From: Tom Chiverton [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 14, 2008 10:36 AM
 To: cf-talk
 Subject: Re: docx (office 2007) from CF? (Cross)

 On Tuesday 14 Oct 2008, Loathe wrote:
 We already have a PDF solution in place.  Which is great if they  
 just
 need to print the document.  They also want to be able to save,  
 edit
 and
 pass around the document.
 Perfectly possible in a PDF file format. Sometimes without paying  
 Adobe
 (OpenOffice v3, for example).
 I'm just a poor country chicken... but this here OpenOffice don't  
 seem
 like it's Word.

 Seriously tho' - the requirement is to do this in Word.  It's  
 nonsensical to
 suggest non-Word alternatives.  The client-side requirements are  
 immutable.

 That said, Loath, the link provided should give all the information  
 about
 the format. I'm sure you've thought of this but I'll say it anyway:  
 don't
 try to build the doc from scratch.  What you've described seems  
 pretty
 formulaic (complex, but formula) - create a template that contains  
 all the
 elements and look to add/edit new nodes as needed rather than build  
 from
 scratch.

 In my experience with formats like this (I've not done DocX, but I  
 have
 dealt with similar) the key is to let the native tool do as much of  
 the work
 as possible.  Doing small changes natively then comparing (diffing)  
 that doc
 to the previous one can be invaluable.

 While developing test CONSTANTLY because even small changes can have
 dramatic effects.  I also strongly urge to have the output checked  
 out by
 multiple people: in docs like this there are so many little things  
 to go
 wrong.  The more eyeballs the better.

 Sorry I can't be more specific.

 Jim Davis




 
 

~|
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:313895
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: docx (office 2007) from CF? (Cross)

2008-10-14 Thread Loathe
Good catch.

Wil Genovese wrote:
 Well this looks interesting.
 
 It's a .docx Java API.
 
 http://dev.plutext.org/trac/docx4j
 
 
 
 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 Oct 14, 2008, at 3:09 PM, Loathe wrote:
 
 Yeah, I'm working on finalizing the formatting requirements for a
 template now.

 Then it's unzip the docx and tear it apart to see how I can have cf
 create the xml files.

 Jim Davis wrote:
 -Original Message-
 From: Tom Chiverton [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 14, 2008 10:36 AM
 To: cf-talk
 Subject: Re: docx (office 2007) from CF? (Cross)

 On Tuesday 14 Oct 2008, Loathe wrote:
 We already have a PDF solution in place.  Which is great if they  
 just
 need to print the document.  They also want to be able to save,  
 edit
 and
 pass around the document.
 Perfectly possible in a PDF file format. Sometimes without paying  
 Adobe
 (OpenOffice v3, for example).
 I'm just a poor country chicken... but this here OpenOffice don't  
 seem
 like it's Word.

 Seriously tho' - the requirement is to do this in Word.  It's  
 nonsensical to
 suggest non-Word alternatives.  The client-side requirements are  
 immutable.

 That said, Loath, the link provided should give all the information  
 about
 the format. I'm sure you've thought of this but I'll say it anyway:  
 don't
 try to build the doc from scratch.  What you've described seems  
 pretty
 formulaic (complex, but formula) - create a template that contains  
 all the
 elements and look to add/edit new nodes as needed rather than build  
 from
 scratch.

 In my experience with formats like this (I've not done DocX, but I  
 have
 dealt with similar) the key is to let the native tool do as much of  
 the work
 as possible.  Doing small changes natively then comparing (diffing)  
 that doc
 to the previous one can be invaluable.

 While developing test CONSTANTLY because even small changes can have
 dramatic effects.  I also strongly urge to have the output checked  
 out by
 multiple people: in docs like this there are so many little things  
 to go
 wrong.  The more eyeballs the better.

 Sorry I can't be more specific.

 Jim Davis




 
 

~|
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:313898
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


docx (office 2007) from CF? (Cross)

2008-10-13 Thread Loathe
Has anyone done this?

I've looked into it some, seems to be a zip file of XML documents.  Can 
anyone point me in the write direction?

~|
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:313813
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: docx (office 2007) from CF? (Cross)

2008-10-13 Thread Loathe
I have to create very large (sometimes hundreds of pages) word documents 
from CF with some pretty specific formatting and layout rules.

I've been using iText to create some basic word docs, but as soon as 
they get too large CF throws weird errors.

The biggies are I need to be able to set headers and footers, page 
numbers, and use graphics.

It would be nice if I could do a table of contents, but not required.

It must be word.

I'm also wondering if there isn't some kind of .Net solution I couldn't 
use from CF, as this project is for CF 8.

Tom Chiverton wrote:
 Nope, not seen anything do it.
 You can look into calling Java's POI directly of course, but AFAIK that 
 doesn't write the not-a-standard .docx XML files, only the older 
 also-not-a-standard .doc binary files.
 
 What's your use case ?
 
 -Original Message-
 From: Loathe [mailto:[EMAIL PROTECTED]
 Sent: Mon 10/13/2008 16:05
 To: cf-talk
 Subject: docx (office 2007) from CF? (Cross)
  
 Has anyone done this?
 
 I've looked into it some, seems to be a zip file of XML documents.  Can 
 anyone point me in the write direction?
 
 
 
 

~|
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:313815
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: docx (office 2007) from CF? (Cross)

2008-10-13 Thread Loathe
Thanks, looks like a great place to start.

Shannon Peevey wrote:
 On Mon, Oct 13, 2008 at 10:17 AM, Loathe [EMAIL PROTECTED] wrote:
 
 I have to create very large (sometimes hundreds of pages) word documents
 from CF with some pretty specific formatting and layout rules.

 I've been using iText to create some basic word docs, but as soon as
 they get too large CF throws weird errors.

 The biggies are I need to be able to set headers and footers, page
 numbers, and use graphics.

 It would be nice if I could do a table of contents, but not required.

 It must be word.

 I'm also wondering if there isn't some kind of .Net solution I couldn't
 use from CF, as this project is for CF 8.

 
 Hi,
 
 You can check out the MSDN documentation at:
 http://msdn.microsoft.com/en-us/library/aa338205.aspx
 
 Then write your own libraries.  I have posted something similar for
 OpenDocument Format here:
 http://speeves.erikin.com/2008/08/coldfusion-opendocument-format-starter.html
 http://speeves.erikin.com/2008/08/coldfusion-opendiocument-format-add.html
 
 These are very basic, but give you an idea on how to work with a similar
 format.  The interesting thing, (to me), with OpenDocument Format, is that
 you can use jodconverter and transform the docs into most formats, (anything
 that OpenOffice can do).
 
 Let us know how it goes for you, as we need more documentation on handling
 these formats.
 
 thanks,
 speeves
 
 
 

~|
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:313826
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFC Objects (Best Practice)?

2008-09-24 Thread Loathe
The scope I used would depend on the manner in which I was using the CFC.

Something used on every request, like a user.cfc or cfc for logging I 
would use the application scope, however if it's something thats used 
less often but needs to exist across multiple requests I would use 
session variables, if it only needs to exist for the life of the single 
request, I use the request scope.

Randy wrote:
 To those who use CFCs as Objects:
 
 Is it best to create the CFC objects within the application or session scope
 to be called throughout the application?
 
 Ex:
 
 -- OnApplicationStart
 cfscript
 application.lookupCFC = createobject('component','cfcs.lookup');
  /cfscript
 
 -- OnSessionStart
  cfscript
 session.lookupCFC = createobject('component','cfcs.lookup');
  /cfscript
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313014
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 2 questions: ensuring a file is only included once, and scrubbing form and url scopes

2008-08-01 Thread Loathe
trim() to trim variables.


Pete Ruckelshaus wrote:
 I've got two questions.
 
 First: Is there a way to make sure a file is only cfincluded once?  I'm
 using cfinclude to include a UDF library in the onRequestStart() method of
 my application.cfc, but in my debug output, that file has a file count of 7,
 which has led me to realize that it's also being included when all of the
 other cfc and cfm files that go into the page are being called.
 
 Second: What method/code do you use to scrub/trim values in the FORM and URL
 scopes?
 
 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;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310053
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF 8 verity collections disappearing

2008-07-30 Thread Loathe
Ok, so we have a search tool that uses built in K2 verity in CF 8.

Recently we've begun getting errors from the verity collections 
disappearing.  Basically what happens is the user gets an error in the 
search saying the collection doesn't exist, the collection doesn't show 
up in the CF administrator, however, the directory for the collection 
still exists, and the collection is still listed in the admin.xml files 
for verity, only it is listed as offline.

When we tried to programtically remove the collection (cfcollection, 
cfdirectory for delete) we are unable to.  cfcollection says it doesn't 
exist, cfdirectory says we don't have permission to delete the directory.

I came up with a work around using a batch file and cfexecute to delete 
the directory and the run cfcollection to create a new collection, then 
cfindex to refresh the index.

Has anyone run into this before?  Why would the collection just go 
offline?

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309920
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 8 verity collections disappearing

2008-07-30 Thread Loathe
Anyone, bueller, bueller?

Loathe wrote:
 Ok, so we have a search tool that uses built in K2 verity in CF 8.
 
 Recently we've begun getting errors from the verity collections 
 disappearing.  Basically what happens is the user gets an error in the 
 search saying the collection doesn't exist, the collection doesn't show 
 up in the CF administrator, however, the directory for the collection 
 still exists, and the collection is still listed in the admin.xml files 
 for verity, only it is listed as offline.
 
 When we tried to programtically remove the collection (cfcollection, 
 cfdirectory for delete) we are unable to.  cfcollection says it doesn't 
 exist, cfdirectory says we don't have permission to delete the directory.
 
 I came up with a work around using a batch file and cfexecute to delete 
 the directory and the run cfcollection to create a new collection, then 
 cfindex to refresh the index.
 
 Has anyone run into this before?  Why would the collection just go 
 offline?
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309929
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 8 verity collections disappearing

2008-07-30 Thread Loathe
Not even close.

Azadi Saryev wrote:
 no idea. just guessing. how big is the collection? you are not over the
 verity indexing limit, are you?
 
 Azadi Saryev
 Sabai-dee.com
 http://www.sabai-dee.com/
 
 
 
 Loathe wrote:
 Anyone, bueller, bueller?

 Loathe wrote:
   
 Ok, so we have a search tool that uses built in K2 verity in CF 8.

 Recently we've begun getting errors from the verity collections 
 disappearing.  Basically what happens is the user gets an error in the 
 search saying the collection doesn't exist, the collection doesn't show 
 up in the CF administrator, however, the directory for the collection 
 still exists, and the collection is still listed in the admin.xml files 
 for verity, only it is listed as offline.

 When we tried to programtically remove the collection (cfcollection, 
 cfdirectory for delete) we are unable to.  cfcollection says it doesn't 
 exist, cfdirectory says we don't have permission to delete the directory.

 I came up with a work around using a batch file and cfexecute to delete 
 the directory and the run cfcollection to create a new collection, then 
 cfindex to refresh the index.

 Has anyone run into this before?  Why would the collection just go 
 offline?
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309938
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 8 verity collections disappearing

2008-07-30 Thread Loathe
Yeah same exact issue, only it's happening like every day.

Al Musella, DPM wrote:
 I have the same problem on cf 7.  It happens about once a month.. on 
 a site that I  volunteer for - just hadn't had the time to debug the problem..
   I have to manually delete the directory, then recreate the 
 collection, then repopulate it.
 
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309998
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: (ot) javascript problem

2008-07-08 Thread Loathe
The best means I have found of working out JS errors in IE is to create 
a project in Visual Web Developer 2008 (free).  Launch the project which 
will open a browser window (IE needs to be set as your default browser) 
then navigate to your page.  When the error occurs choose to debug the 
error, and VS will give you better information, and take you directly to 
the offending bit of JS.

Stephens, Larry V wrote:
 I'm using a DHTML javascript menu (from DynamicDrive) that works fine in 
 Mozilla (shows no errors in the error console). The sample works fine in IE 
 but my revision (no revision to code other than adding menu elements) won't 
 even show up in IE.
 
 I see an error icon but it tells me absolutely nothing useful.
 Line 348
 Char: 3
 Error: Invalid argument
 Code: 0
 
 As best I can tell - looking at the page source - line 348 is past the end of 
 the source code so I infer that the problem is in one of the referenced 
 javascript sources.
 
 I've tried the IE Developer's Toolbar but don't see anything like the Mozilla 
 error console.
 
 I do get warnings in the Mozilla error console but they don't track to a 
 specific line of code.
 
 Any clues on how to trace javascript errors in IE?
 
 A sample page is http://www.cincinnaticc.org/newweb/
 
 
 Larry V. Stephens
 Indiana University
 Office of Risk Management
 [EMAIL PROTECTED]
 812-855-9758
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308729
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Finding a number in a range - sort of - problem

2008-07-02 Thread Loathe
case?

Les Mizzell wrote:
 I'm trying to build a search interface for an existing database. Part of 
 the search is to find records of transactions between entered amounts. 
 Sounds easy enough - but the database is build with 2 fields for the 
 amounts.
 
 dsp_amount - integer - holds the base amount
 dsp_millthou - varchar - holds thousand, million, or billion
 
 so instead of 2,000 or 1,999,000 in a single field, you've got
 2 in the dsp_amount and thousand in the dsp_millthou field.
 
 I can't change the database.
 
 So searching for a transaction between 10 to 999 thousand is no big deal:
 
 
 SELECT blah, blah
 FROM myTABLE
 WHERE dsp_amount  10
and dsp_amount  99
and dsp_millthou = 'thousand'
 
 
 But, how would I locate amounts between 99 thousand and 4 million, for 
 example?
 
 I've been stumped for a couple of hours now...
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308506
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


(ot) How do I creat a new SVN repos from an existing SVN repos?

2008-06-30 Thread Loathe
Here is what I need to do.

I have an existing SVN repository.

I need to copy this repository into a NEW repository.  It's going to 
become an entirely new code base, not a branch.

So far, if I copy it or anything it tries to connect to the original 
repository because of all the svn files in there.

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308305
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


iText underline in the middle of a paragraph

2008-06-24 Thread Loathe
Here's what I have:

generalPara = paragraph.init(1. );
generalChunk = chunk.init(General);
generalChunk.setUnderline(javaCast(float, 0.2), javaCast(float, 
-2));
generalPara.add(generalChunk);

For some reason the first part of the paragraph, 1.  isn't being out 
put to the page, and although general shows up it isn't underlined, ideas?

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308057
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: More iText RTF Questions [bayes SPAMTRAP]

2008-06-13 Thread Loathe
Bit by bit it's coming together for sure.

While I've got your attention :)

I'm getting some weird behavior.  it seems to be producing a question 
mark (?) at weird intervals and I can't tell why.

Also, the actual text of the document is produced from html entered 
through fckEditor.  When I drop my fields in here it seems to ignore or 
escape the html to the page, how should I handle that?  Currently I'm 
simply removing all HTML tags with a regular expression, the problem 
comes in when the field contains multiple blocks of text separated with 
br /.  How would I make it recognize a space there?

Paul Hastings wrote:
 Loathe wrote:
 I've got it working, now I need to figure out how to do formatting and 
 alignment.
 
 iText is sometimes a bit too atomic when it comes to formatting (the cfteam 
 did 
 a great job taking much of the sweat out of using iText) but every object has 
 alignment properties:
 
 pageNumber.setAlignment(paragraph.ALIGN_RIGHT);
 
 and you can tweak it to an insane level.
 
 Still working out page numbers
 
 http://pastebin.com/m3e0ff845
 
 set the rtfPageNumber field on the rtfWriter2 not on the doc.
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307392
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: More iText RTF Questions [bayes SPAMTRAP]

2008-06-13 Thread Loathe
By jove I think I've got it :)

http://pastebin.com/mb49fe19

I've rewritten it several times now, simplifying the code until I think 
I have it down to just what I need and it's working just how I want it.

Now, I need to figure out the body of this damned thing and I'm there.

Paul Hastings wrote:
 Loathe wrote:
 I've got it working, now I need to figure out how to do formatting and 
 alignment.
 
 iText is sometimes a bit too atomic when it comes to formatting (the cfteam 
 did 
 a great job taking much of the sweat out of using iText) but every object has 
 alignment properties:
 
 pageNumber.setAlignment(paragraph.ALIGN_RIGHT);
 
 and you can tweak it to an insane level.
 
 Still working out page numbers
 
 http://pastebin.com/m3e0ff845
 
 set the rtfPageNumber field on the rtfWriter2 not on the doc.
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307397
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


More iText RTF Questions

2008-06-12 Thread Loathe
All of these questions are in reference to creating RTF docs using iText 
and RtfWriter2 in ColdFusion called with the javaLoader.cfc

1.  How do I create an 8.5 x 11 page?

2.  How do I have a 1 margin?

3.  How do I create a header that actually displays in the page?

4.  How do I add page numbers, after the first page only, in the footer?

I've found tutorials and examples online to do all of this in pure java, 
but I'm having a hell of a time of it trying to convert that into CF. 
Any help would really be appreciated.

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307324
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: More iText RTF Questions

2008-06-12 Thread Loathe
Excellent example, thanks.

I'm at the point where I can output text to the body of the RTF doc. 
Your example helps with the page type and margins, and helps me wrap my 
head around how to call the objects.

Peterson, Chris wrote:
 Loathe,
 
 This is not exactly what you need (this uses iText to write a series of
 tiff images to a PDF), but it should show you how to use iText with CF!
 
 http://pastebin.com/m7187bf8d
 
 Chris Peterson
 
 -Original Message-
 From: Loathe [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 12, 2008 7:24 AM
 To: CF-Talk
 Subject: More iText RTF Questions
 
 All of these questions are in reference to creating RTF docs using iText
 
 and RtfWriter2 in ColdFusion called with the javaLoader.cfc
 
 1.  How do I create an 8.5 x 11 page?
 
 2.  How do I have a 1 margin?
 
 3.  How do I create a header that actually displays in the page?
 
 4.  How do I add page numbers, after the first page only, in the footer?
 
 I've found tutorials and examples online to do all of this in pure java,
 
 but I'm having a hell of a time of it trying to convert that into CF. 
 Any help would really be appreciated.
 
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307326
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: More iText RTF Questions

2008-06-12 Thread Loathe
Page events don't work with RTF creation, as the client renders the 
document when it is opened.

That being said there is a footerheader object as part of the rtf 
writer.  I called it, it isn't throwing an error, and I can see my text 
in the document when opened in notepad, but not in word.

The last two posts have really helped me out a lot, let me clean up what 
I have and see where I am.

Thanks man.  I've sen you all over the iText forums and mailing list, 
you seem to be the CF community expert :)

Paul Hastings wrote:
 Loathe wrote:
 1.  How do I create an 8.5 x 11 page?
 
 pageSize=createObject(java, com.lowagie.text.PageSize).init();
 doc=createObject(java,com.lowagie.text.Document).init(pageSize.LETTER,0,0,0,0);
 
 2.  How do I have a 1 margin?
 
 the 0,0,0,0 bit above are the margins in points. 1=72pt.
 
 3.  How do I create a header that actually displays in the page?
 
 there's a couple of approaches to this:
 
 page events, cfsearching blog has a superb set of posts on itext  cf, this 
 one 
 is about page events 
 http://cfsearching.blogspot.com/2008/03/instructions-for-cf-itext.html
 
 directContent (ie stick any text/image/etc anywhere on the page):
 cfscript
 myObj = structNew();
 local = structNew();
 
 BaseFont=createObject(java, com.lowagie.text.pdf.BaseFont);
 bf=baseFont.createFont(BaseFont.COURIER,BaseFont.CP1252,BaseFont.EMBEDDED);
 
 myObj.document=CreateObject(java, com.lowagie.text.Document);
 newFile=expandPath(test.pdf);
   
 myObj.fileIO=createObject(java,java.io.FileOutputStream).init(newFile);
 myObj.pdfWriter=CreateObject(java, com.lowagie.text.pdf.PdfWriter);
 myObj.vertText=createObject(java,com.lowagie.text.pdf.VerticalText);
 myObj.pdfContentByte=createObject(java,com.lowagie.text.pdf.PdfContentByte);
 // create document
 myObj.document.init();
 // call the static 'getInstance' factory method
 local.writer=myObj.pdfWriter.getInstance(myObj.document, myObj.fileIO);
 // open the document
 myObj.document.open();
 local.cb=local.writer.getDirectContent();
 local.cb.beginText();
 local.cb.setFontAndSize(bf, 12.0);
 local.cb.showTextAligned(1, 'THIS IS A TEST', 100, 100, 0);
 local.cb.endText();
 myObj.document.close();
 /cfscript
 
 4.  How do I add page numbers, after the first page only, in the footer?
 
 see #3.
 
 I've found tutorials and examples online to do all of this in pure java, 
 but I'm having a hell of a time of it trying to convert that into CF. 
 
 porting from bruno's java examples to cf is fairly straightforward. where are 
 you getting stuck?
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307328
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: More iText RTF Questions [bayes SPAMTRAP]

2008-06-12 Thread Loathe
http://pastebin.com/m635a3bd4

I've got it working, now I need to figure out how to do formatting and 
alignment.

Still working out page numbers

Paul Hastings wrote:
 Loathe wrote:
 That being said there is a footerheader object as part of the rtf 
 writer.  I called it, it isn't throwing an error, and I can see my text 
 in the document when opened in notepad, but not in word.
 
 post your code.
 
 btw cfsearching's not my blog.
 
 besides that blog, i recommend anybody working w/iText to cough up the bucks 
 for 
 bruno's book, the eBook's only $30:
 
 http://www.manning.com/lowagie/
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307340
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Word document generation (header, footer, page numbering)

2008-06-11 Thread Loathe
I've heard that a couple of times now, but I don't think I could get 
permission to run another server, and I somehow doubt the security 
people would be down with it.

denstar wrote:
 On Tue, Jun 10, 2008 at 6:26 AM, Loathe [EMAIL PROTECTED] wrote:
 There are several well known ways of generating word documents, xml,
 html with cfcontent/header, and I hear POI although I haven't used it.

 I have a need to be able to create a word document and do page
 numbering, and have access to the header and footer to add letterhead
 and document classification information.  I'm wondering if anyone can
 point me towards a solution that does this other than CF Report Builder?
 
 My stock answer is JasperReports.  iReport is the visual designer,
 and it's quite nice (destroys the Report Builder, IMO).
 
 It has it's own XML format for creating reports, which is swell for
 use with some kind of code generator.
 
 Building PDFs and word docs and whatnot can eat up a lot of CPU cycles
 on a loaded server, so I started using JasperServer on a separate box,
 and just talk to it through the webservice it provides.
 
 It exports reports in PDF, RTF, XLS, CSV, and jasperserver will do
 auto-email stuff, so every Tuesday you can automatically send someone
 a report, or whatever.
 
 We've had great experiences with this setup.  YMMV.
 -denny
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307222
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Word document generation (header, footer, page numbering)

2008-06-10 Thread Loathe
There are several well known ways of generating word documents, xml, 
html with cfcontent/header, and I hear POI although I haven't used it.

I have a need to be able to create a word document and do page 
numbering, and have access to the header and footer to add letterhead 
and document classification information.  I'm wondering if anyone can 
point me towards a solution that does this other than CF Report Builder?

I've tried using open office wordProcesingML, but it doesn't auto 
generate page numbers.

T

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307153
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Word document generation (header, footer, page numbering)

2008-06-10 Thread Loathe
Thanks a lot, I'll jump into it now.

Paul Hastings wrote:
 Loathe wrote:
 I have a need to be able to create a word document and do page 
 numbering, and have access to the header and footer to add letterhead 
 and document classification information.  I'm wondering if anyone can 
 point me towards a solution that does this other than CF Report Builder?
 
 have a look at iText's rtfWriter2 class. iText powers cfdocument, etc on cf7 
  
 above so it should just be there. if you need the latest  greatest 
 version, 
 use mark's javaLoader to load the iText jar for use w/cf.
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307158
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RtfWriter2 was (Re: Word document generation (header, footer, page numbering))

2008-06-10 Thread Loathe
Whats the correct path to the RtfWriter2 class?

I thought it would be  com.lowagie.text.RtfWriter2 but it can't find 
that, I have googled all over the place for it. I've created the 
document object now I need to pass that to RtfWriter2.getInstance() but 
can't seem to instantiate a RtfWriter2 object.

Any hep would be appreciated, I'm so damned close :)

Also, how do you find these out?  I assumed there would be some way 
through introspection but can't seem to figure out how to get the info, 
I'm dumping the objects I have but I just get the methods and 
properties, no info on children or super or anything.

Paul Hastings wrote:
 Loathe wrote:
 I have a need to be able to create a word document and do page 
 numbering, and have access to the header and footer to add letterhead 
 and document classification information.  I'm wondering if anyone can 
 point me towards a solution that does this other than CF Report Builder?
 
 have a look at iText's rtfWriter2 class. iText powers cfdocument, etc on cf7 
  
 above so it should just be there. if you need the latest  greatest 
 version, 
 use mark's javaLoader to load the iText jar for use w/cf.
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307168
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: RtfWriter2 was (Re: Word document generation (header, footer, page numbering))

2008-06-10 Thread Loathe
Disregard.

It's com.lowagie.text.rtf.RtfWriter2

Loathe wrote:
 Whats the correct path to the RtfWriter2 class?
 
 I thought it would be  com.lowagie.text.RtfWriter2 but it can't find 
 that, I have googled all over the place for it. I've created the 
 document object now I need to pass that to RtfWriter2.getInstance() but 
 can't seem to instantiate a RtfWriter2 object.
 
 Any hep would be appreciated, I'm so damned close :)
 
 Also, how do you find these out?  I assumed there would be some way 
 through introspection but can't seem to figure out how to get the info, 
 I'm dumping the objects I have but I just get the methods and 
 properties, no info on children or super or anything.
 
 Paul Hastings wrote:
 Loathe wrote:
 I have a need to be able to create a word document and do page 
 numbering, and have access to the header and footer to add letterhead 
 and document classification information.  I'm wondering if anyone can 
 point me towards a solution that does this other than CF Report Builder?
 have a look at iText's rtfWriter2 class. iText powers cfdocument, etc on cf7 
  
 above so it should just be there. if you need the latest  greatest 
 version, 
 use mark's javaLoader to load the iText jar for use w/cf.



 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307169
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: RtfWriter2 was (Re: Word document generation (header, footer, page numbering))

2008-06-10 Thread Loathe
Moving on:

I have:

cfset docPath = expandPath(./testDoc.rtf)
cfset myFile = 
CreateObject(java,java.io.FileOutputStream).Init(CreateObject(java,java.io.File).Init(docPath))
cfscript
paths = arrayNew(1);

/*
This points to the jar we want to load.
Could also load a directory of .class files
*/
paths[1] = expandPath(iText-2.1.2u.jar);
paths[2] = expandPath(iText-rtf-2.1.2u.jar);


//create the loader
loader = createObject(component, javaloader.JavaLoader).init(paths);

myDoc = loader.create(com.lowagie.text.Document).init();
myRTF = loader.create(com.lowagie.text.rtf.RtfWriter2);
// myRTF = myRTF.init(myDoc,myFile)
// thisRTF = myRTF.getInstance(myRTF, myFile);
/cfscript

cfdump var=myRTF

No I need to instantiate an object of type RtfWriter2 the constructor 
takes type Document and OutputStream.  I would have though my init() 
would work but CF says it can't find a constructor that takes these 
types, what am I doing wrong here?

Does anyone have a basic hello world example I could take a look at that 
uses these classes?  Once I can get to having the RtfWriter2 I'm pretty 
sure I can figure it our the rest of the methods seem pretty easy to use 
and the lowagie site has some good examples.

Loathe wrote:
 Disregard.
 
 It's com.lowagie.text.rtf.RtfWriter2
 
 Loathe wrote:
 Whats the correct path to the RtfWriter2 class?

 I thought it would be  com.lowagie.text.RtfWriter2 but it can't find 
 that, I have googled all over the place for it. I've created the 
 document object now I need to pass that to RtfWriter2.getInstance() but 
 can't seem to instantiate a RtfWriter2 object.

 Any hep would be appreciated, I'm so damned close :)

 Also, how do you find these out?  I assumed there would be some way 
 through introspection but can't seem to figure out how to get the info, 
 I'm dumping the objects I have but I just get the methods and 
 properties, no info on children or super or anything.

 Paul Hastings wrote:
 Loathe wrote:
 I have a need to be able to create a word document and do page 
 numbering, and have access to the header and footer to add letterhead 
 and document classification information.  I'm wondering if anyone can 
 point me towards a solution that does this other than CF Report Builder?
 have a look at iText's rtfWriter2 class. iText powers cfdocument, etc on 
 cf7  
 above so it should just be there. if you need the latest  greatest 
 version, 
 use mark's javaLoader to load the iText jar for use w/cf.




 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307173
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: RtfWriter2 was (Re: Word document generation (header, footer, page numbering))

2008-06-10 Thread Loathe
Once again disregard, I figured it out.

A hello world with RtfWriter2:

cfset docPath = expandPath(testDoc.rtf)
cfset myFile = 
CreateObject(java,java.io.FileOutputStream).Init(CreateObject(java,java.io.File).Init(docPath))
 
/
cfscript
paths = arrayNew(1);

/*
This points to the jar we want to load.
Could also load a directory of .class files
*/
paths[1] = expandPath(iText-2.1.2u.jar);
paths[2] = expandPath(iText-rtf-2.1.2u.jar);


//create the loader
loader = createObject(component, javaloader.JavaLoader).init(paths);

myDoc = loader.create(com.lowagie.text.Document).init();
myRTF = loader.create(com.lowagie.text.rtf.RtfWriter2);
thisRTF = myRTF.getInstance(myDoc, myFile);
myDoc.open();
myPara = loader.create(com.lowagie.text.Paragraph);
para = myPara.init(Hello World);
myDoc.add(para);
myDoc.close();

/cfscript

Loathe wrote:
 Moving on:
 
 I have:
 
 cfset docPath = expandPath(./testDoc.rtf)
 cfset myFile = 
 CreateObject(java,java.io.FileOutputStream).Init(CreateObject(java,java.io.File).Init(docPath))
 cfscript
   paths = arrayNew(1);
 
   /*
   This points to the jar we want to load.
   Could also load a directory of .class files
   */
   paths[1] = expandPath(iText-2.1.2u.jar);
   paths[2] = expandPath(iText-rtf-2.1.2u.jar);
 
 
   //create the loader
   loader = createObject(component, javaloader.JavaLoader).init(paths);
   
   myDoc = loader.create(com.lowagie.text.Document).init();
   myRTF = loader.create(com.lowagie.text.rtf.RtfWriter2);
   // myRTF = myRTF.init(myDoc,myFile)
   // thisRTF = myRTF.getInstance(myRTF, myFile);
 /cfscript
   
 cfdump var=myRTF
 
 No I need to instantiate an object of type RtfWriter2 the constructor 
 takes type Document and OutputStream.  I would have though my init() 
 would work but CF says it can't find a constructor that takes these 
 types, what am I doing wrong here?
 
 Does anyone have a basic hello world example I could take a look at that 
 uses these classes?  Once I can get to having the RtfWriter2 I'm pretty 
 sure I can figure it our the rest of the methods seem pretty easy to use 
 and the lowagie site has some good examples.
 
 Loathe wrote:
 Disregard.

 It's com.lowagie.text.rtf.RtfWriter2

 Loathe wrote:
 Whats the correct path to the RtfWriter2 class?

 I thought it would be  com.lowagie.text.RtfWriter2 but it can't find 
 that, I have googled all over the place for it. I've created the 
 document object now I need to pass that to RtfWriter2.getInstance() but 
 can't seem to instantiate a RtfWriter2 object.

 Any hep would be appreciated, I'm so damned close :)

 Also, how do you find these out?  I assumed there would be some way 
 through introspection but can't seem to figure out how to get the info, 
 I'm dumping the objects I have but I just get the methods and 
 properties, no info on children or super or anything.

 Paul Hastings wrote:
 Loathe wrote:
 I have a need to be able to create a word document and do page 
 numbering, and have access to the header and footer to add letterhead 
 and document classification information.  I'm wondering if anyone can 
 point me towards a solution that does this other than CF Report Builder?
 have a look at iText's rtfWriter2 class. iText powers cfdocument, etc on 
 cf7  
 above so it should just be there. if you need the latest  greatest 
 version, 
 use mark's javaLoader to load the iText jar for use w/cf.




 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307174
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Why is CF giving me grief over this code?

2008-05-29 Thread Loathe
You need to have a closing cfswitch containing cfcases for it to work.

Rick Faircloth wrote:
 ?
 
 cfif isdefined('url.property_type')
cfswitch expression='#url.property_type#'
 cfelse
cfswitch expression='#form.property_type#'
 /cfif
 
 It's complaining with this error:
 
 Context validation error for the cfelse tag.  
 The tag must be nested inside a CFIF tag.
 
 Can cfswitch tags not be nested inside cfif tags?
 
 Rick
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306253
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Why is CF giving me grief over this code?

2008-05-29 Thread Loathe
Steve Nelson had a tag formurl2attributes.cfm

I can't seem to find it for download though.

Charlie Griefer wrote:
 On Thu, May 29, 2008 at 8:57 AM, Rick Faircloth
 [EMAIL PROTECTED] wrote:
 ?

 cfif isdefined('url.property_type')
   cfswitch expression='#url.property_type#'
 cfelse
   cfswitch expression='#form.property_type#'
 /cfif

 It's complaining with this error:

 Context validation error for the cfelse tag.
 The tag must be nested inside a CFIF tag.

 Can cfswitch tags not be nested inside cfif tags?
 
 not like that, no.  you need to finish the switch inside of each condition.
 
 would be better to do:
 
 cfif structKeyExists(url, 'property_type')
  cfset variables.property_type = URL.property_type /
 /cfif
 cfif structKeyExists(form, 'property_type')
  cfset variables.property_type = form.property_type /
 /cfif
 
 then
 
 cfswitch expression=#variables.property_type#
  (case statements)
 /cfswitch
 
 i think there's a custom tag out there that will automagically put
 form/URL vars into an attributes scope.  This is how fusebox does it
 by default (and in Model-Glue it's in the 'event')... but I seem to
 recall a custom tag that would accomplish the same end for folks who
 aren't using a framework.
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306261
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF Report Builder revisited

2008-05-22 Thread Loathe
Ok,

So I've gotten the basics of report builder down, now I'm moving on to 
something a bit more advanced.


I have a document that needs to look something like this:

Header/letterhead

Memorandum for: blah

1. General

blah blah blah pulled form the DB from the main report query

!--- from here down is a sub report pulled from a different report ---

2. J3: Operations

Topic: sdkjflkdsjafljsdlfj

Observation: dslkfjlsdjfldjslfja;lsd

and so on and so on

I figured out the numbering issue, I just do currentRow + 1, not a problem.

The thing I'm finding now is a huge gap between the end of the general 
paragraph and the beginning of the #2 subreport line.

I've trimmed the filed that contains the general text, and I'm just not 
having any luck, ideas?

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305908
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Scratching my head over this one

2008-05-16 Thread Loathe
Is it an internal address? Meaning is it only available from inside 
you're router/firewall/switch or whatever?



Toby King wrote:
 Hi all
 
 I'ms tuck on this and wondering if it can be done.
 
 Basically I have a coldfusion application developed and working.  I also have 
 another computer in the network that is used as a security monitoring system 
 with cameras attached to it.
 
 In my application I have an active link something a href=view 
 camerashttp://192.168.0.100/a
 
 Now when I am on the network I get the page and everything is OK and displays.
 
 I am now trying to do this so I can set the system up to perform monitoring 
 when away from the office.
 
 I thought that I might be able to do this using the link above but with no 
 luck.
 
 I then tried using the IP Address which is a static IP address but no luck 
 i.e. 
 
 a href=view camerashttp://210.1.230.149/a  (Not the actual IP Adress 
 for security reasons - but rather to give you an idea).
 
 So I am wondering if anyone has any ideas am I able to do this at all.
 
 Thanks in advance.
 
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305543
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: any ideas

2008-05-14 Thread Loathe
Something like this maybe?
cfscript
dataObject[1][1] = myField; // field name
dataObject[1][2] = myValue; // value
dataObject[1][3] = myDataType // data type
/cfscript

cfloop from=1 to=#arrayLen(dataObject)# index=i
and #dataObject[i][1]# = cfqueryparam value=#dataObject[i][2] 
cfsqltype=#dataObject[i][3]
/cfloop

Thats off the dome so it could be wrong some.

Mary Jo Sminkey wrote:
 Anyone have a good way of doing this and keep safe from SQL injection?
 
 Do you have any information at all about the field types/columns being 
 included? There are certainly ways to handle this if you just have something 
 like a string of words you want to search on or known phrases, such that you 
 can split them out into cfqueryparams. If it's just a random where clause, 
 that would be a lot more challenging, if not impossible, to make hacker-safe. 
 
 --- Mary Jo
 
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305286
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 Report Builder Questions

2008-05-12 Thread Loathe
Doh.

Dale Fraser wrote:
 This is ColdFusion remember
 
 Change
 
 calc.PAGE_NUMBER = 1
 
 to
 
 calc.PAGE_NUMBER eq 1
 
 Regards
 Dale Fraser
 http://learncf.com
 http://flexcf.com
 
 
 -Original Message-
 From: Loathe [mailto:[EMAIL PROTECTED] 
 Sent: Monday, 12 May 2008 10:15 AM
 To: CF-Talk
 Subject: CF Report Builder Questions
 
 So I'm new to report builder and full of question.
 
 I guess I'll start out easy and work my way up.
 
 In my header I need to have a letter head display only on the first 
 page.  In the field
 
 Print when condition
 
 I added
 
 calc.PAGE_NUMBER = 1
 
 Now the template throws an error.  How do I only display content on 
 certain pages?  I need to doe the same thing with page numbers in the 
 footer when calc.PAGE_NUMBER  1.
 
 Additionally, I have a bunch of sub reports.  Sometimes the queries that 
 drive these reports will not have any content, so I need for them to not 
 display, I also need the paragraph number scheme not to get messed up. 
 Each major section that is displayed needs to increment the number, but 
 the number needs to not increment for those reports where recordCount eq 0.
 
 Is this possible?
 
 TIA
 
 
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305079
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 Report Builder Questions

2008-05-12 Thread Loathe
Next question.

I have a label

Subject:

and a field

query.title

They are the same font and size, I dragged the boarders to the right 
places, but the field is slightly higher than the label.  How do I make 
this things align correctly?

Loathe wrote:
 Doh.
 
 Dale Fraser wrote:
 This is ColdFusion remember

 Change

 calc.PAGE_NUMBER = 1

 to

 calc.PAGE_NUMBER eq 1

 Regards
 Dale Fraser
 http://learncf.com
 http://flexcf.com


 -Original Message-
 From: Loathe [mailto:[EMAIL PROTECTED] 
 Sent: Monday, 12 May 2008 10:15 AM
 To: CF-Talk
 Subject: CF Report Builder Questions

 So I'm new to report builder and full of question.

 I guess I'll start out easy and work my way up.

 In my header I need to have a letter head display only on the first 
 page.  In the field

 Print when condition

 I added

 calc.PAGE_NUMBER = 1

 Now the template throws an error.  How do I only display content on 
 certain pages?  I need to doe the same thing with page numbers in the 
 footer when calc.PAGE_NUMBER  1.

 Additionally, I have a bunch of sub reports.  Sometimes the queries that 
 drive these reports will not have any content, so I need for them to not 
 display, I also need the paragraph number scheme not to get messed up. 
 Each major section that is displayed needs to increment the number, but 
 the number needs to not increment for those reports where recordCount eq 0.

 Is this possible?

 TIA




 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305081
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 Report Builder Questions

2008-05-12 Thread Loathe
The alignment buttons were just what I needed, thanks.

Just shift clicked both elements, aligned top and done.

Now to figure out  how to dynamically number the sections :)

Terry Schmitt wrote:
 I'm interested in this one... I actually ran into this again last night.
 There is a vertical alignment parameter for both of those objects, but as 
 near as I can tell, it does not work.
 
 - Make sure your font size is the same.
 - The left side of the GUI has a whole bunch of alignment buttons that make 
 life much easier then trying to drag everything around.
 - I manually reduce the height of the field and labels until they are 
 essentially vertically centered. Trial and error here.
 
 You will find that Report Builder is really neat once you have a report all 
 laid out, but it is one of the lesser refined applications that I've used.
 
 Next question.

 I have a label

 Subject:

 and a field

 query.title

 They are the same font and size, I dragged the boarders to the right 
 places, but the field is slightly higher than the label.  How do I make 
 this things align correctly?

 Loathe wrote:
 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305085
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF Report Builder Questions

2008-05-11 Thread Loathe
So I'm new to report builder and full of question.

I guess I'll start out easy and work my way up.

In my header I need to have a letter head display only on the first 
page.  In the field

Print when condition

I added

calc.PAGE_NUMBER = 1

Now the template throws an error.  How do I only display content on 
certain pages?  I need to doe the same thing with page numbers in the 
footer when calc.PAGE_NUMBER  1.

Additionally, I have a bunch of sub reports.  Sometimes the queries that 
drive these reports will not have any content, so I need for them to not 
display, I also need the paragraph number scheme not to get messed up. 
Each major section that is displayed needs to increment the number, but 
the number needs to not increment for those reports where recordCount eq 0.

Is this possible?

TIA

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305073
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Spry Eclipse Plugin?

2008-05-09 Thread Loathe
You can change selection case on right click in eclipse.

Gerald Guido wrote:
 And Eclipse 3.4 has a WYSIWYG HTML editor, for those pesky table-based
 layouts.
 
 @denstar
 
 Could you point me to that wonderful nugget of joy? With that, CF studio
 will become just another text editor (though awesome). I think the only
 other thing I use it for is the change tag case feature...
 
 G
 
 On Fri, May 9, 2008 at 8:18 PM, denstar [EMAIL PROTECTED] wrote:
 
 On Fri, Apr 27, 2007 at 8:30 PM, Aaron Roberson [EMAIL PROTECTED]
 wrote:
 
 Really, are we throwing the baby (DW) out with the bathwater
 (commercial license)?
 Nope.

 Eclipse just plain destroys dreamweaver, from a coder's perspective.

 I'm liking JSDT for Eclipse javascript development.  W00t3rZ!

 And Eclipse 3.4 has a WYSIWYG HTML editor, for those pesky table-based
 layouts.

 But, no, there is no question in my mind, Eclipse is where it's at.

 Even if both were free (as in beer) and open, I'd be using Eclipse.

 Denny


 
 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305056
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: dba humor

2007-10-10 Thread Loathe
While it doesn't really belong on this list, thank you, I needed that.

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 10, 2007 1:40 PM
To: CF-Talk
Subject: dba humor

OMG I laughed so hard...
 
http://xkcd.com/327/
 

 
Andy Matthews
Senior ColdFusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com http://www.dealerskins.com/ 
 





~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290795
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Splitting UI and Data

2007-10-10 Thread Loathe
Only tons.

It's very easy to use, currently configured through a couple of easy to edit
xml files.  Even that is going to be going away soon I believe, and it will
be an easier CF based set up.  That's why I prefer Fusebox.  Really easy to
write drag and drop apps.  With some of the others I've a harder time
getting them set up and configure as easily.  You start getting into server
mappings and stuff, but with CF you can either set up on framework install
per server, multiple frameworks, or just have it in the same directory
structure as the application files.

Go to www.fusebox.org for more info man, it's worth it.

-Original Message-
From: Morten Kruse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 10, 2007 10:21 AM
To: CF-Talk
Subject: Re: Splitting UI and Data

I do think that I will program it by myself. I like to be in controle.
This Best practice from Benorama looks very good.
http://www.benorama.com/coldfusion/index.htm
Therfore I think that I will try this first.
If everything fails with that I will use Fusebox.
But I do not like it. Maby if I get more into it I will.
Any one that have any expirence? 



~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290796
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Splitting UI and Data

2007-10-10 Thread Loathe
Agreed.

You pop over to community and say hi.
-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 10, 2007 12:04 PM
To: CF-Talk
Subject: Re: Splitting UI and Data

Er, you think THAT is less complicated than Fusebox?

Look, I know the frameworks can seem daunting at first, but they really
aren't. In fusebox, what you're asking about can be done as simply as:

fuseaction name=showProduct
  set name=product value=#application.productService.getProductByID(
attributes.productID )# /
  include template=dspProduct /
/fuseaction

And then the query or object named product is available in your
dspProduct.cfm file. It doesn't get much easier than that. To be honest, all
of the HTML front-controller frameworks work pretty similarly but with
different syntaxes. In my opinion, by far the most challenging (and fun)
part is building the model, which is a totally separate topic and can get
extremely complex depending on the needs of the application.



On 10/10/07, Morten Kruse [EMAIL PROTECTED] wrote:

 I do think that I will program it by myself. I like to be in controle.
 This Best practice from Benorama looks very good.
 http://www.benorama.com/coldfusion/index.htm
 Therfore I think that I will try this first.
 If everything fails with that I will use Fusebox.
 But I do not like it. Maby if I get more into it I will.
 Any one that have any expirence?

 



~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290797
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Splitting UI and Data

2007-10-10 Thread Loathe
Feel free to email me off list with questions.

There is also a mailing list and a forum that are excellent learning tools,
and the wiki is a great resource as well.

-Original Message-
From: Morten Kruse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 10, 2007 3:36 PM
To: CF-Talk
Subject: Re: Splitting UI and Data

Ok, I will take a look at fusebox.
Thank's for all you input. 



~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290822
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Invoking component

2007-10-10 Thread Loathe
How bout that?

-Original Message-
From: Robert Rawlins - Think Blue
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 10, 2007 1:23 PM
To: CF-Talk
Subject: RE: Invoking component

Damn, I replied to the wrong thread ... doh! Apologies for the hijacking!

Rob

-Original Message-
From: Robert Rawlins - Think Blue
[mailto:[EMAIL PROTECTED] 
Sent: 10 October 2007 17:54
To: CF-Talk
Subject: RE: Invoking component

Thanks guys for your thoughts on this, 

you're all making good logical sense so I'll defiantly play around with this
stuff. Interestingly enough I was reading an article from BarnyB just
yesterday about using AOP to control transactions, it might be a good place
for me to learn a little more about implementing AOP, effectively killing
two birds with a single stone, learning AOP and adding transaction support
to my extended components.

http://www.barneyb.com/barneyblog/2006/10/22/transaction-advice/

Thanks again guys, I really appreciate it.

Rob

-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: 10 October 2007 16:54
To: CF-Talk
Subject: Re: Invoking component

The only real advantage that I'm aware of is that CFINVOKE allows you to
dynamically specify the target component and method. I use it when I need
that capability, but otherwise I find it too verbose.

On 10/10/07, Bruce Sorge [EMAIL PROTECTED] wrote:

 OK, so I see that there are at least three ways to invoke a component.
 Using the CFINVOKE tag, CFSET and wrapped in CFSCRIPT. So what is the
 best method? Or are there different situations where you would use one
 or the other? I would think that each has an advantage and disadvantage.
 I typically use CFINVOKE, although recently I have been using the
 CreateObject method in a CFSCRIPT tag.

 Bruce

 







~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290824
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Splitting UI and Data

2007-10-09 Thread Loathe
I generally won't put any view/html type code inside a cfc if I can help it.

There are several different frameworks that make the understanding of this 
relationship easier.  Personally I prefer Fusebox.  There are also Model-Glue 
and Machii.

To make this basic though you would call the method of your data retrieval as 
part of your controller, then use the return (a query I assume?) to populate 
your view.

 -Original Message-
 From: Morten Kruse [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 10, 2007 1:57 AM
 To: CF-Talk
 Subject: Splitting UI and Data
 
 I’m about to construct a new Coldfusion application and I want do use
 an object orientated approach.
 But I don’t know how I should do this.
 
 I have read the article written by David Friedel. Building an object
 oriented user interface with Coldfusion MX
 http://www.adobe.com/devnet/coldfusion/articles/oo_interface.html
 He tells about the principles but not the actual development
 
 I have created a cfc library containing data retrievers. These cfc’s
 should provide my UI with the necessary data.
 
 Now I’m about to construct the User interface (UI) but I don’t 
 know
 how I should combine the user interface with the data.
 
 I plan to split the UI in small function (Widget) just like in the
 article. Maybe I will have a grid showing some employees  The UI part I
 would then insert into either a cfm or cfc.
 
 If I put it into a cfm and use CFINCLUDE to use it I can’t pass the
 data query to it.
 But then if I put into a cfc and use CFINVOKE I can pass the data to
 it. But then the cfc will fail because it uses the CFGRID and I don’t
 intent to insert a CFFORM into each cfc.
 
 
 How do you do this?
 
 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290716
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: remove a number from a series of numbers

2007-09-12 Thread Loathe
You don't need to do type conversion in ColdFusion like that.

You can just use the string functions.

 -Original Message-
 From: Andy Chen [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 12, 2007 2:30 PM
 To: CF-Talk
 Subject: Re: remove a number from a series of numbers
 
 Yup... convert it to a string using the ToString(). Remove the
 digit/char you want using RemoveChars() and use Val() to convert it
 back into a number.
 
 
 Hi,
 
 Is it possible to remove a digit from a multi-digit number IE:
 2007 would become 207?
 
 Thanks,
 
 John
 
 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288300
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Solved: Using the component builder in eclipse

2007-09-08 Thread Loathe
Where is this cfc builder?

You mean new  cfc in CF Eclipse?

 -Original Message-
 From: Casey Dougall [mailto:[EMAIL PROTECTED]
 Sent: Saturday, September 08, 2007 10:19 AM
 To: CF-Talk
 Subject: Solved: Using the component builder in eclipse
 
 never mind. I wasn't using the gateway cfc it creates.
 
 On 9/8/07, Casey Dougall [EMAIL PROTECTED] wrote:
 
  Hi,
 
  When you use the component builder in eclipse published by adobe, it
  creates a component with a bunch of geters and setters,  I can get
 and set
  one record at a time but I can't figure out how to call these
 components so
  it gets multiple records. I know the table has multiple entires for
 my
  criteria.
 
  cfscript
  catObj = createObject(component, includes.cfc.Category
  ).init(IsActive=Val(1));
  catOut = StructNew();
  catOut.Category = catObj.getCategory();
  /cfscript
 
  This will return one record, how do I get all the records?
 
 
  --
  Casey
 
 
 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288037
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFHTTP request using my session?

2007-08-29 Thread Loathe
The situation is this.  I have a large form used to apply for membership.
There is a confirmation screen.  The confirmation screen takes url.print 0/1
to disable some layout elements and make the page printer friendly.  The
client would like that to now be in a pdf.  I was hoping I could easily make
a cfhttp call and dump the result into a pdf.  However it keeps passing me
off to my log in, even though I am passing cfid, cftoken and jsessionid in
the url.

 

Environment is CF7.

 

TIA.

 



~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287409
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFHTTP request using my session?

2007-08-29 Thread Loathe
Directly in the url.

I did figure out a work around though.

 -Original Message-
 From: James Holmes [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 29, 2007 9:13 PM
 To: CF-Talk
 Subject: Re: CFHTTP request using my session?
 
 How about using cfsavecontent around the form and doing a cfdocument
 with that content instead?
 
 As for the jsessionid, did you add the variables via cfhttpparam or
 directly in the URL for cfhttp?
 
 On 8/30/07, Loathe [EMAIL PROTECTED] wrote:
  The situation is this.  I have a large form used to apply for
 membership.
  There is a confirmation screen.  The confirmation screen takes
 url.print 0/1
  to disable some layout elements and make the page printer friendly.
 The
  client would like that to now be in a pdf.  I was hoping I could
 easily make
  a cfhttp call and dump the result into a pdf.  However it keeps
 passing me
  off to my log in, even though I am passing cfid, cftoken and
 jsessionid in
  the url.
 
 
 --
 mxAjax / CFAjax docs and other useful articles:
 http://www.bifrost.com.au/blog/
 
 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287420
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFHTTP request using my session?

2007-08-29 Thread Loathe
No.

I'll give that a try tomorrow.

Thanks guys.

 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 29, 2007 9:51 PM
 To: CF-Talk
 Subject: RE: CFHTTP request using my session?
 
  There is a confirmation screen.  The confirmation screen
  takes url.print 0/1 to disable some layout elements and make
  the page printer friendly.  The client would like that to now
  be in a pdf.  I was hoping I could easily make a cfhttp call
  and dump the result into a pdf.  However it keeps passing me
  off to my log in, even though I am passing cfid, cftoken and
  jsessionid in the url.
 
 Have you tried sending those values as cookies?
 
 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!
 
 
 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287421
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFIF Pissing me off

2007-08-22 Thread Loathe
HTML is an xml subset.

 -Original Message-
 From: Claude Schneegans [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 22, 2007 10:53 AM
 To: CF-Talk
 Subject: Re: CFIF Pissing me off
 
  is selected=selected so bad?
 
 Bad, I don't know, but for the least, useless and stupid.
 
  why rile against a movement towards XML standards?
 
 Because HTML is HTML, XML is XML.
 If one needs to use XML, fine, but so far, all browsers are able to
 read
 HTML,
 so I don't see why I should bother make my HTML look like XML when I
 don't need.
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286826
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFIF Pissing me off

2007-08-22 Thread Loathe
You're right, and my explanation was over simplified obviously.

XHTML is the new standard.  Do you really think that's up for debate, as
more and more governments around the world require it, and legislation comes
into play, and in dealing with accessibility and indexing and SEO and blah
blah blah.


 -Original Message-
 From: Claude Schneegans [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 22, 2007 12:14 PM
 To: CF-Talk
 Subject: Re: CFIF Pissing me off
 
  HTML is an xml subset.
 
 Absolutely not.
 
 Both HTML and XML are norms compliant to SGML and, with an adequat DTD,
 XML can be used to englobe HTML,
 but HTML was introduced prior to XML, and so far, HTML is THE standard
 for the web, XML is not.
 
 And even so, why use a superset when a subset is enough?
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286838
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: POI with CFMail to email excel attachment.

2007-08-14 Thread Loathe
You need to create the file on the server, then attach it to an email using
cfmail.

The file needs to exist.

-Original Message-
From: Bobby Schuchert [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 14, 2007 11:12 AM
To: CF-Talk
Subject: POI with CFMail to email excel attachment.

I can create an excel document in the browser using POI but I cannot figure
out how to attach that document to an email and send it using cfmail.

Can someone tell me what I need to do to make this work or is it not
possible? 



~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286144
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 jobs outside major cities

2007-08-14 Thread Loathe
This is pretty important.  I know in under 10 questions I can get a basic
gauge of your technical abilities.

-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 14, 2007 10:28 AM
To: CF-Talk
Subject: Re: CF jobs outside major cities

Any lead programmer who would interview a remote developer will be able to
tell instantly if you are new to the language. ;-)

On 8/14/07, J.J. Merrick [EMAIL PROTECTED] wrote:

 Who says he is brand new to the language?, he is a skilled
 application developer with over 10 years of experience in languages
 such as as Ruby on Rails, PHP, and ColdFusion  - See it is all in the
 way you market yourself :-D


 J.J.




~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286147
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: POI with CFMail to email excel attachment.

2007-08-14 Thread Loathe
Looks like you're dumping the file straight into the output stream, the
browser.

You need to create the file locally on the server then attach it normally to
the email.

-Original Message-
From: Bobby Schuchert [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 14, 2007 11:46 AM
To: CF-Talk
Subject: Re: POI with CFMail to email excel attachment.

 On Tuesday 14 Aug 2007, [EMAIL PROTECTED] wrote:
  I can create an excel document in the browser using POI
 
 You mean you can create on server side and send it to the browser ?
 
  out how to attach that document to an email and send it using cfmail.
 
 
 cffile, at a guess.
 
  Can someone tell me what I need to do to make this work or is it 
 not
  possible?
 
 What's your current code look like ?
 
 -- 
 Tom Chiverton
 Helping to challengingly customize dynamic e-tailers
 on: http://thefalken.livejournal.com
 
 
 
 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 St James's Court Brown Street Manchester M2 2JF.  
 A list of members is available for inspection at the registered office. 
 Any reference to a partner in relation to Halliwells LLP means a 
 member of Halliwells LLP. Regulated by the Law Society.
 
 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 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.



This is the current code I am testing with. It was pulled from somewhere on
Google yesterday afternoon.



cfscript
context = getPageContext();
context.setFlushOutput(false);
response = context.getResponse().getResponse();
 response.setContentType(application/vnd.ms-excel);
 response.setHeader(Content-Disposition,attachment;
filename=unknown.xls);

out = response.getOutputStream();
/cfscript


cfset wb =
createObject(java,org.apache.poi.hssf.usermodel.HSSFWorkbook).init()/
cfset format = wb.createDataFormat()/
cfset sheet = wb.createSheet(new sheet)/
cfset cellStyle = wb.createCellStyle()/
!--- Take formats from:
http://jakarta.apache.org/poi/apidocs/org/apache/poi/hssf/usermodel/HSSFData
Format.html ---
cfset
cellStyle.setDataFormat(createObject(java,org.apache.poi.hssf.usermodel.H
SSFDataFormat).getBuiltinFormat(0.00))/


cfloop index = LoopCount from = 1 to = 5
!---  Create a row and put some cells in it. Rows are 0 based. ---
cfset row = sheet.createRow(javacast(int,LoopCount))/

!---  Create a cell and put a value in it ---
cfset cell = row.createCell(0)/
cfset cell.setCellType( 0)/
cfset cell.setCellValue(javacast(int,1))/

!--- Or do it on one line. ---
cfset cell2 = row.createCell(1)/
cfset cell2.setCellStyle(cellStyle)/
cfset cell2.setCellValue(javacast(double,1.223452345342))/
cfset row.createCell(2).setCellValue(This is a string)/
cfset row.createCell(3).setCellValue(true)/

/cfloop














~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286153
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: POI with CFMail to email excel attachment.

2007-08-14 Thread Loathe
http://www.bennadel.com/blog/469-Creating-Microsoft-Excel-Files-Using-ColdFu
sion-And-POI.htm

-Original Message-
From: Bobby Schuchert [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 14, 2007 11:46 AM
To: CF-Talk
Subject: Re: POI with CFMail to email excel attachment.

 On Tuesday 14 Aug 2007, [EMAIL PROTECTED] wrote:
  I can create an excel document in the browser using POI
 
 You mean you can create on server side and send it to the browser ?
 
  out how to attach that document to an email and send it using cfmail.
 
 
 cffile, at a guess.
 
  Can someone tell me what I need to do to make this work or is it 
 not
  possible?
 
 What's your current code look like ?
 
 -- 
 Tom Chiverton
 Helping to challengingly customize dynamic e-tailers
 on: http://thefalken.livejournal.com
 
 
 
 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 St James's Court Brown Street Manchester M2 2JF.  
 A list of members is available for inspection at the registered office. 
 Any reference to a partner in relation to Halliwells LLP means a 
 member of Halliwells LLP. Regulated by the Law Society.
 
 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 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.



This is the current code I am testing with. It was pulled from somewhere on
Google yesterday afternoon.



cfscript
context = getPageContext();
context.setFlushOutput(false);
response = context.getResponse().getResponse();
 response.setContentType(application/vnd.ms-excel);
 response.setHeader(Content-Disposition,attachment;
filename=unknown.xls);

out = response.getOutputStream();
/cfscript


cfset wb =
createObject(java,org.apache.poi.hssf.usermodel.HSSFWorkbook).init()/
cfset format = wb.createDataFormat()/
cfset sheet = wb.createSheet(new sheet)/
cfset cellStyle = wb.createCellStyle()/
!--- Take formats from:
http://jakarta.apache.org/poi/apidocs/org/apache/poi/hssf/usermodel/HSSFData
Format.html ---
cfset
cellStyle.setDataFormat(createObject(java,org.apache.poi.hssf.usermodel.H
SSFDataFormat).getBuiltinFormat(0.00))/


cfloop index = LoopCount from = 1 to = 5
!---  Create a row and put some cells in it. Rows are 0 based. ---
cfset row = sheet.createRow(javacast(int,LoopCount))/

!---  Create a cell and put a value in it ---
cfset cell = row.createCell(0)/
cfset cell.setCellType( 0)/
cfset cell.setCellValue(javacast(int,1))/

!--- Or do it on one line. ---
cfset cell2 = row.createCell(1)/
cfset cell2.setCellStyle(cellStyle)/
cfset cell2.setCellValue(javacast(double,1.223452345342))/
cfset row.createCell(2).setCellValue(This is a string)/
cfset row.createCell(3).setCellValue(true)/

/cfloop














~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286154
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Eclipse/CFEclispe

2007-08-08 Thread Loathe
Look at Aptana.

Best CSS and JS plugin around far as I am concerned.

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 08, 2007 10:40 AM
To: CF-Talk
Subject: RE: Eclipse/CFEclispe

It does CSS?  I wonder which one I installed, because I have never gotten
CSS and that is the missing link to get me off of Dreamweaver.



-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 08, 2007 10:14 AM
To: CF-Talk
Subject: Re: Eclipse/CFEclispe

On Wednesday 08 Aug 2007, [EMAIL PROTECTED] wrote:
 that it. So, first which version of Eclipse should I install? There are
 several on page http://www.eclipse.org/downloads/

'WTP all in one' from 
http://download.eclipse.org/webtools/downloads/drops/R2.0/R-2.0-200706260303
/
It has a few extra bits like CSS and HTML editing and CFEclipse will drop 
right in.

-- 
Tom Chiverton



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
St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

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 8008.

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






~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285697
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: any idea how to

2007-08-08 Thread Loathe
Date format?

Left, mid, right?

-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 08, 2007 12:05 PM
To: CF-Talk
Subject: any idea how to

Convert 20060523

 

Into 5/23/2006

 

I'm at a loss.

 

Thanks in advance

 

sas

 

-- 

Scott Stewart

ColdFusion Developer

 

SSTWebworks

4405 Oakshyre Way

Raleigh, NC. 27616

(703) 220-2835

 

http://www.sstwebworks.com

 http://www.linkedin.com/in/sstwebworks
http://www.linkedin.com/in/sstwebworks

 

 





~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285709
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Data source 'source_name' verification failed.????

2007-08-08 Thread Loathe
Try catch the query that is throwing the error

Dump the cfcatch return you'll have additional information in there like
oracle error code.

cftry
cfquery /
cfcatch type=any
cfdump var=#cfcatch#
/cfcatch
/cftry

Something like that should work.


-Original Message-
From: Charles Love [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 08, 2007 2:43 PM
To: CF-Talk
Subject: Data source 'source_name' verification failed.

I have a ColdFusion page that is accessing two different ColdFusion data
sources from the same page.  I have many queries that are using the first
source and they all work.  I have TWO queries that access the second source
and one of them works and the other doesn't.  They are using the same data
source definition and point to the same ORACLE schema.  The second one
errors off giving the error: 'Data source 'source_name' verification
failed.'  

I have removed the actual source name for security purposes.  Has anyone
ever seen this?  Can you suggest a way to debug or isolate?  Any help would
be appreciated.  I am at the end of my ideas.





~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285723
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Eclipse/CFEclispe

2007-08-08 Thread Loathe
Their site still says 3.2 but it's running fine for me.

-Original Message-
From: lists [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 08, 2007 6:45 PM
To: CF-Talk
Subject: RE: Eclipse/CFEclispe

Is Aptana compatible with Eclipse 3.3 yet? 

-Original Message-
From: Dan Vega [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 08, 2007 7:52 AM
To: CF-Talk
Subject: Re: Eclipse/CFEclispe

You can also look at Aptana, I use that plugin and it has a lot of nice
features.

http://www.aptana.org

On 8/8/07, Dawson, Michael [EMAIL PROTECTED] wrote:

 Yeah, that's a good question.

 I have the WTP build, but I don't really see any other features, such 
 as CSS, when I'm editing .css files or even styles within an HTML page.

 M!ke

 -Original Message-
 From: Chad Gray [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 08, 2007 9:40 AM
 To: CF-Talk
 Subject: RE: Eclipse/CFEclispe

 It does CSS?  I wonder which one I installed, because I have never 
 gotten CSS and that is the missing link to get me off of Dreamweaver.

 





~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285776
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF8 and pdfs

2007-07-26 Thread Loathe
Produce the graphs in one of the available image formats.

-Original Message-
From: Jason Fill [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 26, 2007 8:42 AM
To: CF-Talk
Subject: Re: CF8 and pdfs

Any chance there could be some ability to include flash into the pdf?  My
example is we have a report that has some flash chartswell it would be
nice to allow that to be printed to PDF and emailed, but the flash will of
course not print the charts.  

I think this is kind of a long shot but figured I would throw it out just in
case anyone knows about any type of workaround. 



~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284680
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Fusebox - is there a trick to following the flow?

2007-07-25 Thread Loathe
I'd say the debugging information with order of execution and execution
times and templates and paths is most useful for this.  It tells you what
templates are being executed and where.

-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 8:29 AM
To: CF-Talk
Subject: Fusebox - is there a trick to following the flow?

I have inherited a fusebox4.0 app to maintain that has dozens of
circuits that are reused all over the place.  I know that's how
fusebox is supposed to work, and it makes sense to reuse the fuses,
but wow it takes AGES to follow the flow of the program.   And i end
up with dozens of files open, all called circuit.xml.cfm so its easy
to make a mistake following it all along.

For example I have to figure out how something works, so i can
maintain it, or build something else similar.  In order to find out
how the task works, i follow one xml file through, seeing dozens of
fuses, all of which i have to go to, open the circuits.xml.cfm
relating to it, follow that one along, then open more.  By the time
i've got to the final, actual coldfusoin type tags relating to the
functionality, i've almost forgotten what it was i started out to do.

Is there a shortcut to working out how everything's bolted together?
If i keep taking hours to work out the simplest things i'm not going
to last long on this assignment.

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



~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284520
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Fusebox - is there a trick to following the flow?

2007-07-25 Thread Loathe
Michael, is this available somewhere?

I'd really like to check it out.

-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 9:13 AM
To: CF-Talk
Subject: Re: Fusebox - is there a trick to following the flow?

If you have debug access I have an enhanced debug template that shows the
full flow of an application. It includes standard templates, components,
custom tags and includes in a full tree view.



~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284531
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Fusebox - is there a trick to following the flow?

2007-07-25 Thread Loathe
He said it's a custom template.  Like you set in the administrator.

-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 10:10 AM
To: CF-Talk
Subject: Re: Fusebox - is there a trick to following the flow?

On Wednesday 25 Jul 2007, [EMAIL PROTECTED] wrote:
 Michael, is this available somewhere?

 I'd really like to check it out.

Turn on the relevant debug option in the CF admin.

-- 
Tom Chiverton



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
St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

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 8008.

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




~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284540
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Fusebox - is there a trick to following the flow?

2007-07-25 Thread Loathe
I'd recommend that you call the fuseaction in question, rather than copy the
file itself.

You would do this using the do action=circuit.fuseaction / verb.  That
way the core files will take care of making sure your dependencies are all
there, and you will have very little editing to do.

Even if the logic is similar but not identical it might be easier to add
conditional logic to the original circuit that would expose your new
functionality, rather than essentially duplicating functionality in your
application.

-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 10:52 AM
To: CF-Talk
Subject: Re: Fusebox - is there a trick to following the flow?

Thanks for your suggestion Phillip.

Actually what I am currently tasked with is duplicate part of the
functionality of one circuit in a new circuit.   At first sight, all i
have to do is copy that circuit to a new folder, tweak the
circuit.xml.cfm files a bit and change the dsp files to show the new
presentation stuff since the business logic is much the same.   Not
identical but quite similar.

However the existing circuit uses lots of other circuits  - reusing
code as it's supposed to.   So  figuring out what they all do is not
easy.A fuse for example might have 6-8 do actions, and i need to
konw what each is doing in order to figure out fi they're relevant to
this task or not.  Or if i have to write new versions of them for this
new task.

And each of those other fuses are usually on the controller
circuits.xml.cfm, and call the model and/or view fuses.   In order to
follow the flow through one fuse on my new app, I sometimes have to
open 20-30 files spread out over the 46 circuits in the main site,
just to figure out what is being done by what.

That's my current problem.  Just learning how to follow the flow of
the app so I know what files I need to keep, what i need to re-write,
and what dont do anything at all for this app.

A quicker way to work out what's doing what would give me more sleep,
more deadlines met, and a happier client. Given time, I can learn this
monster easily and get the hang of it.   But will the client wait that
long?



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


On 7/26/07, Phillip M. Vector [EMAIL PROTECTED] wrote:
 It wasn't that steep when I tried learning it, but then again, I learned
 on FB3. :)

 The idea is that you only open up 1 circuit.xml file at a time. trace
 down the error that's causing a fuseaction to go kaput and then move
 onto the next.

 It shoulds like you are opening all the pages that have errors and
 trying to fix them all in one fell swoop. You can't do that with fusebox
 (and not lose your sanity). Just fix each problem one at a time until
 the whole app works.

 Hopefully, that helps.





~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284550
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


OT: Resume Templates - Cross Post

2007-01-11 Thread Loathe
Hey All.

I'm wondering if anyone has a good technical/programming resume template.  I 
find that trying to keep my expierence and abilities limited to 2 pages is 
becomming more and more difficult the further I progress in my career, and 
updatign the resume just seems to make it longer, not neccesarily better.

I would like to find something that maybe has a skills matrix/table or 
something like that.

Anyway, ttyl. 


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266285
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Combo Box in CF

2007-01-04 Thread loathe
I set up a new project on RIA Forge. 

The project link is:

http://cf_combobox.riaforge.org/

I'll be updating it daily as I have time.

 -Original Message-
 From: Brian Swartzfager [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 04, 2007 6:48 AM
 To: CF-Talk
 Subject: Re: Combo Box in CF
 
 Varun,
 
 Yes, I would like to see what you came up with.  If you want to e-mail the
 code to m e directly, you can send it to [EMAIL PROTECTED]  Thanks.
 
 --Brian
 
  Thanks for your reply. I came up with a combobox too yesterday, and
  its using javascript which as you said is indeed very reponsive. The
  was I have it set up is a text box seating on top of Select inside a
  DIV. Than, i got few javascript functions googling, and kinna of
  created a hybrid which does what I have been looking for. Its close to
  what you have on your page, I can send you the functions or put them
  here. Let me know, how would you like to have it. If you do at all.
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265624
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Combo Box in CF

2007-01-03 Thread Loathe
Yeah, so, I'm gonna start a cf_combobox project over at RIA Forge.

I'll upload some of the stuff I have and if anyone else wants they can sign
up and we can do something with this.

Varun, seems you and I have pretty much the same requirements.

-Original Message-
From: Varun Dixit [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 03, 2007 12:33 PM
To: CF-Talk
Subject: Re: Combo Box in CF


Russ,
I had looked at this one too. But the only thing it lacked was Key Board
Control thats why I dit not move ahead with it. And By key board control I
mean, you could not select values using tab and not scroll using Down and Up
Arrow keyes.Yeah but its pretty cool!
You mean like this?

http://webfx.eae.net/dhtml/combobox/combobox.htm

Russ

-Original Message-
From: Varun Dixit [mailto:[EMAIL PROTECTED]
Sent: 03 January 2007 16:12
To: CF-Talk
Subject: Re: Combo Box in CF

Brian,

Thanks for your reply. I came up with a combobox too yesterday, and its
using javascript which as you said is indeed very reponsive. The was I have
it set up is a text box seating on top of Select inside a DIV. Than, i got
few javascript functions googling, and kinna of created a hybrid which does
what I have been looking for. Its close to what you have on your page, I
can
send you the functions or put them here. Let me know, how would you like to
have it. If you do at all.

Thanks, Varun
--Brian



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265550
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Ajaxcfc newbe problems (2)

2007-01-03 Thread loathe
Replace document.write(r);

With

DWRUtil.setValue(myDivName,r);

Does that work?

 -Original Message-
 From: Ioannis Papanikolaou [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 03, 2007 3:49 PM
 To: CF-Talk
 Subject: Re: Ajaxcfc newbe problems (2)
 
 It works smoothly with alert(r);
 
 Any other way to try to display it ?( what I want to do is to display the
 results of the output form my server to a specific DIV on my first page.
 The page is kind of dynamic content displaying info).
 
 I am using the Beta version as you said. The errors I am getiing are:
 
 a)On the console tag: the request field is keep loading for ever even
 thought the requested content has been dispalyed in my screen already.
 
 b)On the Script tag the debbuger has stoped on util.js, line 271
 $('disabledZone').style.visibility = 'hidden';
 
 this probably produses the alert I had mention before.
 
 Do you think my javascript synatax is wrong (my level is quite basic on
 Javascript)
 
 Thanx a a lot
 
 Ioannis
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265564
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Combo Box in CF

2007-01-02 Thread loathe
They are out there, but are hard to integrate with Ajax, or to do related
selects with.

I'm working on a custom tag for this reason right now.  Once I get something
solid I'll put it out.

 -Original Message-
 From: Brian Swartzfager [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 02, 2007 12:48 PM
 To: CF-Talk
 Subject: Re: Combo Box in CF
 
 Varun,
 
 Can you be more specific by what you mean by a true combobox?
 
 Do you mean you want a combo box control like the ones in MS Access, where
 the user can either:
 
 --select a value from the provided drop-down list.
 --type something that is in the list and have it try to autocomplete it.
 --type something that is NOT in the list and submit that value.
 
 Can't say that I've seen anything like that on a web form, but it would be
 nice if such a thing existed or could be done.
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265486
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Javascript and Dynamic CF Forms

2006-12-28 Thread loathe
Change the name of your form to something else.  Form and forms are both
reserved words.

 -Original Message-
 From: Che Vilnonis [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 28, 2006 5:11 PM
 To: CF-Talk
 Subject: RE: Javascript and Dynamic CF Forms
 
 Still no go...
 
 1. took care of the select value syntax as per previous email.
 2. what do you mean by i'd also prefer to see id attributes in the form
 fields (use the same value as the 'name' attribute) and in the script.
 How
 would I rewrite that?
 3. already know about JS being case sensitive and know that my form's name
 is form. I modified you code to read:
 document.form.elements[QTYShipped
 + n].value = 0;
 
 A view source shows...
 
 select name=Comments1
 onchange=updateText(1, 'this.options[this.selectedIndex].value');
 option value=SHIPPEDSHIPPED/option
 option value=SHIPPED AVAILABLESHIPPED AVAILABLE/option
 option value=DISCONTINUEDDISCONTINUED/option
 option value=OUT OF STOCKOUT OF STOCK/option
 /select
 
 select name=Comments2
 onchange=updateText(2, 'this.options[this.selectedIndex].value');
 option value=SHIPPEDSHIPPED/option
 option value=SHIPPED AVAILABLESHIPPED AVAILABLE/option
 option value=DISCONTINUEDDISCONTINUED/option
 option value=OUT OF STOCKOUT OF STOCK/option
 /select
 
 Is the value of the pulldown nor correct?
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265256
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Is there a better way to do this

2006-12-21 Thread loathe
I think I see what your going for, but would like to have better
requirements.

Try this:

cfset myLen = listCommiteeMembersRet.recordCount

!--- Loop through the records ---
cfoutput query=listCommiteeMembersRet
input type=hidden name=EC_ID
value=#listCommitteeMembersRet.EC_ID# /
tr
td style=width : 200px;
input type=text name=Name_#i# /
/td
td style=width L 125px;
input type=text name=Phone_#i# value=#Phone#
/
/td
td
input type=text name=Email_#i# value=#Email#
/
/td
/tr
/cfoutput

cfif myLen lt 10
cfset loopLen = 10 - myLen
cfloop from=1 to=#loopLen# index=i
tr
cfoutput
td style=width : 200px;
nbsp;
/td
td style=width : 125px;
input type=text name=Phone_#i +
loopLen# /
/td
td
input type=text name=Email_#i +
loopLen# /
/td
/cfoutput
   /tr
/cfloop
/cfif

 -Original Message-
 From: Bruce Sorge [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 21, 2006 3:33 PM
 To: CF-Talk
 Subject: Is there a better way to do this
 
 First I would like to thank those of you who replied to my session time
 out
 issue without being condescending. I still am amazed that I actually
 posted
 that question and I feel totally stupid. LOL




~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264807
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Javascript help

2006-12-21 Thread loathe
1. Don't use on focus, use on click.  Users (well power users) and the
disabled tab through form fields, and if you do on focus it will empty to
form field even if they don't want to.

2.  When dealing with multiple fields I would recommend your using a
function in a script block kicked off by the onchange event.

Example:

html
head
titleJS Test/title
script
function clearForm(){
document.myForm.myField1.value=;
document.myForm.myField2.value=;
}
/script
/head
body
form name=myForm
input type=text name=myField1 /
input type=text name=myField2 /
input type=radio name=myField3 onclick=return
clearForm() /
/form
/body
/html

Also a couple of other tips.

1. Try and use XHTML.  All attributes and tags need to be lower cased.
2. Only use pound signs when they are needed, same with parens.  
3. DO NOT use camel case inside a tag unless your referencing a variable,
everything else should be in lowers.
4. If you decide you don't want to create a function to handle this you can
string statements together in the event handler using the semi-colon ;
Example:

input type=radio name=clearFormButton
onclick=document.myForm.myField1.value='';
document.myForm.myField2.value=''; /

One thing to be aware of with this is that you need to use different quotes,
one for CF/HTML and one for JS.

See you're declaring a string inside where your telling the object what
event handler to run, or in this case writing the event handler on the tag.
I use double quotes in tags, and singles in JS, it's a bit more difficult
when you're creating dynamic SQL as you have to use the single quote.

Anyway, hope it helps.

 -Original Message-
 From: Doug Brown [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 21, 2006 3:34 PM
 To: CF-Talk
 Subject: Javascript help
 
 I have a form with 2 text fields and some radio button, and what I would
 like to do is clear any text in the text fields if any of the radio
 buttons are selected. I can do this with one text field, but not sure how
 to work it with two
 
 This will work with one text field...
 
  input type=text name=Aquantity size=5 maxlength=6 cfif
 ClassAdDetails.quantity_option eq
 quantityvalue=#ClassAdDetails.AQuantity#/cfif
 
 input type=radio name=quantity_option value=always_in_stock
 onFocus=document.updClassified.Aquantity.value = ''
 
 
 
 But.Say just one of these text fields have a value, how can I clear
 either one when I click on any one of the radio buttons.
 
  input type=text name=name1 value=#value#
  input type=text name=name2 value=#value#
 
 
 input type=radio name=quantity_option value=always_in_stock
 onFocus=?
 input type=radio name=quantity_option value=always_in_stock
 onFocus=?
 input type=radio name=quantity_option value=always_in_stock
 onFocus=?
 
 
 Doug B.
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264811
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Javascript help

2006-12-21 Thread loathe
No it won't.

For that you'll need a function and you'll need to write a javascript
browser diction script and have separate clauses in the function for each
browser.

Mainly you'll use document.all and document.getElementById()

 -Original Message-
 From: Doug Brown [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 21, 2006 3:51 PM
 To: CF-Talk
 Subject: Re: Javascript help
 
 This seems to work, but will it work in all browser?
 
  onFocus=document.updClassified.asking1.value =
 '',document.updClassified.asking2.value = ''
 
 Doug B.
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264814
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: What's the best way to handle this?

2006-12-21 Thread loathe
What's the environment?

In IIS you can give sites custom HTTP headers, which you could use to store
a siteID.

Then you use the ID to query the DB and the site specific settings.  One
code base that way, any changes you make would update all the sites at once.

Or you could have something in your application.cfm or application.cfc that
looks at cgi.server_name like you said, but then you would have to update a
list of the sites, with the HTTP headers you would add the ID when you first
set up the web site in IIS, and never have to worry about it again.

 -Original Message-
 From: Rick Faircloth [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 21, 2006 2:54 PM
 To: CF-Talk
 Subject: SOT: What's the best way to handle this?
 
 Hi, all.
 
 I'm building my multi-domain CMS system where
 I have a custom website on the front, a multi-user
 CMS in the middle, and an individual database on the backend.
 
 My question is:  What's the best way to get the user
 to the CMS?  CNAME?  Masked Forwarding?
 
 Let's say the user has the domain bodafordhomes.com.
 
 Could I set up a CNAME Alias called SiteManager.BodafordHomes.com
 that would go to my CMS, called RESM.WhiteStoneMedia.com?
 
 Can CNAME's be used that way?  Or would I have to use masked forwarding
 to go to a completely different domain, in this case, from
 bodadfordhomes.com
 to whitestonemedia.com?
 
 Ideally, I would be able to setup a CNAME for each domain that would use
 the CMS and simply route the CNAME to my CMS for whatever domain is
 using it.  I would have a query on RESM.WhiteStoneMedia.com that would
 check the CGI.Server_Name and assign appropriate variables based on the
 domain name used.
 
 Thoughts?  Suggestions?
 
 Rick
 
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264820
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Javascript help

2006-12-21 Thread loathe
You can stack arguments that way, but will calling the field that way work
cross browser?

I don't know, I still write it using different techniques.

 -Original Message-
 From: Charlie Griefer [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 21, 2006 4:09 PM
 To: CF-Talk
 Subject: Re: Javascript help
 
 That should work cross-browser, no?  it's pretty standard JS syntax.
 
 onfocus=statement1; statement2; statement3...
 
 as long as each is separated by a semi-colon it should be ok?
 
 On 12/21/06, loathe [EMAIL PROTECTED] wrote:
  No it won't.
 
  For that you'll need a function and you'll need to write a javascript
  browser diction script and have separate clauses in the function for
 each
  browser.
 
  Mainly you'll use document.all and document.getElementById()
 
   -Original Message-
   From: Doug Brown [mailto:[EMAIL PROTECTED]
   Sent: Thursday, December 21, 2006 3:51 PM
   To: CF-Talk
   Subject: Re: Javascript help
  
   This seems to work, but will it work in all browser?
  
onFocus=document.updClassified.asking1.value =
   '',document.updClassified.asking2.value = ''
  
   Doug B.
  
  
  
 
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264822
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Javascript help

2006-12-21 Thread loathe
Also your using a comma and not a semi colon, sorry forgot to add that.

 -Original Message-
 From: loathe [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 21, 2006 4:07 PM
 To: CF-Talk
 Subject: RE: Javascript help
 
 No it won't.
 
 For that you'll need a function and you'll need to write a javascript
 browser diction script and have separate clauses in the function for each
 browser.
 
 Mainly you'll use document.all and document.getElementById()
 
  -Original Message-
  From: Doug Brown [mailto:[EMAIL PROTECTED]
  Sent: Thursday, December 21, 2006 3:51 PM
  To: CF-Talk
  Subject: Re: Javascript help
 
  This seems to work, but will it work in all browser?
 
   onFocus=document.updClassified.asking1.value =
  '',document.updClassified.asking2.value = ''
 
  Doug B.
 
 
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264823
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Certification

2006-12-18 Thread loathe
I think what he means is that there is no confirmation that the person whose
certificate it is, is actually the person that took the test.

 -Original Message-
 From: Snake [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 18, 2006 2:27 PM
 To: CF-Talk
 Subject: RE: Certification
 
 Yes you can, you can view their results online.
 
 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED]
 Sent: 18 December 2006 18:59
 To: CF-Talk
 Subject: RE: Certification
 
  You seem to be viewing Brainbench certs unfavorably because you can
  look up answers in the manual as you take the test.
  The Brainbench tests are intended to be open-book and the Adobe test
  is intended to be closed-book. So the questions you see on a
  Brainbench test are much harder than the questions on the Adobe test.
  Many of the questions cannot be answered without looking up the
  answer. That is what you are being tested on. Can you look up the
  correct answer or solve the problem within two minutes. It is not
  testing how well you can memorize a study guide.
 
 Brainbench certifications are unproctored, so you can't even tell if the
 applicant actually took it, can you?
 
 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!
 
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264345
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Why datediff

2006-12-18 Thread loathe
And no reason for all of those pound signs, guys.

cfset number = dateDiff(d, 12/12/2006,now())

You should lower case your tags as well :)

Yeah, I know, I'm a code naazy.

 -Original Message-
 From: Christopher Jordan [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 18, 2006 5:04 PM
 To: CF-Talk
 Subject: Re: Why datediff
 
 Good catch Jake. It's something that Ian and I both missed. You
 definitely have to have quotes around the date part (d). I prefer
 double quotes, but do whatever you like.
 
 Also, there's still no reason to do the dateformat statements.
 
 Cheers,
 Chris
 
 Ian Skinner wrote:
  CFSET number = #DateDiff(d, dateformat(12/12/2006 1:36:51 PM,
 MM/DD/), dateformat(now(), MM/DD/) )#
 cfoutput#number#/cfoutput
 
 
  You need some quotes in there.
 
 
  --
  Ian Skinner
  Web Programmer
  BloodSource
  www.BloodSource.org
  Sacramento, CA
 
  -
  | 1 |   |
  -  Binary Soduko
  |   |   |
  -
 
  C code. C code run. Run code run. Please!
  - Cynthia Dunning
 
  Confidentiality Notice:  This message including any
  attachments is for the sole use of the intended
  recipient(s) and may contain confidential and privileged
  information. Any unauthorized review, use, disclosure or
  distribution is prohibited. If you are not the
  intended recipient, please contact the sender and
  delete any copies of this message.
 
 
 
 
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264394
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


OT: AjaxCFC DHTML Question

2006-12-15 Thread loathe
Hey,

So I wrote this custom tag that basically is a select list that allows you
type in it and filters the options according to what you've typed in.

Some of the data sets in the faux dropdown list are rather large.  I am
populating a table in a floating div and then turning it visible below the
input field where the user is typing.

The problem with the large data sets (say over 100 options) is that it takes
forever to render the table.  So long in fact that FF asks if I want to stop
the script.  Here is how I populate the list:

function setPasField(){ 
var mac_id = DWRUtil.getValue(mac_id);
var macField = $(mac_id);

DWRUtil.useLoadingMessage();

if(mac_id.length == 2){
DWREngine._execute(_ajaxConfig._cfscriptLocation, null,
getPasCodes,mac_id, updatePasList);
}
}

function updatePasList(r){
DWRUtil.setValue(debug,r.dump());

DWRUtil.useLoadingImage();

alert(passBack);


}

function handleKey(myEvent,myField){
/*
 * the function handleKey() moves the highlighted area up and down
in the values div, as well as filtering the values div
 */

DWRUtil.useLoadingImage();
var myArray = new Array(1); // this array will contain the filtered
values
var myData = myField.value.toUpperCase(); // this variable contains
the current value of the form field
var newCounter = 0; // this counter is used to incriment the
filtered value array (myArray)
var loc = -1; // this variable is used to discover which value is
currently highlighted
var fieldName = myField.name;
var arrayName = myField.name + 'Array';
var contentArray = eval(arrayName);
var myDiv = $('tipDiv' + fieldName);


myDiv.style.visibility = visible;
var myDataLength = myData.length

// loop through the existing array of values, and filter out the
ones that fit with the user entered data
for(i = 0; i  contentArray.length; i++){
if(contentArray[i].substr( 0,myDataLength) == myData){
myArray[newCounter] = contentArray[i];
newCounter++
}
}

if(myArray.length  0){

var cellFuncs = [
function(data) { return 'div id=boxOption
onmouseover=this.style.backgroundColor = \'blue\'; this.style.color =
\'white\' onmouseout=this.style.backgroundColor = \'white\';
this.style.color = \'black\' onClick=handleClick(event, this, \'' +
fieldName + '\');' + data + '/div';}
];

DWRUtil.setValue('tipDiv' + fieldName,'table id=tips
border=1/table');
DWRUtil.addRows(tips,myArray,cellFuncs);  
var myTable = $(tips);

// now handle the key stroke
/*for(i = 0; i  myTable.childNodes.length; i++){
if(myTable.childNodes[i].childNodes[0].bgColor ==
blue){
myTable.childNodes[i].childNodes[0].bgColor
== white;
loc = i;
}
}

if(loc == -1){
myTable.childNodes[0].childNodes[0].bgColor ==
blue;
}
*/
}

}


Couple of problems.

1.  The time it takes making the option Div visable.  It takes freaking
forever, optimization people, any ideas?

2.  It's not working at all in IE.  I mean, nothing, and this is unusual, as
I've used the AjaxCFC suff in IE with no problems before.

3.  For some reason I keep getting an error that the response variable
doesn't exist.

Any help would be greatly appreciated.



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264188
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Certification

2006-12-15 Thread loathe
The CF certification has been around for years and hasn't had THAT bad of a
stigma attached to it.

When I interview I like to see it because it's a general indicator of the
willingness of the candidate to pursue ongoing professional development.

 -Original Message-
 From: Aaron Rouse [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 15, 2006 4:08 PM
 To: CF-Talk
 Subject: Re: Certification
 
 I have seen where certifications hurt people, not in the CF world but in
 the
 IT world.  Back when I was working for a computer parts wholesaler anytime
 they were hiring for techs if someone came in saying they had A+
 certification that immediately meant they were not going to get hired.
 Seeing some of the comments on here about how worthless a CF Certification
 is makes me wonder if something similar might happen in the CF world.
 Probably not an instant no-hire case but perhaps makes it harder for
 someone
 to get hired because the hiring party might be reluctant in accepting the
 person interviewing really does know their stuff.
 
 On 12/15/06, Bryan Stevenson [EMAIL PROTECTED] wrote:
 
   As I've already said...it may -never- help you.  But can you argue
   that it could ever hurt to have?
 
  Yes...the opportunity cost of the time wasted getting the useless piece
 of
  paper
  ;-)
 
  Happy Friday
 
  Cheers
 
  Bryan Stevenson B.Comm.
  VP  Director of E-Commerce Development
  Electric Edge Systems Group Inc.
  phone: 250.480.0642
  fax: 250.480.1264
  cell: 250.920.8830
  e-mail: [EMAIL PROTECTED]
  web: www.electricedgesystems.com
 
 
 
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264208
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFC's

2006-12-12 Thread loathe
While the complexity of my CFML has certainly increased in the past several
years, so has the complexity of the web applications I am building now.

To be honest the master/detail drill down and very basic crud stuff I used
to do isn't really around anymore.  Now application shave to integrate
seamlessly into multiple environments, interface with other applications and
services, and generally be much more intense (read enterprise level
government development).

No I'll grant that for those people that are out there still doing basic web
sites and so forth, well, all the complexity is unnecessary, however, CF 8
will I am sure be backwards compatible for the most part, and you will still
be able to write procedural CFML if that's your preference.

Remember, no one is making you use OO principals.

 -Original Message-
 From: Doug Brown [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 12, 2006 10:50 AM
 To: CF-Talk
 Subject: CFC's
 
 I came across this post where people were discussing the use of smith as
 an alternative to CFMX. Anyways, I was wondering what other peoples
 thoughts on the subject were. I have to agree that Macromedia Coldfusion
 is kind of getting away from what made CFML so popular and that was rapid
 developement. It seems that it is taking me twice as long to write alot of
 the code (using CFC's) then it did before hand, and the complication level
 has also increased. I am afraid to look at CFMX 8 as I feel that OO is the
 way CF is going.
 
 Message:
 
 While more competition in the CFML market is a great thing, this engine
 won't run any of the popular frameworks as it is missing one of the most
 important features of CFML; CFCs!!! Think of saying you have developed a
 Java engine, but it doesn't support user defined classes! Not much point.
 So yes, if all an engine had to do was to support simple Tags and CFML
 functions, then of coure it would be fast.
 
 Reply:
 
 Actually, I regard this as a Good Thing. CF is a champion for pounding out
 small sites quickly. I'd go as far to say that in that capacity probably
 nothing can beat it. I haven't seen anything that beats cfquery 
 cfoutput. CFCs tried to bring objects and OO to CF, and they've gone a
 long way to destroying the principal strength of the language -
 simplicity. Take a look at the CF community these days and most of what
 you'll find is intellectual masturbation. They're going down the same road
 Java went down recently. A proliferation of frameworks, to the point where
 they have numerous ORMs and even a Spring clone. You have to wonder if at
 any point these guys don't say, Hmm, why don't we just use Java?
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263758
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFC's

2006-12-12 Thread loathe
word

 -Original Message-
 From: Tom Chiverton [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 12, 2006 11:47 AM
 To: CF-Talk
 Subject: Re: CFC's
 
 On Tuesday 12 December 2006 16:19, Christopher Jordan wrote:
  the benefit, I've just not spent the time to learn one. So again, just
  use the tools in the tool box that you need and ignore the rest.
 
 Just because there is a hammer in the box, doesn't mean you should use a
 hammer for doing up a screw :-)
 
 --
 Tom Chiverton
 Helping to conveniently harness B2C products
 
 
 
 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 St James's Court Brown Street Manchester M2 2JF.  A list of members
 is available for inspection at the registered office. Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells LLP.
 Regulated by the Law Society.
 
 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 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263763
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Stylesheet editor (was: Re: Fun with CF CSS Files.)

2006-12-06 Thread loathe
Aptana is about the best CSS editor I have found thus far, not an inpage
editor though.

 -Original Message-
 From: Dawson, Michael [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 06, 2006 2:28 PM
 To: CF-Talk
 Subject: RE: Stylesheet editor (was: Re: Fun with CF CSS Files.)
 
 I second TopStyle.
 
 -Original Message-
 From: Sandra Clark [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 06, 2006 1:24 PM
 To: CF-Talk
 Subject: RE: Stylesheet editor (was: Re: Fun with CF CSS Files.)
 
 Not open source, but very reasonably priced
 
 TopStyle, built by the same guy who built Homesite
 
 http://www.bradsoft.com
 
 
 Sandra Clark
 ==
 http://www.shayna.com
 Training in Cascading Style Sheets and Accessibility
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263061
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Disable the memorized answer drop downs in IE and FF?

2006-12-06 Thread loathe
Is there a way to do this?

I'm trying to create a dhtml combo box, and it's working ok, but when you
have already entered something into the form you get the drop down with your
old values.

Man this is killing me.



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263062
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Disable the memorized answer drop downs in IE and FF?

2006-12-06 Thread loathe
Rock, thanks man.

 -Original Message-
 From: michael acadia [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 06, 2006 3:07 PM
 To: CF-Talk
 Subject: Re: Disable the memorized answer drop downs in IE and FF?
 
 Add an autocomplete=off attribute to your input tags:
 input type=text autocomplete=off /
 
 or for the whole form:
 form autocomplete=off
 
 It's not an official attribute in XHTML but it is supported by IE and
 FF. Don't know about Safari.
 
 -michael
 --
 michael acadia | [EMAIL PROTECTED]
 
 loathe wrote:
  Is there a way to do this?
 
  I'm trying to create a dhtml combo box, and it's working ok, but when
 you
  have already entered something into the form you get the drop down with
 your
  old values.
 
  Man this is killing me.
 
 
 
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263064
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Sftp plugin for eclipse?

2006-12-05 Thread loathe
Aptana also can connect to SFTP sites.

Man, do I love me some Aptana.

 -Original Message-
 From: Damien McKenna [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 05, 2006 12:10 PM
 To: CF-Talk
 Subject: Re: Sftp plugin for eclipse?
 
 On 12/5/06 9:44 AM, Damien McKenna wrote:
  Does anyone know of an SFTP plugin for eclipse
 
 In a very obvious GFS (Google First, Silly) move, I found it myself.
 http://www.jcraft.com/eclipse-sftp/
 
 --
 Damien McKenna - Web Developer [EMAIL PROTECTED]
 The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
 #include stdjoke.h
 
 
 
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262922
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Query Tab Delimited Files

2006-11-16 Thread loathe
Why not just store them somewhere under your web root, and then use cfhttp
to read them in as query objects.

 -Original Message-
 From: James Smith [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 16, 2006 8:10 AM
 To: CF-Talk
 Subject: Query Tab Delimited Files
 
 I am having a problem with tab delimited reports downloaded from Amazon.
 
 I have them saved in a directory, and that directory contains a schema.ini
 file with the following lines.
 
 [schema.ini]
 ColNameHeader=True
 Format=TabDelimited
 MaxScanRows=25
 CharacterSet=OEM
 
 I then have an ODBC datasource set up for this folder and an ODBC socket
 set
 up for CF.
 
 Unfortunately CF queries these files as comma delimited, which they are
 not,
 and it screwes up the result set.
 
 It works fine if I add
 [395056231.txt]
 ColNameHeader=True
 Format=TabDelimited
 MaxScanRows=25
 CharacterSet=OEM
 
 To the schema.ini file but this directory will get a new file every 15
 minutes and I don't want to have to modify the schema.ini file 96 times a
 day when the default first group should work.
 
 Any ideas how I get CF to read them as the TabDelimited files they are
 using
 a default setting?
 
 --
 Jay
 
 
 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260695
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Anyone on a non-supported Linux distro?

2006-11-15 Thread Loathe
I've got a box, and I'm setting up a play server.  Want to go back to *nix.
It's been years, but it was fun :)

Anyway, I'm looking at slackware www.slackware.com

Anyone running on that?  anyone on any non-supported Linux distros?

TIA.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260589
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Anyone on a non-supported Linux distro?

2006-11-15 Thread Loathe
I think we may have a winner :)

I'll let you know how it works out :)

 -Original Message-
 From: Munson, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 15, 2006 5:41 PM
 To: CF-Talk
 Subject: RE: Anyone on a non-supported Linux distro?


 I got it working on Ubuntu, for a development machine. But this a while
 ago, I can't remember what I did.  But I think I've got a blog
 entry...yup, here it is:
 http://techfeed.net/blog/index.cfm/2006/2/25/Installed-ColdFusion-on-Ubu
 ntu

  -Original Message-
  From: Loathe [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, November 15, 2006 2:58 PM
  To: CF-Talk
  Subject: Anyone on a non-supported Linux distro?
 
  I've got a box, and I'm setting up a play server.  Want to go
  back to *nix.
  It's been years, but it was fun :)
 
  Anyway, I'm looking at slackware www.slackware.com
 
  Anyone running on that?  anyone on any non-supported Linux distros?
 
  TIA.
 
 
 

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260601
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Anyone on a non-supported Linux distro?

2006-11-15 Thread Loathe
Cool.

I'm giving Ubuntu my first try, as it was recommended by some friends.  I'll
go to Debian next though.

 -Original Message-
 From: Oğuz Demirkapı [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 15, 2006 5:10 PM
 To: CF-Talk
 Subject: Re: Anyone on a non-supported Linux distro?


 We have installed and used CF on Debian servers without any problems.

 I have also a tutorial about CF installation process on Debian Sarge.
 http://howtoforge.com/coldfusion_installation_debian_sarge


 I know CF works on Slackware but as an old Slackware user I would
 definitely suggest Debian for server platform because of
 maintainability. Slackware is good but Debian is better. :)

 Just my 2 cents.



 Loathe wrote:
  I've got a box, and I'm setting up a play server.  Want to go
 back to *nix.
  It's been years, but it was fun :)
 
  Anyway, I'm looking at slackware www.slackware.com
 
  Anyone running on that?  anyone on any non-supported Linux distros?
 
  TIA.
 
 
 ~~~

 Oğuz Demirkapı

 TeraTech Inc. | Senior Developer
 405 East Gude Dr Suite 207, Rockville, MD 20850, USA
 Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185
 Web: http://www.teratech.com | E-mail: oguz.demirkapi AT teratech.com
 Winner in CFDJ awards Best Consulting. Member Team Fusebox.

 ~~~


 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260602
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 Development Companies

2006-11-02 Thread loathe
Teratech, Figleaf, or us.  

 -Original Message-
 From: Lango, Joseph [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 02, 2006 3:33 PM
 To: CF-Talk
 Subject: Cf Development Companies
 
 Who are the top 3 companies that develop ColdFusion on a project basis?
 
 For example, I have a project that I might want to outsource, and I want
 to look at what *you* in the CF community think are the top 3 companies.
 
 
 Please don't write back to this and say... well  MY company is the
 best.
 
 
 
 Thanks,
 
 ~Joe
 
 
 
 
 
 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258905
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 Development Companies

2006-11-02 Thread loathe
They are good as well.

I know a few people that work over there.

 -Original Message-
 From: Charlie Griefer [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 02, 2006 3:56 PM
 To: CF-Talk
 Subject: Re: Cf Development Companies
 
 I know a few of the guys at AboutWeb and wouldn't hesistate to
 recommend the company based on my perceptions of their skills.
 
 I have no experience with the company itself (as a client, contractor,
 employee, or otherwise).  But if the sum of the parts is greater than
 the whole, I think you'd be in very good shape.
 
 On 11/2/06, Munson, Jacob [EMAIL PROTECTED] wrote:
   Who are the top 3 companies that develop ColdFusion on a
   project basis?
 
  It depends on way too many things.  What coding styles do you prefer
  (frameworks or not, etc.), if you need project management, your budget,
  where the company is based, timeline, etc.
 
  This is like the question we see here about once a week, What hosting
  company do you prefer.  The answer?  It depends.  :)
 
 
  -
 
  
 --
  This transmission may contain information that is privileged,
 confidential and/or exempt from disclosure under applicable law. If you
 are not the intended recipient, you are hereby notified that any
 disclosure, copying, distribution, or use of the information contained
 herein (including any reliance thereon) is STRICTLY PROHIBITED. If you
 received this transmission in error, please immediately contact the sender
 and destroy the material in its entirety, whether in electronic or hard
 copy format. Thank you.
 
 
 ==
 
  EMF idahopower.com made the previous annotations.
 
 
 
 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258915
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: I know it sounds crazy ...

2006-10-30 Thread Loathe
find and replace on from and url?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 30, 2006 5:50 PM
 To: CF-Talk
 Subject: I know it sounds crazy ...


 All,

 Is it possible to pass the FORM. scope somehow through a hyperlink?

 I have severeal images that I've imagemapped and need to place
 hyperlinks in them.
 I was thinking of creating a submit button with the image that
 needs a hyperlink.

 I'm trying to work an application hosted by an Application
 Service Provider
 contracted on before I started.  This ASP uses a home grown CF
 methodology
 and I'm havinig a hard time trying to figure it out.

 I'm unable to create a hyperlink that would pass values in the
 URL to extract data
 to the template.  The application only takes the FORM.variable
 name.  They want
 2 hours at $150/hr to make their application to work with the URL scope.

 Thank for any feedback.

 D

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258477
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: I know it sounds crazy ...

2006-10-30 Thread Loathe
What IDE do you use?

If your in eclipse or homesite+/cf studio you can do find and replace.  Put
form. in the find and url. in the replace.  Specify a directory or file and
you should be good to go.

 -Original Message-
 From: [EMAIL PROTECTED] [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 30, 2006 5:00 PM
 To: CF-Talk
 Subject: Re: I know it sounds crazy ...


 How would you so that?  Can you be a little more specific?

 find and replace on from and url?
 
 

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258482
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


  1   2   3   >