CF Formatter needed

2007-03-08 Thread Peter Reitberger
Hi,

I'm looking for a free/open source CF code formatter. Currently I use the 
Eclipse CF plugin as IDE which does not support it (Ctrl-Shift-F would have 
been nice).
Is there anything out there?

Thanks,

Peter

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271963
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 Formatter needed

2007-03-08 Thread Andrew Scott
Can you explain what you want it to do, code reformating in my eyes is very
buggy at best and is one of things I extremely hated about DW. There was one
template that was based on the fact that it formated the coplor of rows and
used the if mod 2 style, and everytime I opend that I was forever rewritten
the code back to what it should be.

But I do not see why people want this functionality either, but hey thats me
I would never use it so don't see the advantages, just know of the
disadvantages.

Regards,
Andrew Scott




On 3/8/07, Peter Reitberger [EMAIL PROTECTED] wrote:

 Hi,

 I'm looking for a free/open source CF code formatter. Currently I use the
 Eclipse CF plugin as IDE which does not support it (Ctrl-Shift-F would have
 been nice).
 Is there anything out there?

 Thanks,

Peter

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


Re: SOT: Javascript undo multi-select list function

2007-03-08 Thread Martin Thorpe
Ok I think I have come up with a better solution, on the way home in the 
traffic jam, it seems simple so I think it will work.

Basically to store a snapshot of the select list in an array element each time 
before an action is made.  For instance user clicks add new element to select 
list, function add is called, a snapshot of the current data is appended to end 
of an array then the add funciton is run.  Clicking undo just clears the select 
list and then re-populates with the last array element data then removes it 
from the array.

I guess this is the standard way to do an undo, take a snapshot of the state of 
the element to be undone, I am thinking an image undo might work like this 
though I don't know.

Anyone see any flaws in my idea?  Thanks for reading.

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Re: User Authentication

2007-03-08 Thread Andrew Scott
Hmmm,

Just seems strange I just had to implement this the last few days too. Now
there maybe a better way but this is how it folded out based on the
requiements of my application.

The first problem I faced was that a user could only be signed in once. So
the only way I cold see this and with other requirements was to hold a
collection of user objects. The user object just holds all the information I
need, so in a sense its a userService (is that right, or would user object
surfice) anway. In that object it also holds the users roles, and
permissions.

Now to encapsulate that I have a userFactory, that returns the, finds or
checks if the user is logged in etc. And basically is the front line to the
user object.

But I still have the oppurtunity to modify my approach too, so I can take
more suggesations here as well.

Regards,
Andrew Scott



On 3/8/07, AJ Mercer [EMAIL PROTECTED] wrote:

 how about having the user.cfc expose all the functions from the other CFCs
 and it calls the correct function?
 so Session.User.getProfile().getName()
 would become Session.User.getName()
 where getName() calls Profile.getName()

 On 3/7/07, Robert Rawlins - Think Blue 
 [EMAIL PROTECTED]
 wrote:
 
  Hello Guys,
 
 
 
  Wanted to run a couple of ideas past you with regards to a comprehensive
  user authentication system. Basically the system needs to be a 'role' or
  'entitlements' based security system, so all users can login using the
  same
  process, they are then offered access to particular tasks dependant on
  their
  entitlements or roles.
 
 
 
  Now my thoughts are to have 4 CFC's that control this my user. The first
  of
  which is my User.cfc which contains the most basic of information, and
  almost acts as a container for my other user related cfc's, this would
 sit
  in the session scope and could be accessed via something like
  'session.user'.
 
 
 
  The user.cfc then has instances of my 3 other user beans, the first of
  which
  being Profile.cfc which contains the general non security related
  information for my user, such as their name, postal and email address
 and
  suchlike. So if you wanted to access the users profile information you
 can
  do Session.User.getProfile().getName() and it would return the users
 name
  for output.
 
 
 
  The next bean is what I would call 'credentials' and this contains the
  core
  security data, such as the 'Username', 'Password' and 'IsAuthenticated'
  settings, then at any point if I require that information I can access
 it
  through 'session.user.getCredentials()' This way once the user has
 logged
  in
  for the first time, I can set the value of that bean
  VARIABLE.isAuthenticated = true, then for future references I could
 simply
  pull on 'Session.User.getCredentials().isAuthenticated()' and it would
  return true or false if the user is logged in or not.
 
 
 
  Finally I plan to have an 'Entitlements.cfc' which basically contains an
  array of 'entitlements' that are built when the user logs in from a
 table
  in
  the database. So if I need to authorize a user for a specific task I can
  go
  'Session.User.getEntitlements().IsEntitled(DeleteUser)' and it would
  search the array for that entitlement and return true or false if they
 are
  entitled or not.
 
 
 
  I just wanted to run this rough plan past you guys to catch your
 thoughts
  on
  it, does that make sense or is there a better way of handling a role
 based
  authentication system?
 
 
 
  Thanks guys,
 
 
 
  Rob
 
 
 
 

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271966
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 Formatter needed

2007-03-08 Thread Peter Reitberger
Can you explain what you want it to do...

Well at least it should take care of a proper indention so that code is (more) 
readable. I have some old code here that I have to understand. It is rather 
spaghetti and people did indent their cfifs and cfelse and HTML tags in 
different styles, using tabs, 0 to 8 blanks, etc. You can not grasp the control 
flow without reformatting (manually) first.

Personally I think a 'clean' looking code is the first thing to pursue in any 
language (which does not prevent bugs of course). It should be done with the 
support of the IDE.
I think the Eclipse code formatter for Java is excellent. I use it frequently 
and it never spoiled my code. I hope to find something like that for CF.

   Peter

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Re: Coldfusion 7 Real World-Examples language problem

2007-03-08 Thread Tom Chiverton
On Wednesday 07 Mar 2007, Siegfried Dolleisch wrote:
 This ist the entry in the dabase of 28 characters (!):
 #1579;#1579;#1602;#1602;#1601;#1601;#1594;#1594;#1593;#1593;#160
7;#1607;665544#1576;#1576;#1604;#1604;#1575;#1575;#1575;#1575;#157
8;#1578;#1602;#1602;#1602;#1602;#1602;

I'm just guessing, but if you are storing UTF-8, shouldn't it look like proper 
characters rather than encoded strings ?

-- 
Tom Chiverton
Helping to revolutionarily repurpose innovative e-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.


~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


Re: File Size

2007-03-08 Thread Richard Cooper
Thanks for all the input, been very useful.

Richard

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271969
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 Formatter needed

2007-03-08 Thread Andrew Scott
Ok well if Mark Drew is listening maybe he will include that in cfeclipse
then.

Now something like that would be damn handy, and not code reformating that I
am used too.



On 3/8/07, Peter Reitberger [EMAIL PROTECTED] wrote:

 Can you explain what you want it to do...

 Well at least it should take care of a proper indention so that code is
 (more) readable. I have some old code here that I have to understand. It is
 rather spaghetti and people did indent their cfifs and cfelse and HTML
 tags in different styles, using tabs, 0 to 8 blanks, etc. You can not grasp
 the control flow without reformatting (manually) first.

 Personally I think a 'clean' looking code is the first thing to pursue in
 any language (which does not prevent bugs of course). It should be done with
 the support of the IDE.
 I think the Eclipse code formatter for Java is excellent. I use it
 frequently and it never spoiled my code. I hope to find something like that
 for CF.

   Peter

 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Re: File Size

2007-03-08 Thread Andrew Scott
It still depnds ont the web server too, it is no good for the scripting
application server saying one thing and the Web server saying something
different.

Which is why, the things that have been mentioned like HD space and ram is
also important. Before it hits CF the web server has to have it too, and
that dependant on how they handle it.

The real question would be what your requirements are, then take it from
there, But ftp might be a better solution.




On 3/8/07, Richard Cooper [EMAIL PROTECTED] wrote:

 Thanks for all the input, been very useful.

 Richard

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


RE: User Authentication

2007-03-08 Thread Robert Rawlins - Think Blue
Morning Andrew,

Glad I'm not the only one that's been working along similar lines with this
one. I essentially work with the same method as you, I have a bunch of user
objects which manage the profiles, credentials and roles, then in effect I
have my user 'factory', although its not a factory in the strictest term as
it doesn't actually generate the other beans, that is handled by coldspring
for me, but it does give me a tidy point of contact for the thing, so you're
right that you could probably classify this as a user 'service'.

If you have any ideas I would be keen to hear them. Especially on the more
security oriented elements like protection again session hijacking and
thing, which I know a little about, but not enough that I'm comfortable.

Rob

-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 09:04
To: CF-Talk
Subject: Re: User Authentication

Hmmm,

Just seems strange I just had to implement this the last few days too. Now
there maybe a better way but this is how it folded out based on the
requiements of my application.

The first problem I faced was that a user could only be signed in once. So
the only way I cold see this and with other requirements was to hold a
collection of user objects. The user object just holds all the information I
need, so in a sense its a userService (is that right, or would user object
surfice) anway. In that object it also holds the users roles, and
permissions.

Now to encapsulate that I have a userFactory, that returns the, finds or
checks if the user is logged in etc. And basically is the front line to the
user object.

But I still have the oppurtunity to modify my approach too, so I can take
more suggesations here as well.

Regards,
Andrew Scott



On 3/8/07, AJ Mercer [EMAIL PROTECTED] wrote:

 how about having the user.cfc expose all the functions from the other CFCs
 and it calls the correct function?
 so Session.User.getProfile().getName()
 would become Session.User.getName()
 where getName() calls Profile.getName()

 On 3/7/07, Robert Rawlins - Think Blue 
 [EMAIL PROTECTED]
 wrote:
 
  Hello Guys,
 
 
 
  Wanted to run a couple of ideas past you with regards to a comprehensive
  user authentication system. Basically the system needs to be a 'role' or
  'entitlements' based security system, so all users can login using the
  same
  process, they are then offered access to particular tasks dependant on
  their
  entitlements or roles.
 
 
 
  Now my thoughts are to have 4 CFC's that control this my user. The first
  of
  which is my User.cfc which contains the most basic of information, and
  almost acts as a container for my other user related cfc's, this would
 sit
  in the session scope and could be accessed via something like
  'session.user'.
 
 
 
  The user.cfc then has instances of my 3 other user beans, the first of
  which
  being Profile.cfc which contains the general non security related
  information for my user, such as their name, postal and email address
 and
  suchlike. So if you wanted to access the users profile information you
 can
  do Session.User.getProfile().getName() and it would return the users
 name
  for output.
 
 
 
  The next bean is what I would call 'credentials' and this contains the
  core
  security data, such as the 'Username', 'Password' and 'IsAuthenticated'
  settings, then at any point if I require that information I can access
 it
  through 'session.user.getCredentials()' This way once the user has
 logged
  in
  for the first time, I can set the value of that bean
  VARIABLE.isAuthenticated = true, then for future references I could
 simply
  pull on 'Session.User.getCredentials().isAuthenticated()' and it would
  return true or false if the user is logged in or not.
 
 
 
  Finally I plan to have an 'Entitlements.cfc' which basically contains an
  array of 'entitlements' that are built when the user logs in from a
 table
  in
  the database. So if I need to authorize a user for a specific task I can
  go
  'Session.User.getEntitlements().IsEntitled(DeleteUser)' and it would
  search the array for that entitlement and return true or false if they
 are
  entitled or not.
 
 
 
  I just wanted to run this rough plan past you guys to catch your
 thoughts
  on
  it, does that make sense or is there a better way of handling a role
 based
  authentication system?
 
 
 
  Thanks guys,
 
 
 
  Rob
 
 
 
 

 



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Re: debugging SOAP requests

2007-03-08 Thread Tom Chiverton
On Wednesday 07 Mar 2007, Russ Michaels wrote:
 no it is a JAVA web service.

I would guess that the types of the parameters you are sending it are wrong.
What does the WSDL say ?


-- 
Tom Chiverton
Helping to efficiently administrate 24/365 segments
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.


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Re: Vista - too many files open error message- Dave watts?

2007-03-08 Thread Tom Chiverton
On Wednesday 07 Mar 2007, Dave Watts wrote:
  I second the Who the hell needs that many files open at one time?

 Unfortunately, that's just the way Foxpro works.

And it's supported on Vista, is it ?
A quick look at http://msdn2.microsoft.com/en-us/vfoxpro/bb190292.aspx 
suggests not.

-- 
Tom Chiverton
Helping to appropriately mesh back-end IPOs
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.


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

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


Re: improved js for form validation?

2007-03-08 Thread Massimo Foti
 Does anyone know if there are improved form validation scripts available
 for download (yes, I know I can make my own).  

This can be worth a look:
http://www.massimocorner.com/validator/



 Specifically, if I use
 validate=integer, it is approving a value of 1+. 

http://www.massimocorner.com/validator/reference/index.htm

  
Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
  


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


Re: Java.io.file

2007-03-08 Thread Massimo Foti
 Yea this came from the lastModified function from the java.io.file. It
 is in milliseconds and like you I'm clueless how to convert. I've looked
 around the net but everything talks about using seconds not
 milliseconds.

You should be able to use the value returned by the lastModified() method of 
a Java file object to create and instance of a java.util.Date object. 
Something like:

createObject(java,java.util.Date).init(javaFileObject.lastModified())

I use this solution inside this CFC:
http://www.olimpo.ch/tmt/cfc/tmt_file_io/


Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


RE: improved js for form validation?

2007-03-08 Thread Robert Rawlins - Think Blue
I still don't get why people use JS for form validation, Why not just place
some decent server side stuff on it? It's allot less hassle and allot more
secure.

Rob

-Original Message-
From: Massimo Foti [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 09:28
To: CF-Talk
Subject: Re: improved js for form validation?

 Does anyone know if there are improved form validation scripts available
 for download (yes, I know I can make my own).  

This can be worth a look:
http://www.massimocorner.com/validator/



 Specifically, if I use
 validate=integer, it is approving a value of 1+. 

http://www.massimocorner.com/validator/reference/index.htm

  
Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
  




~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


Re: improved js for form validation?

2007-03-08 Thread Massimo Foti
 I still don't get why people use JS for form validation,

Maybe because it allows for a better user's exerience ? :-)



 Why not just place some decent server side stuff on it?

I use both client and server-side validation. Many people consider it a best 
practice



 It's allot less hassle and allot more secure.

It's less hassle for the developer, much more hassle for the user


Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com





~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


Hash Algorithems

2007-03-08 Thread Robert Rawlins - Think Blue
Hello Guys,

 

For a while I've been wondering about the HASH() function and the different
algorithms available on it, the cfdocs list the following.

 

.. CFMX_COMPAT: Generates a hash string identical to that generated
by ColdFusion MX and ColdFusion MX 6.1 (default). 

.. MD5: (Default) Generates a 32-character, hexadecimal string, using
the MD5 algorithm (The algorithm used in ColdFusion MX and prior releases). 

.. SHA: Generates a 28-character string using the Secure Hash
Standard SHA-1 algorithm specified by Nation Institute of Standards and
Technology (NIST) FIPS-180-2. 

.. SHA-256: Generates a 44-character string using the SHA-256
algorithm specified by FIPS-180-2. 

.. SHA-384: Generates a 64-character string using the SHA-384
algorithm specified by FIPS-180-2. 

.. SHA-512: Generates an 88-character string using the SHA-1
algorithm specified by FIPS-180-2. 

 

Presumably they become more complex, and therefore more secure from top to
bottom, so why would you not specify the SHA-512 on all hash encryption you
do, I know that hash is generally regarded as a one way encryption so why do
they do different levels?

 

I'd be interested to hear if anyone knows much about this stuff,

 

Rob 



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


Re: Hash Algorithems

2007-03-08 Thread Tom Chiverton
On Thursday 08 Mar 2007, Robert Rawlins - Think Blue wrote:
 Presumably they become more complex, and therefore more secure from top to
 bottom, so why would you not specify the SHA-512 on all hash encryption you
 do, I know that hash is generally regarded as a one way encryption so why
 do they do different levels?

Maybe Something Else doesn't understand SHA512.
Maybe SHA512 takes too long to generate.

-- 
Tom Chiverton
Helping to adaptively seize interactive deliverables
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.


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


RE: improved js for form validation?

2007-03-08 Thread Robert Rawlins - Think Blue
I'm not so sure I agree that it does benefit the user experience, Perhaps
for some of the more complex validations, but generally when I click the
'submit' button and I get a horrible windows style 'BP!!!' and a notice
window that I've missed out my name I find it to be a little offensive more
than helpful.

With the server side validation you can have it pass the user back to the
form with subtle highlights and suggestions as to where they missed a few
things, far more pleasant, far more informative.

I've never really seen client side validation to be beneficial as it takes
all the additional time to code and test, and then you have to consider that
over 20% or browsers have JS disabled and wouldn't be able to take advantage
anyway, so you're probably going to kiss good bye to the accessibility of
your site.

The studies run about the drop in JavaScript support by users seemed to find
the core reason for disabling it was down to it being an annoyance rather
than any form of benefit.

Server side is accessible, quick and easy to maintain and develop, and is
totally secure as its not reliant on the client to support it, it serves all
purposes, I've always seen JavaScript validation to be solving a problem
that doesn't exist.

Rob

-Original Message-
From: Massimo Foti [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 10:07
To: CF-Talk
Subject: Re: improved js for form validation?

 I still don't get why people use JS for form validation,

Maybe because it allows for a better user's exerience ? :-)



 Why not just place some decent server side stuff on it?

I use both client and server-side validation. Many people consider it a best

practice



 It's allot less hassle and allot more secure.

It's less hassle for the developer, much more hassle for the user


Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com







~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


RE: Hash Algorithems

2007-03-08 Thread Robert Rawlins - Think Blue
Ok thanks for that Tom, I'd made an educated guess about the performance of
generating a SHA-512, it just interested me.

Thanks again for that tid-bit

Rob

-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 10:19
To: CF-Talk
Subject: Re: Hash Algorithems

On Thursday 08 Mar 2007, Robert Rawlins - Think Blue wrote:
 Presumably they become more complex, and therefore more secure from top to
 bottom, so why would you not specify the SHA-512 on all hash encryption
you
 do, I know that hash is generally regarded as a one way encryption so why
 do they do different levels?

Maybe Something Else doesn't understand SHA512.
Maybe SHA512 takes too long to generate.

-- 
Tom Chiverton
Helping to adaptively seize interactive deliverables
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.




~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


Re: improved js for form validation?

2007-03-08 Thread Massimo Foti
 I'm not so sure I agree that it does benefit the user experience, Perhaps
 for some of the more complex validations, but generally when I click the
 'submit' button and I get a horrible windows style 'BP!!!' and a 
 notice
 window that I've missed out my name I find it to be a little offensive 
 more
 than helpful.

There are better options that 'BP!!!' :-)
Something like this is, in my opinion, does benefit the user experience:
http://www.massimocorner.com/validator/samples/custom_error.htm

Of course, it's just a matter of opinions.



 With the server side validation you can have it pass the user back to the
 form with subtle highlights and suggestions as to where they missed a few
 things, far more pleasant, far more informative.

See above, you can do the same client-side, without reloading the page.



 I've never really seen client side validation to be beneficial as it takes
 all the additional time to code and test,

It's, again, a matter of opinions. I developed a dedicated library just for 
that. I write the code just once and it implements validation both on the 
client and server-side. The client-side library is available for download, 
the server-side is not (not yet at least)



 and then you have to consider that
 over 20% or browsers have JS disabled and wouldn't be able to take 
 advantage
 anyway, so you're probably going to kiss good bye to the accessibility of
 your site.

20%??? Come on, even the most anti-JS zealots will never agree on this 
number :-)))

BTW Any serious stat that consider the percentage of JS disabled should 
exclude search engine robots, I haven't seen one that does.



 so you're probably going to kiss good bye to the accessibility of
 your site.

Again, on public facing websites I use both.



 Server side is accessible, quick and easy to maintain and develop, and is
 totally secure as its not reliant on the client to support it, it serves 
 all
 purposes, I've always seen JavaScript validation to be solving a problem
 that doesn't exist.

We just disagree on this. It's fine for me.


Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com



~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


CF Report Builder

2007-03-08 Thread James Smith
Has anyone got report builder to install on Vista? I have tried more than
once now and on all occasions it gets through to the Installing stage and
then just stops requiring Task Manager to end it as javaw.exe seems to be
having problems.

I do have an XP install running in Virtual PC 2007 but I would prefer not
to use it unless I have to!

--
Jay



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


RE: CF Report Builder

2007-03-08 Thread Robert Rawlins - Think Blue
Afternoon Jay,

Which version of vista are you running, home, business, ultimate? I would
recommend running the install as Administrator and in XP Compatibility mode,
you can do this by right clicking the install exe and choosing properties,
and then the 'compatibility' tab.

Hope that helps,

Rob

-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 11:19
To: CF-Talk
Subject: CF Report Builder

Has anyone got report builder to install on Vista? I have tried more than
once now and on all occasions it gets through to the Installing stage and
then just stops requiring Task Manager to end it as javaw.exe seems to be
having problems.

I do have an XP install running in Virtual PC 2007 but I would prefer not
to use it unless I have to!

--
Jay





~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Re: Coldfusion 7 Real World-Examples language problem

2007-03-08 Thread Paul Hastings
Siegfried Dolleisch wrote:
 what are the basics to create a web site in farsi? 1) HTML-Header: meta
 http-equiv=Content-Type content=text/html; charset=utf-8 /

cf ignores this but useful for spiders, etc.

 2) Change the field typs to nvarchar an ntext in the database

and generally increase their sizes, english is a rather terse language compared
to some.

 3) cfset SetEncoding(FORM, UTF-8)/ if I work with the CFFORM-tag

and url if you pass stuff via that. you missed cfprocessingdirective 
cfcontent. seEncoding, cfcontent can go i application.cfm or it's equivalent.
cfprocessingdirective should be top of every page.

 4) Have to change my provider anything else (SQL-Database and CF-Server)? I
 have no access, therefore I have to do exact instructions to him.

go for cf7.
 
 Here an example: http://www.islamo.net/persisch.cfm and here is the code:
 http://www.islamo.net/persisch.txt My Problem, the field length (nvarchar) in
 the database is 200, but I can only insert 28 character (in arabic language!)
 in the input field... More then 28 character, I get an error.
 
 This ist the entry in the dabase of 28 characters (!): 
 #1579;#1579;#1602;#1602;#1601;#1601;#1594;#1594;#1593;#1593;#1607;#1607;665544#1576;#1576;#1604;#1604;#1575;#1575;#1575;#1575;#1578;#1578;#1602;#1602;#1602;#1602;#1602;
 
that's a heck of lot more than 28 chars, it's 190. that looks like NCR. how 
did 
that get into your db?

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Re: Coldfusion 7 Real World-Examples language problem

2007-03-08 Thread Paul Hastings
Siegfried Dolleisch wrote:
 Here an example: http://www.islamo.net/persisch.cfm and here is the code: 
 http://www.islamo.net/persisch.txt

something strange, that page comes up in FF as iso-8859-1  when i insert 
arabic/farsi into that page i get mojibake.

and i also forgot about RTL issues for your perisan language pages.

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


bad cfc practice but why?

2007-03-08 Thread Richard Cooper
Hi all,

I've been using CFC's for a short while now and I'm really liking them. I can 
really speed up developments now by reusing code. 

Thing is I know I'm not supposed to put any presentation stuff in them. But say 
for example I had a poll cfc. I can run all of the actions through the CFC 
fine, but why not add some optional basic html (i.e. form  results) so that if 
wanted, the whole poll could be encapsulated within the one file and in theory 
could be added to any site with just a couple of lines of code. If the basic 
form  results didn't suit I could then go for a tailored option for the sites 
that needed it but all would still be based on the one cfc. 

So would this a bad thing and why?

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


RE: bad cfc practice but why?

2007-03-08 Thread Doug Brown
Richard


If that is what you are looking for, then what you are talking about would
be a custom tag. CFC's are only available during the call to one of it's
functions and cannot be cfincluded as a custom tag. There is nothing
stopping you from using the old way of combining logic and presentation
though in a regular cfm file.




Doug



-Original Message-
From: Richard Cooper [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 3:42 AM
To: CF-Talk
Subject: bad cfc practice but why?

Hi all,

I've been using CFC's for a short while now and I'm really liking them. I
can really speed up developments now by reusing code. 

Thing is I know I'm not supposed to put any presentation stuff in them. But
say for example I had a poll cfc. I can run all of the actions through the
CFC fine, but why not add some optional basic html (i.e. form  results) so
that if wanted, the whole poll could be encapsulated within the one file and
in theory could be added to any site with just a couple of lines of code. If
the basic form  results didn't suit I could then go for a tailored option
for the sites that needed it but all would still be based on the one cfc. 

So would this a bad thing and why?



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

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


RE: bad cfc practice but why?

2007-03-08 Thread Paul Vernon
 Thing is I know I'm not supposed to put any presentation 
 stuff in them. But say for example I had a poll cfc. I can 
 run all of the actions through the CFC fine, but why not add 
 some optional basic html (i.e. form  results) so that if 
 wanted, the whole poll could be encapsulated within the one 
 file and in theory could be added to any site with just a 
 couple of lines of code. If the basic form  results didn't 
 suit I could then go for a tailored option for the sites that 
 needed it but all would still be based on the one cfc. 
 
 So would this a bad thing and why?

I think there are always exceptions to the rule on this, in our e-Commerce
system, there are several places where I would want to render a shopping
basket and I need to render it in both HTML and text only versions. If I
were to do these sections of code outside of the CFC's then it would be a
nightmare however, having a couple of functions in the basket CFC to
renderHTMLBasket and renderTEXTBasket means that I have complete consistency
across the site and I only have to bug fix/maintain a couple of functions.

What those functions *don't* do is output any HTML or TEXT direct to the
calling page, instead, I use cfsavecontent and return the generated content
from the functions as a string. That way, I am still keeping the CFC's away
from direct interaction with the pages but I am generating a small amount of
content using those same CFC's.

HTH

Paul



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


RE: bad cfc practice but why?

2007-03-08 Thread Robert Rawlins - Think Blue
Doug is right, the idea is that you keep your logic and presentation
separate. If you want all the forms and things to be reusable, keep them out
of your CFC's and build a CFM file, this can then be called a custom tag, or
with a cfinclude at any point in the application.

Have a read of this
http://www.adobe.com/devnet/coldfusion/articles/oo_interface.html its what
got me started when I was first using CFC's and wanted to move to a more oo
based interface.

Rob

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 12:33
To: CF-Talk
Subject: RE: bad cfc practice but why?

Richard


If that is what you are looking for, then what you are talking about would
be a custom tag. CFC's are only available during the call to one of it's
functions and cannot be cfincluded as a custom tag. There is nothing
stopping you from using the old way of combining logic and presentation
though in a regular cfm file.




Doug



-Original Message-
From: Richard Cooper [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 3:42 AM
To: CF-Talk
Subject: bad cfc practice but why?

Hi all,

I've been using CFC's for a short while now and I'm really liking them. I
can really speed up developments now by reusing code. 

Thing is I know I'm not supposed to put any presentation stuff in them. But
say for example I had a poll cfc. I can run all of the actions through the
CFC fine, but why not add some optional basic html (i.e. form  results) so
that if wanted, the whole poll could be encapsulated within the one file and
in theory could be added to any site with just a couple of lines of code. If
the basic form  results didn't suit I could then go for a tailored option
for the sites that needed it but all would still be based on the one cfc. 

So would this a bad thing and why?





~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


RE: CF Report Builder

2007-03-08 Thread James Smith
Afternoon Rob

It is ultimate, and yes, that fixed it nicely, cheers.

Jay

-Original Message-
From: Robert Rawlins - Think Blue
[mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 11:24
To: CF-Talk
Subject: RE: CF Report Builder

Afternoon Jay,

Which version of vista are you running, home, business, ultimate? I would
recommend running the install as Administrator and in XP Compatibility mode,
you can do this by right clicking the install exe and choosing properties,
and then the 'compatibility' tab.

Hope that helps,

Rob

-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 11:19
To: CF-Talk
Subject: CF Report Builder

Has anyone got report builder to install on Vista? I have tried more than
once now and on all occasions it gets through to the Installing stage and
then just stops requiring Task Manager to end it as javaw.exe seems to be
having problems.

I do have an XP install running in Virtual PC 2007 but I would prefer not
to use it unless I have to!

--
Jay







~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


RE: CF Report Builder

2007-03-08 Thread Robert Rawlins - Think Blue
No worries bud, Ultimate edition really is ULTIMATE, I love it, that 
compatibility tip comes in pretty handy as UE is quite different from the XP 
architecture and it'll take the app devs a while to get their head around it.

Glad it worked,

Rob

-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 13:00
To: CF-Talk
Subject: RE: CF Report Builder

Afternoon Rob

It is ultimate, and yes, that fixed it nicely, cheers.

Jay

-Original Message-
From: Robert Rawlins - Think Blue
[mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 11:24
To: CF-Talk
Subject: RE: CF Report Builder

Afternoon Jay,

Which version of vista are you running, home, business, ultimate? I would
recommend running the install as Administrator and in XP Compatibility mode,
you can do this by right clicking the install exe and choosing properties,
and then the 'compatibility' tab.

Hope that helps,

Rob

-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 11:19
To: CF-Talk
Subject: CF Report Builder

Has anyone got report builder to install on Vista? I have tried more than
once now and on all occasions it gets through to the Installing stage and
then just stops requiring Task Manager to end it as javaw.exe seems to be
having problems.

I do have an XP install running in Virtual PC 2007 but I would prefer not
to use it unless I have to!

--
Jay









~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Re: bad cfc practice but why?

2007-03-08 Thread Michael Dinowitz
This is not a rule of CFCs, just a 'suggestion' from some of the people using 
them. There logic is to separate the logic of an application from its 
presentation. This allows for easy change of the presentation without touching 
the logic. The argument is logical, but not necessarily the rule. 

I ignore it when logic dictates that it should be ignored. For example, I have 
a single comment component that has all of the code and display to handle a 
comment. I see no reason to have the display in another template and if someone 
else was using the component and wanted a different display, they could just 
inherit my component and change the display method. But that might be 
considered bad OOP, which is an argument I also ignore when logic dictates.

If you find that you have a reason to include display in the same component as 
logic, pay particular attention to the output attribute and what it does. 

 Thing is I know I'm not supposed to put any presentation stuff in them. 
 But say for example I had a poll cfc. I can run all of the actions 
 through the CFC fine, but why not add some optional basic html (i.e. 
 form  results) so that if wanted, the whole poll could be 
 encapsulated within the one file and in theory could be added to any 
 site with just a couple of lines of code. If the basic form  results 
 didn't suit I could then go for a tailored option for the sites that 
 needed it but all would still be based on the one cfc. 
 
 So would this a bad thing and why?

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271994
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 Formatter needed

2007-03-08 Thread Greg Luce
The codesweeper in Homesite works great. Customize one to your liking and
every time you open a new file hit it and bob's your uncle! I've been using
it for years. I absolutely HATE working in poorly formatted code.

Greg

On 3/8/07, Andrew Scott [EMAIL PROTECTED] wrote:

 Ok well if Mark Drew is listening maybe he will include that in cfeclipse
 then.

 Now something like that would be damn handy, and not code reformating that
 I
 am used too.



 On 3/8/07, Peter Reitberger [EMAIL PROTECTED] wrote:
 
  Can you explain what you want it to do...
 
  Well at least it should take care of a proper indention so that code is
  (more) readable. I have some old code here that I have to understand. It
 is
  rather spaghetti and people did indent their cfifs and cfelse and HTML
  tags in different styles, using tabs, 0 to 8 blanks, etc. You can not
 grasp
  the control flow without reformatting (manually) first.
 
  Personally I think a 'clean' looking code is the first thing to pursue
 in
  any language (which does not prevent bugs of course). It should be done
 with
  the support of the IDE.
  I think the Eclipse code formatter for Java is excellent. I use it
  frequently and it never spoiled my code. I hope to find something like
 that
  for CF.
 
Peter
 
 

 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Re: bad cfc practice but why?

2007-03-08 Thread Cutter (CFRelated)
I remember, way back in the day, building my first e-comm application 
for a client. I used an open source javascript cart called Nopcart. It 
was fairly easy to implement and adjust, and part of the beauty of it 
was the ability to place a small line of code [showCart()] on any page 
and it laid everything out for me. I included it's .js file in dozens of 
sites, dropped in my method where I need it, and there she was.

I am a firm believer in OO principals, separating the view from the 
logic and data manipulation, but there are times where it can and does 
make sense. Paul's suggestion is how I would handle it, use 
cfsavecontent and return the display as a string: i.e. 
myPollObj.showResults(). I personally would have these types of 
functions at the bottom of a CFC, grouped together, so that anytime you 
have to make adjustments they are always in the same place. Or, 
possibly, a collection of CFC's. Bean/DAO/Gateway objects, service 
layer, display layer type set up. Document your code well, scope your 
vars, and have fun with it. No one way is the right way, and every new 
challenge is a learning experience.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Richard Cooper wrote:
 Hi all,
 
 I've been using CFC's for a short while now and I'm really liking them. I can 
 really speed up developments now by reusing code. 
 
 Thing is I know I'm not supposed to put any presentation stuff in them. But 
 say for example I had a poll cfc. I can run all of the actions through the 
 CFC fine, but why not add some optional basic html (i.e. form  results) so 
 that if wanted, the whole poll could be encapsulated within the one file and 
 in theory could be added to any site with just a couple of lines of code. If 
 the basic form  results didn't suit I could then go for a tailored option 
 for the sites that needed it but all would still be based on the one cfc. 
 
 So would this a bad thing and why?
 
 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


JS Help

2007-03-08 Thread Steve LaBadie
I hope it's ok to post this here.

 

I have created an onmouseover pop-up window, which closes with
onmouseout.  Works fine in IE6, but creates multiple windows in Firefox.
Any ideas?

 

script language=JavaScript type=text/javascript

!-- 

function openWindow(url, name) {

myWin = window.open(,, width=300,height=250);

myWin.document.write (bodytexttexttext);

myWin.document.write (/body/html);

myWin.document.close();

}

function closeIt() {

if (!myWin.closed)

myWin.self.close()

}

//--

/script

 

a href=javascript:void() onMouseOver=openWindow()
onMouseOut=closeIt() onClick=return falseRonald Louis/a

 

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
http://www.esu.edu http://www3.esu.edu 

 



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

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


RE: CF Report Builder

2007-03-08 Thread James Smith
While on the subject of report builder, how can you do conditional queries?
For example on a cfm template I could use the following...

cfquery
SELECT *
FROM aTable
cfif isDefined('url.someVar')
WHERE someID = #url.somevar#
/cfif
ORDER BY someID
/cfquery

However this is not possible in report builder so I currently use two
separate cfr files.  Is there an alternative to this?

--
Jay



~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


RE: bad cfc practice but why?

2007-03-08 Thread Dwayne Cole
Likewise this works fine for me.  I still seperate the logic from display.  I 
have two cfc's one that contains database logic and the other contains display 
logic.  So considering your poll example I have a modPoll.cfc and a viewPoll.cfc
   




-- Original Message --
From: Paul Vernon [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 8 Mar 2007 12:40:30 -


 Thing is I know I'm not supposed to put any presentation 
 stuff in them. But say for example I had a poll cfc. I can 
 run all of the actions through the CFC fine, but why not add 
 some optional basic html (i.e. form  results) so that if 
 wanted, the whole poll could be encapsulated within the one 
 file and in theory could be added to any site with just a 
 couple of lines of code. If the basic form  results didn't 
 suit I could then go for a tailored option for the sites that 
 needed it but all would still be based on the one cfc. 
 
 So would this a bad thing and why?

I think there are always exceptions to the rule on this, in our e-Commerce
system, there are several places where I would want to render a shopping
basket and I need to render it in both HTML and text only versions. If I
were to do these sections of code outside of the CFC's then it would be a
nightmare however, having a couple of functions in the basket CFC to
renderHTMLBasket and renderTEXTBasket means that I have complete consistency
across the site and I only have to bug fix/maintain a couple of functions.

What those functions *don't* do is output any HTML or TEXT direct to the
calling page, instead, I use cfsavecontent and return the generated content
from the functions as a string. That way, I am still keeping the CFC's away
from direct interaction with the pages but I am generating a small amount of
content using those same CFC's.

HTH

Paul





~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

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


Re: Text Similarity Algorithm

2007-03-08 Thread Chris Long
Thank you so much for the link!  That was exactly what I was looking for.

 Let me know, if you need a CFX tag for this ($$).

Since I've never tried creating my own CFX tag before, I'd be interested.  How 
much are you asking?

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


Re: bad cfc practice but why?

2007-03-08 Thread Dave Ferguson
One thing to keep in mind is that best practice is not always that.  Best 
practice  is not a one size fits all type thing.  Use what works for your 
application.  If you happen to need to break out of what has been deemed best 
practice than so be it.  I recently built an app that is all built on CFCs and 
a lot of them contain presentation code.  This is because the presentation was 
reused for different sections of the site.

--Dave
www.dkferguson.com/BlogCFC


Richard


If that is what you are looking for, then what you are talking about would
be a custom tag. CFC's are only available during the call to one of it's
functions and cannot be cfincluded as a custom tag. There is nothing
stopping you from using the old way of combining logic and presentation
though in a regular cfm file.




Doug



-Original Message-
From: Richard Cooper [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 3:42 AM
To: CF-Talk
Subject: bad cfc practice but why?

Hi all,

I've been using CFC's for a short while now and I'm really liking them. I
can really speed up developments now by reusing code. 

Thing is I know I'm not supposed to put any presentation stuff in them. But
say for example I had a poll cfc. I can run all of the actions through the
CFC fine, but why not add some optional basic html (i.e. form  results) so
that if wanted, the whole poll could be encapsulated within the one file and
in theory could be added to any site with just a couple of lines of code. If
the basic form  results didn't suit I could then go for a tailored option
for the sites that needed it but all would still be based on the one cfc. 

So would this a bad thing and why?

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272003
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 Formatter needed

2007-03-08 Thread Mark Drew
I am listening and nodding... and going... right.. I have an idea for  
that...

OF course a bit of $$ incentive would be nice ;)

MD



On 8 Mar 2007, at 09:11, Andrew Scott wrote:

 Ok well if Mark Drew is listening maybe he will include that in  
 cfeclipse
 then.

 Now something like that would be damn handy, and not code  
 reformating that I
 am used too.



 On 3/8/07, Peter Reitberger [EMAIL PROTECTED] wrote:

 Can you explain what you want it to do...

 Well at least it should take care of a proper indention so that  
 code is
 (more) readable. I have some old code here that I have to  
 understand. It is
 rather spaghetti and people did indent their cfifs and cfelse  
 and HTML
 tags in different styles, using tabs, 0 to 8 blanks, etc. You can  
 not grasp
 the control flow without reformatting (manually) first.

 Personally I think a 'clean' looking code is the first thing to  
 pursue in
 any language (which does not prevent bugs of course). It should be  
 done with
 the support of the IDE.
 I think the Eclipse code formatter for Java is excellent. I use it
 frequently and it never spoiled my code. I hope to find something  
 like that
 for CF.

   Peter



 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Oracle 10g Express Quotes or no Quotes?

2007-03-08 Thread Dawn Sekel
I am trying to transfer an application from MSAccess into Oracle 10g.  I the 
free version of Oracle 10g Express running locally for development purposes 
before uploading to the test server. I have used older versions of Oracle, but 
never 10g.  It has been a while, but I do not ever remember having to put 
everything in quotes before. However, the only way I can get table creates and 
record inserts to work is by putting everything in quotes including the table 
name.  When I look at examples of other Oracle SQL on the Internet, I'm not 
seeing this format.  Is what I am experiencing correct or is there some setting 
I don't know about?  Thanks in advance for any advice.  This is the query I 
have gotten to work.  

cfquery name=tableCreate datasource=#session.systemTables#
CREATE table systemRoles (
roleID   NUMBER,
description  VARCHAR2(50),
viewable NUMBER,
help VARCHAR2(256),
createdDate  DATE,
createdByNUMBER,
modifiedDate DATE,
modifiedBy   NUMBER,
constraint  systemRoles_PK primary key (roleID)
)

/cfquery



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Re: File Size

2007-03-08 Thread Dave Ferguson
From my experience CF is not good at handling large file uploads.  I have 
always ran into memory issues on the server using cf for uploads.  That being 
said, it works great for small files but once you get over the 10mb I would 
suggest using something else.  I use a java applet to do file uploads now 
instead.

--Dave
www.dkferguson.com/BlogCFC  

 Hi all,
 
 Seem to remember reading somewhere that there is a maximum file size 
 for file uploads via a form for either IE or coldfusion. Does anyone 
 know the largest doc that can be uploaded via a standard form?
 Thanks,
 
R

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


cfform flash cfselect not showing items in the list

2007-03-08 Thread Doug Brown
My servers had been running fine till I got hit with a virus last week that 
shut down everything. I reloaded Windows 2003, Coldfusion MX7.02 and I use 
SWSofts Plesk server management software.

Before the sever outage, all of my coldfusion flash forms worked exactly as 
coded and expected. Now that I have reloaded everything, the flash forms work 
with the exception of the cfselect lists/menus. The cfselect lists are visible, 
but are empty. I have tried everything even reloading the Coldfusion server and 
I still have the same problem. I have a test page located at 
www.moxysportswear.com/included/forms.cfm.

Here is the Salutaion cfselect statement that I have in the code:
cfselect name=salutation style=color:##00;  size=1
option value=MrMr.
option value=MrsMrs.
option value=MissMs.
option value=MadameMadam
option value=SirSir
/cfselect

Please, if anyone has dealt with this let me know what I can do to fix this. I 
will be adding a large amount of cfselect statements throughout the website and 
I need to get this fixed as soon as possible. I know there must have been a bug 
or upload that I must have done within the past year, but I cannot figure out 
what it is.

Thanks,
Doug Brown
Moxy Sportswear

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Is there a Basecamp.cfc?

2007-03-08 Thread Andy Matthews
I'm trying to find out if someone has already written a CFC which ties into
Basecamp's API. I've got a client who wants to pull data from Basecamp to
generate additional reports on their time tracking. I'm thinking this would
be a great open source project, but I want to find out if someone has
already done it before I write it myself.
 

 
Andy Matthews
Senior Coldfusion Developer

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


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


Re: Smart Names implementation

2007-03-08 Thread Tom McNeer
Jake,

You're getting into an area that has been wrestled with for years, and the
true solutions are very, very complex. So your choices on implementation
will depend on just far into the forest you want to go.

Do a Google search on fuzzy name matching. You'll find links to academic
white papers discussing types of algorithms that are used in some
implementations. You'll also find a number of vendors selling specific
software solutions to do this.

Folks like the phone companies began working on this problem probably 30
years ago, for the directory software used by operators and others.

I just looked into this subject for a client. In their case, we wrote some
specific matching rules that fit their situation. We considered adding a
nicknames table; but in their case, it seemed likely that most names in
their database would have been entered as a person's full, formal name. We
added soundex to the rules, and came up with our own ranking system for the
matches.

A word about SoundEx -- unless you keep the similarity factor set to return
only very close matches, you'll get some incredibly bad attempts at
matching.

SoundEx would be more likely to catch typos, but would miss a lot of
nickname variations.

As I say, fuzzy name matching is a very large-scale software challenge that
people have thrown millions of dollars at. You just have to determine what's
practical for your needs.


-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


RE: cfform flash cfselect not showing items in the list

2007-03-08 Thread Adkins, Randy
Page not found 

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 8:58 AM
To: CF-Talk
Subject: cfform flash cfselect not showing items in the list 

My servers had been running fine till I got hit with a virus last week
that shut down everything. I reloaded Windows 2003, Coldfusion MX7.02
and I use SWSofts Plesk server management software.

Before the sever outage, all of my coldfusion flash forms worked exactly
as coded and expected. Now that I have reloaded everything, the flash
forms work with the exception of the cfselect lists/menus. The cfselect
lists are visible, but are empty. I have tried everything even reloading
the Coldfusion server and I still have the same problem. I have a test
page located at www.moxysportswear.com/included/forms.cfm.

Here is the Salutaion cfselect statement that I have in the code:
cfselect name=salutation style=color:##00;  size=1
option value=MrMr.
option value=MrsMrs.
option value=MissMs.
option value=MadameMadam
option value=SirSir
/cfselect

Please, if anyone has dealt with this let me know what I can do to fix
this. I will be adding a large amount of cfselect statements throughout
the website and I need to get this fixed as soon as possible. I know
there must have been a bug or upload that I must have done within the
past year, but I cannot figure out what it is.

Thanks,
Doug Brown
Moxy Sportswear



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Re: bad cfc practice but why?

2007-03-08 Thread Christopher Jordan
Paul,

I've been doing the exact same thing... well, not with a shopping cart, 
so not *eaxctly*, but still...
I've got a CFC that I call display.cfc. It's whole purpose in life is to 
generate screen layouts and return the HTML as a string to the calling 
page where I then display the content that was returned by the cfc.

So I've got a shell file (index.cfm/htm) and it has a menu bar at the 
top (jdMenu for jQuery). Items on this menu bar generate different 
screens (a password change screen, a user add screen, a title loan 
worksheet, etc.). Each screen is a function in my display.cfc. I call 
the appropriate method using AjaxCFC, and the returned html is then 
displayed inside of my MainContent div. I also use the cfsavecontent 
method to collect all that html into a single variable. The result is 
that my app switches between these screens seamlessly without having to 
refresh the page. Meantime most of the hard work is done by ColdFusion.

It's cool to see that I'm not the only one doing this sort of thing. :o)

Chris

Paul Vernon wrote:
 Thing is I know I'm not supposed to put any presentation 
 stuff in them. But say for example I had a poll cfc. I can 
 run all of the actions through the CFC fine, but why not add 
 some optional basic html (i.e. form  results) so that if 
 wanted, the whole poll could be encapsulated within the one 
 file and in theory could be added to any site with just a 
 couple of lines of code. If the basic form  results didn't 
 suit I could then go for a tailored option for the sites that 
 needed it but all would still be based on the one cfc. 

 So would this a bad thing and why?
 

 I think there are always exceptions to the rule on this, in our e-Commerce
 system, there are several places where I would want to render a shopping
 basket and I need to render it in both HTML and text only versions. If I
 were to do these sections of code outside of the CFC's then it would be a
 nightmare however, having a couple of functions in the basket CFC to
 renderHTMLBasket and renderTEXTBasket means that I have complete consistency
 across the site and I only have to bug fix/maintain a couple of functions.

 What those functions *don't* do is output any HTML or TEXT direct to the
 calling page, instead, I use cfsavecontent and return the generated content
 from the functions as a string. That way, I am still keeping the CFC's away
 from direct interaction with the pages but I am generating a small amount of
 content using those same CFC's.

 HTH

 Paul



 

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


Re: bad cfc practice but why?

2007-03-08 Thread Richard Cooper
Thanks for your replies. Seems like there is a little bit of a split on this 
one. 

My gut tells me the savecontent way should cover my purposes, hopefully it 
won't come back to haunt me :)

Thanks again.

Richard

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


Re: cfform flash cfselect not showing items in the list

2007-03-08 Thread Doug Brown
I apologize, I listed the wrong directory. 
corrected page location, http://www.moxysportswear.com/includes/forms.cfm


 My servers had been running fine till I got hit with a virus last week 
 that shut down everything. I reloaded Windows 2003, Coldfusion MX7.02 
 and I use SWSofts Plesk server management software.
 
 Before the sever outage, all of my coldfusion flash forms worked 
 exactly as coded and expected. Now that I have reloaded everything, 
 the flash forms work with the exception of the cfselect lists/menus. 
 The cfselect lists are visible, but are empty. I have tried everything 
 even reloading the Coldfusion server and I still have the same problem. 
 I have a test page located at www.moxysportswear.com/included/forms.
 cfm.
 
 Here is the Salutaion cfselect statement that I have in the code:
 cfselect name=salutation style=color:##00;  size=1

 option value=MrMr.

 option value=MrsMrs.

 option value=MissMs.

 option value=MadameMadam

 option value=SirSir

 /cfselect
 
 Please, if anyone has dealt with this let me know what I can do to fix 
 this. I will be adding a large amount of cfselect statements 
 throughout the website and I need to get this fixed as soon as 
 possible. I know there must have been a bug or upload that I must have 
 done within the past year, but I cannot figure out what it is.
 
 Thanks,
 Doug Brown
 Moxy 
Sportswear

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


RE: bad cfc practice but why?

2007-03-08 Thread Gaulin, Mark
I think Mike nailed it.

People who say that CFC should not create html must also think that no
class in java can create output, and that clearly won't fly (since java
has nothing but classes).  CFCs should have a single, clear purpose. If
that purpose includes creating html than so be it.  The OO property of
encapsulation key; define your interfaces (the public functions)
carefully and you'll be in a good place.  These says I create Custom
Tags less and less often.  They are still useful, of course, and
sometimes they are perfect for the problem at hand, but CFCs are so
flexible and powerful that I use them for may tasks that I would had
done with Custom Tags before.

-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 6:59 AM
To: CF-Talk
Subject: Re: bad cfc practice but why?

This is not a rule of CFCs, just a 'suggestion' from some of the people
using them. There logic is to separate the logic of an application from
its presentation. This allows for easy change of the presentation
without touching the logic. The argument is logical, but not necessarily
the rule. 

I ignore it when logic dictates that it should be ignored. For example,
I have a single comment component that has all of the code and display
to handle a comment. I see no reason to have the display in another
template and if someone else was using the component and wanted a
different display, they could just inherit my component and change the
display method. But that might be considered bad OOP, which is an
argument I also ignore when logic dictates.

If you find that you have a reason to include display in the same
component as logic, pay particular attention to the output attribute and
what it does. 

 Thing is I know I'm not supposed to put any presentation stuff in
them. 
 But say for example I had a poll cfc. I can run all of the actions 
 through the CFC fine, but why not add some optional basic html (i.e.
 form  results) so that if wanted, the whole poll could be 
 encapsulated within the one file and in theory could be added to any 
 site with just a couple of lines of code. If the basic form  results 
 didn't suit I could then go for a tailored option for the sites that 
 needed it but all would still be based on the one cfc.
 
 So would this a bad thing and why?



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


RE: bad cfc practice but why?

2007-03-08 Thread Ian Skinner
I don't know what the 10 replies to this original message are yet, but my 
thought is that it is not bad to put display logic in a CFC designed for the 
view layer, just don't blend other layer's logic in the same CFC; keep the 
separation.

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Sudoku
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


Re: Scheduled Task Times not saving

2007-03-08 Thread Dana Kowalski
Last yesterday afternoon I deleted all the tasks and set them back up form 
scratch. Today they are working fine again. darn hiccups =\

anyhow thanks for the info, at least I learned about the insane spaces in the 
time field (lol btw)


- dk

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


Re: Is there a Basecamp.cfc?

2007-03-08 Thread Dana Kowalski
http://www.imified.com/

IMified is build on top of Coldfusion and lets you interact with your basecamp 
account through any instant messenger service (except yahoo atm). pretty cool 
stuff. they also tie in to rememberthemilk and probably a dozen or so others.

I don't think the API they use is published however.

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


Re: Is there a Basecamp.cfc?

2007-03-08 Thread Rey Bango
Hi Dana,

IMified is a little different from Andy is looking for. He wants a 
component that will allow him to access the Basecamp API from within CF.

Rey...

Dana Kowalski wrote:
 http://www.imified.com/
 
 IMified is build on top of Coldfusion and lets you interact with your 
 basecamp account through any instant messenger service (except yahoo atm). 
 pretty cool stuff. they also tie in to rememberthemilk and probably a dozen 
 or so others.
 
 I don't think the API they use is published however.
 
 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


RE: Is there a Basecamp.cfc?

2007-03-08 Thread Andy Matthews
Right...

I've already started writing it. I'll probably have it done this weekend.
Then, I'll put it out there and get feedback from everyone. 

-Original Message-
From: Rey Bango [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 9:52 AM
To: CF-Talk
Subject: Re: Is there a Basecamp.cfc?

Hi Dana,

IMified is a little different from Andy is looking for. He wants a component
that will allow him to access the Basecamp API from within CF.

Rey...

Dana Kowalski wrote:
 http://www.imified.com/
 
 IMified is build on top of Coldfusion and lets you interact with your
basecamp account through any instant messenger service (except yahoo atm).
pretty cool stuff. they also tie in to rememberthemilk and probably a dozen
or so others.
 
 I don't think the API they use is published however.
 
 



~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


RE: Is there a Basecamp.cfc?

2007-03-08 Thread Andy Matthews
Thanks Dana...

Not quite what I'm needing, but thanks for the input. 

-Original Message-
From: Dana Kowalski [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 8:32 AM
To: CF-Talk
Subject: Re: Is there a Basecamp.cfc?

http://www.imified.com/

IMified is build on top of Coldfusion and lets you interact with your
basecamp account through any instant messenger service (except yahoo atm).
pretty cool stuff. they also tie in to rememberthemilk and probably a dozen
or so others.

I don't think the API they use is published however.



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


Re: Vista - too many files open error message- Dave watts?

2007-03-08 Thread Will Tomlinson
Dave,

She says, YOU DA MAN. Your solution worked perfectly.  :)

Thanks much dude,
Will

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


Validating with hidden form fields - how to use my own formatting for error messages?

2007-03-08 Thread Pete Ruckelshaus
I'm using CF's built-in form validation method that uses hidden form
fields for validation (see
http://livedocs.adobe.com/coldfusion/7/htmldocs/1385.htm#1154690)

How do I apply my own formatting to those error messages?

Thanks,

Pete

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

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


RE: Validating with hidden form fields - how to use my own formatting for error messages?

2007-03-08 Thread Ian Skinner
How do I apply my own formatting to those error messages?

One method is to use the cferror... tag.  You can use this tag to call any 
page you want to display this type of exceptions, and that page can then format 
the output as you desire.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Sudoku
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Re: File Size

2007-03-08 Thread Kris Jones
There can be limitations on upload size enforced at the webserver. In
IIS this is set in the metabase. Here is explanation of such for IIS:

http://technet2.microsoft.com/WindowsServer/en/library/c89bf2ae-f764-459d-bf4f-9f02afc45fa31033.mspx?mfr=true

Cheers,
Kris

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Re: CF Report Builder

2007-03-08 Thread Kris Jones
You could do the query in CF prior to calling the report, then pass
the query into the report. I think you could also setup a parameter to
the report, which when set would add the where clause as below? I've
not tested this as I always pass my queries into the report rather
than embed them.

Cheers,
Kris

 While on the subject of report builder, how can you do conditional queries?
 For example on a cfm template I could use the following...

 cfquery
 SELECT *
 FROM aTable
 cfif isDefined('url.someVar')
 WHERE someID = #url.somevar#
 /cfif
 ORDER BY someID
 /cfquery

 However this is not possible in report builder so I currently use two
 separate cfr files.  Is there an alternative to this?

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


cfforms - Please stop breaking my validation

2007-03-08 Thread Will Tomlinson
I hate to gripe again, I really do, but it seems that once I get hooked on 
another CF feature like xForms, somethin rears its ugly head. 

CF sticks this right above the form:
link href=/CFIDE/scripts/css/blue_style.css rel=stylesheet type=text/css 
media=all/

validator.w3.org LOVES this. It gives me a pretty red FAILED flag. 
Error  Line 113 column 92: document type does not allow element link here.

So to the CF team, please check these things when developing future versions. 
Stop  CF from generating invalid code. 

With that rant said, how can I get around it without ditching my fun xForms?? 

Thanks,
Will

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


RE: improved js for form validation?

2007-03-08 Thread Leitch, Oblio
First, thanks to everyone for responding.  However, I never intended to
start a flame war - the fact is I'm using JS and it's not working right.
Specifically, I'm using CF's built in validation for ranges in a
cfinput tag.  The trouble I'm having is it's accepting a value of
1+.  Technically, it contains a valid integer; however, the addition
of the plus sign invalidates the value as an integer.  I was really
hoping to illicit commentary about the methods CF's JS routine uses to
reach its decision.  I don't want to use another JS validation system
(unless I can find no other way), and I don't want to specially code my
processing to deal with one special case.

 

Does anyone know why CF's code would consider this valid?  Has there
been any attempts to improve the /CFIDE/scripts/cfform.js routines?

 

TIA,

 

Oblio


This email message may contain privileged and/or confidential information. If 
you are not the intended recipient(s), you are hereby notified that any 
dissemination, distribution, or copying of this email message is strictly 
prohibited. If you have received this message in error, please immediately 
notify the sender and delete this email message from your computer.



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Automated Local Printing of Remote Report

2007-03-08 Thread E C list
Hello- I am wondering if anyone has come up with any ways of automatically 
printing (locally) a remote cfreport or pdf file.  I'd like to print off some 
customer letters every day at 9am without human intervention, and in a robust 
sort of way.   I am sure I haven't thought of everything, but so far, the best 
I could do is to automate and ftp download of the report as a PDF and then use 
acrobat reader's command line print options to print it.  I also thought of 
using a macro generator that memorizes keystrokes, but I've always thought that 
those were a little bit quirky.
 
Thank you for any other ideas.
 
 
ps-  I think it would be great if Adobe expanded the CFReport Builder with some 
sort of scheduler for opening and printing remote cfreports.

 
-
Now that's room service! Choose from over 150,000 hotels 
in 45,000 destinations on Yahoo! Travel to find your fit.

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


RE: cfforms - Please stop breaking my validation

2007-03-08 Thread Andy Matthews
Other than for personal satisfaction, what does it matter if your page
validates? Does it validate if you take that line out? If that's all it is
then I wouldn't' worry about it. 

-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 9:28 AM
To: CF-Talk
Subject: cfforms - Please stop breaking my validation

I hate to gripe again, I really do, but it seems that once I get hooked on
another CF feature like xForms, somethin rears its ugly head. 

CF sticks this right above the form:
link href=/CFIDE/scripts/css/blue_style.css rel=stylesheet
type=text/css media=all/

validator.w3.org LOVES this. It gives me a pretty red FAILED flag. 
Error  Line 113 column 92: document type does not allow element link here.

So to the CF team, please check these things when developing future
versions. Stop  CF from generating invalid code. 

With that rant said, how can I get around it without ditching my fun
xForms?? 

Thanks,
Will



~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


Re: Validating with hidden form fields - how to use my own formatting for error messages?

2007-03-08 Thread Pete Ruckelshaus
Thanks Ian, that helped.

I found that using cferror doesn't allow me to use my normal site
template, so since I'm using application.cfc, I used the onError
method.  This is what I did, and it allowed me to use my normal site
template:

cffunction name=onError output=true
cfargument name=exception required=true/
cfargument name=eventName type=String required=true/
!--- Log all errors. ---

!--- Display an error message if there is a page context. ---
cfif (trim(arguments.eventName) IS NOT onSessionEnd) AND
(trim(arguments.eventName) IS NOT onApplicationEnd)
cflog file=#this.name# type=error text=Event name:
#arguments.eventName# 
cflog file=#this.name# type=error text=Message:
#arguments.exception.message#
cfif arguments.exception.stackTrace CONTAINS 
FormValidationException
cfset request.page.title = Form validation error
cfsavecontent variable=errorcontent
p class=action-responseA form validation 
error has occurred./p
ul

cfoutput#arguments.exception.errors#/cfoutput
/ul
p class=action-responsePlease a
href=javascript:history.go(-1);go back/a and correct the
problems./p
/cfsavecontent
cfelse
cfset request.page.title = An unexpected error has 
occurred
cfsavecontent variable=errorcontent
p class=action-responsePlease provide the 
following
information to technical support:/p
p class=action-responseError Event: 
#arguments.eventName#/p
p class=action-responseError details:/p
/cfsavecontent
/cfif
cfimport taglib=/extensions/customtags/ prefix=ct
cfoutput
ct:uitemplate
#errorcontent#
cfif CGI.server_name CONTAINS localhost
cfdump var=#arguments.exception# 
label=Error details expand=no
/cfif
/ct:uitemplate
/cfoutput
cfelseif (arguments.eventName IS onApplicationEnd)
cflog file=#this.name# type=Information text=Application
#this.name# Ended 
/cfif
/cffunction

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


RE: Automated Local Printing of Remote Report

2007-03-08 Thread Adkins, Randy
May want to search the archives as Automatic Printing comes up QUITE
often.
 

-Original Message-
From: E C list [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 11:58 AM
To: CF-Talk
Subject: Automated Local Printing of Remote Report

Hello- I am wondering if anyone has come up with any ways of
automatically printing (locally) a remote cfreport or pdf file.  I'd
like to print off some customer letters every day at 9am without human
intervention, and in a robust sort of way.   I am sure I haven't thought
of everything, but so far, the best I could do is to automate and ftp
download of the report as a PDF and then use acrobat reader's command
line print options to print it.  I also thought of using a macro
generator that memorizes keystrokes, but I've always thought that those
were a little bit quirky.
 
Thank you for any other ideas.
 
 
ps-  I think it would be great if Adobe expanded the CFReport Builder
with some sort of scheduler for opening and printing remote cfreports.

 
-
Now that's room service! Choose from over 150,000 hotels in 45,000
destinations on Yahoo! Travel to find your fit.



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Passing params to CFREPORT

2007-03-08 Thread Greg Griffin
I have no problems using the CFREPORTPARAM tags to pass variables into my 
CFREPORTS, but I want to know if there is a special scope for these paramaters.

In a nutshell, I'm trying to write a generic CFML wrapper for report calls.  I 
want to loop through the FORM structure (which might contain any number of 
paramaters) and pass this entire structure into the report instead of using 
(report specific) individual CFREPORTPARAM tags.

Am I making sense?  Has anyone tried anything like this?  Is this possible?  I 
read something about the REQUEST scope, but I coudln't get that to work.

Any clues?

Thanks,

Greg

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


Re: improved js for form validation?

2007-03-08 Thread Josh Nathanson
Oblio,

A lot of people on this list don't like cfforms for just the reason you are 
stating - there are flaws in the js such as the one you've discovered.

I did some testing and found that 1$ will also slip through, as well as 1, 
(one with a comma).

This is why people are saying to try another validation scheme.  All you can 
do is hope the js validations are better in CF8, and get cracking with 
Massimo's validation, qForms or whatever.

-- Josh




- Original Message - 
From: Leitch, Oblio [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, March 08, 2007 8:45 AM
Subject: RE: improved js for form validation?


 First, thanks to everyone for responding.  However, I never intended to
 start a flame war - the fact is I'm using JS and it's not working right.
 Specifically, I'm using CF's built in validation for ranges in a
 cfinput tag.  The trouble I'm having is it's accepting a value of
 1+.  Technically, it contains a valid integer; however, the addition
 of the plus sign invalidates the value as an integer.  I was really
 hoping to illicit commentary about the methods CF's JS routine uses to
 reach its decision.  I don't want to use another JS validation system
 (unless I can find no other way), and I don't want to specially code my
 processing to deal with one special case.



 Does anyone know why CF's code would consider this valid?  Has there
 been any attempts to improve the /CFIDE/scripts/cfform.js routines?



 TIA,



 Oblio


 This email message may contain privileged and/or confidential information. 
 If you are not the intended recipient(s), you are hereby notified that any 
 dissemination, distribution, or copying of this email message is strictly 
 prohibited. If you have received this message in error, please immediately 
 notify the sender and delete this email message from your computer.



 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272031
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 Formatter needed

2007-03-08 Thread Charlie Griefer
just out of curiosity...what's the going rate for bug #145 (i -hate-
that one) :)

On 3/8/07, Mark Drew [EMAIL PROTECTED] wrote:
 I am listening and nodding... and going... right.. I have an idea for
 that...

 OF course a bit of $$ incentive would be nice ;)

 MD



 On 8 Mar 2007, at 09:11, Andrew Scott wrote:

  Ok well if Mark Drew is listening maybe he will include that in
  cfeclipse
  then.
 
  Now something like that would be damn handy, and not code
  reformating that I
  am used too.
 
 
 
  On 3/8/07, Peter Reitberger [EMAIL PROTECTED] wrote:
 
  Can you explain what you want it to do...
 
  Well at least it should take care of a proper indention so that
  code is
  (more) readable. I have some old code here that I have to
  understand. It is
  rather spaghetti and people did indent their cfifs and cfelse
  and HTML
  tags in different styles, using tabs, 0 to 8 blanks, etc. You can
  not grasp
  the control flow without reformatting (manually) first.
 
  Personally I think a 'clean' looking code is the first thing to
  pursue in
  any language (which does not prevent bugs of course). It should be
  done with
  the support of the IDE.
  I think the Eclipse code formatter for Java is excellent. I use it
  frequently and it never spoiled my code. I hope to find something
  like that
  for CF.
 
Peter
 
 
 
 

 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

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


Re: Passing params to CFREPORT

2007-03-08 Thread Kris Jones
I don't think there is a report parameter collection that you could
pass the form structure into, like you can with a cfc function call.

But, you could loop through your form scope, and add a cfreportparam
for each parameter you found there. Your form element names could be
such that you get the fact that it's a report param and the name of
the param from the name of the form element, and then, of course, the
value from the value of the form element.

I've made names of elements lists using the bar character, for
instance, then look at the first list element from the form element
name for a particular pattern, and get the name of the param from the
second list element from the form element name.

Cheers,
Kris

 In a nutshell, I'm trying to write a generic CFML wrapper for report calls.  
 I want to loop through the FORM structure (which might contain any number of 
 paramaters) and pass this entire structure into the report instead of using 
 (report specific) individual CFREPORTPARAM tags.

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272033
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 Formatter needed

2007-03-08 Thread Mike Kear
You must have used an old version of Dreamweaver.  I use DW and the
code sweeper is great.  It never re-writes code, i have never had a
syntax error after running the sweeper over it.  And the style sweeper
is configurable. You can tell it where you want new lines where you
want indentation and where you dont.

Now i am always working in nicely laid out code, that's much easier to
find my way around.

It's nice to be able to take someone else's code,  hit it with the
sweeper, and then be working in code laid out how I'm used to.   It
helps speed up the dev work, and the end result is a much more
consistent page of code.


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




On 3/8/07, Andrew Scott [EMAIL PROTECTED] wrote:
 Can you explain what you want it to do, code reformating in my eyes is very
 buggy at best and is one of things I extremely hated about DW. There was one
 template that was based on the fact that it formated the coplor of rows and
 used the if mod 2 style, and everytime I opend that I was forever rewritten
 the code back to what it should be.

 But I do not see why people want this functionality either, but hey thats me
 I would never use it so don't see the advantages, just know of the
 disadvantages.

 Regards,
 Andrew Scott



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


Re: Hash Algorithems

2007-03-08 Thread Ben Doom
MD5 is an older standard.  I don't remember what it stands for.  It is 
still widely used for signing things like software downloads (look for 
it where you download Linux CDs or on Sourceforge).  It is not secure 
the same way the lock on my door isn't secure -- it's defeatable, but 
it's a good deterrent.  IMHO, secure enough for pretty much every 
application you're likely to come across.

SHA stands for secure hash algorithm.  It was intended to be a secure 
replacement for MD5 and other hash algorithms.  Flaws have been found 
since, but it is still more secure than MD5.  The multiple string 
lengths allow for increasing levels of security.

MD5 is, of course, really useful for portability and information 
exchange.  I used it as a tool for verifying downloads on an app I wrote 
last year.  SHA is what I would use for hashing passwords.  I'd probably 
use the shortest version, since longer hashes require more processing 
time, and in most things I write, such high-level security isn't that 
important.

--Ben Doom

Robert Rawlins - Think Blue wrote:
 Hello Guys,
 
  
 
 For a while I've been wondering about the HASH() function and the different
 algorithms available on it, the cfdocs list the following.
 
  
 
 .. CFMX_COMPAT: Generates a hash string identical to that generated
 by ColdFusion MX and ColdFusion MX 6.1 (default). 
 
 .. MD5: (Default) Generates a 32-character, hexadecimal string, using
 the MD5 algorithm (The algorithm used in ColdFusion MX and prior releases). 
 
 .. SHA: Generates a 28-character string using the Secure Hash
 Standard SHA-1 algorithm specified by Nation Institute of Standards and
 Technology (NIST) FIPS-180-2. 
 
 .. SHA-256: Generates a 44-character string using the SHA-256
 algorithm specified by FIPS-180-2. 
 
 .. SHA-384: Generates a 64-character string using the SHA-384
 algorithm specified by FIPS-180-2. 
 
 .. SHA-512: Generates an 88-character string using the SHA-1
 algorithm specified by FIPS-180-2. 
 
  
 
 Presumably they become more complex, and therefore more secure from top to
 bottom, so why would you not specify the SHA-512 on all hash encryption you
 do, I know that hash is generally regarded as a one way encryption so why do
 they do different levels?
 
  
 
 I'd be interested to hear if anyone knows much about this stuff,
 
  
 
 Rob 
 
 
 
 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

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


Re: Is there a Basecamp.cfc?

2007-03-08 Thread Dana Kowalski
yeah like I said, I don't know if they will/have released their code to do it 
since the project is currently free /shrug.

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


RE: installing CF Enterprise, Load Balancing Etc...

2007-03-08 Thread Brad Wood
I have no idea why this message just reposted several days after my
original post.  They just changed our mail servers around-- must have
gotten stuck in the queue.  Weird.

~Brad 

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 06, 2007 10:38 AM
To: CF-Talk
Subject: installing CF Enterprise, Load Balancing Etc...

Well, my work is taking a big leap with our servers.  We are going to
transition from Linux back to Windows.  Linux was working well for us,
but unfortunately most of us at this shop are much more comfortable with
Windows administration and the maintenance was getting complicated.


~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


Coldfusion Server Issues

2007-03-08 Thread Chris Musial
I have been experiencing issues (slowness, high thread counts, constant 
crashes, etc) on a shared server for about 2 weeks now.  I got another server, 
transferred one site (the largest one) to it...everything seemed to be working 
fine.  The troubled server was running like it should and the new server was 
running well too.  I moved another site from the previously troubled server to 
the new server today and now i am experiencing problems with the new server.  
High thread counts, slower, and a crash.  Everything seems to be running ok on 
the new server now...but im afraid its going to crash again.  Any ideas what 
can be causing high thread counts and slowness?

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Re: improved js for form validation?

2007-03-08 Thread Dana Kowalski
I'm currently integrating Adobe's Spry form validation into most of my sites 
and its been wonderful so far. There's no need to have windows beeps as you 
call em when theres far more graceful notifications to the user that can be 
done.

Also, providing client side validation is great for you and your client for a 
couple reasons outside of best practices.

- if the customer is on a slow connection you've potentially saved them 2 page 
loads if you're action page redirects back etc vs a possibly cached script load 
up front that provides immediate feedback. I've seen customers who share a 
QoS'd T1 for their entire ... off-shore ... hundreds of employees operations 
... and you know what who do you think gets blamed for slow page loading 
from them? =\

- saves on bandwidth to some extent possibly (unless you gorge on js files 
-cough- prototype :D  ) not having to make multiple round trips for the same 
data subset.

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

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


Re: improved js for form validation?

2007-03-08 Thread Josh Nathanson
Oblio, I got your intended result by doing the following:

cfinput
name=fld
required=yes
type=text
validate=regular_expression
pattern=^[\d]+$
message=not an integer.
/

I didn't bang on it too hard though, maybe you could test it further and see 
if it's failsafe.

It is lame though that you can't simply use the integer validation.

-- Josh




- Original Message - 
From: Leitch, Oblio [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, March 08, 2007 8:45 AM
Subject: RE: improved js for form validation?


 First, thanks to everyone for responding.  However, I never intended to
 start a flame war - the fact is I'm using JS and it's not working right.
 Specifically, I'm using CF's built in validation for ranges in a
 cfinput tag.  The trouble I'm having is it's accepting a value of
 1+.  Technically, it contains a valid integer; however, the addition
 of the plus sign invalidates the value as an integer.  I was really
 hoping to illicit commentary about the methods CF's JS routine uses to
 reach its decision.  I don't want to use another JS validation system
 (unless I can find no other way), and I don't want to specially code my
 processing to deal with one special case.



 Does anyone know why CF's code would consider this valid?  Has there
 been any attempts to improve the /CFIDE/scripts/cfform.js routines?



 TIA,



 Oblio


 This email message may contain privileged and/or confidential information. 
 If you are not the intended recipient(s), you are hereby notified that any 
 dissemination, distribution, or copying of this email message is strictly 
 prohibited. If you have received this message in error, please immediately 
 notify the sender and delete this email message from your computer.



 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

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


Re: cfforms - Please stop breaking my validation

2007-03-08 Thread Dana Kowalski
 I honestly hate that kind of attitude from a good portion of the CF community. 
Web Standards are a reality. If you are running a shop and putting out web 
products eventually you will run into this where you're app won't validate and 
theres nothing to do but simply stop using the feature. 

Just saying 'eh who cares' is what leads to having to have 30 lines of css 
hacks on a site simply to support a handful of browsers. Theres people smarter 
than me preaching this, so maybe they will do a better job (if interested):

http://webstandards.org
http://zeldman.com

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


String Function

2007-03-08 Thread Deepak Gupta
Hi

I have a string like this
AB_BC_DE

Now i have to extract AB, BC, DE in seperate variables. How can I do that? 
which function i can use.


DG

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


RE: String Function

2007-03-08 Thread Mosh Teitelbaum
Deepak:

You can use the various List functions as long as you specify an underscore
as the delimiter.  If the string is always going to have 3 elements to it,
you could simply do something like:

CFSET str = AB_BC_DE
CFSET var1 = ListGetAt(str, 1, _)
CFSET var2 = ListGetAt(str, 2, _)
CFSET var3 = ListGetAt(str, 3, _)

If the string will not always be 3 elements long, combine ListGetAt() with
ListLen() and loop over the length of the list to dynamically pull out the
elements.

HTH

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


Deepak Gupta wrote:
 I have a string like this
 AB_BC_DE
 
 Now i have to extract AB, BC, DE in seperate variables. How can I do
 that? which function i can use.



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Re: String Function

2007-03-08 Thread Charlie Griefer
loop over it treating as a list delimited by the underscore character.

cfset mylist = AB_BC_DE /
cfset countVar = 1 /

cfloop list=#myList# delimiters=_ index=idx
 cfset variables[myVar  countVar] = idx /
 cfset countVar = countVar + 1 /
/cfloop

cfoutput
#myVar1#br /
#myVar2#br /
#myVar3#
/cfoutput

On 3/8/07, Deepak Gupta [EMAIL PROTECTED] wrote:
 Hi

 I have a string like this
 AB_BC_DE

 Now i have to extract AB, BC, DE in seperate variables. How can I do that? 
 which function i can use.


 DG

 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


RE: String Function

2007-03-08 Thread Andy Matthews
Use ListGetAt:

ListGetAt(string,1,_)  would give you AB
ListGetAt(string,2,_)  would give you BC, etc.

-Original Message-
From: Deepak Gupta [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 12:20 PM
To: CF-Talk
Subject: String Function

Hi

I have a string like this
AB_BC_DE

Now i have to extract AB, BC, DE in seperate variables. How can I do that? 
which function i can use.


DG



~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


Re: String Function

2007-03-08 Thread Ben Doom
Use the standard list functions (like listgetat()) using _ as the 
delimiter.  So, to get BC, you could use

listgetat(list, 2, _)

--Ben Doom


Deepak Gupta wrote:
 Hi
 
 I have a string like this
 AB_BC_DE
 
 Now i have to extract AB, BC, DE in seperate variables. How can I do that? 
 which function i can use.
 
 
 DG
 
 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


Re: String Function

2007-03-08 Thread Jon Clausen
Deepak,

You should be able to use:

cfset myString = AB_BC_DE/
cfset myStruct = structNew()/
cfloop list=#myString# index=i delimiters=_
cfset myStruct[i] = i/
/cfloop

Or you can use listChangeDelims() : http://www.cfquickdocs.com/? 
sourceid=cfQDSearch1.02getDoc=listChangeDelims

HTH,

Jon

On Mar 8, 2007, at 1:19 PM, Deepak Gupta wrote:

 Hi

 I have a string like this
 AB_BC_DE

 Now i have to extract AB, BC, DE in seperate variables. How can I  
 do that? which function i can use.


 DG

 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


RE: String Function

2007-03-08 Thread Ian Skinner
A one stop solution might be listToArray()

cfset stringAry = listToArray(aa_bb_cc,_)

cfoutput#stringAry[2]#/cfoutput
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Sudoku
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


CFCs and the THIS scope

2007-03-08 Thread joe smiths
Given the files below - why does update1() fail to update the cfc property?

file TEMP.CFM:
cfoutput
cfif not isDefined(session.temp)
cfset session.temp=#createObject('component','temp')#
/cfif
html
head
titletemp/title
/head
body

form method=post action=temp.cfc?method=update1
  update1: 
  select name=tableName onChange=this.form.submit()
option/option
option cfif session.temp.tableName eq 
table1selected/cfiftable1/option
option cfif session.temp.tableName eq 
table2selected/cfiftable2/option
option cfif session.temp.tableName eq 
table3selected/cfiftable3/option
  /select
/form

form method=post action=temp.cfc?method=update2
  update2: 
  select name=tableName onChange=this.form.submit()
option/option
option cfif session.temp.tableName eq 
table1selected/cfiftable1/option
option cfif session.temp.tableName eq 
table2selected/cfiftable2/option
option cfif session.temp.tableName eq 
table3selected/cfiftable3/option
  /select
/form

session.temp.tableName=#session.temp.tableName#

/body
/html
/cfoutput

file TEMP.CFC:
cfcomponent

cfset this.tableName=

cffunction name=update1 access=remote
  cfargument name=tableName required=yes

  cfset this.tableName=arguments.tableName

  cflocation url=temp.cfm addToken=no
/cffunction

cffunction name=update2 access=remote
  cfargument name=tableName required=yes

  cfset session.temp.tableName=arguments.tableName

  cflocation url=temp.cfm addToken=no
/cffunction

/cfcomponent

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


RE: String Function

2007-03-08 Thread Jones Eric R Ctr 8 AF Det 1/AFNOC
cfset listToArray(LIST,'_')

Then you can reference each as an array element to further process. 


---_

Eric R. Jones
Senior Web Application Developer, AFNOC/NCD
Barksdale AFB, LA
DSN 781-7784
Comm (318) 456-7784
NIPRNET: [EMAIL PROTECTED]
SIPRNET: [EMAIL PROTECTED] 


-Original Message-
From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 1:36 PM
To: CF-Talk
Subject: RE: String Function

Deepak:

You can use the various List functions as long as you specify an
underscore
as the delimiter.  If the string is always going to have 3 elements to
it,
you could simply do something like:

CFSET str = AB_BC_DE
CFSET var1 = ListGetAt(str, 1, _)
CFSET var2 = ListGetAt(str, 2, _)
CFSET var3 = ListGetAt(str, 3, _)

If the string will not always be 3 elements long, combine ListGetAt()
with
ListLen() and loop over the length of the list to dynamically pull out
the
elements.

HTH

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


Deepak Gupta wrote:
 I have a string like this
 AB_BC_DE
 
 Now i have to extract AB, BC, DE in seperate variables. How can I do
 that? which function i can use.





~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


RE: String Function

2007-03-08 Thread Jones Eric R Ctr 8 AF Det 1/AFNOC
cfset listToArray(LIST,'_')


Then you can reference each as an array element to further process. 


---_

Eric R. Jones
Senior Web Application Developer, AFNOC/NCD
Barksdale AFB, LA
DSN 781-7784
Comm (318) 456-7784
NIPRNET: [EMAIL PROTECTED]
SIPRNET: [EMAIL PROTECTED] 


-Original Message-
From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 1:36 PM
To: CF-Talk
Subject: RE: String Function

Deepak:

You can use the various List functions as long as you specify an
underscore
as the delimiter.  If the string is always going to have 3 elements to
it,
you could simply do something like:

CFSET str = AB_BC_DE
CFSET var1 = ListGetAt(str, 1, _)
CFSET var2 = ListGetAt(str, 2, _)
CFSET var3 = ListGetAt(str, 3, _)

If the string will not always be 3 elements long, combine ListGetAt()
with
ListLen() and loop over the length of the list to dynamically pull out
the
elements.

HTH

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


Deepak Gupta wrote:
 I have a string like this
 AB_BC_DE
 
 Now i have to extract AB, BC, DE in seperate variables. How can I do
 that? which function i can use.





~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

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


Re: String Function

2007-03-08 Thread Charlie Griefer
On 3/8/07, Ian Skinner [EMAIL PROTECTED] wrote:
 A one stop solution might be listToArray()

 cfset stringAry = listToArray(aa_bb_cc,_)

 cfoutput#stringAry[2]#/cfoutput

nice!

-- 
Charlie Griefer


...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed.

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


Re: String Function

2007-03-08 Thread Scott Weikert
Might be good to use an array to store the vars instead. That way you 
can always quickly determine the number of vars present.

cfset mylist = AB_BC_DE /
cfset myArray = ArrayNew(1)

cfloop list=#myList# delimiters=_ index=idx
 cfset ArrayAppend(myArray, idx) /
/cfloop

I have cfoutput#ArrayLen(myArray)#/cfoutput variables.



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion

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


Re: String Function

2007-03-08 Thread Jon Clausen
Yep, that thread's good 'n dead. :-)   I don' t think I've seen a  
thread jumped on so fast since the one about the new Firefox logo.

Good call on  listToArray(), Ian, BTW.

-Jon

On Mar 8, 2007, at 2:40 PM, Jon Clausen wrote:

 Deepak,

 You should be able to use:

 cfset myString = AB_BC_DE/
 cfset myStruct = structNew()/
 cfloop list=#myString# index=i delimiters=_
 cfset myStruct[i] = i/
 /cfloop

 Or you can use listChangeDelims() : http://www.cfquickdocs.com/?
 sourceid=cfQDSearch1.02getDoc=listChangeDelims

 HTH,

 Jon

 On Mar 8, 2007, at 1:19 PM, Deepak Gupta wrote:

 Hi

 I have a string like this
 AB_BC_DE

 Now i have to extract AB, BC, DE in seperate variables. How can I
 do that? which function i can use.


 DG



 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Re: String Function

2007-03-08 Thread Charlie Griefer
but you can determine that just as easily using the listLen() function :)

altho I do think Ian (and Eric's) suggestion about using listToArray()
is the most concise and straightforward.

On 3/8/07, Scott Weikert [EMAIL PROTECTED] wrote:
 Might be good to use an array to store the vars instead. That way you
 can always quickly determine the number of vars present.

 cfset mylist = AB_BC_DE /
 cfset myArray = ArrayNew(1)

 cfloop list=#myList# delimiters=_ index=idx
  cfset ArrayAppend(myArray, idx) /
 /cfloop

 I have cfoutput#ArrayLen(myArray)#/cfoutput variables.



 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


RE: improved js for form validation?

2007-03-08 Thread Leitch, Oblio
Thanks, that was nice and direct.  I actually tracked down the problem;
it lies in the fact that the cfform.js *changes* the value before
validating.  I can't guess why they did this, but they strip spaces,
dollar, pound, yen, euro, commas, tildas and plus signs before deciding
that it's good.  I'm not sure how you can call that validation.

At least now I have a reason/explanation and I can make an argument for
retro-fitting all the forms.

OT:  has anyone used Dojo?



-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 1:04 PM
To: CF-Talk
Subject: Re: improved js for form validation?

Oblio,

A lot of people on this list don't like cfforms for just the reason you
are 
stating - there are flaws in the js such as the one you've discovered.

I did some testing and found that 1$ will also slip through, as well as
1, 
(one with a comma).

This is why people are saying to try another validation scheme.  All you
can 
do is hope the js validations are better in CF8, and get cracking with 
Massimo's validation, qForms or whatever.

-- Josh

This email message may contain privileged and/or confidential information. If 
you are not the intended recipient(s), you are hereby notified that any 
dissemination, distribution, or copying of this email message is strictly 
prohibited. If you have received this message in error, please immediately 
notify the sender and delete this email message from your computer.


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


Re: improved js for form validation?

2007-03-08 Thread Josh Nathanson
 Thanks, that was nice and direct.  I actually tracked down the problem;
 it lies in the fact that the cfform.js *changes* the value before
 validating.  I can't guess why they did this, but they strip spaces,
 dollar, pound, yen, euro, commas, tildas and plus signs before deciding
 that it's good.  I'm not sure how you can call that validation.

If you type 1+ into the field, and submit to a database, does the 1+ get 
inserted into your database, or does 1 get inserted into the database?

If it's 1, then I can see the logic behind what CF is doing there.  It's 
helping you by stripping any extra garbage that might be associated with an 
integer (currency symbols etc.).  As long as what's left after the garbage 
is stripped off validates ok, it will pass through.  This relieves you of 
the need to do that stripping yourself.

But this seems somewhat arbitrary, and could lead to unexpected results, so 
it's probably best not to rely on it.

-- Josh


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


RE: CFCs and the THIS scope

2007-03-08 Thread Jaime Metcher
Well, it seems to me that both forms are being handled by a new instance of
temp.  update1 stores the value in that new instance, which is garbage
collected some time after the POST request terminates. update2 stores the
value in the prexisting instance which has been placed in the session scope,
which of course hangs around for future reference.

Jaime Metcher

 -Original Message-
 From: joe smiths [mailto:[EMAIL PROTECTED]
 Sent: Friday, 9 March 2007 4:36 AM
 To: CF-Talk
 Subject: CFCs and the THIS scope


 Given the files below - why does update1() fail to update the cfc
 property?

 file TEMP.CFM:
 cfoutput
 cfif not isDefined(session.temp)
 cfset session.temp=#createObject('component','temp')#
 /cfif
 html
 head
 titletemp/title
 /head
 body

 form method=post action=temp.cfc?method=update1
   update1:
   select name=tableName onChange=this.form.submit()
 option/option
 option cfif session.temp.tableName eq
 table1selected/cfiftable1/option
 option cfif session.temp.tableName eq
 table2selected/cfiftable2/option
 option cfif session.temp.tableName eq
 table3selected/cfiftable3/option
   /select
 /form

 form method=post action=temp.cfc?method=update2
   update2:
   select name=tableName onChange=this.form.submit()
 option/option
 option cfif session.temp.tableName eq
 table1selected/cfiftable1/option
 option cfif session.temp.tableName eq
 table2selected/cfiftable2/option
 option cfif session.temp.tableName eq
 table3selected/cfiftable3/option
   /select
 /form

 session.temp.tableName=#session.temp.tableName#

 /body
 /html
 /cfoutput

 file TEMP.CFC:
 cfcomponent

 cfset this.tableName=

 cffunction name=update1 access=remote
   cfargument name=tableName required=yes

   cfset this.tableName=arguments.tableName

   cflocation url=temp.cfm addToken=no
 /cffunction

 cffunction name=update2 access=remote
   cfargument name=tableName required=yes

   cfset session.temp.tableName=arguments.tableName

   cflocation url=temp.cfm addToken=no
 /cffunction

 /cfcomponent

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


RE: Coldfusion Server Issues

2007-03-08 Thread Jaime Metcher
What could cause cross-interference between sites?  Some ideas:

1. Contention for shared resources e.g. you keep a file open somewhere, or
each site has a logging thread that keeps a lock on some table.

2. An insidious one can be where you inadvertently use the same application
name, so the two sites keep blowing away and reinitializing the shared
scopes.

3. Mapping - you've got a mapping for one site that's a real directory in
the other site.  The mapping takes precedence, so you're executing code in
the wrong context.

4. Memory overload - if you're loading a lot of data into shared scopes, the
GC could be thrashing.

I'd highly recommend a management tool like Fusion Reactor.  The ability to
look into the guts of a running thread can clear the fog in a microsecond.

Jaime Metcher

 -Original Message-
 From: Chris Musial [mailto:[EMAIL PROTECTED]
 Sent: Friday, 9 March 2007 4:04 AM
 To: CF-Talk
 Subject: Coldfusion Server Issues


 I have been experiencing issues (slowness, high thread counts,
 constant crashes, etc) on a shared server for about 2 weeks now.
 I got another server, transferred one site (the largest one) to
 it...everything seemed to be working fine.  The troubled server
 was running like it should and the new server was running well
 too.  I moved another site from the previously troubled server to
 the new server today and now i am experiencing problems with the
 new server.  High thread counts, slower, and a crash.  Everything
 seems to be running ok on the new server now...but im afraid its
 going to crash again.  Any ideas what can be causing high thread
 counts and slowness?

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


RE: Vista - too many files open error message- Dave watts?

2007-03-08 Thread Dave Watts
 Thanks much dude

You're welcome!

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

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


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Re: CFCs and the THIS scope

2007-03-08 Thread Rick Root
Because you're posting to temp.cfc directly, not the temp.cfc you've loaded
into the session scope.

Rick


On 3/8/07, joe smiths [EMAIL PROTECTED] wrote:

 Given the files below - why does update1() fail to update the cfc
 property?

 file TEMP.CFM:
 cfoutput
 cfif not isDefined(session.temp)
 cfset session.temp=#createObject('component','temp')#
 /cfif
 html
 head
 titletemp/title
 /head
 body

 form method=post action=temp.cfc?method=update1
 update1:
 select name=tableName onChange=this.form.submit()
option/option
option cfif session.temp.tableName eq
 table1selected/cfiftable1/option
option cfif session.temp.tableName eq
 table2selected/cfiftable2/option
option cfif session.temp.tableName eq
 table3selected/cfiftable3/option
 /select
 /form

 form method=post action=temp.cfc?method=update2
 update2:
 select name=tableName onChange=this.form.submit()
option/option
option cfif session.temp.tableName eq
 table1selected/cfiftable1/option
option cfif session.temp.tableName eq
 table2selected/cfiftable2/option
option cfif session.temp.tableName eq
 table3selected/cfiftable3/option
 /select
 /form

 session.temp.tableName=#session.temp.tableName#

 /body
 /html
 /cfoutput

 file TEMP.CFC:
 cfcomponent

 cfset this.tableName=

 cffunction name=update1 access=remote
 cfargument name=tableName required=yes

 cfset this.tableName=arguments.tableName

 cflocation url=temp.cfm addToken=no
 /cffunction

 cffunction name=update2 access=remote
 cfargument name=tableName required=yes

 cfset session.temp.tableName=arguments.tableName

 cflocation url=temp.cfm addToken=no
 /cffunction

 /cfcomponent

 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

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


RE: Validating with hidden form fields - how to use my own format ting for error messages?

2007-03-08 Thread Dave Watts
 I'm using CF's built-in form validation method that uses 
 hidden form fields for validation (see
 http://livedocs.adobe.com/coldfusion/7/htmldocs/1385.htm#1154690)
 
 How do I apply my own formatting to those error messages?

You can use the CFERROR tag to control the display of these errors. Set
TYPE=VALIDATION, and within your error page you can reference
Error.ValidationHeader, Error.InvalidFields (which will contain the
unordered list of error messages), and Error.ValidationFooter.

All that said, I would recommend against the use of CF's built-in
server-side validation if you're using validation for security purposes, as
the validation fields can easily be removed from the HTTP request sent by
your browser.

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

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


~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


  1   2   >