RE: CFFORM - BUG

2002-10-02 Thread Mike Townend

Its perfectly valid... Your only supposed to run 1 website per
coldfusion server ;)



-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 2, 2002 14:37
To: CF-Talk
Subject: CFFORM - BUG


Ok,
This is really stupid. If I use CFForm on a server where /CFIDE has been
moved to somewhere 'secure' the following code is inserted at the top of
a page containing cfform. I have a field called item.


SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
!--

function  _CF_checkpageitemedit(_CF_this)
{
if  (!_CF_hasValue(_CF_this.TITLE, TEXT ))
{
if  (!_CF_onError(_CF_this, _CF_this.TITLE,
_CF_this.TITLE.value, Title MUST be provided.))
{
return false;
}
}

return true;
}


You lot really need to sort this out.

This line only works where CFIDE is specifically under your root.
SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

Adam


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: CFFORM - BUG

2002-10-02 Thread Ben Forta

That is the default behavior, but you may specify an alternate path in
the CFFORM SCRIPTSRC attribute.

So, nope, not really stupid at all.

--- Ben


-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 9:37 AM
To: CF-Talk
Subject: CFFORM - BUG


Ok,
This is really stupid. If I use CFForm on a server where /CFIDE has been
moved to somewhere 'secure' the following code is inserted at the top of
a page containing cfform. I have a field called item.


SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
!--

function  _CF_checkpageitemedit(_CF_this)
{
if  (!_CF_hasValue(_CF_this.TITLE, TEXT ))
{
if  (!_CF_onError(_CF_this, _CF_this.TITLE,
_CF_this.TITLE.value, Title MUST be provided.))
{
return false;
}
}

return true;
}


You lot really need to sort this out.

This line only works where CFIDE is specifically under your root.
SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

Adam


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: CFFORM - BUG

2002-10-02 Thread Alex Hubner

If space is not a problem, upload the scripts and classes folders to a
/cfide/ folder under your website root. It's only 7megs.

Any legal/licensing implications on that? Not sure, maybe not.

[]'s
Alex

| alex hübner
| [EMAIL PROTECTED]
| www.amazonia.org.br


 -Original Message-
 From: Mike Townend [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, October 02, 2002 10:49 AM
 To: CF-Talk
 Subject: RE: CFFORM - BUG
 
 
 Its perfectly valid... Your only supposed to run 1 website 
 per coldfusion server ;)
 
 
 
 -Original Message-
 From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, October 2, 2002 14:37
 To: CF-Talk
 Subject: CFFORM - BUG
 
 
 Ok,
 This is really stupid. If I use CFForm on a server where 
 /CFIDE has been moved to somewhere 'secure' the following 
 code is inserted at the top of a page containing cfform. I 
 have a field called item.
 
 
 SCRIPT LANGUAGE=JavaScript TYPE=text/javascript 
 SRC=/CFIDE/scripts/cfform.js/SCRIPT
 
 SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
 !--
 
 function  _CF_checkpageitemedit(_CF_this)
 {
   if  (!_CF_hasValue(_CF_this.TITLE, TEXT ))
   {
   if  (!_CF_onError(_CF_this, _CF_this.TITLE, 
 _CF_this.TITLE.value, Title MUST be provided.))
   {
   return false;
   }
   }
 
   return true;
 }
 
 
 You lot really need to sort this out.
 
 This line only works where CFIDE is specifically under your 
 root. SCRIPT LANGUAGE=JavaScript TYPE=text/javascript 
 SRC=/CFIDE/scripts/cfform.js/SCRIPT
 
 Adam
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



topdoc.gif (WAS RE: CFFORM - BUG)

2002-10-02 Thread Ian Tait

On a similar note,

Why is there a link in the debugging (classic look) info to a gif within
/CFIDE?:

/CFIDE/debug/images/topdoc.gif

In one scenario, if /CFIDE exists, but is password protected NTLM popup
stylee, you get prompted for 
the user/password - a tad annoying, if /CFIDE hasn't been mapped,  - no gif.

Ian


-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2002 15:02
To: CF-Talk
Subject: RE: CFFORM - BUG


That is the default behavior, but you may specify an alternate path in
the CFFORM SCRIPTSRC attribute.

So, nope, not really stupid at all.

--- Ben


-Original Message-
From: Adam Reynolds [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 9:37 AM
To: CF-Talk
Subject: CFFORM - BUG


Ok,
This is really stupid. If I use CFForm on a server where /CFIDE has been
moved to somewhere 'secure' the following code is inserted at the top of
a page containing cfform. I have a field called item.


SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
!--

function  _CF_checkpageitemedit(_CF_this)
{
if  (!_CF_hasValue(_CF_this.TITLE, TEXT ))
{
if  (!_CF_onError(_CF_this, _CF_this.TITLE,
_CF_this.TITLE.value, Title MUST be provided.))
{
return false;
}
}

return true;
}


You lot really need to sort this out.

This line only works where CFIDE is specifically under your root.
SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
SRC=/CFIDE/scripts/cfform.js/SCRIPT

Adam



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFFORM - BUG

2002-10-02 Thread Adam Reynolds

Actually it is stupid because Dreamweaver MX on hitting Ctrl+F5 does not
provide you with the full parameter set for cfform so there is no clue as to
why this is happening.

It will also cause issues with people that are remotely web hosting their
sites where they assume CFFORM will work as before but actually requires
them to specify where the form scripts should be found or upload them. To
take something that encapsulated the functionality inside the form you were
displaying and to put that functionality into a file available inside the
CFIDE directory was a poorly thought out 'improvement'.

In fact this is a pain to catch. I thought it was my code and was only able
to trap the problem after about an hour of running round.

This change has not been thought through correctly.

So I would now like to repeat myself by stating that it is actually stupid
and could easily have been avoided. It does not help that Dreamweaver MX
does not provide you with the full set of parameters.

Adam


 -Original Message-
 From: Ben Forta [mailto:[EMAIL PROTECTED]]
 Sent: 02 October 2002 15:02
 To: CF-Talk
 Subject: RE: CFFORM - BUG


 That is the default behavior, but you may specify an alternate path in
 the CFFORM SCRIPTSRC attribute.

 So, nope, not really stupid at all.

 --- Ben


 -Original Message-
 From: Adam Reynolds [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 02, 2002 9:37 AM
 To: CF-Talk
 Subject: CFFORM - BUG


 Ok,
 This is really stupid. If I use CFForm on a server where /CFIDE has been
 moved to somewhere 'secure' the following code is inserted at the top of
 a page containing cfform. I have a field called item.


 SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
 SRC=/CFIDE/scripts/cfform.js/SCRIPT

 SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
 !--

 function  _CF_checkpageitemedit(_CF_this)
 {
   if  (!_CF_hasValue(_CF_this.TITLE, TEXT ))
   {
   if  (!_CF_onError(_CF_this, _CF_this.TITLE,
 _CF_this.TITLE.value, Title MUST be provided.))
   {
   return false;
   }
   }

   return true;
 }


 You lot really need to sort this out.

 This line only works where CFIDE is specifically under your root.
 SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
 SRC=/CFIDE/scripts/cfform.js/SCRIPT

 Adam


 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Re: CFFORM Bug !!

2001-05-15 Thread David E. Crawford

That is expected behavior.

DC

- Original Message -
From: Hamid Hossain [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 15, 2001 09:27
Subject: CFFORM Bug !!


 Hi,

 I tried to use CFForm with GET as a method but when I ran the cfm I found
 that CF server changed my method to POST !!

 I found this bug in CF 4.0 and 4.51. So, It is over versions bug !!

 any suggestions will be appreciated.


 Hamid Hossain
 Saudi Arabia

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFFORM Bug !!

2001-05-15 Thread David E. Crawford

To further clarify: the FORM scope is only availble to CF if the method
was POST.  So it only makes sense that CFFORM uses the POST scope when it
writes out the FORM block.

DC

- Original Message -
From: David E. Crawford [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 15, 2001 09:38
Subject: Re: CFFORM Bug !!


 That is expected behavior.

 DC

 - Original Message -
 From: Hamid Hossain [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, May 15, 2001 09:27
 Subject: CFFORM Bug !!


  Hi,
 
  I tried to use CFForm with GET as a method but when I ran the cfm I
found
  that CF server changed my method to POST !!
 
  I found this bug in CF 4.0 and 4.51. So, It is over versions bug !!
 
  any suggestions will be appreciated.
 
 
  Hamid Hossain
  Saudi Arabia
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFFORM Bug !!

2001-05-15 Thread savan . thongvanh


it's not a bug.  the docs SAY that cfform only takes post.




Hamid Hossain [EMAIL PROTECTED] on 05/15/2001 08:27:32 AM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk [EMAIL PROTECTED]
cc:

Subject:  CFFORM Bug !!


Hi,

I tried to use CFForm with GET as a method but when I ran the cfm I found
that CF server changed my method to POST !!

I found this bug in CF 4.0 and 4.51. So, It is over versions bug !!

any suggestions will be appreciated.


Hamid Hossain
Saudi Arabia
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFFORM Bug !!

2001-05-15 Thread Bernd VanSkiver

It's a feature, not a bug :)

Bernd

--- David E. Crawford [EMAIL PROTECTED]
wrote:
 To further clarify: the FORM scope is only
 availble to CF if the method
 was POST.  So it only makes sense that CFFORM uses
 the POST scope when it
 writes out the FORM block.
 
 DC
 
 - Original Message -
 From: David E. Crawford [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, May 15, 2001 09:38
 Subject: Re: CFFORM Bug !!
 
 
  That is expected behavior.
 
  DC
 
  - Original Message -
  From: Hamid Hossain [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Tuesday, May 15, 2001 09:27
  Subject: CFFORM Bug !!
 
 
   Hi,
  
   I tried to use CFForm with GET as a method but
 when I ran the cfm I
 found
   that CF server changed my method to POST !!
  
   I found this bug in CF 4.0 and 4.51. So, It is
 over versions bug !!
  
   any suggestions will be appreciated.
  
  
   Hamid Hossain
   Saudi Arabia
  
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists