Re: dynamic ms-word files

2006-03-08 Thread Mike Kear
I've just done this, and on very sound advice from Kym Kovan, I elected to
produce RTF files instead.   Word can happily read rtf files, and rtf files
are more portable to other platforms and other word processing apps.  I
suggest you do the same.

And there is a very simple tutorial on producing rtf files from ColdFusion
reports at http://www.irt.org/articles/js154/ .  The final code looks
horrendous when it's complete, because there are a lot of rtf commands in
there  but when you follow the simple steps in this tutorial, you'll see how
blindingly easy it is, and how you'll look like a real genius to anyone who
sees your code.

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


On 3/9/06, Srinivasa Teja Palla <[EMAIL PROTECTED]> wrote:
>
> Like we have htmldoc, is there a way to dynamically generate word files
> with content supplied by coldfusion?
>
>


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234783
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: dynamic ms-word files

2006-03-08 Thread Eric Roberts
You could use xml...also go to the Jakarta apache project...they have some
java classes that will allow you to create, edit, delete office docs without
using office to do so ;-)  I did some pretty cool reports in Excel using the
excel portion of it.  The name of it is POI

Eric 

-Original Message-
From: Srinivasa Teja Palla [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 08 March 2006 08:56
To: CF-Talk
Subject: dynamic ms-word files

Like we have htmldoc, is there a way to dynamically generate word files with
content supplied by coldfusion?




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234782
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Tracking cgi.http_referer variables...

2006-03-08 Thread Eric Roberts
Just a guess, but what about referring to in JavaScript since the main
window would be parent...not sure if it is possible to do so, but worth
looking into.  You may also be able to do some java to accomplish this if
JavaScript can't do it.  The other thing would be to put a  "marker" on the
page that tags the db counter each time the page is hit.

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 08 March 2006 09:48
To: CF-Talk
Subject: Tracking cgi.http_referer variables...

I'm trying to track the number of hits
from a site that a client has an ad on.

I have his site stats in a db, but found not hits from that particular
http_referer, although I know there should be.

I think I tracked the problem to the fact that the ad opens a new browser
window and that eliminates the possiblity of tracking the variable.

Is there a way around this and still
get the http_referer?

Rick




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234781
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Query Problem - sorting

2006-03-08 Thread Michael T. Tangorre
> From: Dennis Powers [mailto:[EMAIL PROTECTED] 
> SELECT FilesCategory.Cat_Name, 
>Avg(Comments.Numeric1) AS Userrating, 
>Count(Comments.Numeric1) AS Responses
> FROM (FilesData LEFT JOIN Comments ON FilesData.ID = 
> Comments.LinkID) LEFT JOIN FilesCategory ON 
> FilesData.FilesCategory = FilesCategory.CatID
>   GROUP BY FilesCategory.Cat_Name

SELECT 
FC.Cat_Name, 
AVG(C.Numeric1) AS Userrating, 
CASE
WHEN COUNT(C.Numeric1) < 9 THEN 0
WHEN COUNT(C.Numeric1) > 8 THEN 1
END AS Responses
FROM 
FilesData FD
LEFT JOIN Comments C ON (FD.ID = C.LinkID)
LEFT JOIN FilesCategory FC ON (FD.FilesCategory = FC.CatID)
GROUP BY 
FC.Cat_Name
ORDER BY
Responses DESC,
Userrating DESC



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234780
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Query Problem - sorting

2006-03-08 Thread Dennis Powers
I am hoping some one can asset me with obtaining the proper sorting for this
aggregate query. I just can't see it.

Basically I wish to sort by Userrating, but only on records that have a
Responses count greater that 8. 

SELECT FilesCategory.Cat_Name, 
 Avg(Comments.Numeric1) AS Userrating, 
 Count(Comments.Numeric1) AS Responses
FROM (FilesData LEFT JOIN Comments ON FilesData.ID = Comments.LinkID) LEFT
JOIN FilesCategory ON FilesData.FilesCategory = FilesCategory.CatID
GROUP BY FilesCategory.Cat_Name


If I "ORDER BY Responses DESC, Userrating DESC" I get the records that had
the most responses first but are not the highest rated.

What I'd like is to turn the "Count(Comments.Numeric1) AS Responses"
statement into a Boolean where 0 if < 9 and 1 > 8.

Any ideas?  I know I am missing something.



Best Regards,
 
Dennis Powers
UXB Internet- A Website Design and Hosting Company
690 Wolcott Road - P.O. Box 6028
Wolcott, CT 06716
Tel: 203-879-2844
http://www.uxbinternet.com
http://dennis.uxb.net




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234779
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Javascript character errors outputting HTML

2006-03-08 Thread Michael T. Tangorre
> From: Chris Musial [mailto:[EMAIL PROTECTED] 
> So the tag that creates each node looks something like this:
>  #Name#>

 #Name#") />





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234778
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Javascript character errors outputting HTML

2006-03-08 Thread Chris Musial
Im developing a tree menu and i am trying to add checkboxes to each of the 
nodes.  The tree is recursive and is constructed with both HTML and javascript. 
 the issue im having is with js syntax errors in IE, but code works perfectly 
in Mozilla.

So the tag that creates each node looks something like this:
 #Name#>

As it recursively constructs the tree, the checkboxes are displayed correctly.  
The problem im having is getting the onClick to work.  Like i said, it works in 
Mozilla flawlessly, but when i click on a checkbox in IE, i get syntax errors.  
I'm pretty sure it has something to do with the single quotes.  Ive tried 
replacing them with ' as well as #chr(39)#.  

I dont have access to the actual code that constructs the tree through 
javascript because it is encrypted, so i am limited to working on the page that 
displays the tree.

Any ideas??

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234777
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Les Mizzell
dave wrote:
> just wasnt worth the trouble for me.


Better than starting over!!

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234776
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL IN and cfqueryparam lists

2006-03-08 Thread Bryan Stevenson
SELECT * FROM ACTIVITY WHERE ACT_ID IN(NULL)

does work in Oraclesorry for my bad info.



No idea if it will work in other DBs


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

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234775
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL IN and cfqueryparam lists

2006-03-08 Thread Aaron Rouse
Ah, honestly do not know if it returns any or not in Oracle since I never or
rarely have used it.  I just know it works because I tried it earlier.

On 3/8/06, Jim Wright <[EMAIL PROTECTED]> wrote:
>
> I think he is saying that it won't work the same as IS NULL.  It
> doesn't error out, but it also doesn't return any NULL records.  At
> least that is the way it is in SQL Server...is Oracle the same?
>
> On 3/8/06, Aaron Rouse <[EMAIL PROTECTED]> wrote:
> > Works in Oracle, at least it does in 9i, do not know for certain on the
> > other versions.
> >
> > On 3/8/06, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
> > >
> > > NULL should NOT work in an IN clause.
> > >
> > > 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
> > >
> > >
> >
> >
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234774
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread dave
and 10 months later, we haven't yet scene any of these "bigger & better" 
things..

~Dave the disruptor~ 


From: Will Tomlinson <[EMAIL PROTECTED]>
Sent: Wednesday, March 08, 2006 7:35 PM
To: CF-Talk 
Subject: Re: removing whitespace from within CFC output 

>If it indeed does have that app, then I shall be picking it up tomorrow. 
> I've been toying with the idea of making one just for the experience, 
>and wouldn't mind the pointers if Ben's handing 'em out!
>

It's meant to be a basic example - a good place to get started. I was able to 
use it as a springboard to bigger'n'better things. 

Will



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234773
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cfm captchas

2006-03-08 Thread dave
i dont doubt that

~Dave the disruptor~ 


From: "Bobby Hartsfield" <[EMAIL PROTECTED]>
Sent: Wednesday, March 08, 2006 7:42 PM
To: CF-Talk 
Subject: RE: cfm captchas 

Im only shady on the weekends at the rest area

...:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: dave [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 6:08 PM
To: CF-Talk
Subject: Re: cfm captchas

but i hear that guy is kinda "shady" hehe jk bobby

thanks everyone and especially the spammers for making me do this extra
work... doh, i spammed once though so I guess thank u me too

~Dave the disruptor~ 


From: Kym Kovan 
Sent: Tuesday, March 07, 2006 11:07 PM
To: CF-Talk 
Subject: Re: cfm captchas 

dave wrote:
> what are our options for cfm captchas besides alagad
> 

http://acoderslife.com/downloads/bhcaptcha/

no graphics manipulation engine/cfx required.

HTH

Kym K



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234772
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread dave
just wasnt worth the trouble for me.

~Dave the disruptor~ 


From: Les Mizzell <[EMAIL PROTECTED]>
Sent: Wednesday, March 08, 2006 7:50 PM
To: CF-Talk 
Subject: Re: removing whitespace from within CFC output 

dave wrote:
> On one of my last sites I tried adding the headers and footers via 
> Application.cfc (just including them) which would seem better than cfc 
> outputs and i got quite a bit through the site and started in on the 
> forms.

Took me a minute to figure what you're talking about - I wrote exception 
rules for any template, especially form handlers, that I didn't want the 
"siteheader'cfm" file called for.

I'm not finished yet, but same rules will be used to apply different 
META tags to different pages as well, since I don't want the same tags 
for every page on the site...



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234771
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL IN and cfqueryparam lists

2006-03-08 Thread Jim Wright
I think he is saying that it won't work the same as IS NULL.  It
doesn't error out, but it also doesn't return any NULL records.  At
least that is the way it is in SQL Server...is Oracle the same?

On 3/8/06, Aaron Rouse <[EMAIL PROTECTED]> wrote:
> Works in Oracle, at least it does in 9i, do not know for certain on the
> other versions.
>
> On 3/8/06, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
> >
> > NULL should NOT work in an IN clause.
> >
> > 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
> >
> >
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234770
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL IN and cfqueryparam lists

2006-03-08 Thread Aaron Rouse
Works in Oracle, at least it does in 9i, do not know for certain on the
other versions.

On 3/8/06, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
>
> NULL should NOT work in an IN clause.
>
> 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
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234769
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfx_soap error:Java exception occurred in attempt to locate class 'com/allaire/cfx/NativeRequest'

2006-03-08 Thread Stan Winchester
Does anyone have an idea what is going on here? 
Thanks, Stan

>On a CF5 box I'm attempting to setup cfx_soap and get the following error:
>
>java.lang.NoClassDefFoundError: com/allaire/cfx/NativeRequest. Java
>exception occurred in attempt to locate class
>'com/allaire/cfx/NativeRequest' (you should verify that the class is in the
>CLASSPATH).
>
>I've looked on the server and there is no path even close to:
>/allaire/cfx/NativeRequest
>
>Here are the settings:
>
>JVM Path: C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll
>Class Path: C:\CFusion\Java\classes\CFX_SOAP.jar 
>CFX Jar Path: C:\CFusion\Java\classes;
>
> 
>Thank you,
>Aftershock Web Design, Inc.
>by: Stan Winchester
>President/Developer
>http://www.aftershockweb.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234768
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Les Mizzell
dave wrote:
> On one of my last sites I tried adding the headers and footers via 
> Application.cfc (just including them) which would seem better than cfc 
> outputs and i got quite a bit through the site and started in on the 
> forms.

Took me a minute to figure what you're talking about - I wrote exception 
rules for any template, especially form handlers, that I didn't want the 
"siteheader'cfm" file called for.

I'm not finished yet, but same rules will be used to apply different 
META tags to different pages as well, since I don't want the same tags 
for every page on the site...

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234767
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cfm captchas

2006-03-08 Thread Bobby Hartsfield
Im only shady on the weekends at the rest area

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 


-Original Message-
From: dave [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 6:08 PM
To: CF-Talk
Subject: Re: cfm captchas

but i hear that guy is kinda "shady" hehe jk bobby

thanks everyone and especially the spammers for making me do this extra
work... doh, i spammed once though so I guess thank u me too

~Dave the disruptor~ 


From: Kym Kovan <[EMAIL PROTECTED]>
Sent: Tuesday, March 07, 2006 11:07 PM
To: CF-Talk 
Subject: Re: cfm captchas 

dave wrote:
> what are our options for cfm captchas besides alagad
> 

http://acoderslife.com/downloads/bhcaptcha/

no graphics manipulation engine/cfx required.

HTH

Kym K





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234766
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Will Tomlinson
>If it indeed does have that app, then I shall be picking it up tomorrow. 
>  I've been toying with the idea of making one just for the experience, 
>and wouldn't mind the pointers if Ben's handing 'em out!
>

It's meant to be a basic example -  a good place to get started. I was able to 
use it as a springboard to bigger'n'better things. 

Will

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234765
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL IN and cfqueryparam lists

2006-03-08 Thread Bryan Stevenson
I don't knowyou posted it ;-)

I only answered the IN portion regarding cfqueryparam.

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

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234764
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL IN and cfqueryparam lists

2006-03-08 Thread Jim McAtee
So you're saying that it's an inappropriate use of the null parameter. 
Wasn't that part of the original question?


- Original Message - 
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Wednesday, March 08, 2006 4:26 PM
Subject: Re: SQL IN and cfqueryparam lists


> NULL should NOT work in an IN clause.
>
> 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


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234763
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread Paul Hastings
Robert Everland III wrote:
> Well there are 2 options you can do. Do a subdomain for each language.
> http://french.domain.com etc... , or just have a link with the flags of the
> different countries so a user can choose a different language. The bots

no. never flags. don't scale & will eventually make somebody mad. countries <> 
languages.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234762
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Ray Champagne
Les,

I have held up on getting the WACK7 book (I already own 4,5,6)  and your 
statement caught my attention.  Does Ben really build an entire CF 
ecommerce app in there?  It doesn't seem so in reading the reviews on 
Amazon or on Ben's site.  Seems like the only reference was for the OWS 
app used in previous editions.

If it indeed does have that app, then I shall be picking it up tomorrow. 
  I've been toying with the idea of making one just for the experience, 
and wouldn't mind the pointers if Ben's handing 'em out!

Thanks,

Ray

Les Mizzell wrote:
>> Lets just say, I had to start over.
> 
> Well, I got it from Ben Forta's "Coldfusion MX7 Web Application 
> Construction Kit" - and there's an entire ecommerce application in there 
> built that way.
> 
> Hm
> 
> I haven't run into any problems yet. Works great on teh one site I've 
> got going, but haven't tried it with a anything containing a lot of 
> forms or anything yet...
> 
> 
> Maybe I missed the part where it says "There can be problems with this 
> method though...". Heh. Guess I need to put the book back in the throne 
> room for further perusal!
> 
> 
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234761
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL IN and cfqueryparam lists

2006-03-08 Thread Bryan Stevenson
NULL should NOT work in an IN clause.

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

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234760
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Les Mizzell
> Lets just say, I had to start over.

Well, I got it from Ben Forta's "Coldfusion MX7 Web Application 
Construction Kit" - and there's an entire ecommerce application in there 
built that way.

Hm

I haven't run into any problems yet. Works great on teh one site I've 
got going, but haven't tried it with a anything containing a lot of 
forms or anything yet...


Maybe I missed the part where it says "There can be problems with this 
method though...". Heh. Guess I need to put the book back in the throne 
room for further perusal!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234759
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL IN and cfqueryparam lists

2006-03-08 Thread Aaron Rouse
Going off the recordcount would definately be less typing and easier on the
eyes.  :)

Yes when it comes out to null="Yes" then it is the same as if you typed in
WHERE ID IN (NULL)

On 3/8/06, Jim McAtee <[EMAIL PROTECTED]> wrote:
>
> I suppose this would work just as well, since recordid is a primary key:
>
> null="#YesNoFormat(not anotherquery.recordcount)#"
>
> I'm still not completely clear on how the null attribute is used.  If
> anotherquery comes back with a recordcount=0, then the cfsqlqueryparam
> attribute value would evaluate to something like:
>
> WHERE recordid IN
> ( cfsqltype="cf_sql_varchar"
> value=""
> list="Yes"
> null="Yes">)
>
> Does this become the following in SQL, so that having null="Yes" just
> overrides the value parameter?
>
> WHERE recordid IN (NULL)
>
>
>


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234758
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread dave
On one of my last sites I tried adding the headers and footers via 
Application.cfc (just including them) which would seem better than cfc outputs 
and i got quite a bit through the site and started in on the forms.

Lets just say, I had to start over.

I'm all about saving time since i cant type to save my life but I learned the 
lesson the hard way and now I will sit back and what you guys trainwreck ;)

~Dave the disruptor~ 


From: "John C. Bland II" <[EMAIL PROTECTED]>
Sent: Wednesday, March 08, 2006 6:06 PM
To: CF-Talk 
Subject: Re: removing whitespace from within CFC output 

That's coo. Either way...easy to implement and works like a charm (tested on
a company site and worked beautifully).

On 3/8/06, dave  wrote:
>
> thanks but that wasnt my genious-ness at work, was someone else on the
> list awhile back.
>
> ~Dave the disruptor~
>
> 
> From: "John C. Bland II" 
> Sent: Wednesday, March 08, 2006 5:56 PM
> To: CF-Talk 
> Subject: Re: removing whitespace from within CFC output
>
> Dave, Genius! That white space at the top has urked me for years!!! (well,
> mainly when cf 7 came out)
>
> Thx...
>
> On 3/8/06, dave wrote:
> >
> > add this >
> > must be on the same line, that will clear all the cfm code above it
> >
> > ~Dave the disruptor~
> >
> > 
> > From: Les Mizzell
> > Sent: Wednesday, March 08, 2006 2:41 PM
> > To: CF-Talk
> > Subject: Re: removing whitespace from within CFC output
> >
> > I've got the same sort of problem going on here:
> >
> > http://www.columbiacityjazz.com
> >
> > Do a view source.
> >
> > Basically, it's a CSS source ordered layout (content first), using an
> > Application.cfc file to call headers and footers set up as:
> >
> > header.cfm (includes the left nav too)
> > body.cfm (stuff in middle)
> > footer.cfm (uhh - footer)
> >
> > I've got my almost the entire contents of my Application.cfc file
> > wrapped in CFSILENT, and I've STILL got 25 lines of white space at the
> > top of every page and I've *NO* idea where it's coming from! Ideas?
> >
> > Application.cfc look like:
> >
> > --SOME MORE CRAP AND FUNCTIONS HERE
> >
> >
> >
> >
>
>
>
> 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234757
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfm captchas

2006-03-08 Thread dave
but i hear that guy is kinda "shady" hehe jk bobby

thanks everyone and especially the spammers for making me do this extra work... 
doh, i spammed once though so I guess thank u me too

~Dave the disruptor~ 


From: Kym Kovan <[EMAIL PROTECTED]>
Sent: Tuesday, March 07, 2006 11:07 PM
To: CF-Talk 
Subject: Re: cfm captchas 

dave wrote:
> what are our options for cfm captchas besides alagad
> 

http://acoderslife.com/downloads/bhcaptcha/

no graphics manipulation engine/cfx required.

HTH

Kym K



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234756
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL IN and cfqueryparam lists

2006-03-08 Thread Jim McAtee
I suppose this would work just as well, since recordid is a primary key:

null="#YesNoFormat(not anotherquery.recordcount)#"

I'm still not completely clear on how the null attribute is used.  If 
anotherquery comes back with a recordcount=0, then the cfsqlqueryparam 
attribute value would evaluate to something like:

WHERE recordid IN
()

Does this become the following in SQL, so that having null="Yes" just 
overrides the value parameter?

WHERE recordid IN (NULL)




- Original Message - 
From: "Aaron Rouse" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Wednesday, March 08, 2006 3:29 PM
Subject: Re: SQL IN and cfqueryparam lists


>I believe that null will work but I'd use the listlen function.  Mine 
>would
> look something like:
>
> Not(YesNoFormat(ListLen(ValueList(AnotherQuery.RecordID
>
>
> On 3/8/06, Jim McAtee <[EMAIL PROTECTED]> wrote:
>>
>> Is it necessary to designate list="yes" for a cfsqlqueryparam value if 
>> the
>> value is already a comma delimitted list?  Or is that exactly what the
>> attibute is to be used for?
>>
>> Is the following a valid use of the 'null' attribute?
>>
>> WHERE recordid IN
>> (>   cfsqltype="cf_sql_varchar"
>>   value="#ValueList(anotherquery.recordid)#"
>>   list="Yes"
>>   null="#YesNoFormat(not Len(ValueList(anotherquery.recordid)))#">)
>>
>>
>>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234755
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread John C. Bland II
That's coo. Either way...easy to implement and works like a charm (tested on
a company site and worked beautifully).

On 3/8/06, dave <[EMAIL PROTECTED]> wrote:
>
> thanks but that wasnt my genious-ness at work, was someone else on the
> list awhile back.
>
> ~Dave the disruptor~
>
> 
> From: "John C. Bland II" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 08, 2006 5:56 PM
> To: CF-Talk 
> Subject: Re: removing whitespace from within CFC output
>
> Dave, Genius! That white space at the top has urked me for years!!! (well,
> mainly when cf 7 came out)
>
> Thx...
>
> On 3/8/06, dave  wrote:
> >
> > add this >
> > must be on the same line, that will clear all the cfm code above it
> >
> > ~Dave the disruptor~
> >
> > 
> > From: Les Mizzell
> > Sent: Wednesday, March 08, 2006 2:41 PM
> > To: CF-Talk
> > Subject: Re: removing whitespace from within CFC output
> >
> > I've got the same sort of problem going on here:
> >
> > http://www.columbiacityjazz.com
> >
> > Do a view source.
> >
> > Basically, it's a CSS source ordered layout (content first), using an
> > Application.cfc file to call headers and footers set up as:
> >
> > header.cfm (includes the left nav too)
> > body.cfm (stuff in middle)
> > footer.cfm (uhh - footer)
> >
> > I've got my almost the entire contents of my Application.cfc file
> > wrapped in CFSILENT, and I've STILL got 25 lines of white space at the
> > top of every page and I've *NO* idea where it's coming from! Ideas?
> >
> > Application.cfc look like:
> >
> > --SOME MORE CRAP AND FUNCTIONS HERE
> >
> >
> >
> >
>
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234754
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread S . Isaac Dealey
I'm careful to not right-click to edit tags in Dreamweaver. :P

> Oh, and the reason this happens for "no apparent reason"
> (at least in my case) is when I use Dreamweaver and right
> click a tag to edit the attributes. If I leave an
> attribute blank (most notably on cfcomponent), it adds the
> attribute with a null value, giving me the error. It took
> me a LNG time to figure it out the first time it
> happened, but I'm careful now.

> Doug  :0)


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234753
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread dave
thanks but that wasnt my genious-ness at work, was someone else on the list 
awhile back.

~Dave the disruptor~ 


From: "John C. Bland II" <[EMAIL PROTECTED]>
Sent: Wednesday, March 08, 2006 5:56 PM
To: CF-Talk 
Subject: Re: removing whitespace from within CFC output 

Dave, Genius! That white space at the top has urked me for years!!! (well,
mainly when cf 7 came out)

Thx...

On 3/8/06, dave  wrote:
>
> add this >
> must be on the same line, that will clear all the cfm code above it
>
> ~Dave the disruptor~
>
> 
> From: Les Mizzell 
> Sent: Wednesday, March 08, 2006 2:41 PM
> To: CF-Talk 
> Subject: Re: removing whitespace from within CFC output
>
> I've got the same sort of problem going on here:
>
> http://www.columbiacityjazz.com
>
> Do a view source.
>
> Basically, it's a CSS source ordered layout (content first), using an
> Application.cfc file to call headers and footers set up as:
>
> header.cfm (includes the left nav too)
> body.cfm (stuff in middle)
> footer.cfm (uhh - footer)
>
> I've got my almost the entire contents of my Application.cfc file
> wrapped in CFSILENT, and I've STILL got 25 lines of white space at the
> top of every page and I've *NO* idea where it's coming from! Ideas?
>
> Application.cfc look like:
>
> --SOME MORE CRAP AND FUNCTIONS HERE
>
>
>
> 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234752
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread John C. Bland II
Dave, Genius! That white space at the top has urked me for years!!! (well,
mainly when cf 7 came out)

Thx...

On 3/8/06, dave <[EMAIL PROTECTED]> wrote:
>
> add this 
> must be on the same line, that will clear all the cfm code above it
>
> ~Dave the disruptor~
>
> 
> From: Les Mizzell <[EMAIL PROTECTED]>
> Sent: Wednesday, March 08, 2006 2:41 PM
> To: CF-Talk 
> Subject: Re: removing whitespace from within CFC output
>
> I've got the same sort of problem going on here:
>
> http://www.columbiacityjazz.com
>
> Do a view source.
>
> Basically, it's a CSS source ordered layout (content first), using an
> Application.cfc file to call headers and footers set up as:
>
> header.cfm (includes the left nav too)
> body.cfm (stuff in middle)
> footer.cfm (uhh - footer)
>
> I've got my almost the entire contents of my Application.cfc file
> wrapped in CFSILENT, and I've STILL got 25 lines of white space at the
> top of every page and I've *NO* idea where it's coming from! Ideas?
>
> Application.cfc look like:
>
> --SOME MORE CRAP AND FUNCTIONS HERE
>
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234751
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread dave
you will find problems by doing that though, like if you add a text editor and 
occassionaly text input fields will try to add your header inside of them and 
it gets messy.

personally, I just make a snippet and a keyboard short cut in dw to just add 
the basic contents like


cfm processing code here



hey there mr disruptor
contents go here



~Dave the disruptor~ 


From: Les Mizzell <[EMAIL PROTECTED]>
Sent: Wednesday, March 08, 2006 5:30 PM
To: CF-Talk 
Subject: Re: removing whitespace from within CFC output 

Andy Matthews wrote:
> That's a GREAT idea Les! Always wondered how to avoid having to manually
> enter the header and footer calls on a per page basis.
> 
> Only problem is that it's CF7 only. Soon...

Certainly helps with laying out files. Plus, with the correct CSS 
layout, all my "content" files look like

stuff here

more stuff here

yet more stuff here

That's it.

But, I'm finding drawbacks too - it's a slight pain if you have a few 
pages that use a different header, for example. There's a previous short 
thread on that somewhere.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234750
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: removing whitespace from within CFC output

2006-03-08 Thread Andy Matthews
right



-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 3:07 PM
To: CF-Talk
Subject: Re: removing whitespace from within CFC output


Andy Matthews wrote:
> I supposed I could do that, it just seems cleaner to output it from within
> the CFC. That way all I have in my main template is a line of code found
> within a cfscript tag.

how 'bout this? :)


writeOutput(myCfc());



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234749
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Aaron Rouse
Yeah, that is why I opted on a recent project to just include my
header/footers on each page instead of through the application.cfc  So I end
up with something like:





stuff here
more stuff here
yet more stuff here





Actually no need for me really to be using cfimport for my custom tags on
that.  Originally did it with the though of doing the cfimport in the
onrequeststart but found that does not work.  Need to just change things
over to cfmodule's

On 3/8/06, Les Mizzell <[EMAIL PROTECTED]> wrote:
>
> But, I'm finding drawbacks too - it's a slight pain if you have a few
> pages that use a different header, for example. There's a previous short
> thread on that somewhere.
>
>


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234748
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread rhymes with 'loud'
Oh, and the reason this happens for "no apparent reason" (at least in my case) 
is when I use Dreamweaver and right click a tag to edit the attributes. If I 
leave an attribute blank (most notably on cfcomponent), it adds the attribute 
with a null value, giving me the error. It took me a LNG time to figure it 
out the first time it happened, but I'm careful now.

Doug  :0)


> Don't want to over-simplify this, but I have received similar errors 
> before "for no apparent reason" and the cause turned out to be the 
> fact that I had an EXTENDS attribute in my CFCOMPONENT tag with an 
> empty value
> ( 
> Could that have anything to do with it?
> 
> Doug  :0)
> 
> 
> >Sorry I couldn't be more helfpul. :-(
> >
> >> Yeah, I noticed the missing () after I sent the message.
> >> Either way, it
> >> would have worked (with the parens) or not worked, but at
> >> least it would
> >> not have given the null pointer error if I could get past
> >> that point.
> >
> >> Restarting the CF services didn't make a diff.
> >
> >> Now, I'm in the process of uninstalling/reinstalling CF.
> >
> >> Thanks!
> >
> >
> >s. isaac dealey 434.293.6201
> >new epoch : isn't it time for a change?
> >
> >add features without fixtures with
> >the onTap open source framework
> >
> >http://www.fusiontap.com
> >http://coldfusion.sys-con.com/author/4806Dealey.
htm

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234747
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


UPDATED: RE: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread Dawson, Michael
Nope.  Thanks for the suggestion, but it's a very simple CFC with hardly
anything in it.

BTW, I was able to correct the problem by completely uninstalling CF,
then reinstalling CF and Updater 2.

Thanks for everyone's help.

M!ke 

-Original Message-
From: Doug Boude (rhymes with 'loud') [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 3:15 PM
To: CF-Talk
Subject: Re: Null Pointer Exception Creating a CFC Object

Don't want to over-simplify this, but I have received similar errors
before "for no apparent reason" and the cause turned out to be the fact
that I had an EXTENDS attribute in my CFCOMPONENT tag with an empty
value (Sorry I couldn't be more helfpul. :-(
>
>> Yeah, I noticed the missing () after I sent the message.
>> Either way, it
>> would have worked (with the parens) or not worked, but at least it 
>> would not have given the null pointer error if I could get past that 
>> point.
>
>> Restarting the CF services didn't make a diff.
>
>> Now, I'm in the process of uninstalling/reinstalling CF.
>
>> Thanks!
>
>
>s. isaac dealey 434.293.6201
>new epoch : isn't it time for a change?
>
>add features without fixtures with
>the onTap open source framework
>
>http://www.fusiontap.com
>http://coldfusion.sys-con.com/author/4806Dealey.htm



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234746
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL IN and cfqueryparam lists

2006-03-08 Thread Aaron Rouse
I believe that null will work but I'd use the listlen function.  Mine would
look something like:

Not(YesNoFormat(ListLen(ValueList(AnotherQuery.RecordID


On 3/8/06, Jim McAtee <[EMAIL PROTECTED]> wrote:
>
> Is it necessary to designate list="yes" for a cfsqlqueryparam value if the
> value is already a comma delimitted list?  Or is that exactly what the
> attibute is to be used for?
>
> Is the following a valid use of the 'null' attribute?
>
> WHERE recordid IN
> (   cfsqltype="cf_sql_varchar"
>   value="#ValueList(anotherquery.recordid)#"
>   list="Yes"
>   null="#YesNoFormat(not Len(ValueList(anotherquery.recordid)))#">)
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234745
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL IN and cfqueryparam lists

2006-03-08 Thread Bryan Stevenson
> Is it necessary to designate list="yes" for a cfsqlqueryparam value if the 

yes...absolutely required

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

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234744
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Les Mizzell
Andy Matthews wrote:
> That's a GREAT idea Les! Always wondered how to avoid having to manually
> enter the header and footer calls on a per page basis.
> 
> Only problem is that it's CF7 only. Soon...


Certainly helps with laying out files. Plus, with the correct CSS 
layout, all my "content" files look like



   stuff here
   more stuff here
   yet more stuff here




That's it.

But, I'm finding drawbacks too - it's a slight pain if you have a few 
pages that use a different header, for example. There's a previous short 
thread on that somewhere.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234743
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


SQL IN and cfqueryparam lists

2006-03-08 Thread Jim McAtee
Is it necessary to designate list="yes" for a cfsqlqueryparam value if the 
value is already a comma delimitted list?  Or is that exactly what the 
attibute is to be used for?

Is the following a valid use of the 'null' attribute?

WHERE recordid IN
()


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234742
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread rhymes with 'loud'
Don't want to over-simplify this, but I have received similar errors before 
"for no apparent reason" and the cause turned out to be the fact that I had an 
EXTENDS attribute in my CFCOMPONENT tag with an empty value
(Sorry I couldn't be more helfpul. :-(
>
>> Yeah, I noticed the missing () after I sent the message.
>> Either way, it
>> would have worked (with the parens) or not worked, but at
>> least it would
>> not have given the null pointer error if I could get past
>> that point.
>
>> Restarting the CF services didn't make a diff.
>
>> Now, I'm in the process of uninstalling/reinstalling CF.
>
>> Thanks!
>
>
>s. isaac dealey 434.293.6201
>new epoch : isn't it time for a change?
>
>add features without fixtures with
>the onTap open source framework
>
>http://www.fusiontap.com
>http://coldfusion.sys-con.com/author/4806Dealey.htm

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234741
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Aaron Rouse
Not that I have ever done it before but you could just include the header in
the application.cfm and the footer in the onrequestend.cfm files, in pre CF7
versions to have the same visual effect.


On 3/8/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
>
> That's a GREAT idea Les! Always wondered how to avoid having to manually
> enter the header and footer calls on a per page basis.
>
> Only problem is that it's CF7 only. Soon...
>
>  andy matthews
> web developer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --//->
>
>


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234740
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: removing whitespace from within CFC output

2006-03-08 Thread Andy Matthews
That's a GREAT idea Les! Always wondered how to avoid having to manually
enter the header and footer calls on a per page basis.

Only problem is that it's CF7 only. Soon...



-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 1:34 PM
To: CF-Talk
Subject: Re: removing whitespace from within CFC output


I've got the same sort of problem going on here:

http://www.columbiacityjazz.com

Do a view source.

Basically, it's a CSS source ordered layout (content first), using an
Application.cfc file to call headers and footers set up as:

header.cfm (includes the left nav too)
body.cfm (stuff in middle)
footer.cfm (uhh - footer)

I've got my almost the entire contents of my Application.cfc file
wrapped in CFSILENT, and I've STILL got 25 lines of white space at the
top of every page and I've *NO* idea where it's coming from! Ideas?

Application.cfc look like:









   




   


--SOME MORE CRAP AND FUNCTIONS HERE

   






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234739
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Les Mizzell
dave wrote:
> add this  must be on the same line, that will clear all the cfm code above it


That did it

Thanks!

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234738
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


cfx_soap error:Java exception occurred in attempt to locate class 'com/allaire/cfx/NativeRequest'

2006-03-08 Thread Stan Winchester
On a CF5 box I'm attempting to setup cfx_soap and get the following error:

java.lang.NoClassDefFoundError: com/allaire/cfx/NativeRequest. Java
exception occurred in attempt to locate class
'com/allaire/cfx/NativeRequest' (you should verify that the class is in the
CLASSPATH).

I've looked on the server and there is no path even close to:
/allaire/cfx/NativeRequest

Here are the settings:

JVM Path: C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll
Class Path: C:\CFusion\Java\classes\CFX_SOAP.jar 
CFX Jar Path: C:\CFusion\Java\classes;

 
Thank you,
Aftershock Web Design, Inc.
by: Stan Winchester
President/Developer
http://www.aftershockweb.com/   




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234737
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread dave
add this 
Sent: Wednesday, March 08, 2006 2:41 PM
To: CF-Talk 
Subject: Re: removing whitespace from within CFC output 

I've got the same sort of problem going on here:

http://www.columbiacityjazz.com

Do a view source.

Basically, it's a CSS source ordered layout (content first), using an 
Application.cfc file to call headers and footers set up as:

header.cfm (includes the left nav too)
body.cfm (stuff in middle)
footer.cfm (uhh - footer)

I've got my almost the entire contents of my Application.cfc file 
wrapped in CFSILENT, and I've STILL got 25 lines of white space at the 
top of every page and I've *NO* idea where it's coming from! Ideas?

Application.cfc look like:

--SOME MORE CRAP AND FUNCTIONS HERE



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234736
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SMS Carrier in the U.S.

2006-03-08 Thread Ian Skinner
It is my understanding that there are "shared" SMS services out there, where a 
short code can be shared among multiple users, thus sharing the costs.  But I 
have never looked into it any closer.



That's a lot of frickin' money for something so simple.

Who the F would buy such a beast?  Is it worth all that money?

Wow

Peter H wrote:
> Thanks, that was really helpful.  Just in case people are interested,  
> the costs associated with using two of the vendors that were mentioned 
> above are:
> 
> - U.S.  short code, for example if we wanted to tell people, send a 
> text message to SMSME (needs to be 5 characters), the short code would be 
> 76763.  The cost for the short code is $1000/month or $500 if we want the 
> registry to select a random short code for us.
> - SMS aggregation,  this is the service that actually sends and receives the 
> text messages.  $1500 setup fee + $300/month for 2 concerent messages and a 
> throttle of 4 sms/second.
> 
> So, this is definetly more expensive than I thought.
> 
> -P
> 
>


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




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234735
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread Claude Schneegans
 >>Thus things like should work, but there may be a limit on how many 
combinations are considered.


As far as all the combinations are present in the page under the form of 
a valid link.
I do not see why robots will ignore them.
After all, what is the difference between

and:


Robots will not try all possible item Id and all colors.

Ok, let's start another war ;-)
And what's about links like
 ?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234734
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


SOT: Adobe Bridges Flash, Flex with AJAX

2006-03-08 Thread Marius Milosav
http://www.eweek.com/article2/0,1895,1935479,00.asp

/regards
Marius Milosav
www.scorpiosoft.com
It's not about technology, it's about people 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234733
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SMS Carrier in the U.S.

2006-03-08 Thread Ray Champagne
That's a lot of frickin' money for something so simple.

Who the F would buy such a beast?  Is it worth all that money?

Wow

Peter H wrote:
> Thanks, that was really helpful.  Just in case people are interested,  the 
> costs associated with using two of the vendors that were mentioned above are:
> 
> - U.S.  short code, for example if we wanted to tell people, send a text 
> message to SMSME (needs to be 5 characters), the short code would be 76763.  
> The cost for the short code is $1000/month or $500 if we want the registry to 
> select a random short code for us.
> - SMS aggregation,  this is the service that actually sends and receives the 
> text messages.  $1500 setup fee + $300/month for 2 concerent messages and a 
> throttle of 4 sms/second.
> 
> So, this is definetly more expensive than I thought.
> 
> -P
> 
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234732
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread Robert Everland III
It is recommended to make each page including the meta tags be specfic to the 
page's content. Do not spam the meta tags with a bunch of keywords. Just put 
the main keywords and description to be things that describe the content of the 
page. 


Bob

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234731
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SMS Carrier in the U.S.

2006-03-08 Thread Peter H
Thanks, that was really helpful.  Just in case people are interested,  the 
costs associated with using two of the vendors that were mentioned above are:

- U.S.  short code, for example if we wanted to tell people, send a text 
message to SMSME (needs to be 5 characters), the short code would be 76763.  
The cost for the short code is $1000/month or $500 if we want the registry to 
select a random short code for us.
- SMS aggregation,  this is the service that actually sends and receives the 
text messages.  $1500 setup fee + $300/month for 2 concerent messages and a 
throttle of 4 sms/second.

So, this is definetly more expensive than I thought.

-P

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234730
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread Claude Schneegans
 >>that URL may get ignored as it's a dynamic page

If it was so, almost all CF pages would be ignored.
What is ignored are pages called from forms, because they will certainly 
cause an error
if no field are filled.

As far as there is a link from one language to another, both languages 
should be searched by robots.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234729
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread Baz
Thanks for all the tips... it was my understanding too that search engines
play nice with URL vars - I'm not too sure why "SES safe" URLs are still
being talked about so often.

Also, just to be sure, I should translate all META keywords and descriptions
to each language, correct? You can have more than one set of META data per
domain, right?

Speaking of which, are there any advantages/disadvantages to customizing
your META data for each page of your site? So if one page focuses on cars,
but another focuses on racing, you put car-related keywords on one page and
race-related keywords on the other.  Is this good/bad/ineffective? 

Cheers,
Baz



-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 3:31 PM
To: CF-Talk
Subject: Re: Should I submit a website with 2 languages twice to search
engines?

Yep, Google indexes them pretty exactly the same as sites with SES
url's... which is why I'm glad I never bothered with the whole SES url
nonsense... A whole lot of hair-pulling for bupkiss. Plus if you want
SES url's, use mod rewrite or isapi rewrite. It's infinitely easier to
implement it there than it is to reverse engineer the query string in
CF.

> This may well start a big war here, but are dynamic URLs
> really a big
> problem anymore for todays modern search engine?  I have
> no evidence
> either way, but it seems to me that they must have come up
> with some
> kind of a workaround by now


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234728
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFEclipse - Lost my snipTree?

2006-03-08 Thread Trevor Orr
Great, thanks, that is what I needed.

 

-Original Message-
From: Nathan Strutz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 12:05 PM
To: CF-Talk
Subject: Re: CFEclipse - Lost my snipTree?

Yeah, newer builds have it remapping to something like CTRL+J... Window
> Preferences > General > Keys (view tab) will help you change it back,
or at least figure out what the current key combo is.

-nathan strutz
http://www.dopefly.com/

On 3/8/06, Trevor Orr <[EMAIL PROTECTED]> wrote:
>
> I now have my snippets back but hot key does not work.  CTRL+SHIFT+.
> Right?
>
>
>
>
> -Original Message-
> From: Sandra Clark [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 9:42 AM
> To: CF-Talk
> Subject: RE: CFEclipse - Lost my snipTree?
>
> I got my snippets back yes.  I don't know what did it, but these are 
> the steps I used
>
> Used the nightly build.  Went into my project directory and made sure 
> the snippets were set to the correct directory.  Closed the Snip Tree 
> View and then re-opened it.  Voila, Snippets are back (thank goodness,

> I use them
> extensively)
>
> -Original Message-
> From: Trevor Orr [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 12:26 PM
> To: CF-Talk
> Subject: RE: CFEclipse - Lost my snipTree?
>
> Did getting rid of 1.2 get you back your snippets?
>
>
>
> -Original Message-
> From: Sandra Clark [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 9:13 AM
> To: CF-Talk
> Subject: RE: CFEclipse - Lost my snipTree?
>
> I got rid of the 1.2 plugin in the plugins directory then installed 
> the nightly build.  To get the component explorer, you have to tell it

> to show View/Other and select if from the CFEclipse node
>
> -Original Message-
> From: Trevor Orr [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 12:03 PM
> To: CF-Talk
> Subject: RE: CFEclipse - Lost my snipTree?
>
> I am having the same problem, I downloaded the nightly version, and 
> unzipped it into my plugin directory and no changes after restarting 
> eclipse, is there something I need to do to tell eclipse to use the 
> newly installed version?
>
>
>
> -Original Message-
> From: Nathan Strutz [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 7:55 AM
> To: CF-Talk
> Subject: Re: CFEclipse - Lost my snipTree?
>
> 1.18 is both older and not as stable as 1.20, so you did good by 
> picking the highest version number. You have the "stable" build. I 
> don't know what actually classifies it as stable, but I can tell you 
> what doesn't
> :)  The real, actual bleeding edge is now the nightly build, which you

> can download
> here:
>
> http://www.cfeclipse.org/nightly/cfeclipse_nightly.zip
>
> It's literally compiled and published nightly. download it, unzip it 
> and move it into your eclipse\plugins folder, then restart eclipse. I 
> update my installed plugin to the nightly every week or so and have no

> problems with it (plus you can try out mark's new component
explorer!).
>
> -nathan strutz
> http://www.dopefly.com/
>
>
>
> On 3/7/06, Sandra Clark <[EMAIL PROTECTED]> wrote:
> >
> > I'm using the last stable build.  It looks newer 1.2 than the 
> > bleeding
>
> > edge build (1.18).  If there is a newer build I can get, I'll try 
> > that,
> >
> > Sandy
> >
>
>
>
>
>
>
>
>
>
>
>
>
> 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234727
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Michael Dinowitz

or
#myCFC()#


> Andy Matthews wrote:
>> I supposed I could do that, it just seems cleaner to output it from 
>> within
>> the CFC. That way all I have in my main template is a line of code found
>> within a cfscript tag.
>
> how 'bout this? :)
>
> 
> writeOutput(myCfc());
> 
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234726
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using SQL Bulk Insert

2006-03-08 Thread Jochem van Dieten
Chad McCue wrote:
> I am try to use a bulk insert instead of looping through a result set.
> 
> 
>SELECT EmailAddress
>FROM Emx_Acct_Addresses
>WHERE ListID = '#AddressListID#'
>   
>   
>   
>   
>   
>   
>   
>BULK INSERT INTO BroadcastedEmails
> (EmailAddress)
> VALUES ()
>   
> 
> What would I use here for a value?

You should do this in one query:

INSERT INTO BroadcastedEmails (EmailAddress)
SELECT EmailAddress
FROM Emx_Acct_Addresses
WHERE ListID = 

Jochem

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234725
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Rick Root
Andy Matthews wrote:
> I supposed I could do that, it just seems cleaner to output it from within
> the CFC. That way all I have in my main template is a line of code found
> within a cfscript tag.

how 'bout this? :)


writeOutput(myCfc());


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234724
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Soap and namespaces

2006-03-08 Thread jonese
I'm trying to use the getSoapResponseHeader function to get some
returned header data for a netsuite integration we are doing and for
the life of me i can't get it to work to save my life.

Anyone have any idea how to determine what the value of "namespace" is

here's some code i'm playing with:

passport = structNew();
passport.email = "[EMAIL PROTECTED]";
passport.password = "mypass";
passport.account = 00012;

ws = CreateObject('webservice','NetSuite');
whatever = ws.login(passport);
//soapResponse = getSoapResponse(ws);
loginHeader = getSoapResponseHeader(ws,
'https://webservices.netsuite.com/', 'returnHeader');


here is the WSDL file:
https://webservices.netsuite.com/wsdl/v1_2_1/netsuite.wsdl

any ideas???
jonese

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234723
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SMS Carrier in the U.S.

2006-03-08 Thread Tony
y'need to get a short code, and buy time from an aggregator.

check out
www.usshortcodes.com

also, see if you can find damon coopers preso on the technology
that he made in new orleans at max, and probably subsequent events.

tw

On 3/8/06, Peter Hahn <[EMAIL PROTECTED]> wrote:
> Anyone use MX 7 to receive SMS messages on the SMS event gateway (enterprise
> edition)?
>
> Which SMS carriers have you used?  I'm having trouble finding vendors and
> pricing on google.
>
> Thanks,
>
> -P
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234722
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: removing whitespace from within CFC output

2006-03-08 Thread Andy Matthews
I supposed I could do that, it just seems cleaner to output it from within
the CFC. That way all I have in my main template is a line of code found
within a cfscript tag.

:)



-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 2:14 PM
To: CF-Talk
Subject: Re: removing whitespace from within CFC output


Michael Dinowitz wrote:
> I use cached CFCs to output 'pods' in my replacement code for blogCFC.
Works
> great.

why wouldn't you just have the CFC return the content as a string and do
this?

#sessuib,myCachedCFC("podName")#

I understand it's a matter of preference, and of course it's a rule of
object oriented programming which you can throw to the dogs anytime you
want... but I've never felt the need to output anything besides
debugging info in a CFC - and only then during the development process.

Rick


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234721
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SMS Carrier in the U.S.

2006-03-08 Thread Dave Carabetta
On 3/8/06, Peter Hahn <[EMAIL PROTECTED]> wrote:
> Anyone use MX 7 to receive SMS messages on the SMS event gateway (enterprise
> edition)?
>
> Which SMS carriers have you used?  I'm having trouble finding vendors and
> pricing on google.
>

Damon Cooper of Adobe posted this a bit over year ago, but it might
still be helpful:

http://www.dcooper.org/blog/client/index.cfm?mode=entry&entry=FC5CF329-4E22-1671-58B0869C57B5ABCA

Regards,
Dave.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234720
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


SMS Carrier in the U.S.

2006-03-08 Thread Peter Hahn
Anyone use MX 7 to receive SMS messages on the SMS event gateway (enterprise
edition)?

Which SMS carriers have you used?  I'm having trouble finding vendors and
pricing on google.

Thanks,

-P


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234719
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Aaron Rouse
This is how I do it and I usually refer to it as my CFC outputing code even
though really it is outputing a string.

On 3/8/06, Rick Root <[EMAIL PROTECTED]> wrote:
>
> why wouldn't you just have the CFC return the content as a string and do
> this?
>
> #sessuib,myCachedCFC("podName")#
>
>


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234718
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread S . Isaac Dealey
Yep, Google indexes them pretty exactly the same as sites with SES
url's... which is why I'm glad I never bothered with the whole SES url
nonsense... A whole lot of hair-pulling for bupkiss. Plus if you want
SES url's, use mod rewrite or isapi rewrite. It's infinitely easier to
implement it there than it is to reverse engineer the query string in
CF.

> This may well start a big war here, but are dynamic URLs
> really a big
> problem anymore for todays modern search engine?  I have
> no evidence
> either way, but it seems to me that they must have come up
> with some
> kind of a workaround by now


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234717
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread S . Isaac Dealey
> Well there are 2 options you can do. Do a subdomain for
> each language. http://french.domain.com etc... , or just
> have a link with the flags of the different countries so a
> user can choose a different language. The bots should
> follow the links. I wouldn't worry too much about them not
> following a dynamic link. Google follows dynamic links and
> every search engine out there has had to do it to keep up
> with google. I would consider the subdomain trick though,
> since they are technically different website google
> shouldn't hold it against you that you are submitting that
> page with a different language.

I liked what hp.com did -- they used the 2-letter ISO language code,
so hp.com in japanese was jp.hp.com ... Although they appear to have
changed their minds since then, since I no longer get a dns response
for jp.hp.com.


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234716
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread Ian Skinner
This may well start a big war here, but are dynamic URLs really a big 
problem anymore for todays modern search engine?  I have no evidence 
either way, but it seems to me that they must have come up with some 
kind of a workaround by now


It is my understanding that the big search engines can follow dynamic links 
that are links.

Thus things like should work, but there may be a limit on how many combinations 
are considered.
...


But if this is done with forms and/or JavaScript to make more dynamic selection 
controls, these will not be understood and followed by search engines.


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




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234715
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread Ray Champagne
This may well start a big war here, but are dynamic URLs really a big 
problem anymore for todays modern search engine?  I have no evidence 
either way, but it seems to me that they must have come up with some 
kind of a workaround by now

Bryan Stevenson wrote:
>> - www.domain.com?lang=fr
> 
> that URL may get ignored as it's a dynamic page (the ? tells the bots this). 
> I'd suggest a mod/isapi rewrite to adjust your URL to something like 
> www.domain.com/lang/fr
> 
> I'm not sure you need to submit once for each language (I would think not), 
> but 
> just wanted to let you kow that dynamic URL will not get indexed (or at leat 
> not 
> alwaysbots are getting smarter).
> 
> 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 
> 
> 
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234714
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread Robert Everland III
Well there are 2 options you can do. Do a subdomain for each language. 
http://french.domain.com etc... , or just have a link with the flags of the 
different countries so a user can choose a different language. The bots should 
follow the links. I wouldn't worry too much about them not following a dynamic 
link. Google follows dynamic links and every search engine out there has had to 
do it to keep up with google. I would consider the subdomain trick though, 
since they are technically different website google shouldn't hold it against 
you that you are submitting that page with a different language.



Bob

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234713
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: removing whitespace from within CFC output

2006-03-08 Thread Rick Root
Michael Dinowitz wrote:
> I use cached CFCs to output 'pods' in my replacement code for blogCFC. Works 
> great.

why wouldn't you just have the CFC return the content as a string and do 
this?

#sessuib,myCachedCFC("podName")#

I understand it's a matter of preference, and of course it's a rule of 
object oriented programming which you can throw to the dogs anytime you 
want... but I've never felt the need to output anything besides 
debugging info in a CFC - and only then during the development process.

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234712
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread Bryan Stevenson
> - www.domain.com?lang=fr

that URL may get ignored as it's a dynamic page (the ? tells the bots this). 
I'd suggest a mod/isapi rewrite to adjust your URL to something like 
www.domain.com/lang/fr

I'm not sure you need to submit once for each language (I would think not), but 
just wanted to let you kow that dynamic URL will not get indexed (or at leat 
not 
alwaysbots are getting smarter).

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 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234711
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Should I submit a website with 2 languages twice to search engines?

2006-03-08 Thread Baz
Should I submit a website with 2 languages twice to search engines, once for
each language? 

i.e.
- www.domain.com
- www.domain.com?lang=fr

What about to DMOZ and other such directories? They have different
categories for non-english sites...

Cheers,
Baz



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234710
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFEclipse - Lost my snipTree?

2006-03-08 Thread Nathan Strutz
Yeah, newer builds have it remapping to something like CTRL+J... Window >
Preferences > General > Keys (view tab) will help you change it back, or at
least figure out what the current key combo is.

-nathan strutz
http://www.dopefly.com/

On 3/8/06, Trevor Orr <[EMAIL PROTECTED]> wrote:
>
> I now have my snippets back but hot key does not work.  CTRL+SHIFT+.
> Right?
>
>
>
>
> -Original Message-
> From: Sandra Clark [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 9:42 AM
> To: CF-Talk
> Subject: RE: CFEclipse - Lost my snipTree?
>
> I got my snippets back yes.  I don't know what did it, but these are the
> steps I used
>
> Used the nightly build.  Went into my project directory and made sure
> the snippets were set to the correct directory.  Closed the Snip Tree
> View and then re-opened it.  Voila, Snippets are back (thank goodness, I
> use them
> extensively)
>
> -Original Message-
> From: Trevor Orr [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 12:26 PM
> To: CF-Talk
> Subject: RE: CFEclipse - Lost my snipTree?
>
> Did getting rid of 1.2 get you back your snippets?
>
>
>
> -Original Message-
> From: Sandra Clark [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 9:13 AM
> To: CF-Talk
> Subject: RE: CFEclipse - Lost my snipTree?
>
> I got rid of the 1.2 plugin in the plugins directory then installed the
> nightly build.  To get the component explorer, you have to tell it to
> show View/Other and select if from the CFEclipse node
>
> -Original Message-
> From: Trevor Orr [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 12:03 PM
> To: CF-Talk
> Subject: RE: CFEclipse - Lost my snipTree?
>
> I am having the same problem, I downloaded the nightly version, and
> unzipped it into my plugin directory and no changes after restarting
> eclipse, is there something I need to do to tell eclipse to use the
> newly installed version?
>
>
>
> -Original Message-
> From: Nathan Strutz [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 7:55 AM
> To: CF-Talk
> Subject: Re: CFEclipse - Lost my snipTree?
>
> 1.18 is both older and not as stable as 1.20, so you did good by picking
> the highest version number. You have the "stable" build. I don't know
> what actually classifies it as stable, but I can tell you what doesn't
> :)  The real, actual bleeding edge is now the nightly build, which you
> can download
> here:
>
> http://www.cfeclipse.org/nightly/cfeclipse_nightly.zip
>
> It's literally compiled and published nightly. download it, unzip it and
> move it into your eclipse\plugins folder, then restart eclipse. I update
> my installed plugin to the nightly every week or so and have no problems
> with it (plus you can try out mark's new component explorer!).
>
> -nathan strutz
> http://www.dopefly.com/
>
>
>
> On 3/7/06, Sandra Clark <[EMAIL PROTECTED]> wrote:
> >
> > I'm using the last stable build.  It looks newer 1.2 than the bleeding
>
> > edge build (1.18).  If there is a newer build I can get, I'll try
> > that,
> >
> > Sandy
> >
>
>
>
>
>
>
>
>
>
>
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234709
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfm captchas

2006-03-08 Thread Massimo Foti
> Ironically, I'm going to open source a new CFC based Captcha called 
> LylaCaptcha in the next week. 

Sounds very interesting. I am really looking forward to see it. Thanks.

  
Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
  



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234708
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread S . Isaac Dealey
Sorry I couldn't be more helfpul. :-(

> Yeah, I noticed the missing () after I sent the message.
> Either way, it
> would have worked (with the parens) or not worked, but at
> least it would
> not have given the null pointer error if I could get past
> that point.

> Restarting the CF services didn't make a diff.

> Now, I'm in the process of uninstalling/reinstalling CF.

> Thanks!


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234707
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XML/XSL newbie question

2006-03-08 Thread S . Isaac Dealey
> OK, Issac, that makes a little more sense.  I'm going to
> re-read the
> whole thing again right now, but if you have that example
> you were
> referring to, I'd love to see it.  Seeing other's examples
> in
> conjunction with the info you just gave should clear this
> all up.  You
> can send it offline to my CrystalVision account.

> Thanks for the explanation.

Forgot to mention in my last email... request.tapi.xmlFormat() is a
library function I use as a wrapper for XmlFormat() as a safeguard
against the ' issue with CF6. My wrapper also has some additional
processing to remove non-printing characters with the exceptioin of
spaces and tabs (I discovered recently that all the others like
vertical-tabs are invalid in XML markup, and XmlFormat() doesn't
remove them).


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234706
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread Dawson, Michael
Yeah, I noticed the missing () after I sent the message.  Either way, it
would have worked (with the parens) or not worked, but at least it would
not have given the null pointer error if I could get past that point.

Restarting the CF services didn't make a diff.

Now, I'm in the process of uninstalling/reinstalling CF.

Thanks! 

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 1:42 PM
To: CF-Talk
Subject: RE: Null Pointer Exception Creating a CFC Object

> I started to break the problem down to the most-simple pieces.

> In the root of the web site, I created test.cfm and test.cfc as shown
> here:

> test.cfm
> 
> #now()#
> 

> test.cfc
> 
> 
>  returntype="string">
>   
>   
> 

Not sure if it's just in this email or if it's in your code, but "now"
in the cfreturn tag doesn't have the parenthesis. Don't know if that's
at all related...

> I received the Null Pointer error when running the test.cfm page.  
> Note, that both of these files are in the same directory.  Also, the 
> CFC does not accept any arguments.  There is no constructor code, 
> either.

> I then added a root "/" mapping in CF to point to:
> "D:\WebSites\Departments\ots.evansville.edu\WebSite"

> This did not work.

> I then added a custom tag path to:
> D:\WebSites\Departments\ots.evansville.edu\WebSite

> This did not work, either.

> Should I restart the CF services for some reason?  I have not done 
> that since I can "force" an expected error by mis-typing the CFC name 
> in my code.

Well I certainly don't think it would hurt anything at this point. But
with it having been as broken down as you have here, if restarting the
server doesn't cure it I think you're looking at a tech support call at
this point.

s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234705
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread S . Isaac Dealey
> I have tracked this problem down to the server.  I am able
> to run the
> exact same code on a different server w/o any problems.

> Now, I need to find out what is different betweent the
> two.

> Maybe it would be prudent to uninstall CF and reinstall
> it?

It might be a good idea yeah. I'd try and use the CF admin to archive
any important settings you'll have to recreate like datasources for
instance.


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234704
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread S . Isaac Dealey
> I started to break the problem down to the most-simple
> pieces.

> In the root of the web site, I created test.cfm and
> test.cfc as shown
> here:

> test.cfm
> 
> #now()#
> 

> test.cfc
> 
> 
>  returntype="string">
>   
>   
> 

Not sure if it's just in this email or if it's in your code, but "now"
in the cfreturn tag doesn't have the parenthesis. Don't know if that's
at all related...

> I received the Null Pointer error when running the
> test.cfm page.  Note,
> that both of these files are in the same directory.  Also,
> the CFC does
> not accept any arguments.  There is no constructor code,
> either.

> I then added a root "/" mapping in CF to point to:
> "D:\WebSites\Departments\ots.evansville.edu\WebSite"

> This did not work.

> I then added a custom tag path to:
> D:\WebSites\Departments\ots.evansville.edu\WebSite

> This did not work, either.

> Should I restart the CF services for some reason?  I have
> not done that
> since I can "force" an expected error by mis-typing the
> CFC name in my
> code.

Well I certainly don't think it would hurt anything at this point. But
with it having been as broken down as you have here, if restarting the
server doesn't cure it I think you're looking at a tech support call
at this point.

s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234703
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XML/XSL newbie question

2006-03-08 Thread S . Isaac Dealey
> OK, Issac, that makes a little more sense.  I'm going to
> re-read the
> whole thing again right now, but if you have that example
> you were
> referring to, I'd love to see it.  Seeing other's examples
> in
> conjunction with the info you just gave should clear this
> all up.  You
> can send it offline to my CrystalVision account.

> Thanks for the explanation.

Heck, I may as well submit it here (sorry it's a little long and may
be a bit confusing, 'cause this sample has a bunch of extra stuff in
it for handling timezones and extra i18n info for the feed, but here
goes):



http://blogs.law.harvard.edu/tech/rss";
xmlns:dc="http://purl.org/dc/elements/1.1/";>
   
  #replace(rsArticle.articlelocale,"_","-","ALL")#
  #request.tapi.xmlformat(rsArticle.articletitle)#
  #request.tapi.xmlformat(creator)#
  
  #request.tapi.xmlformat(author.getValue("memberemail"))#

  
  #pubDate#
  #request.tapi.xmlformat(articleURL)#
  #request.tapi.xmlformat(articleURL)#
  
  
 #request.tapi.xmlformat(rsCategory.categoryname)#
  
  
  #request.tapi.xmlformat(rsArticle.articletext)#
   




I've cut everything other than the individual blog article item tag
out of the packet here. The pubDate isn't formatted because I know the
format for that date will be valid XML (format is specified by RSS).
Unfortunately I don't have an already built RSS packet to show you for
comparison, so I'll just fake it here. Now, when this packet gets
built, the description node at the bottom of the item looks like this
if the user entered xhtml content:


this is a paragraph

this is another paragraph

Now when I take that XML packet and deserialize it with XmlParse() and output #item.description.xmlText# on the page, the code output will then look like this is a paragraph this is another paragraph Conversely, if I had created the RSS packet with XmlElemNew() statements, the comparable code to generate that description node would be description = XmlElemNew("description",RSSDoc); description.xmlText = rsArticle.articleText; arrayAppend(item.xmlChildren,description); Note that I didn't XmlFormat() the article text in this example. In this CFML the description node is a Java object. When that object is converted to a text string with toString() (in CF7 you can omit the toString()) it automatically escapes the entities in that text node because it was inserted as a text node instead of being inserted as an array of other xml nodes, so the xml object is going to preserve its status as a text node by escaping any special characters it finds there. s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234702 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Re: removing whitespace from within CFC output

2006-03-08 Thread Les Mizzell
I've got the same sort of problem going on here:

http://www.columbiacityjazz.com

Do a view source.

Basically, it's a CSS source ordered layout (content first), using an 
Application.cfc file to call headers and footers set up as:

header.cfm (includes the left nav too)
body.cfm (stuff in middle)
footer.cfm (uhh - footer)

I've got my almost the entire contents of my Application.cfc file 
wrapped in CFSILENT, and I've STILL got 25 lines of white space at the 
top of every page and I've *NO* idea where it's coming from! Ideas?

Application.cfc look like:









   




   


--SOME MORE CRAP AND FUNCTIONS HERE

   




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234701
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CFUNITED-06 interview 10: Sandy Clark - Cascading Style Sheets - Floating

2006-03-08 Thread Michael Smith
In this issue of ColdFusion conference and training news:
* Ben Forta Quote on MAX and CFUNITED
* Contest Survey Winner
* CFLive - Michael Smith Thursday 12:30pm EST via breeze
* Interview with Sandy Clark - Cascading Style Sheets - Floating

CFUNITED is the premier ColdFusion Conference near
Washington DC 6/28-7/1/06 (Four whole days!)
Check out speakers and topics at http://www.cfunited.com/

- Michael Smith
TeraTech, Inc

Have 3 years of CF and love helping other developers?
http://www.teratech.com/index.cfm?go=About.JobDetail&JobID=7

Conference and training news


* Upcoming TeraTech classes
Cost $59 - $349 see http://www.teratech.com/training/ for more details 
and registration

CF206 - ColdFusion SQL Skills   Mar 14 2006
CF101 - Welcome to ColdFusion   May 2 2006
CF102 - Intro to ColdFusion May 9 2006
CF201 - Intermediate ColdFusion May 16 2006
FB101 - Intro to FuseboxMay 23 2006
FB201 - Intermediate FuseboxJun 6 2006



* Pre-conference classes
Cost $449 see http://www.cfunited.com/classes06.cfm for more details and 
registration
Register before March 31st and enter to win a free memory stick!

CU210 Leader of the Pack (strategies for building better software) - 
Simon Horwith - Monday 6/26
CU211 Fundamentals of Relational Database - Kurtis D. Leatham - Monday 6/26
CU212 ColdFusion Server Administration: JRun J2EE Deployment - Adam 
Wayne Lehman - Monday 6/26
CU213 Testing ColdFusion - John Paul Ashenfelter - Monday 6/26

CU214 Ajax intensive for ColdFusion Developers - Rob Gonda - Tuesday 6/27
CU215 XML, XPath, and XSLT for ColdFusion Developers - Jeff Peters - 
Tuesday 6/27
CU216 Domain Modeling - Hal Helms - Tuesday 6/27
CU217 Beyond Basic SQL for CF - Nate Nelson - Tuesday 6/27


CFUNITED NEWS!
Recently we asked Ben Forta about MAX:
* Q: Will there be a MAX this year?

Ben Forta: We're still working through it, we do plan a conference, but 
details are not finalized
yet. Part of what we need to figure out is who the conference is for, 
and what products it should
cover. With the merger with Adobe there are over 70 products in our 
product line, and so we need to
figure which to include, and the type of coverage that each should get. 
I'd expect that we end up
doing something similar to MAX, a company conference dedicated to many 
of our products, explaining
high level direction and vision, providing sneaks at future products, 
and so on. And that is
important to note. When Allaire's DevCon became Macromedia's MAX, some 
attendees found that there
was not as much coverage of specific products as they'd have liked. The 
truth is there is no way we
could create a dedicated DevCon type event for each product. MAX was a 
Macromedia conference, not a
Flash or ColdFusion conference. But there is also a need for those 
product specific events,
conferences than get dedicated far more time to specific products, and 
that is why we sponsor other
events, like CFUNITED for ColdFusion and FlashForward for Flash.

* View our new pamphlet for 2006. Download at 
http://www.cfunited.com/spread.cfm#pamphlet
   Look out for your copy in the mail in the next few weeks.

* 2006 Contest Winner! Congrats to Chris Rockett for winning our survey 
contest. Here are some
quotes from Chris' answers:

Q:Why should people come to CFUNITED-06?

"CFUNITED is the Greatest Conference of any I've ever been to, 
Coldfusion or not. It is large
enough to have great variety but isn't overwhelming. It has a broad 
focus without being diluted.
And, It has a wealth of information while still being accessible to 
people of all skill levels. The
people you get to meet and interact with are great and the camaraderie 
of the Coldfusion community
is evident. I love how the sessions are given by people in the industry 
who are approachable and
willing to further discuss what they're teaching. I've been using 
Coldfusion since version 1.5 but
I always learn something new at CFUNITED. The things I've learned at 
each CFUNITED have been put
into practice building sites for clients of all types and across many 
industries. Each year I've
attended CFUNITED I can't wait to sign up for the next year to make sure 
I don't miss out on the
valuable information and networking opportunities."

Q:Why do you like programming in ColdFusion?

"I love Coldfusion because it allows you to focus on the application 
architecture and not the
language. It allows you to make anything from quick and simple forms to 
complex distributed multi-
tier applications and not be bogged down in the "how" of writing web 
applications but the "why",
which is to solve problems and make the users and owners of a web site 
happy with the solutions
that have been implemented."


* We have an over flow hotel: Bethesda Marriott (Located about 1.5 miles 
from the conference
center - there will be a shuttle to the conference center all day)
5151 Pooks Hill Road Bethesda MD 20814
To make reservations call: 1.800.228.9290
Use the group code: CF

RE: CFLDAP and Windows 2003 Domain Controlers

2006-03-08 Thread Dawson, Michael
Well, you could perform an LDAP query to get a list of domain
controllers, then pass one of them to the CFLDAP tag.  However, you
don't gain much as you still have to specify the initial domain
controller to start with.

You might try ADSI or the java directory service classes and see if they
can hand you the first available domain controller.

M!ke 

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 12:19 PM
To: CF-Talk
Subject: CFLDAP and Windows 2003 Domain Controlers

Is there someway to dynamically identify a domain controler and use it
with the cfldap tag?  Or can one only hard code a specific server into
the tag?

Ian Skinner

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234699
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread Dawson, Michael
I have tracked this problem down to the server.  I am able to run the
exact same code on a different server w/o any problems.

Now, I need to find out what is different betweent the two.

Maybe it would be prudent to uninstall CF and reinstall it?

M!ke 

-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 1:08 PM
To: CF-Talk
Subject: RE: Null Pointer Exception Creating a CFC Object

I started to break the problem down to the most-simple pieces.

In the root of the web site, I created test.cfm and test.cfc as shown
here:

test.cfm

#now()#
 

test.cfc







I received the Null Pointer error when running the test.cfm page.  Note,
that both of these files are in the same directory.  Also, the CFC does
not accept any arguments.  There is no constructor code, either.

I then added a root "/" mapping in CF to point to:
"D:\WebSites\Departments\ots.evansville.edu\WebSite"

This did not work.

I then added a custom tag path to:
D:\WebSites\Departments\ots.evansville.edu\WebSite

This did not work, either.

Should I restart the CF services for some reason?  I have not done that
since I can "force" an expected error by mis-typing the CFC name in my
code.

Thanks for any help.

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 1:01 PM
To: CF-Talk
Subject: RE: Null Pointer Exception Creating a CFC Object

> OK. Now, I'm really getting pissed at CF!!

> I created a mapping that pointed to the same directory as the CFC.

> I created a custom tag path that pointed to the same directory as the 
> CFC.

> Neither worked.  In fact, after removing those two items, CF is not 
> giving a different error.

> I thought you could call a CFC, from the same directory, as another 
> page without having to specify a path, setup a mapping or setup a 
> custom tag path.

> Did this break in the Updater?

Hi Mike,

Not that I'm aware of...

I'd be willing to bet that the problem you're having with the null
pointer error is a result of this somewhere in your cfc:



Null pointer errors happen a lot when a default is not specified for a
cfargument tag. This to me is the most frustrating thing about the lack
of nulls in recent versions of CF -- not that we can't use them in
general (although that's frustrating) but that there is an _EXTREMELY_
common circumstance which causes them OFTEN and is neither intuitive nor
well documented. If the error occurs while creating the object (before
init) I would bet that it calls method in the soft-constructor which
doesn't provide a not-required argument with no default value -- and
then of course attempts to use that undefined argument which results in
the null pointer error.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234698
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CFLDAP and Windows 2003 Domain Controlers

2006-03-08 Thread Ian Skinner
Is there someway to dynamically identify a domain controler and use it with the 
cfldap tag?  Or can one only hard code a specific server into the tag?

Ian Skinner

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234697
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread Dawson, Michael
I started to break the problem down to the most-simple pieces.

In the root of the web site, I created test.cfm and test.cfc as shown
here:

test.cfm

#now()#
 

test.cfc







I received the Null Pointer error when running the test.cfm page.  Note,
that both of these files are in the same directory.  Also, the CFC does
not accept any arguments.  There is no constructor code, either.

I then added a root "/" mapping in CF to point to:
"D:\WebSites\Departments\ots.evansville.edu\WebSite"

This did not work.

I then added a custom tag path to:
D:\WebSites\Departments\ots.evansville.edu\WebSite

This did not work, either.

Should I restart the CF services for some reason?  I have not done that
since I can "force" an expected error by mis-typing the CFC name in my
code.

Thanks for any help.

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 1:01 PM
To: CF-Talk
Subject: RE: Null Pointer Exception Creating a CFC Object

> OK. Now, I'm really getting pissed at CF!!

> I created a mapping that pointed to the same directory as the CFC.

> I created a custom tag path that pointed to the same directory as the 
> CFC.

> Neither worked.  In fact, after removing those two items, CF is not 
> giving a different error.

> I thought you could call a CFC, from the same directory, as another 
> page without having to specify a path, setup a mapping or setup a 
> custom tag path.

> Did this break in the Updater?

Hi Mike,

Not that I'm aware of...

I'd be willing to bet that the problem you're having with the null
pointer error is a result of this somewhere in your cfc:



Null pointer errors happen a lot when a default is not specified for a
cfargument tag. This to me is the most frustrating thing about the lack
of nulls in recent versions of CF -- not that we can't use them in
general (although that's frustrating) but that there is an _EXTREMELY_
common circumstance which causes them OFTEN and is neither intuitive nor
well documented. If the error occurs while creating the object (before
init) I would bet that it calls method in the soft-constructor which
doesn't provide a not-required argument with no default value -- and
then of course attempts to use that undefined argument which results in
the null pointer error.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234696
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RSS site like fullasagoog.com

2006-03-08 Thread S . Isaac Dealey
>>Is there a standard method for providing head information
>>for RSS
>>feeds?

> Isaac: Yep... it's called Conditional GET. The idea is
> that the server provides ETag and Last-Modified headers on
> every request, and the client stores them away. The next
> time the client sends a request, it sends that info back,
> and the server determines in things have changed since the
> last request. If there have been changes, the server
> responds with the feed... if not, it responds with a 304.


Thanks Roger! Very much appreciated. :)


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234695
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: removing whitespace from within CFC output

2006-03-08 Thread Andy Matthews
That's sort of what I'm doing Michael.



-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 12:51 PM
To: CF-Talk
Subject: Re: removing whitespace from within CFC output


I use cached CFCs to output 'pods' in my replacement code for blogCFC. Works
great.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234694
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: removing whitespace from within CFC output

2006-03-08 Thread Andy Matthews
Well in the case of the CFC I'm coding, it's got to do with the dynamic form
creation I spoke of yesterday.

I wanted to do it now while I have some budget on this project. All I'm
doing is to strip out form fields and the table elements that contain them
and pass in the pertinent information. The main reason is more to make the
code more streamlined, than to create something thats OOP. So now, instead
of 5 or 6 lines of code for each table row and corresponding table row, I
have one line of code containing the pertinent data.



-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 12:25 PM
To: CF-Talk
Subject: Re: removing whitespace from within CFC output


Andy Matthews wrote:
> GASP!?!?
>
> He's outputting from a CFC? Yes Martha, I am. I'm taking the time to learn
> CFCs and have decided that this an efficient way to solve a specific
problem
> I have.

I'd love to know why you think you have to do the output within the CFC =)

won't you share?

Rick


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234693
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread S . Isaac Dealey
> -Original Message-
> From: Dawson, Michael [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 12:23 PM
> To: CF-Talk
> Subject: Null Pointer Exception Creating a CFC Object

> On Monday, I updated our CF servers to the most-recent
> updater.  Now,
> when I try to create an instance of a CFC, in the same
> directory as the
> calling page, I get a Null Pointer exception.  The CFC
> worked before the
> updater was applied.

oops... I didn't read the whole thread... sorry...

At this point I would say start commenting out items in the soft
constructor until the error message changes -- that should give you an
idea where it's coming from.



s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234692
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFEclipse - Lost my snipTree?

2006-03-08 Thread Trevor Orr
I now have my snippets back but hot key does not work.  CTRL+SHIFT+.
Right?


 

-Original Message-
From: Sandra Clark [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 9:42 AM
To: CF-Talk
Subject: RE: CFEclipse - Lost my snipTree?

I got my snippets back yes.  I don't know what did it, but these are the
steps I used

Used the nightly build.  Went into my project directory and made sure
the snippets were set to the correct directory.  Closed the Snip Tree
View and then re-opened it.  Voila, Snippets are back (thank goodness, I
use them
extensively) 

-Original Message-
From: Trevor Orr [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 12:26 PM
To: CF-Talk
Subject: RE: CFEclipse - Lost my snipTree?

Did getting rid of 1.2 get you back your snippets?

 

-Original Message-
From: Sandra Clark [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 9:13 AM
To: CF-Talk
Subject: RE: CFEclipse - Lost my snipTree?

I got rid of the 1.2 plugin in the plugins directory then installed the
nightly build.  To get the component explorer, you have to tell it to
show View/Other and select if from the CFEclipse node 

-Original Message-
From: Trevor Orr [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 12:03 PM
To: CF-Talk
Subject: RE: CFEclipse - Lost my snipTree?

I am having the same problem, I downloaded the nightly version, and
unzipped it into my plugin directory and no changes after restarting
eclipse, is there something I need to do to tell eclipse to use the
newly installed version?



-Original Message-
From: Nathan Strutz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 7:55 AM
To: CF-Talk
Subject: Re: CFEclipse - Lost my snipTree?

1.18 is both older and not as stable as 1.20, so you did good by picking
the highest version number. You have the "stable" build. I don't know
what actually classifies it as stable, but I can tell you what doesn't
:)  The real, actual bleeding edge is now the nightly build, which you
can download
here:

http://www.cfeclipse.org/nightly/cfeclipse_nightly.zip

It's literally compiled and published nightly. download it, unzip it and
move it into your eclipse\plugins folder, then restart eclipse. I update
my installed plugin to the nightly every week or so and have no problems
with it (plus you can try out mark's new component explorer!).

-nathan strutz
http://www.dopefly.com/



On 3/7/06, Sandra Clark <[EMAIL PROTECTED]> wrote:
>
> I'm using the last stable build.  It looks newer 1.2 than the bleeding

> edge build (1.18).  If there is a newer build I can get, I'll try 
> that,
>
> Sandy
>












~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234691
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XML/XSL newbie question

2006-03-08 Thread Ray Champagne
OK, Issac, that makes a little more sense.  I'm going to re-read the 
whole thing again right now, but if you have that example you were 
referring to, I'd love to see it.  Seeing other's examples in 
conjunction with the info you just gave should clear this all up.  You 
can send it offline to my CrystalVision account.

Thanks for the explanation.

S. Isaac Dealey wrote:
>> Any ideas on how to properly do this?  I'm an XML noob, so
>> I'm sure there is a function or two I'm missing here.
> 
> Couple of pointers:
> 
> 1) When creating XML nodes with XmlElemNew, it's unnecessary to use
> XMLFormat() to format either text nodes appended to the node array or
> to attributes added to the XmlAttributes collection. So if you're
> using functions to build your doc and using XMLFormat() to format your
> nodes: stop. :)
> 
> 2) With prior versions of CF (6.0 and possibly 6.1) the XML engine by
> default didn't understand the ' entity (which is used in
> XmlFormat() to replace apostrophes). Although for the majority of XML
> packets, the ' entity is unnecessary (because the doc uses
> double-quotes for its attributes). Thus with these versions of CF,
> using XmlFormat() on a value with an apostrophe in it can actually
> _create_ an error that wouldn't otherwise occur. You can get around
> this by either adding the entity to the XML doc or by wrapping
> XmlFormat() with another function to replace the ' entities with
> '  (oddly enough, I had a similar problem with JSStringFormat()
> being broken -- although I believe they've fixed the XmlFormat() issue
> with CF7).
> 
> 3) When a string goes into an XML doc as an attribute or a text node,
> it comes out exactly the way it went in. So if you add
> 
> she said "this"
> 
> it will come out as
> 
> she said "this"
> 
> or if you add
> 
> she said "this"
> 
> it will come out as
> 
> she said "this"
> 
> -- I know, seems obvious -- but the nuance may be what's troubling
> you. Because you don't need to use XmlFormat() when building elements
> with XmlElemNew(), if you then add a text node with XmlFormat() it
> will go in with the extra & and ; characters, so when the XML packet
> is serialized (to a string) it will become
> 
> <p>some stuff</p>
> 
> which will then come back out of the packet as:
> 
> 

some stuff

> > instead of coming out as > > some stuff > > So it may be that just removing XmlFormat() will solve your issue. > > On the flip side, I generally find it easier to creat XML packets > either with cfxml or cfsavecontent (which is more efficient if you're > creating a packet for someone else because there's less overhead to > create the string because CF doesn't automatically parse the XML). If > you decide to use either of these, then you do need to use XmlFormat() > when ouputting variables within your cfsavecontent or cfxml tags. > > What's really funny is I had this same conversation with Matt Woodward > (one of the other Team Macromedia / Adobe Community Experts members > who's speaking at cf.Objective this weekend) a couple years ago when I > was still in Dallas. The funny part (more so than the fact that I was > surprised that he was having any trouble figuring it out) is that iirc > this was just _after_ he'd written an article about using XSL for the > ColdFusion Developer's Journal. :P > > p.s. I've got some code for generating an RSS feed that uses > XmlFormat() to allow html content in the rss body which might help > illustrate this nuance if you're interested. I think the standard for > RSS basically specifies what you're trying to accomplish with regard > to embedding html content. > > > s. isaac dealey 434.293.6201 > new epoch : isn't it time for a change? > > add features without fixtures with > the onTap open source framework > > http://www.fusiontap.com > http://coldfusion.sys-con.com/author/4806Dealey.htm > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234690 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

RE: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread Dawson, Michael
Here is the error message:

 The system has attempted to use an undefined value, which usually
indicates a programming error, either in your code or some system code.

Null Pointers are another name for undefined values.
 
The error occurred in
D:\WebSites\Departments\ots.evansville.edu\WebSite\test.cfm: line 3

1 : #now()#
2 : 
3 : 

Resources:

* Check the ColdFusion documentation to verify that you are using
the correct syntax.
* Search the Knowledge Base to find a solution to your problem.

Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Remote Address  10.8.0.12
Referrer
Date/Time   08-Mar-06 12:58 PM
Stack Trace
at
cftest2ecfm641148156.runPage(D:\WebSites\Departments\ots.evansville.edu\
WebSite\test.cfm:3)

java.lang.NullPointerException
at
coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory
..java:115)
at
coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory
..java:102)
at
coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory
..java:96)
at
coldfusion.runtime.TemplateProxyFactory.resolveFile(TemplateProxyFactory
..java:74)
at
coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory
..java:632)
at coldfusion.runtime.CFPage.createObject(CFPage.java:5699)
at coldfusion.runtime.CFPage.CreateObject(CFPage.java:5668)
at coldfusion.runtime.CFPage.CreateObject(CFPage.java:5633)
at
cftest2ecfm641148156.runPage(D:\WebSites\Departments\ots.evansville.edu\
WebSite\test.cfm:3)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
at
coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:209)
at
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:
51)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersist
enceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at
coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.jav
a:115)
at coldfusion.CfmServlet.service(CfmServlet.java:107)
at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257
)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541
)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:
204)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.j
ava:318)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java
:426)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.jav
a:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) 

-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 12:58 PM
To: CF-Talk
Subject: Re: Null Pointer Exception Creating a CFC Object

Can you copy and paste into this thread the entire text of the error
you're getting, that might help people troubleshoot.

-- Josh

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234689
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread S . Isaac Dealey
> OK. Now, I'm really getting pissed at CF!!

> I created a mapping that pointed to the same directory as
> the CFC.

> I created a custom tag path that pointed to the same
> directory as the
> CFC.

> Neither worked.  In fact, after removing those two items,
> CF is not
> giving a different error.

> I thought you could call a CFC, from the same directory,
> as another page
> without having to specify a path, setup a mapping or setup
> a custom tag
> path.

> Did this break in the Updater?

Hi Mike,

Not that I'm aware of...

I'd be willing to bet that the problem you're having with the null
pointer error is a result of this somewhere in your cfc:



Null pointer errors happen a lot when a default is not specified for a
cfargument tag. This to me is the most frustrating thing about the
lack of nulls in recent versions of CF -- not that we can't use them
in general (although that's frustrating) but that there is an
_EXTREMELY_ common circumstance which causes them OFTEN and is neither
intuitive nor well documented. If the error occurs while creating the
object (before init) I would bet that it calls method in the
soft-constructor which doesn't provide a not-required argument with no
default value -- and then of course attempts to use that undefined
argument which results in the null pointer error.

s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234688
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFEclipse - Lost my snipTree?

2006-03-08 Thread Trevor Orr
Cool, that was the trick, close and reopen snippet tree, refresh did no
work.

 

-Original Message-
From: Sandra Clark [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 9:42 AM
To: CF-Talk
Subject: RE: CFEclipse - Lost my snipTree?

I got my snippets back yes.  I don't know what did it, but these are the
steps I used

Used the nightly build.  Went into my project directory and made sure
the snippets were set to the correct directory.  Closed the Snip Tree
View and then re-opened it.  Voila, Snippets are back (thank goodness, I
use them
extensively) 

-Original Message-
From: Trevor Orr [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 12:26 PM
To: CF-Talk
Subject: RE: CFEclipse - Lost my snipTree?

Did getting rid of 1.2 get you back your snippets?

 

-Original Message-
From: Sandra Clark [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 9:13 AM
To: CF-Talk
Subject: RE: CFEclipse - Lost my snipTree?

I got rid of the 1.2 plugin in the plugins directory then installed the
nightly build.  To get the component explorer, you have to tell it to
show View/Other and select if from the CFEclipse node 

-Original Message-
From: Trevor Orr [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 12:03 PM
To: CF-Talk
Subject: RE: CFEclipse - Lost my snipTree?

I am having the same problem, I downloaded the nightly version, and
unzipped it into my plugin directory and no changes after restarting
eclipse, is there something I need to do to tell eclipse to use the
newly installed version?



-Original Message-
From: Nathan Strutz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 7:55 AM
To: CF-Talk
Subject: Re: CFEclipse - Lost my snipTree?

1.18 is both older and not as stable as 1.20, so you did good by picking
the highest version number. You have the "stable" build. I don't know
what actually classifies it as stable, but I can tell you what doesn't
:)  The real, actual bleeding edge is now the nightly build, which you
can download
here:

http://www.cfeclipse.org/nightly/cfeclipse_nightly.zip

It's literally compiled and published nightly. download it, unzip it and
move it into your eclipse\plugins folder, then restart eclipse. I update
my installed plugin to the nightly every week or so and have no problems
with it (plus you can try out mark's new component explorer!).

-nathan strutz
http://www.dopefly.com/



On 3/7/06, Sandra Clark <[EMAIL PROTECTED]> wrote:
>
> I'm using the last stable build.  It looks newer 1.2 than the bleeding

> edge build (1.18).  If there is a newer build I can get, I'll try 
> that,
>
> Sandy
>












~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234687
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Null Pointer Exception Creating a CFC Object

2006-03-08 Thread Josh Nathanson
Can you copy and paste into this thread the entire text of the error you're 
getting, that might help people troubleshoot.

-- Josh


- Original Message - 
From: "Dawson, Michael" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Wednesday, March 08, 2006 10:37 AM
Subject: RE: Null Pointer Exception Creating a CFC Object


> Update to this problem:
>
> 1. I tried to rename the CFC, but it made no difference.  The Null
> Pointer error continued.
>
> 2. I tried CFOBJECT and continued to receive the Null Pointer error.
>
> 3. Removed all code from within the CFC and still no worky.
>
> This really sucks.
>
> -Original Message-
> From: Dawson, Michael [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 08, 2006 12:23 PM
> To: CF-Talk
> Subject: Null Pointer Exception Creating a CFC Object
>
> On Monday, I updated our CF servers to the most-recent updater.  Now,
> when I try to create an instance of a CFC, in the same directory as the
> calling page, I get a Null Pointer exception.  The CFC worked before the
> updater was applied.
>
> My CFC is named "LiberumHelpDeskReportDataGateway.cfc".
>
> My CF code is:
>  "LiberumHelpDeskReportDataGateway")>
>
> If I change the name of the component, it breaks, as it should, and
> tells me it can not find the component.
>
> I don't have any code in the body of the CFC that is outside of any
> functions, so I don't believe that any code is being called before I
> actually call my .init() method.
>
> I restarted the CF service and removed all .class files as well.  The
> error continues.
>
> Any ideas?
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234686
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Building a string

2006-03-08 Thread Cutter (CF-Talk)
I appreciate everyone's assistance. Turns out that Outlook (I hate it, 
but am required to use it for my work email) was removing what it deemed 
'extra line breaks'.

Cutter

Josh Nathanson wrote:

>Hey Cutter, not sure if this will help but it's worth a try:
>
>
>
>Then replace where you have #chr(13)##chr(10)# with #linebreak#.  Not sure 
>if that will work but it might help with the consistency issue.
>
>-- Josh
>
>
>- Original Message - 
>From: "Cutter (CF-Talk)" <[EMAIL PROTECTED]>
>To: "CF-Talk" 
>Sent: Wednesday, March 08, 2006 8:36 AM
>Subject: Building a string
>
>
>  
>
>>OK, I've got one that has me stumped.
>>I am in the process of building a text string to be passed into a plain
>>text email, which will later be parsed according to it's line breaks.
>>Not building within the cfmail tags (because that's a nightmare in it's
>>own right) but within a variable:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>>
>>My problem is, sometimes I don't get line breaks. There does not appear
>>to be any rhyme nor reason, it just happens. I'm still getting my
>>fieldnames and values (or lack of) for all fields, just, on occasion,
>>without warning or reason, I lose my linebreaks. Not always. 18 fields
>>and it might lose it for two or three, but they justdon't appear.
>>
>>Anyone?
>>
>>Cutter
>>
>>
>>
>>
>
>

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234685
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RSS site like fullasagoog.com

2006-03-08 Thread Roger Benningfield
>Is there a standard method for providing head information for RSS
>feeds?

Isaac: Yep... it's called Conditional GET. The idea is that the server provides 
ETag and Last-Modified headers on every request, and the client stores them 
away. The next time the client sends a request, it sends that info back, and 
the server determines in things have changed since the last request. If there 
have been changes, the server responds with the feed... if not, it responds 
with a 304.

Here's a couple entries on the subject...

me: 
http://admin.mxblogspace.journurl.com/?mode=article&entry=1853

Pete Freitag:
http://www.petefreitag.com/item/235.cfm

Mine is a walkthrough of the process, his is more code-specific.

Now, there's also a further step you can take to conserve bandwidth, one that 
is primarily useful with large feeds of rapidly updating info. It's described 
in RFC3229, which covers delta encoding.

Basically, the concept is this: 

- The client sends an A-IM header with a value of "feed" to the server, along 
with If-None-Match and If-Modified-Since. (A-IM stands for Accepts-Instance 
Manipulation.)

- The server spots the extra header and recognizes that the client supports 
feed deltas.

- Instead of returning the default feed, the server returns only the entries 
added/updated since If-Modified-Since.

- The server also returns the following with the feed: a "Vary" header set to 
"If-None-Match", an "IM" header with a value of "feed", and a response code 
"226 IM Used".

Again, this is primarily of interest to high-volume feed producers... the 
average blog is probably better off saving the extra CPU cycles chewed up by 
the process than trying to preserve a few extra MB of bandwidth. But on the 
client side, aggregator developers should try to support it... it requires very 
little extra code, and can make a big difference in some situations.

--
Roger Benningfield
http://admin.mxblogspace.journurl.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234683
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   >