Re: CF8 amp;amp; .NET Integration

2007-09-19 Thread vishnu prasad
Hi 
what is the error that you are getting...
Is the .net framework installed on your system?

Yes, v2.0.50727 

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

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


Re: Simple .NET Class

2007-09-19 Thread vishnu prasad
Hi 

did you change the source code cfexample? 
also what is the CF code you have written to access the methods also what are 
the methods u r accessing . Have you placed the MDB file in correct location as 
mentioned in my blog???


Hi All

I'm trying to invoke the .NET class from CF8 like the example above in link.

I don't know why i have this exception:

java.lang.ClassNotFoundException: CfSample


code at link:
http://wrvishnu.wordpress.com/2007/09/12/coldfusion-net-integeration/

what i have to do? 

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

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


Re: Simple .NET Class

2007-09-19 Thread vishnu prasad
Hi 
I have downloaded these files from my blog wrvishnu.wordpress.com
CfSample.dll
DotNetInt5.cfm
DotNetInt6.cfm
Northwind.mdb (Placed this file in D:\LEarning\CFDotNet)

I am able to run the cfm file withour any errros , If you got 500 internal 
server try to refresh the page again . 

For me it worked without any errors. 



Note : Dotnet framework 2.0 should be installed in ur machine 

Hi All

I'm trying to invoke the .NET class from CF8 like the example above in link.

I don't know why i have this exception:

java.lang.ClassNotFoundException: CfSample


code at link:
http://wrvishnu.wordpress.com/2007/09/12/coldfusion-net-integeration/

what i have to do? 

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

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


RE: Blue Dragon and CF Server on same box?

2007-09-19 Thread Hugo Ahlenius
|From: Dave Watts [mailto:[EMAIL PROTECTED] 
| Or use virtual hosts. May require a proper web server such as 
| Apache though :-)
|IIS can also do this, except on Windows XP. You knew I'd say 
|that, though.

Wow, thanks for bringing this up - I took for granted that it was the
same in Vista as in XP, but Vista Ultimate apparently lets you run
multiple virtual hosts! (just checked)

:)

/Hugo

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

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


Re: Simple .NET Class

2007-09-19 Thread Davide Campo
 Hi 
 I have downloaded these files from my blog wrvishnu.wordpress.com

Sorry, i can't download zip files (my firewall block them), can you upload in 
your blog the same zip file renamed with .doc extension? 

I tried to remake the CfSample.dll with Visual Studio 2005 but i don't know 
if i did all correctly.

 CfSample.dll
 DotNetInt5.cfm
 DotNetInt6.cfm
 Northwind.mdb (Placed this file in D:\LEarning\CFDotNet)
 
 I am able to run the cfm file withour any errros , If you got 500 
 internal server try to refresh the page again . 
 
 For me it worked without any errors. 
 
 
 
 Note : Dotnet framework 2.0 should be installed in ur machine 

framework 2.0 is installed in my CF8 machine



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

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


Re: Simple .NET Class

2007-09-19 Thread Davide Campo
Hi,

I succeded to download zip file.

I haven't a D:\ Drive on my Machine, 
then i have modified the string connection in your Class1.cs. 
After that i have compiled the class, and i have copied the CfSample.dll from 
Release folder to my cf8 dll root (same root of cfobject assembly attribute).

Exception:

- java.lang.ClassNotFoundException - in C:\\DotnetInt\DotNetInt6.cfm : line 
15
CfSample


 




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

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


Re: Simple .NET Class

2007-09-19 Thread vishnu prasad
Can u show the code u used in CF
 Hi,
 
 I succeded to download zip file.
 
 I haven't a D:\ Drive on my Machine, 
 then i have modified the string connection in your Class1.cs. 
 After that i have compiled the class, and i have copied the CfSample.
 dll from Release folder to my cf8 dll root (same root of cfobject 
 assembly attribute).
 
 Exception:
 
 - java.lang.ClassNotFoundException - in C:\\DotnetInt\DotNetInt6.
 cfm : line 15
   CfSample
   
 
 
 
 
 


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

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


Re: SOLVED: MySQL - corrupt table? it's a CF8 bug??

2007-09-19 Thread Will Tomlinson
Ahh... it's fixed in the next hotfix.  :)

Hi Will,

We have fixed this bug and we are in the process of releasing hotfix for
this bug very soon.

Thanks,
Hemant
Adobe ColdFusion team 

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

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


Re: Simple .NET Class

2007-09-19 Thread Davide Campo
Can u show the code u used in CF
 


cfobject 
type = dotnet 
name = MDBDTable 
class = CfSample 
assembly = #expandpath('.')#\CfSample.dll

The code is in the example of your blog. The pages are DotNetInt5.cfm e 
DotNetInt6.cfm 

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

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


Re: Simple .NET Class

2007-09-19 Thread vishnu prasad
Do u have Google talk or yahoo messenger? if yes whats is ur id?
Can u show the code u used in CF
 


cfobject 
type = dotnet 
name = MDBDTable 
class = CfSample 
assembly = #expandpath('.')#\CfSample.dll

The code is in the example of your blog. The pages are DotNetInt5.cfm e 
DotNetInt6.cfm 

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

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


Re: Simple .NET Class

2007-09-19 Thread Davide Campo
Do u have Google talk or yahoo messenger? if yes whats is ur id?

i can not use any messenger at work. Sorry for that.
 

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

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


Re: Simple .NET Class

2007-09-19 Thread vishnu prasad
Hi 
I tested as you have done below are the steps 
This is the code i have in DotNetInt6.cfm
cfobject 
type = dotnet 
name = MDBDTable 
class = CfSample 
assembly = #expandpath('.')#\CfSample.dll

I have placed the CfSample.dll under the same folder where cfm files are placed

it woked without any errors

Here is the output
D:\Vishnu\test \CfSample.dll Output of sum of form.Number1 * form.Number2 is 
100 

DB example output copied from cfdump output 

ADDRESS BIRTHDATE CITY COUNTRY EMPLOYEEID FIRSTNAME HIREDATE HOMEPHONE LASTNAME 
POSTALCODE REGION TITLE TITLEOFCOURTESY 
1 507 - 20th Ave. E. Apt. 2A  {ts '1968-12-08 00:00:00'}  Seattle  USA  1  
Nancy  {ts '1992-05-01 00:00:00'}  (206) 555-9857  Davolio  98122  WA  Sales 
Representative  Ms.  
2 908 W. Capital Way  {ts '1952-02-19 00:00:00'}  Tacoma  USA  2  Andrew  {ts 
'1992-08-14 00:00:00'}  (206) 555-9482  Fuller  98401  WA  Vice President, 
Sales  Dr.  
3 722 Moss Bay Blvd.  {ts '1963-08-30 00:00:00'}  Kirkland  USA  3  Janet  {ts 
'1992-04-01 00:00:00'}  (206) 555-3412  Leverling  98033  WA  Sales 
Representative  Ms.  
4 4110 Old Redmond Rd.  {ts '1958-09-19 00:00:00'}  Redmond  USA  4  Margaret  
{ts '1993-05-03 00:00:00'}  (206) 555-8122  Peacock  98052  WA  Sales 
Representative  Mrs.  
5 14 Garrett Hill  {ts '1955-03-04 00:00:00'}  London  UK  5  Steven  {ts 
'1993-10-17 00:00:00'}  (71) 555-4848  Buchanan  SW1 8JR  [empty string]  Sales 
Manager  Mr.  
6 Coventry House Miner Rd.  {ts '1963-07-02 00:00:00'}  London  UK  6  Michael  
{ts '1993-10-17 00:00:00'}  (71) 555-7773  Suyama  EC2 7JR  [empty string]  
Sales Representative  Mr.  
7 Edgeham Hollow Winchester Way  {ts '1960-05-29 00:00:00'}  London  UK  7  
Robert  {ts '1994-01-02 00:00:00'}  (71) 555-5598  King  RG1 9SP  [empty 
string]  Sales Representative  Mr.  
8 4726 - 11th Ave. N.E.  {ts '1958-01-09 00:00:00'}  Seattle  USA  8  Laura  
{ts '1994-03-05 00:00:00'}  (206) 555-1189  Callahan  98105  WA  Inside Sales 
Coordinator  Ms.  
9 7 Houndstooth Rd.  {ts '1969-07-02 00:00:00'}  London  UK  9  Anne  {ts 
'1994-11-15 00:00:00'}  (71) 555-  Dodsworth  WG2 7LT  [empty string]  
Sales Representative  Ms.  

Do u have Google talk or yahoo messenger? if yes whats is ur id?

i can not use any messenger at work. Sorry for that. 

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

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


Re: URL Rewrite + CF8 + IIS6

2007-09-19 Thread Tom Chiverton
On Tuesday 18 Sep 2007, [EMAIL PROTECTED] wrote:
 I am hosting my personal site with crystaltech using IIS6/CF8/Win2k3.
 I bought a new domain name that I would like to host on my personal site
 under a subdirectory.
 I need to rewrite this url:
 http://www.mysite.com/newdomain
 into
 http://www.newdomain.com

You mean you want people to who go to http://www.newdomain.com/ to see the 
contents of http://www.mysite.com/newdomain/ ? That's rewriting the other way 
round to the 2nd part of your post :-)
Several ways to do it, depending on how you are hosted.
If you have separate web roots, for instance, just use a full-page IFRAME that 
loads mysite.com/newdomain/ for the index plage of newdomain.com (URLs may be 
a bit funny, may or may not be a problem.

-- 
Tom Chiverton
Helping to quickly foster strategic methodologies
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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


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

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


Re: Simple .NET Class

2007-09-19 Thread Davide Campo
i've tried again but same error:java.lang.ClassNotFoundException

Could that be due at any wrong .net framework configuration or setting?

My Server situation:
- Microsoft .NET framework installed
- .net registered in iis with command line 
aspnet_regiis -i
- CF8 Developer Edition Installed
- CF8 DotNet Integration Installed

 


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

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


RE: LOOPY LOOP LOOP

2007-09-19 Thread Billy Cox
Let's say that you had a query that lists every Starbucks in the USA and you
wanted to output the list grouped by state.

Your outer cfoutput would set a 'group' attribute by state and display the
state name. Your inner cfoutput would output the physical store location.
There are certainly other ways to do the same thing, but this one is the
elegant choice.



-Original Message-
From: Todd Mathews [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 18, 2007 6:56 PM
To: CF-Talk
Subject: LOOPY LOOP LOOP


Here is a fun one that I somehow missed in the past...

We were looking at some code that appeared to be looping over itself and
tracked it down to an extraneous CFOUTPUT clause inside the parent
CFOUTPUT QUERY.. loop.
 
Here is a quick example:

cfoutput query=getItems
#getItems.itemId#br
/cfoutput
 
Outputs the item id numbers as expected..
IE:
1
2
3
4

Now try this:
 
cfoutput query=getItems cfoutput#getItems.itemId#/cfoutputbr
/cfoutput

The second version outputs a loop of the items in a loop of the records.. 
IE:
1234
234
34
4

Although this does make some sense, it seems strange that the second
cfoutput is indeed interacting with the parent cfoutput loop but not like
one might expect.

Of course the obvious solution is to avoid extraneous CFOUTPUTs, but I
thought it might be helpful to post in case anyone else encounters a similar
issue in the future. 

This behavior occurs in both CFMX 7 and CFMX 8 FWIW.

Nothing earth shattering here.. Just one of those nuances that makes you
feel a little crazy from time to time. ;)

For fun, can anyone come up with a scenario where this type of behavior is
actually DESIRED instead of both outputting the same results like might be
expected?

Todd





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

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


Re: Simple .NET Class

2007-09-19 Thread vishnu prasad
Hi 
r u using the DLL i gave or the DLL compiled from ur Code
If you use DLL from your code 
check the .net code are there any namespace also check the solution property if 
there any namespace entered there if yes you have to give namespace.classname

i've tried again but same error:java.lang.ClassNotFoundException

Could that be due at any wrong .net framework configuration or setting?

My Server situation:
- Microsoft .NET framework installed
- .net registered in iis with command line 
aspnet_regiis -i
- CF8 Developer Edition Installed
- CF8 DotNet Integration Installed 

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

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


Re: Simple .NET Class

2007-09-19 Thread Davide Campo
i've sent from boy(underscore)on(underscore)earth(at)yahoo(dot)it the .net code

CAn you mail me the source code to my email id 
vishnuprasad(dot)ramakrishnan(at)cambridge-asia(dot)(com)

- CF8 DotNet Integration Installed 

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

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


Re: Simple .NET Class

2007-09-19 Thread vishnu prasad
Hi 
Got ur code , It would be gr8 if you send the entire .net project including the 
solution file?


i've sent from boy(underscore)on(underscore)earth(at)yahoo(dot)it the .net code

CAn you mail me the source code to my email id 
vishnuprasad(dot)ramakrishnan(at)cambridge-asia(dot)(com)

- CF8 DotNet Integration Installed 

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

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


Re: Simple .NET Class

2007-09-19 Thread Davide Campo
i've sent it

 Hi 
 Got ur code , It would be gr8 if you send the entire .net project 
 including the solution file?



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

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


Re: Simple .NET Class

2007-09-19 Thread Davide Campo
 Hi 
 r u using the DLL i gave or the DLL compiled from ur Code
 If you use DLL from your code 
 check the .net code are there any namespace also check the solution 
 property if there any namespace entered there if yes you have to give 
 namespace.classname
 

i'm using the dll compiled from my code but i have changed only the 
connectionString from ur code (mdb path) and there isn't a namespace:
string connectionString = Provider=Microsoft.Jet.OLEDB.4.0;Data 
Source=C:\\Dati\\Northwind.mdb ;




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

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


Re: Simple .NET Class

2007-09-19 Thread vishnu prasad
CAn you mail me the source code to my email id 
vishnuprasad(dot)ramakrishnan(at)cambridge-asia(dot)(com)

i've tried again but same error:java.lang.ClassNotFoundException

Could that be due at any wrong .net framework configuration or setting?

My Server situation:
- Microsoft .NET framework installed
- .net registered in iis with command line 
aspnet_regiis -i
- CF8 Developer Edition Installed
- CF8 DotNet Integration Installed 

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

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


Re: Simple .NET Class

2007-09-19 Thread vishnu prasad
Hi
Can you try giving the class = CFDotNet.CfSample


i've sent it

 Hi 
 Got ur code , It would be gr8 if you send the entire .net project 
 including the solution file? 

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

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


Re: Simple .NET Class

2007-09-19 Thread Davide Campo
Hi
Can you try giving the class = CFDotNet.CfSample

i tried this

cfobject 
type = dotnet 
name = MDBDTable 
class = CFDotNet.CfSample 
assembly = #expandpath('.')#\CfSample.dll

error:
java.lang.ClassNotFoundException -CFDotNet.CfSample


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

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


CF coding standards

2007-09-19 Thread Michael Traher
Hi, I'm ashamed to say that despite writing a large amount of CF code we do
not have published and agreed standards.

We want to put that right, but are thinking that while we could start from
scratch it would nice to have a starting point that we can adapt.

If anyone has a CF coding standards document they are willing to share
please post to the list or send to me off-list if you prefer.

-- 
Mike T
Blog http://www.socialpoints.com/


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

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


Re: Simple .NET Class

2007-09-19 Thread vishnu prasad
I have used your  code and modified the code by adding the parameter to the 
method . it worked fine . 
I have sent you the screenshot , cfm file and solutions to ur yahoo mail id 




i've sent it

 Hi 
 Got ur code , It would be gr8 if you send the entire .net project 
 including the solution file? 

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

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


Re: SMS portal

2007-09-19 Thread Scott Weikert
Michael David wrote:
 I did originally ponder simply sending messages to each carrier's email
 gateway, but the effort required to track down all those email addresses
 seemed a bit daunting. In addition, I would not be surprised to find
 that many of the smaller carriers don't provide such a thing.

   
I guess you missed my note yesterday... :)

http://en.wikipedia.org/wiki/SMS_gateways



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

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


Re: CF coding standards

2007-09-19 Thread Tom Chiverton
On Wednesday 19 Sep 2007, [EMAIL PROTECTED] wrote:
 If anyone has a CF coding standards document they are willing to share
 please post to the list or send to me off-list if you prefer.

Have you seen the 'offical' Adobe one @
http://livedocs.adobe.com/wtg/public/coding_standards/index.html ?

-- 
Tom Chiverton
Helping to enormously transition killer supply-chains
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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


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

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


RE: what's the magic version combination: eclipse/cfeclipse/cfunit

2007-09-19 Thread Rick Faircloth
Hey, Janet... how about an update on how you
CFEclipse experience is coming along?  I've been
considering trying it for months, but never have
pulled the trigger on it.

Rick

-Original Message-
From: Janet MacKay [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 18, 2007 2:38 PM
To: CF-Talk
Subject: Re: what's the magic version combination: eclipse/cfeclipse/cfunit

Welcome to CFE, prepare to become an evangelist ;)

Rich Kroll

Okay, but I draw the line at wearing funny hats and walking door-to-door
handing out leaflets ;-) 



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

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


Dealing with 'fake' folders?

2007-09-19 Thread Scott Weikert
Hi folks -

I've got a small issue with my project. By 'small' I mean, it's a bit 
annoying, and nothing major, doesn't affect performance, it just BUGS ME 
and I'd like to figure a way to get around it in a better way.

So we've got our site on a domain (let's call it 'domain.com') and our 
application allows clients to create their own sites, giving them an 
alphanumeric name, that allows their site to be accessed, via 
'domain.com/sitename/'. A folder is created in the file system in the 
main web directory, so say 'domain.com' points to the stereotypical IIS 
'htdocs' folder, a folder 'sitename' is created inside 'htdocs'.

When a client deletes one of these sites, I've got code in that deletes 
that 'sitename' folder. No problem til now.

If that site has been around for a bit, then the web crawlers have found 
it. And after the folder is gone, the web crawlers are now hitting a 
non-existant page in a non-existant folder.

I've tried re-creating these folders (when I see enough entries in the 
error logs for a given deleted folder), dropping an index.cfm page in 
with various meta tags in to say SHOO ROBOTS, but most of them ignore 
the instructions listed on their own sites. That's a whole 'nother issue.

What I'd like to do is automate this a bit more - to be able to not 
create these folders from the get-go, but interecept traffic that points 
at 'domain.com/somefolder' where 'somefolder' doesn't exist - and push 
it to a script that will go 'oh they're looking for the 'somefolder' 
site' and do its bit to serve up the pages (which reside elsewhere) if 
the site is still present, or serve up a 'this site doesn't exist' with 
anti-robot meta tags if not. This way, no folder would need to be 
created or deleted, and I wouldn't have to go robot-swatting when sites 
are deleted.

Is this something that can be done with CF, or is it more of an IIS 
thing? Regardless, any pointers in the right direction would be greatly 
appreciated.

Thanks -
--Scott

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

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


Re: Simple .NET Class

2007-09-19 Thread Davide Campo
 I have used your  code and modified the code by adding the parameter 
 to the method . it worked fine . 
 I have sent you the screenshot , cfm file and solutions to ur yahoo 
 mail id 
 

could u send again the solution CFDotNet.zip , to my email renamed 
CFDotNet.zi_ (my firewall block .zip extension) 

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

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


Re: LOOPY LOOP LOOP

2007-09-19 Thread Claude Schneegans
 I tested this with both CFMX 7  CFMX 8 and both yielded the same 
results.

Confirmed, and same thing under CF 6
However, CF 5 correctly complains that Invalid tag nesting 
configuration which is correct.
It is definitely an oversight since CFMX.

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


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

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


Re: Simple .NET Class

2007-09-19 Thread vishnu prasad
Sent
  I have used your  code and modified the code by adding the parameter 
 
  to the method . it worked fine . 
  I have sent you the screenshot , cfm file and solutions to ur yahoo 
 
  mail id 
  
 
 could u send again the solution CFDotNet.zip , to my email renamed 
 CFDotNet.zi_ (my firewall block .zip extension) 


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

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


Re: CF coding standards

2007-09-19 Thread Michael Traher
Thanks.
On 9/19/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Wednesday 19 Sep 2007, [EMAIL PROTECTED] wrote:
  If anyone has a CF coding standards document they are willing to share
  please post to the list or send to me off-list if you prefer.

 Have you seen the 'offical' Adobe one @
 http://livedocs.adobe.com/wtg/public/coding_standards/index.html ?

 --
 Tom Chiverton
 Helping to enormously transition killer supply-chains
 on: http://thefalken.livejournal.com

 

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

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
 available for inspection at the registered office. Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells LLP.
 Regulated by the Law Society.

 CONFIDENTIALITY

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

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


 

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

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


Re: Simple .NET Class

2007-09-19 Thread Davide Campo
i've 
- compiled your solution
- copied files cfm, dll  mdb to same cfroot
- changed the cf code in DotNetInt6.cfm with:

cfset classPath = expandpath('.')\CfSample.dll
cfset dbPath = replacenocase(expandpath('.'),\,\\,ALL)\\Northwind.mdb
!--- cfoutput
#classPath#br /
#dbPath#
/cfoutputcfabort ---
cfobject
type = dotnet 
name = MDBDTable 
class = CfSample 
assembly = #classPath#
cfdump var=#MDBDTable#


cfif isdefined(form.DBSample)
cfset query11 = MDBDTable.ACCdatasetMethod(dbPath)
cfdump var=#query11#
/cfif
cfabort

- The same Error Again... i'm beginning to think that i must give up... i'don't 
know what try again!


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

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


RE: Forums?

2007-09-19 Thread Justin Scott
 Damn it took way too long for someone to bring up CFMBB =)
 
 CFMBB is actually based on Ray's Galleon, which was a great
 base, but the goal of the CFMBB project is to integrate
 many more of the phpBB features that make phpBB so popular.
 .. including BBML/BBCode, private messages, signatures, etc.

Thanks, I have it implemented at http://forums.editdns.net/ now.  Thanks
to everyone who made suggestions on the forums apps.


-Justin Scott

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

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


Re: CF coding standards

2007-09-19 Thread Tom Chiverton
On Wednesday 19 Sep 2007, [EMAIL PROTECTED] wrote:
 Thanks.

First google hit 'coldfusion coding standards' :-)

-- 
Tom Chiverton
Helping to collaboratively conquer B2B m-commerce
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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


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

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


Re: CF coding standards

2007-09-19 Thread Raymond Camden
I'm sure Sean will pipe up - but this is NOT official Adobe recommendations.

This is not to say it isn't a good doc - but folks should be clear on
the gact that they act Adobe's official recommendations.

On 9/19/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Wednesday 19 Sep 2007, [EMAIL PROTECTED] wrote:
  If anyone has a CF coding standards document they are willing to share
  please post to the list or send to me off-list if you prefer.

 Have you seen the 'offical' Adobe one @
 http://livedocs.adobe.com/wtg/public/coding_standards/index.html ?


-- 
===
Raymond Camden, Camden Media

Email: [EMAIL PROTECTED]
Blog  : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

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

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


Re: Forums?

2007-09-19 Thread Raymond Camden
Justin - you accidentally installed the wrong forums!

(KIDDING! :)

On 9/19/07, Justin Scott [EMAIL PROTECTED] wrote:
  Damn it took way too long for someone to bring up CFMBB =)
 
  CFMBB is actually based on Ray's Galleon, which was a great
  base, but the goal of the CFMBB project is to integrate
  many more of the phpBB features that make phpBB so popular.
  .. including BBML/BBCode, private messages, signatures, etc.

 Thanks, I have it implemented at http://forums.editdns.net/ now.  Thanks
 to everyone who made suggestions on the forums apps.


-- 
===
Raymond Camden, Camden Media

Email: [EMAIL PROTECTED]
Blog  : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

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

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


Re: Forums?

2007-09-19 Thread Dan Vega
Justin,
If you are ever looking for open source projects your first search should
always be RIAForge, then from there you can start searching other avenues.

http://www.riaforge.org

Dan

On 9/19/07, Justin Scott [EMAIL PROTECTED] wrote:

  Damn it took way too long for someone to bring up CFMBB =)
 
  CFMBB is actually based on Ray's Galleon, which was a great
  base, but the goal of the CFMBB project is to integrate
  many more of the phpBB features that make phpBB so popular.
  .. including BBML/BBCode, private messages, signatures, etc.

 Thanks, I have it implemented at http://forums.editdns.net/ now.  Thanks
 to everyone who made suggestions on the forums apps.


 -Justin Scott

 

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

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


Re: Dealing with 'fake' folders?

2007-09-19 Thread Ian Skinner
Instead of a page with content to try and head off the robots, you could 
try sending the 410 Gone HTTP Status Code:


  410 Gone

The requested resource is no longer available at the server and no 
forwarding address is known. This condition is expected to be considered 
permanent. Clients with link editing capabilities SHOULD delete 
references to the Request-URI after user approval. If the server does 
not know, or has no facility to determine, whether or not the condition 
is permanent, the status code 404 (Not Found) SHOULD be used instead. 
This response is cacheable unless indicated otherwise.

The 410 response is primarily intended to assist the task of web 
maintenance by notifying the recipient that the resource is 
intentionally unavailable and that the server owners desire that remote 
links to that resource be removed. Such an event is common for 
limited-time, promotional services and for resources belonging to 
individuals no longer working at the server's site. It is not necessary 
to mark all permanently unavailable resources as gone or to keep the 
mark for any length of time -- that is left to the discretion of the 
server owner.



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

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


Re: SMS portal

2007-09-19 Thread Anand Thakkar
We are providing Bulk SMS Service covering most of the countries on the globe. 
Moreover, our prices are most competitive. We can offer you a price of only 
0.04 USD per SMS to send Bulk SMS to all/most US carriers. For more info, 
contact [EMAIL PROTECTED] Thanks  Regards.


Hi All!

We are working on a site that needs to send bulk SMS messages to cell
phones on all US carriers.

Anyone know of a portal out there that I can hook into? A free service
would be preferred, obviously, but all recommendations are greatly
appreciated. :)

-- 
Cheers!
Michael David 

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

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


date and ms sql

2007-09-19 Thread Chad Gray
I have a form that asks for a date.

If no date is entered into the form what gets inserted into the database is 
01/01/1900.

How do I get the database to have NULL or blank and not this date 01/01/1900?

I don't know if it is best to try to fix this on the database side or write 
cfif's to see if the form variables is blank.

Thanks!


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

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


Re: Re[2]: SMS portal

2007-09-19 Thread Anand Thakkar
We are providing Bulk SMS Service covering most of the countries on the globe. 
Moreover, our prices are most competitive. We can offer you a price of only 
0.04 USD per SMS to send Bulk SMS to all/most US carriers. For more info, 
contact [EMAIL PROTECTED] Thanks  Regards.


Thanks to all for the replies.  I'll check out the sites mentioned.

I did originally ponder simply sending messages to each carrier's email
gateway, but the effort required to track down all those email addresses
seemed a bit daunting. In addition, I would not be surprised to find
that many of the smaller carriers don't provide such a thing.

I was hoping for a free service, but a pay service is not out of the
question if it is reasonable.  A $1,700 setup fee is definitely not
reasonable.

-- 
Cheers!
Michael David   

Tuesday, September 18, 2007, 10:32:55 PM, you wrote: 

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

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


Re: Scope Question

2007-09-19 Thread Scott Weikert
[EMAIL PROTECTED] wrote:
 I'm using this very simple server side imagemap to send coordinates my 
 results script of where the user clicked on the image.  My questions is how 
 can I extract the x and y coordinates once it's passed as ...

 http://www.domainname.com/map.cfm?231,266

   
Can't you tap that via cgi.query_string? It should give you everything 
after the question mark.

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

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


cffile action=copy nameconflict=in_your_wildest_dreams

2007-09-19 Thread Brad Wood
So, I admittedly haven't used cffile that much in the past-just here and
there.  I was fiddling with something today and came to a startling
revelation (which I'm sure most of you already know):

You can't use the nameconflict attribute with action=copy.  Well you
can-it's simply ignored.  I was like, WTF, over?

I made my usual assumption that there is a REALLY good reason and I just
didn't know what it was-- so I Googled for a while hoping to uncover
this eye-opening gem of truth.

 

Yeah, nothing.  Absolutely nothing.  Oh, there's a Livedocs comment here
and there where someone mentions it, and SEVERAL code examples where
people illegally tried to use nameconflict with action=copy, but
nowhere did I find any explanation of WHY copying files always
overwrites destination files of the same name.

 

The benefit of being able to control name conflicts when copying files
seems so obvious.  I mean, how dare CF assume I wish to always overwrite
when copying?  :-)  And then they tease me by having a nameconflict
attribute which only works for upload.  

Yes, yes, I am familiar with fileexists() and all that, but I use CF to
make things easier not harder. 

What's worse, is no error is thrown when you try to use nameconflict
with action=copy.  Have you ever accidentally typed something like:

cfloop collection=#url# item=i index=j/cfloop

Whoa, big error message in your face.  But no-not with cffile.  It just
silently ignores the nameconflict attribute leading you to believe its
being used.

 

So please fill me in. Is there some underlying reason why copy always
overwrites, or have enough people simply not requested the enhancement?

 

~Brad



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

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


RE: Scope Question

2007-09-19 Thread Billy Cox
Use a list function on cgi.query_string to get your coordinates.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 11:00 AM
To: CF-Talk
Subject: Scope Question


I'm using this very simple server side imagemap to send coordinates my
results script of where the user clicked on the image.  My questions is how
can I extract the x and y coordinates once it's passed as ...

http://www.domainname.com/map.cfm?231,266

I'm typically use to id=value, but there's no name value paired here.
Thanks for any advice.

original page code
a href=map.cfm
img
src=images/Coverbabycontest/2007/original/Allison_Gronsbell_Chloe_0718_2044
54.jpg width=511 height=681 border=0 ismap //a

Thanks.

D



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

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


Re: Scope Question

2007-09-19 Thread Brian Kotek
Try cgi.query_string.

On 9/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

 I'm using this very simple server side imagemap to send coordinates my
 results script of where the user clicked on the image.  My questions is how
 can I extract the x and y coordinates once it's passed as ...

 http://www.domainname.com/map.cfm?231,266

 I'm typically use to id=value, but there's no name value paired
 here.  Thanks for any advice.

 original page code
 a href=map.cfm
 img
 src=images/Coverbabycontest/2007/original/Allison_Gronsbell_Chloe_0718_204454.jpg
 width=511 height=681 border=0 ismap //a

 Thanks.

 D

 

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

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


Re: CF coding standards

2007-09-19 Thread Kris Jones
I'm pretty sure that's the same document I got off the Macromedia site
a couple of years ago. It is very useful as a tool in developing your
shop's own standards, with the understanding that style seems to vary
widely from shop to shop. Anybody got any other good docs to share?

 I'm sure Sean will pipe up - but this is NOT official Adobe recommendations.

 This is not to say it isn't a good doc - but folks should be clear on
 the gact that they act Adobe's official recommendations.

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

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


Re: Dealing with 'fake' folders?

2007-09-19 Thread Scott Weikert
Ian Skinner wrote:
 Instead of a page with content to try and head off the robots, you could 
 try sending the 410 Gone HTTP Status Code:


   410 Gone

   
Good idea - for when I get the rest of my issues figured out (i.e. how 
to centralize all the folder related stuff). :D

I'm realizing now that it's not an IIS issue, but a CF issue, that I 
need to deal with. All these mini-sites that exist or have been deleted, 
are (naturally) all built around a central 'index.cfm' page, passing IDs 
in the URL to determine what page in the site to serve up. Since it's a 
..cfm page that has been indexed by web crawlers, its a .cfm page they're 
tapping - and the IIS error messages don't come into play, it becomes a 
CF error File not found: /folder/file.cfm. So in these cases, if I can 
just serve up (as you suggested) a page with 410 in it, that would work 
fine.

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

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


Re: Scope Question

2007-09-19 Thread Charlie Griefer
cfset myList = structKeyList(URL) /

cfset xCoord = listFirst(myList) /
cfset yCoord = listLast(myList) /


On 9/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I'm using this very simple server side imagemap to send coordinates my 
 results script of where the user clicked on the image.  My questions is how 
 can I extract the x and y coordinates once it's passed as ...

 http://www.domainname.com/map.cfm?231,266

 I'm typically use to id=value, but there's no name value paired here.  Thanks 
 for any advice.

 original page code
 a href=map.cfm
 img 
 src=images/Coverbabycontest/2007/original/Allison_Gronsbell_Chloe_0718_204454.jpg
  width=511 height=681 border=0 ismap //a

 Thanks.

 D

 

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

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


CF8 Pricing

2007-09-19 Thread Ciliotta, Mario
Hi,

Can anyone on the list tell exactly what the purchase price of CF8 would be for 
8 CPU's.  I am trying to find the information on Adobe's site but I cannot.

Thanks
Mario 

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


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

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


Re: date and ms sql

2007-09-19 Thread Dan Vega
You can use the null attribute of the cfqueryparam tag like so

INSERT INTO contact
(dob)
VALUES
(
cfqueryparam value=#arguments.dob# null=#not len(arguments.dob)#
)

On 9/19/07, Chad Gray [EMAIL PROTECTED] wrote:

 I have a form that asks for a date.

 If no date is entered into the form what gets inserted into the database
 is 01/01/1900.

 How do I get the database to have NULL or blank and not this date
 01/01/1900?

 I don't know if it is best to try to fix this on the database side or
 write cfif's to see if the form variables is blank.

 Thanks!


 

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

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


Re: CF coding standards

2007-09-19 Thread Tom Chiverton
On Wednesday 19 Sep 2007, [EMAIL PROTECTED] wrote:
 I'm sure Sean will pipe up - but this is NOT official Adobe
 recommendations.

'Swhy I put it in quotes, innit :-)

-- 
Tom Chiverton
Helping to centrally industrialize high-yield services
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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


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

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


Scope Question

2007-09-19 Thread coldfusion . developer
I'm using this very simple server side imagemap to send coordinates my results 
script of where the user clicked on the image.  My questions is how can I 
extract the x and y coordinates once it's passed as ...

http://www.domainname.com/map.cfm?231,266

I'm typically use to id=value, but there's no name value paired here.  Thanks 
for any advice.

original page code
a href=map.cfm
img 
src=images/Coverbabycontest/2007/original/Allison_Gronsbell_Chloe_0718_204454.jpg
 width=511 height=681 border=0 ismap //a

Thanks.

D

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

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


RE: Scope Question

2007-09-19 Thread William Seiter
Maybe..

cfset x = listfirst(cgi.query_string, ,)
cfset y = listlast(cgi.query_string, ,)

Hope this helps,

William
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 9:00 AM
To: CF-Talk
Subject: Scope Question

I'm using this very simple server side imagemap to send coordinates my
results script of where the user clicked on the image.  My questions is how
can I extract the x and y coordinates once it's passed as ...

http://www.domainname.com/map.cfm?231,266

I'm typically use to id=value, but there's no name value paired here.
Thanks for any advice.

original page code
a href=map.cfm
img
src=images/Coverbabycontest/2007/original/Allison_Gronsbell_Chloe_0718_2044
54.jpg width=511 height=681 border=0 ismap //a

Thanks.

D



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

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


Re: date and ms sql

2007-09-19 Thread Charlie Griefer
assuming the column accepts NULL values (and if not, you'll need to
set it so that it does)...

use the following value in your SQL:

myDatabaseDate = cfqueryparam value=#form.MyDateVal#
cfsqltype=cf_sql_date null=#yesNoFormat(NOT
len(trim(form.MyDateVal)))# /

On 9/19/07, Chad Gray [EMAIL PROTECTED] wrote:
 I have a form that asks for a date.

 If no date is entered into the form what gets inserted into the database is 
 01/01/1900.

 How do I get the database to have NULL or blank and not this date 01/01/1900?

 I don't know if it is best to try to fix this on the database side or write 
 cfif's to see if the form variables is blank.

 Thanks!


 

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

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


RE: date and ms sql

2007-09-19 Thread Chad Gray
Interesting!   So the len() is marking the null attribute yes or no...

Thanks Dan!  That looks about as clean as it can get.


-Original Message-
From: Dan Vega [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 12:18 PM
To: CF-Talk
Subject: Re: date and ms sql

You can use the null attribute of the cfqueryparam tag like so

INSERT INTO contact
(dob)
VALUES
(
cfqueryparam value=#arguments.dob# null=#not len(arguments.dob)#
)

On 9/19/07, Chad Gray [EMAIL PROTECTED] wrote:

 I have a form that asks for a date.

 If no date is entered into the form what gets inserted into the database
 is 01/01/1900.

 How do I get the database to have NULL or blank and not this date
 01/01/1900?

 I don't know if it is best to try to fix this on the database side or
 write cfif's to see if the form variables is blank.

 Thanks!


 



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

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


RE: Dealing with 'fake' folders?

2007-09-19 Thread James Smith
Could you create a 404.cfm page that does any processing you need and
point IIS/Apache to that file as your custom 404 error page?

--
Jay

-Original Message-
From: Scott Weikert [mailto:[EMAIL PROTECTED] 
Sent: 19 September 2007 15:42
To: CF-Talk
Subject: Dealing with 'fake' folders?

Hi folks -

I've got a small issue with my project. By 'small' I mean, it's a bit 
annoying, and nothing major, doesn't affect performance, it just BUGS ME 
and I'd like to figure a way to get around it in a better way.

So we've got our site on a domain (let's call it 'domain.com') and our 
application allows clients to create their own sites, giving them an 
alphanumeric name, that allows their site to be accessed, via 
'domain.com/sitename/'. A folder is created in the file system in the 
main web directory, so say 'domain.com' points to the stereotypical IIS 
'htdocs' folder, a folder 'sitename' is created inside 'htdocs'.

When a client deletes one of these sites, I've got code in that deletes 
that 'sitename' folder. No problem til now.

If that site has been around for a bit, then the web crawlers have found 
it. And after the folder is gone, the web crawlers are now hitting a 
non-existant page in a non-existant folder.

I've tried re-creating these folders (when I see enough entries in the 
error logs for a given deleted folder), dropping an index.cfm page in 
with various meta tags in to say SHOO ROBOTS, but most of them ignore 
the instructions listed on their own sites. That's a whole 'nother issue.

What I'd like to do is automate this a bit more - to be able to not 
create these folders from the get-go, but interecept traffic that points 
at 'domain.com/somefolder' where 'somefolder' doesn't exist - and push 
it to a script that will go 'oh they're looking for the 'somefolder' 
site' and do its bit to serve up the pages (which reside elsewhere) if 
the site is still present, or serve up a 'this site doesn't exist' with 
anti-robot meta tags if not. This way, no folder would need to be 
created or deleted, and I wouldn't have to go robot-swatting when sites 
are deleted.

Is this something that can be done with CF, or is it more of an IIS 
thing? Regardless, any pointers in the right direction would be greatly 
appreciated.

Thanks -
--Scott



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

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


Re: Forums?

2007-09-19 Thread Rick Root
hahahahah

On 9/19/07, Raymond Camden [EMAIL PROTECTED] wrote:
 Justin - you accidentally installed the wrong forums!

 (KIDDING! :)

 On 9/19/07, Justin Scott [EMAIL PROTECTED] wrote:
 
  Thanks, I have it implemented at http://forums.editdns.net/ now.  Thanks
  to everyone who made suggestions on the forums apps.

-- 
Rick Root
Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
www.opensourcecf.com

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

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


Re[2]: SMS portal

2007-09-19 Thread Michael David
Hi Scott!

I did indeed; thanks for posting it.  I assumed, perhaps
incorrectly, that it was not a complete list.

Still, I would be worried about carriers changing the email addresses
and then I'd have to go find them again - but only after I discovered
the problem, which could be weeks. I know, from personal experience,
that ATT, Cingular, and Nextel have all changed theirs over the years.

Having said that, though, it is a cost-free approach - which is
highly attractive. :)

-- 
Cheers!
Michael David   

Wednesday, September 19, 2007, 10:32:12 AM, you wrote:


 I guess you missed my note yesterday... :)

 http://en.wikipedia.org/wiki/SMS_gateways





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

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


Re: URL Rewrite + CF8 + IIS6

2007-09-19 Thread Christopher Chin
 On Tuesday 18 Sep 2007, [EMAIL PROTECTED] wrote:
  I am hosting my personal site with crystaltech using IIS6/CF8/Win2k3.
 
  I bought a new domain name that I would like to host on my personal 
 site
  under a subdirectory.
  I need to rewrite this url:
  http://www.mysite.com/newdomain
  into
  http://www.newdomain.com
 
 You mean you want people to who go to http://www.newdomain.com/ to see 
 the 
 contents of http://www.mysite.com/newdomain/ ? That's rewriting the 
 other way 
 round to the 2nd part of your post :-)
 Several ways to do it, depending on how you are hosted.
 If you have separate web roots, for instance, just use a full-page 
 IFRAME that 
 loads mysite.com/newdomain/ for the index plage of newdomain.com (URLs 
 may be 
 a bit funny, may or may not be a problem.
 
 -- 
 Tom Chiverton
 Helping to quickly foster strategic methodologies
 on: http://thefalken.livejournal.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
 England and Wales under registered number OC307980 whose registered 
 office address is at St James's Court Brown Street Manchester M2 2JF.  
 A list of members is available for inspection at the registered office. 
 Any reference to a partner in relation to Halliwells LLP means a 
 member of Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above 
 and may be confidential or legally privileged.  If you are not the 
 addressee you must not read it and must not use any information 
 contained in nor copy it nor inform any person other than Halliwells 
 LLP or the addressee of its existence or contents.  If you have 
 received this email in error please delete it and notify Halliwells 
 LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.


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

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


Re: Dealing with 'fake' folders?

2007-09-19 Thread Ian Skinner
That should be fairly easy to do then.

I would think your index.cfm page could have logic to determine that the 
requested 'sub' site does not exist and serve up a 410 header with the 
appropriate cfheader tags within the index.cfm page.



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

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


Re: URL Rewrite + CF8 + IIS6

2007-09-19 Thread Christopher Chin
Tom,

Yes you got it right.  My rewrite statement was backwards.
And yes, URLs will be funky and I'd rather have changing urls when people click 
through the site.

I only have one webroot and it's using my personal site.  Looks like I might 
have to find a cheapy hosting service for my new domain if I can't find a 
decent URL rewriter.

Thanks!
Chris

 On Tuesday 18 Sep 2007, [EMAIL PROTECTED] wrote:
  I am hosting my personal site with crystaltech using IIS6/CF8/Win2k3.
 
  I bought a new domain name that I would like to host on my personal 
 site
  under a subdirectory.
  I need to rewrite this url:
  http://www.mysite.com/newdomain
  into
  http://www.newdomain.com
 
 You mean you want people to who go to http://www.newdomain.com/ to see 
 the 
 contents of http://www.mysite.com/newdomain/ ? That's rewriting the 
 other way 
 round to the 2nd part of your post :-)
 Several ways to do it, depending on how you are hosted.
 If you have separate web roots, for instance, just use a full-page 
 IFRAME that 
 loads mysite.com/newdomain/ for the index plage of newdomain.com (URLs 
 may be 
 a bit funny, may or may not be a problem.
 
 -- 
 Tom Chiverton
 Helping to quickly foster strategic methodologies
 on: http://thefalken.livejournal.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
 England and Wales under registered number OC307980 whose registered 
 office address is at St James's Court Brown Street Manchester M2 2JF.  
 A list of members is available for inspection at the registered office. 
 Any reference to a partner in relation to Halliwells LLP means a 
 member of Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above 
 and may be confidential or legally privileged.  If you are not the 
 addressee you must not read it and must not use any information 
 contained in nor copy it nor inform any person other than Halliwells 
 LLP or the addressee of its existence or contents.  If you have 
 received this email in error please delete it and notify Halliwells 
 LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.


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

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


RE: Forums?

2007-09-19 Thread Bobby Hartsfield
Ha!

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

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 11:43 AM
To: CF-Talk
Subject: Re: Forums?

Justin - you accidentally installed the wrong forums!

(KIDDING! :)

On 9/19/07, Justin Scott [EMAIL PROTECTED] wrote:
  Damn it took way too long for someone to bring up CFMBB =)
 
  CFMBB is actually based on Ray's Galleon, which was a great base, 
  but the goal of the CFMBB project is to integrate many more of the 
  phpBB features that make phpBB so popular.
  .. including BBML/BBCode, private messages, signatures, etc.

 Thanks, I have it implemented at http://forums.editdns.net/ now.  
 Thanks to everyone who made suggestions on the forums apps.


--
===
Raymond Camden, Camden Media

Email: [EMAIL PROTECTED]
Blog  : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org



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

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


RE: CF8 Pricing

2007-09-19 Thread Dave Watts
 Can anyone on the list tell exactly what the purchase price 
 of CF8 would be for 8 CPU's.  I am trying to find the 
 information on Adobe's site but I cannot.

Directly from the Adobe site:
http://www.adobe.com/products/coldfusion/faq/#section-2

What are the editions of ColdFusion 8, and how are they priced?

ColdFusion 8 is sold in two editions: Standard Edition at US$1,299 per
two CPUs and Enterprise Edition at US$7,499 per two CPUs. ColdFusion may
also be used for development at no cost with the free Developer Edition, a
full-featured server for development use only.

So, multiply by 4!

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

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


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

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


Re: CF8 Pricing

2007-09-19 Thread Jim McAtee
- Original Message - 
From: Dave Watts [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, September 19, 2007 11:10 AM
Subject: RE: CF8 Pricing


 Can anyone on the list tell exactly what the purchase price
 of CF8 would be for 8 CPU's.  I am trying to find the
 information on Adobe's site but I cannot.

 Directly from the Adobe site:
 http://www.adobe.com/products/coldfusion/faq/#section-2

 What are the editions of ColdFusion 8, and how are they priced?

ColdFusion 8 is sold in two editions: Standard Edition at US$1,299 
 per
 two CPUs and Enterprise Edition at US$7,499 per two CPUs. ColdFusion may
 also be used for development at no cost with the free Developer Edition, 
 a
 full-featured server for development use only.

 So, multiply by 4!


That would certainly suck. 


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

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


Re: cffile action=copy nameconflict=in_your_wildest_dreams

2007-09-19 Thread Raymond Camden
I won't pretend to speak for Adobe - but the thinking MAY have been -
with the upload action, you have no idea what the file is - therefore
name conflicts may occur more often. With a copy you _do_ know the
file.

As a general FYI, I'm sure you know there are multiple ways to handle
this problem yourself. You can use a UUID-based file name, which is
ugly, but unique, or if you can't copy over foo.txt because it exists,
try foo1, foo2, fooN until it doesn't exist.

On 9/19/07, Brad Wood [EMAIL PROTECTED] wrote:
 So, I admittedly haven't used cffile that much in the past-just here and
 there.  I was fiddling with something today and came to a startling
 revelation (which I'm sure most of you already know):

 You can't use the nameconflict attribute with action=copy.  Well you
 can-it's simply ignored.  I was like, WTF, over?

 I made my usual assumption that there is a REALLY good reason and I just
 didn't know what it was-- so I Googled for a while hoping to uncover
 this eye-opening gem of truth.



 Yeah, nothing.  Absolutely nothing.  Oh, there's a Livedocs comment here
 and there where someone mentions it, and SEVERAL code examples where
 people illegally tried to use nameconflict with action=copy, but
 nowhere did I find any explanation of WHY copying files always
 overwrites destination files of the same name.



 The benefit of being able to control name conflicts when copying files
 seems so obvious.  I mean, how dare CF assume I wish to always overwrite
 when copying?  :-)  And then they tease me by having a nameconflict
 attribute which only works for upload.

 Yes, yes, I am familiar with fileexists() and all that, but I use CF to
 make things easier not harder.

 What's worse, is no error is thrown when you try to use nameconflict
 with action=copy.  Have you ever accidentally typed something like:

 cfloop collection=#url# item=i index=j/cfloop

 Whoa, big error message in your face.  But no-not with cffile.  It just
 silently ignores the nameconflict attribute leading you to believe its
 being used.



 So please fill me in. Is there some underlying reason why copy always
 overwrites, or have enough people simply not requested the enhancement?



 ~Brad



 

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

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


RE: Scope Question

2007-09-19 Thread Billy Cox
Yes, that is WAY cooler than looking at cgi.query_string.  :)

-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 11:24 AM
To: CF-Talk
Subject: Re: Scope Question


cfset myList = structKeyList(URL) /

cfset xCoord = listFirst(myList) /
cfset yCoord = listLast(myList) /


On 9/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 I'm using this very simple server side imagemap to send coordinates my 
 results script of where the user clicked on the image.  My questions 
 is how can I extract the x and y coordinates once it's passed as ...

 http://www.domainname.com/map.cfm?231,266

 I'm typically use to id=value, but there's no name value paired here.  
 Thanks for any advice.

 original page code
 a href=map.cfm
 img 
 src=images/Coverbabycontest/2007/original/Allison_Gronsbell_Chloe_071
 8_204454.jpg width=511 height=681 border=0 ismap //a

 Thanks.

 D

 



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

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


Re: Scope Question

2007-09-19 Thread Charlie Griefer
hey, it was early.  i wasn't caffeinated yet :P

On 9/19/07, Billy Cox [EMAIL PROTECTED] wrote:
 Yes, that is WAY cooler than looking at cgi.query_string.  :)

 -Original Message-
 From: Charlie Griefer [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 19, 2007 11:24 AM
 To: CF-Talk
 Subject: Re: Scope Question


 cfset myList = structKeyList(URL) /

 cfset xCoord = listFirst(myList) /
 cfset yCoord = listLast(myList) /


 On 9/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:
  I'm using this very simple server side imagemap to send coordinates my
  results script of where the user clicked on the image.  My questions
  is how can I extract the x and y coordinates once it's passed as ...
 
  http://www.domainname.com/map.cfm?231,266
 
  I'm typically use to id=value, but there's no name value paired here.
  Thanks for any advice.
 
  original page code
  a href=map.cfm
  img
  src=images/Coverbabycontest/2007/original/Allison_Gronsbell_Chloe_071
  8_204454.jpg width=511 height=681 border=0 ismap //a
 
  Thanks.
 
  D
 
 



 

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

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


CF Webservices Security Primer

2007-09-19 Thread Eric Hoffman
Hey all,

I am looking to review again security issues around opening up web  
services.   Does anyone have a favorite bookmark or some primer  
related directly to CF that is handy?   Things we can do on the  
application side maybe...have a pretty good handle on the network/ 
firewall sides

Google of course turned up billions and a lot are just vendor selling  
wares.

Thanks!

Eric 

This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmission cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender therefore 
does not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.

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

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


cffeed read problem

2007-09-19 Thread Jared Legg
ok, I am a little confused trying to read an RSS file with CFFEED.

Here is an example of the XML nodes:
item
   title/title
   description/description
   date/date
/item

When I do a cffeed read, and then do a dump of the data I get a ton of 
different columns, but the only one of my nodes I see that is populated is 
'title'. My description node is listed under the content column, and date is 
not listed at all. Anyone have any idea? 

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

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


Re: Forums?

2007-09-19 Thread Ben Doom
I ran it YEARS ago on CF5 and MX6.  I can't speak for the current 
version, but the CFBB code sucked.  Mofifying it was a pain.  No 
variables were locked anywhere, and I'm including the session and 
application scopes.

In it's favor, it did work pretty much out-of-the box.  And, for all I 
know, they may have shiny new pretty efficient and well-layed-out code 
since then.

As for XSS attacks
I'm honestly not too familiar with them, although I admit I should be. 
My understanding is that, basically, someone embeds a script in your 
page (via a MySpace comment, forum post, etc.) that rewrites part of 
your page.  It can, for example, redirect forms by overwriting the 
action on the form.  Someone else can probably give better information, 
though.

--Ben Doom

NUGROHO NOTO wrote:
 Hi, 
 Can anyone share their thought about this forum ?  (cfbb by adersoftware)
 www.adersoftware.com/index.cfm?page=cfbb
 this is the only forum which can run on CF5 so far..
 
 I am still using CF5, so.. cannot use cfmbb or galleon.
 I just need basic forum, so cfbb is enough for me I think. 
 I am just afraid to use this forum (cfbb) because I have read in some google 
 article about reported a vulnerability in AderSoftware CFBB, which can
 be exploited by malicious people to conduct cross-site scripting
 attacks.
 I don't really understand the meaning of above cross-site scripting attacks.
 is it dangerous ? 
 Thanks.
 
 
 
 

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

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


Re: cffeed read problem

2007-09-19 Thread Raymond Camden
Yes. This is the way it works:

CFFEED supports multiple platforms of feed types. When you suck down a
feed into a query, you will always get AT LEAST ONE SET OF COLUMNS -
the set being detailed in the CFML Reference for CFFEED.

This set of columns will contain everything possible that an Atom or
RSS feed can return. Because of this - you sometimes have columns you
do not need. You also have columns that will mean something different
if the source is Atom or RSS.

Please see the CFFEED Reference. It has a table that details all the
columns and what they mean.

Be sure to look in the Reference. There is no documentation for CFFEED
in the Developer's Guide. I've also posted a few times on CFFEED on my
blog: http://www.coldfusionjedi.com


On 9/19/07, Jared Legg [EMAIL PROTECTED] wrote:
 ok, I am a little confused trying to read an RSS file with CFFEED.

 Here is an example of the XML nodes:
 item
title/title
description/description
date/date
 /item

 When I do a cffeed read, and then do a dump of the data I get a ton of 
 different columns, but the only one of my nodes I see that is populated is 
 'title'. My description node is listed under the content column, and date is 
 not listed at all. Anyone have any idea?

 

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

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


Plesk 8.2 and CF8

2007-09-19 Thread Will Swain
Hello,
 
Anyone here running CF8 and Plesk on a Windows box? Do they play nicely
together? Any issues? PLesk apparently won't officially support CF8 until q1
2008, which is a bit too long to wait.
 
Cheers
 
Will 


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

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


Re: Dealing with 'fake' folders?

2007-09-19 Thread Scott Weikert
Ian Skinner wrote:
 That should be fairly easy to do then.

 I would think your index.cfm page could have logic to determine that the 
 requested 'sub' site does not exist and serve up a 410 header with the 
 appropriate cfheader tags within the index.cfm page.
   
Just got back from being away two hours (dentist appt), and amusingly, 
while driving to and fro and sitting in the chair, this is the precise 
solution I came up with. :D

My only issue is figuring out what the appropriate cfheader tags 
should be in that case. I did some googling but haven't yet come across 
what I'm looking for. If you've got that syntax, by all means, toss it 
my way if you're so inclined. :)

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

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


RE: CF8 Pricing

2007-09-19 Thread Dave Watts
  So, multiply by 4!
 
 That would certainly suck.

I don't think that's anything new, actually.

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

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


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

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


Re: Dealing with 'fake' folders?

2007-09-19 Thread Ian Skinner
Well I was looking at this recently for sending a 301 moved permeantely 
status and found this resource.
http://www.webconfs.com/how-to-redirect-a-webpage.php


ColdFusion Redirect

cfheader statuscode=301 statustext=Moved permanently
cfheader name=Location value=http://www.new-url.com;

Using this as an example I would presume your situation would like 
something like
cfheader statuscode=410 statustext=Gone

I do not know if any other headers are required.

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

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


Re: Scope Question

2007-09-19 Thread [EMAIL PROTECTED] [EMAIL PROTECTED]
Maybe..

cfset x = listfirst(cgi.query_string, ,)
cfset y = listlast(cgi.query_string, ,)

Hope this helps,

William


Wow!  Thanks everyone for the great responses.  I ended up using ...
RIGHT:cfoutput#ListFirst(CGI.QUERY_STRING)#/cfoutputbr /
DOWN:cfoutput#ListLast(CGI.QUERY_STRING)#/cfoutputbr /

In case this may help anyone, I'm using this to fit uploaded images
into a frame that will be imported into a Flash movie via XML.  The
Flash movie is a product package that allows the user to add their
child's photo to the package. 

My question and everyone's answers help me to create the process and
then the algorythm to center the uploaded image, zoom in or out and then
perform the final cropping to have it fit within a pre-determined frame.
(height and width)  

Thanks.

D 

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

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


Re: Dealing with 'fake' folders?

2007-09-19 Thread Scott Weikert
Ian, thanks much - I didn't think it was quite that simple. :P

I'll give that a go and see how well it works.

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

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


RE: cffeed read problem

2007-09-19 Thread Jayesh Viradiya
I was about to reply Jared and just before that read your
replyperfect answer...Thanks Ray...

Jayesh Viradiya
Adobe CF Team

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 12:11 PM
To: CF-Talk
Subject: Re: cffeed read problem

Yes. This is the way it works:

CFFEED supports multiple platforms of feed types. When you suck down a
feed into a query, you will always get AT LEAST ONE SET OF COLUMNS -
the set being detailed in the CFML Reference for CFFEED.

This set of columns will contain everything possible that an Atom or
RSS feed can return. Because of this - you sometimes have columns you
do not need. You also have columns that will mean something different
if the source is Atom or RSS.

Please see the CFFEED Reference. It has a table that details all the
columns and what they mean.

Be sure to look in the Reference. There is no documentation for CFFEED
in the Developer's Guide. I've also posted a few times on CFFEED on my
blog: http://www.coldfusionjedi.com


On 9/19/07, Jared Legg [EMAIL PROTECTED] wrote:
 ok, I am a little confused trying to read an RSS file with CFFEED.

 Here is an example of the XML nodes:
 item
title/title
description/description
date/date
 /item

 When I do a cffeed read, and then do a dump of the data I get a ton of
different columns, but the only one of my nodes I see that is populated
is 'title'. My description node is listed under the content column, and
date is not listed at all. Anyone have any idea?

 



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

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


cfmenu and cfmenuitem error/problem

2007-09-19 Thread Michael Beins
I'll explain this the best I can.  I am experimenting with the cf8 cfmenu and 
cfmenuitem tags.  I use two tables in a database, one for menus and the other 
menu items.  Each menu item has 3 key fields, menuID, itemID, and parentID.  
Obviously menuID is which menu the item belongs, itemID is just a unique 
indentifier for the specific item, and parentId is optional. The parentID field 
would hold the itemID of an item that the specific item belongs to.  So think 
family tree. Ex:  Grandpa(top level menu items) has son and daughter (menu 
items in the grandpa menuitem), daughter has two childer, child1 and child2 
(menu items under daughter).

Grandpa
  Son  (menuid = grandpa, and parentid is empty)
  Daughter  (menuid = grandpa, and parentid is empty)
 Child1 (parentid = Daughter)
 Child2 (parentid = Daughter)

I use two functions in a cfc to build the navigation, buildNavBar and buildMenu.

This is how it is suppose to work.

The buildNavBar function queries the database for the main menus.  It outputs 
the cfmenu tag, and the starts looping through the main menus record set and 
outputs the opening cfmenuitem tag for the menu.  After the cfmenuitem tag I 
invoke the buildMenu function to build the specific menu. After the invoke I 
close the cfmenuitem tag.  And after the loop the menu is closed (/cfmen).

The buildMenu function essentially performs the same way.  It has two 
arguments, mid and iid, mid for menuid and iid for item id.  The query that is 
run can run two different ways.   If no itemID is passed to the function.  I 
query the menu items table for all items that have the menu id as their menu id 
along with an empty parent id (would grab the Son and Daughter values in the 
example above).  If the result returned has a record count I start looping 
through it.   I output the opening menu item tag, then self-call the buildMenu 
function passing the menu id and the item id of the current item.  I then close 
the cfmenuitem tag.   This function would keep calling itself to find any 
children for a specific item and keep going down until it finds no more 
children items.  

As I said that is how it is suppose to work, how ever that is not what is 
happening.  I receive a cfmenuitem must have parent cfmenu or cfmenuitem tag. 
error.  If I modify the functions to build a string, dump the string to the 
screen, copy and create a new cfm page with the code in string, the menu is 
build correct.  If I comment out the call to the buildMenu function in the 
buildNavBar function, the main menu items are build fine and the menu displays. 
 

The error occurs in the call to the buildMenu function from the buildNavBar 
function.  

The two functions are below.   Any help/a direction to go would be greatly 
appreciated.

cffunction name=buildNavBar access=public returntype=void output=yes
cfinvoke component=components.queries method=getMainMenus 
returnvariable=mainmenus
/cfinvoke
cfmenu name=navbar type=horizontal 
menustyle=height:20px;font-family:Garamond;font-size:15;font-weight:bold;
cfoutput query=mainmenus
cfmenuitem display=#mainmenus.menu_title#
cfinvoke 
component=components.functions method=buildMenu
cfinvokeargument name=menuid 
value=#mainmenus.menu_id#
/cfinvoke
/cfmenuitem
/cfoutput
/cfmenu
/cffunction

!--- Build Menu ---
cffunction name=buildMenu access=public output=yes 
returntype=void
cfargument name=mid type=string required=yes
cfargument name=iid type=string required=no default=

!--- Call get menu items function ---
cfinvoke component=components.queries method=getItems 
returnvariable=items
cfinvokeargument name=mid value=#arguments.mid#
cfif trim(arguments.iid) is not 
cfinvokeargument name=iid 
value=#arguments.iid#
/cfif
/cfinvoke
cfif items.RecordCount gt 0 
cfoutput query=items
cfmenuitem display=#items.text#
cfinvoke 
component=components.functions method=buildMenu
cfinvokeargument name=mid 
value=#arguments.mid#
cfinvokeargument name=iid 
value=#items.iid#
/cfinvoke
/cfmenuitem
/cfoutput
/cfif
/cffunction 




~|
Get involved in the latest ColdFusion 

Re: Dealing with 'fake' folders?

2007-09-19 Thread Scott Weikert
One last bit on the fake folder front - more of a philosophical 
question, not techie per se -

Like I stated before, clients can create a mini-site and give it a code, 
which is used as the folder name. And then they can delete that site, 
deleting the folder that was created for it, and then web crawlers come 
along and cause errors. Meh.

Going the 410 route over the 404 route, to head off the crawlers, makes 
sense.

The only thing I'm concerned about now is re-use of site codes.

Say a client creates a site named 'joe', uses it for a while. Crawlers 
sniff it out and index it.
Client deletes site 'joe' later on, crawlers sniff through, get 410'd, 
quit sniffing.
Another client comes along, creates a site named 'joe', re-using that code.

If the 410 page did the job, the crawlers aren't coming back to that site.

So now, I'm wondering if I should be using 410, or just stick with 404. 
Or, if there's a way to put a timer on the stay away bug nature of the 
410 header...? Say, set it for a month...? Would a second cfheader with 
name=expires and value=some date in the future do the trick, as far as 
the crawlers go?

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

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


RE: CF8 Pricing

2007-09-19 Thread Peterson, Chris
You are willing to spend mega-bucks on an 8 way processor machine (you
realize that a single dual core CPU = 1 processor, right?, and you don't
have a 4 way dual core or a 2 way quad core that you are counting as 8?)

CF's license is per socket, so if you are sporting 8 sockets of various
speed cpu's, you dropped some serious change on that.  Why balk at
software costs? 


Chris Peterson
Gainey IT
Adobe Certified Advanced Coldfusion Developer

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 3:38 PM
To: CF-Talk
Subject: RE: CF8 Pricing

  So, multiply by 4!
 
 That would certainly suck.

I don't think that's anything new, actually.

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

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




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

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


Re: Dealing with 'fake' folders?

2007-09-19 Thread Ian Skinner
You may want to go check out the entire list of HTTP status headers, 
there maybe one more relevant to what you want to do.

But part of this question I see is how do the spiders find these sites 
in the first place?  I presume there needs to be either links to the 
sites in other web pages that are being spidered or the site is being 
submitted to the search engines.  Either of these situations should 
cause a spider to recheck the site, I presume they are not going to rely 
on a previous 410 for new requests, but I do not know for sure.


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

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


Need to update HTML table rows using a webservice

2007-09-19 Thread Matthew Williams
Hey ya'll

I have need to jump into the latest craze and start using Ajax (I think).  What 
I have is this...

A user performs a search.  The results of said search are stored in a 
structure, which is then stored in an array.  This is then stored in the 
session scope.  The user is then displayed 10 results.  There are two options 
available to said user.  Either send a person in the results a message, or 
delete the person from the displayed results.  Both actions should remove the 
single entry from the display, and the next in line should appear.  Now, I 
could be all dull and resubmit the page to do this, but I'd love to use a 
webservice call and javascript to add another row.  Anyone have any thoughts on 
this?

Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/blog 

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

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


RE: Need to update HTML table rows using a webservice

2007-09-19 Thread Andy Matthews
jQuery makes it SUPER simple to add and remove items from the DOM.

Assuming you already have a table with an ID of #myTable that looks like
this:

table id=myTable
thead
   tr
  thFirst Name/th
  thLast Name/th
   /tr
/thead
tbody
   tr
  tdAndy/td
  tdMatthews/td
   /tr
/tbody
/table

$('#myTable tbody').append('trtdjames/tdtdjoyce/td/tr');

That would add an additional TR to the table. The strings james and joyce
would come from whatever AJAX method you use to get that data.


-Original Message-
From: Matthew Williams [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 4:34 PM
To: CF-Talk
Subject: Need to update HTML table rows using a webservice

Hey ya'll

I have need to jump into the latest craze and start using Ajax (I think).
What I have is this...

A user performs a search.  The results of said search are stored in a
structure, which is then stored in an array.  This is then stored in the
session scope.  The user is then displayed 10 results.  There are two
options available to said user.  Either send a person in the results a
message, or delete the person from the displayed results.  Both actions
should remove the single entry from the display, and the next in line should
appear.  Now, I could be all dull and resubmit the page to do this, but I'd
love to use a webservice call and javascript to add another row.  Anyone
have any thoughts on this?

Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/blog 



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

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


Re: Dealing with 'fake' folders?

2007-09-19 Thread Scott Weikert
Well a final report on the fake-folder situation, for those of you who 
might find it useful:

Turns out there were two bits I had to do:
1) set the missing template header in the CF admin to point at my 
handler script (cleverly titled missingTemplate.cfm)
2) set the '404' custom error in IIS for the site ALSO to point at that 
script (as type URL).

Why both? Because the missing template handler would catch
http://domain.com/folder/index.cfm
but NOT
http://domain.com/folder/

as, since the folder doesn't exist, IIS doesn't go oh I don't have a 
page, let's go through the default page names set up for this site and 
see if we find a match... index.cfm, yes, there it is - so it never 
touches the CF server at all.

Then, in the missingTemplate.cfm script, I've got code to sniff out what 
the non-existent folder *should* be (via cgi.script_name, and dig 
through an app structure to see if it finds a match.

Trick is, with the folder-only URLs, the ones that go through IIS's 404 
handler, cgi.script_name comes back as missingTemplate.cfm, as that's 
what IIS is redirecting to. However, cgi.query_string comes through as 
404;http://domain.com/folder;. So if I didn't find a match the first 
way, I checked for that pattern in cgi.query_string and extracted my 
non-existent folder that way.

The rest was just a few path adjustments in my existing code, and all is 
well.

Fun with code!

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

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


Re: Need to update HTML table rows using a webservice

2007-09-19 Thread Matthew Williams
I assume webservice calls can return values in javascript?  Is so, then I'm all 
set.  I can return the entire table row as a string and insert that.

Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/blog 

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

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


Re: Dealing with 'fake' folders?

2007-09-19 Thread [EMAIL PROTECTED]
I did something similar once to handle a 'blog' site I had created a 
few years ago.

The blogger would have a special 'name' for a 'folder' on the website 
for their blog (instead of ?id=2343233)

When the site wanted to return a 404 error, it would send the user to 
this special 'search' page which would include the blogger's blog, if 
it existed (search on the database).  If the name did not match then 
the page would return a 'search result' as part of the 404 error to 
help retain the web browser on the sight by offering 'similar' blogs to 
the one they were looking for.

I worked very smoothly, I liked it alot.  Unfortunately, the company I 
had built that site for 'went in another direction' and recently 
'removed' the site altogether.  Now it is a Japanese porn site...  

Oh well.  It was cool when it was there.

William

-Original Message
-From: [EMAIL PROTECTED]
-Date: Sep 19, 2007 14:23 
-To: CF-Talkcf-talk@houseoffusion.com
-Subj: Re: Dealing with #39;fake#39; folders?
-
-Well a final report on the fake-folder situation, for those of you 
who 
-might find it useful:
-
-Turns out there were two bits I had to do:
-1) set the missing template header in the CF admin to point at my 
-handler script (cleverly titled missingTemplate.cfm)
-2) set the '404' custom error in IIS for the site ALSO to point at 
that 
-script (as type URL).
-
-Why both? Because the missing template handler would catch
-http://domain.com/folder/index.cfm
-but NOT
-http://domain.com/folder/
-
-as, since the folder doesn't exist, IIS doesn't go oh I don't have 
a 
-page, let's go through the default page names set up for this site 
and 
-see if we find a match... index.cfm, yes, there it is - so it never 
-touches the CF server at all.
-
-Then, in the missingTemplate.cfm script, I've got code to sniff out 
what 
-the non-existent folder *should* be (via cgi.script_name, and dig 
-through an app structure to see if it finds a match.
-
-Trick is, with the folder-only URLs, the ones that go through IIS's 
404 
-handler, cgi.script_name comes back as missingTemplate.cfm, as 
that's 
-what IIS is redirecting to. However, cgi.query_string comes through 
as 
-404;http://domain.com/folder;. So if I didn't find a match the 
first 
-way, I checked for that pattern in cgi.query_string and extracted my 
-non-existent folder that way.
-
-The rest was just a few path adjustments in my existing code, and all 
is 
-well.
-
-Fun with code!
-
-


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

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


model-glue security action pack

2007-09-19 Thread Jim Rising
does anyone here have a working example of this in an application? i keep
seeing references to it online, but have not found a complete example.

-jim


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

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


Re: Dealing with 'fake' folders?

2007-09-19 Thread Scott Weikert
Japanese porn? Rock on!

:D

Just kidding. It's never fun to put a lot of effort into something and 
see it trashed.

--Scott

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

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


CF5 Regex Help

2007-09-19 Thread Jim McAtee
I need to run this on our CF5 server:  I have some large text fields 
containing HTML, most of which have some variation of the following HTML 
snippet at the beginning:

biSome text/i/b More text and HTML follows...
ibSome more text/i/b More text and HTML follows...
ibYet some more text/b/i More text and HTML follows...

I need a regex that will let me extract and remove the leading text so 
that it can be stored in a separate column. 


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

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


Re: Dealing with 'fake' folders?

2007-09-19 Thread Dinner
I use a DB to store whether or not the page has moved (403, usually a
renamed file, etc.)  or missing (404), and the missing ones are added
to the site admin's 404 manager page, where they can set the correct
response themselves.

I need to clean it up actually, and perhaps contribute it to RIA or what-
not.  Seems to come up often enough.


On 9/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I did something similar once to handle a 'blog' site I had created a
 few years ago.

 The blogger would have a special 'name' for a 'folder' on the website
 for their blog (instead of ?id=2343233)

 When the site wanted to return a 404 error, it would send the user to
 this special 'search' page which would include the blogger's blog, if
 it existed (search on the database).  If the name did not match then
 the page would return a 'search result' as part of the 404 error to
 help retain the web browser on the sight by offering 'similar' blogs to
 the one they were looking for.

 I worked very smoothly, I liked it alot.  Unfortunately, the company I
 had built that site for 'went in another direction' and recently
 'removed' the site altogether.  Now it is a Japanese porn site...

 Oh well.  It was cool when it was there.

 William

 -Original Message
 -From: [EMAIL PROTECTED]
 -Date: Sep 19, 2007 14:23
 -To: CF-Talkcf-talk@houseoffusion.com
 -Subj: Re: Dealing with #39;fake#39; folders?
 -
 -Well a final report on the fake-folder situation, for those of you
 who
 -might find it useful:
 -
 -Turns out there were two bits I had to do:
 -1) set the missing template header in the CF admin to point at my
 -handler script (cleverly titled missingTemplate.cfm)
 -2) set the '404' custom error in IIS for the site ALSO to point at
 that
 -script (as type URL).
 -
 -Why both? Because the missing template handler would catch
 -http://domain.com/folder/index.cfm
 -but NOT
 -http://domain.com/folder/
 -
 -as, since the folder doesn't exist, IIS doesn't go oh I don't have
 a
 -page, let's go through the default page names set up for this site
 and
 -see if we find a match... index.cfm, yes, there it is - so it never
 -touches the CF server at all.
 -
 -Then, in the missingTemplate.cfm script, I've got code to sniff out
 what
 -the non-existent folder *should* be (via cgi.script_name, and dig
 -through an app structure to see if it finds a match.
 -
 -Trick is, with the folder-only URLs, the ones that go through IIS's
 404
 -handler, cgi.script_name comes back as missingTemplate.cfm, as
 that's
 -what IIS is redirecting to. However, cgi.query_string comes through
 as
 -404;http://domain.com/folder;. So if I didn't find a match the
 first
 -way, I checked for that pattern in cgi.query_string and extracted my
 -non-existent folder that way.
 -
 -The rest was just a few path adjustments in my existing code, and all
 is
 -well.
 -
 -Fun with code!
 -
 -


 

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

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


Re: Forums?

2007-09-19 Thread Rick Root
On 9/19/07, Ben Doom [EMAIL PROTECTED] wrote:

 In it's favor, it did work pretty much out-of-the box.  And, for all I
 know, they may have shiny new pretty efficient and well-layed-out code
 since then.

If it still supports CF5, i highly doubt that the code has been
heavily modified :)

-- 
Rick Root
Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
www.opensourcecf.com

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

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


Firefox 2.0.0.7 Spry issues?

2007-09-19 Thread Jonathon Stierman
This is only partially related to ColdFusion -- I'm not using the CF8 spry
tags.  Just playing around with the Dreamweaver CS3 Spry wizards.  

But has anyone else had trouble getting Spry to work after running the
Firefox updater yesterday?  I'm suddenly not getting anything out of my
application (which I'm pretty sure was working prior to updating Firefox).

No errors are reported by Firebug or Firefox, but I just get the completely
expanded view on my Spry Accordion.

Wondering if it's just me or if you guys are running into this too?  I may
just be losing my sanity -- it's been a busy week!

Jonathon



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

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


Re: CF5 Regex Help

2007-09-19 Thread Claude Schneegans
 I need a regex that will let me extract and remove the leading text

Hi, this is a perfect job for CF_REextract.
See http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm

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


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

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


OT: Wildcard SSL cert

2007-09-19 Thread Rick Root
Okay so our IT Guy bought a wildcard certificate for *.duke.edu for
our web server today.  We host numerous subdomains

I installed the cert on https://www.cfr.duke.edu/ but it doesn't seem
to be recognized as a wildcard.

It works though for https://cfr.duke.edu

So obviously, the wildcard doesn't do what we expected it to do.. it
won't do hosts of subdomains (actually one of my web sites is
www.it.dev.duke.edu, which would be a host of a subdomain of a
subdomain!)

What do I need to do here, besides the obvious just buy 8 separate
certificates?

-- 
Rick Root
Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
www.opensourcecf.com

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

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


Re: OT: Wildcard SSL cert

2007-09-19 Thread James Holmes
We have a wildcard and this is how we deal with it:

1) Drop the www and use cfr.duke.edu.au etc.
2) Use mod_rewrite to provide redirects to ensure requests for www.cfr
(etc) get seamlessly and permamently redirected to cfr (etc).

As for it.dev.duke.edu, either a new cert or a rename is necessary;
itdev.duke.edu?

On 9/20/07, Rick Root [EMAIL PROTECTED] wrote:
 Okay so our IT Guy bought a wildcard certificate for *.duke.edu for
 our web server today.  We host numerous subdomains

 I installed the cert on https://www.cfr.duke.edu/ but it doesn't seem
 to be recognized as a wildcard.

 It works though for https://cfr.duke.edu

 So obviously, the wildcard doesn't do what we expected it to do.. it
 won't do hosts of subdomains (actually one of my web sites is
 www.it.dev.duke.edu, which would be a host of a subdomain of a
 subdomain!)

 What do I need to do here, besides the obvious just buy 8 separate
 certificates?

 --
 Rick Root
 Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
 www.opensourcecf.com

 

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

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


Re: model-glue security action pack

2007-09-19 Thread Dinner
On 9/19/07, Jim Rising [EMAIL PROTECTED] wrote:

 does anyone here have a working example of this in an application? i keep
 seeing references to it online, but have not found a complete example.


I'm going to take Simon's security stuff and make one, eventually, since it
sorta seems appropriate.

I have only looked at the description, but since he's such a big name, you
know it's got to be good.  :-)

http://wiki.cfunited.com/index.cfm/Open_Source_Contest_Entries

(I'm joking, Mr. Horwith- no pressure. :)

There are some examples of event-based security for MG, but I'm thinking
AOP is the way to go-  we'll see what the hell I come up with, if anything.

Feel free to join the model-glue google group, too!


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

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


Re: OT: Wildcard SSL cert

2007-09-19 Thread Rick Root
The only reason we're even trying this is because the IT guy wants to
set up an ISA server, and the folks setting up the ISA server say they
can't do it with multiple SSL certs.

I think they probably just don't know what they're doing.

Rick

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

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


  1   2   >