CFLDAP Query / Add/Modify Users in AD

2008-08-14 Thread Isidro Pimentel
Hello, I am trying to create a coldfusion that allows users to add a 
user/modify a user . I am able to add a user into AD with no problem. I am 
having difficulties with two things. 

1. Query - How do I query AD for more than 1000 users. Currently when I query 
it I only get 1000 user in my results. 

2. Modify - When I attempt to modify a user I get the following error: LDAP: 
error code 19 - 0057: LdapErr: DSID-0C090A85, comment: Error in attribute 
conversion operation, data 57, vece

This is add user and it works. User is added into ad but it is not activated.
cfldap action=add
server=
username=domainaccount
password=
attributes=
objectClass=top;person;orgazationalPerson;user;
sAMAccountName=mphelps;cn=Michael Phelps;givenName=Michael;SN=Phelps;
employeeID=1;telephoneNumber=55;
physicalDeliveryOfficeName=Beijing;[EMAIL PROTECTED];
dn=cn=Michael Phelps,ou=Staff,dc=,dc=com

Modify user on the other hand fails. 
cfldap action=modify
modifytype=replace
server=x
username=domainAccount
password=x
attributes=telephonenumber=55;physicalDeliveryOfficeName=HomeOffice;
[EMAIL PROTECTED];sAMAccountName=mphelps;cn=Michael Phleps;
employeeID=1;instanceType=4;
objectClass=top;person;orgazationalPerson;user;
objectCategory=CN=Person,CN=Schema,CN=Configuration,DC=,DC=com
dn=CN=Michael Phelps,OU=Staff,DC=,DC=com

Also is there a way to allow individual users to update their information. Any 
help will be greatly appreciated. Thank you in advance for your assistance. 

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

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


Re: Barclays ePDQ MPI Integration

2008-08-14 Thread Paul Marsden
Hi Paul,

I've connected up a client to Barclays EPDQ via ColdFusion. If this is any 
help, here is the code:

!--- set your variables to send to Barclays
example figures have been put in here - change them to your own values - PaulM
 ---
 
!--- the total amount of the order ---
cfparam name=mysite.orderamount type=numeric default=0
cfset variables.total = #mysite.orderamount#

!--- your own unique order ID for this order, if not provided Barclays will 
send you back its own unique order ID ---
cfset variables.oid = 22

!--- Type of transaction, standard value is Auth, check the documents for 
the others  ---
cfset variables.chargetype = Auth

!--- the password you created in the Barclays ePDQ front end ---
cfset variables.password = myPassword

!--- the currency code, set to 826 for pounds sterling ---
cfset variables.currencycode = 826

!--- your clientID, given by Barclays at setup ---
cfset variables.clientid = 123456

!--- this is the main form for the page ---
FORM ACTION=https://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdq.e; 
METHOD=post
CFHTTP METHOD=POST 
URL=http://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdqEncTool.e;
CFHTTPPARAM TYPE=FormField NAME=total VALUE=#variables.total#
CFHTTPPARAM TYPE=FormField NAME=oid VALUE=#variables.oid#
CFHTTPPARAM TYPE=FormField NAME=chargetype VALUE=#variables.chargetype#
CFHTTPPARAM TYPE=FormField NAME=password VALUE=#variables.password#
CFHTTPPARAM TYPE=FormField NAME=currencycode 
VALUE=#variables.currencycode#
CFHTTPPARAM TYPE=FormField NAME=clientid VALUE=#variables.clientid#
/CFHTTP
CFOUTPUT
#cfhttp.filecontent#
/CFOUTPUT

!--- start of optional fields - if you want to collect billing and delivery 
information to pre-fill the Barclays windows, add in the following input 
variables - these are NOT required, just optional. I've sent these to the page 
via a form called myform ---

input type=hidden name=baddr1 value=#myform.addressfield1#

!--- billing fields options are baddr1, baddr2, baddr3, bcity, 
bcountyprovince, bcountry, bpostalcode, bstate, btelephonenumber ---
!--- devliery fields options are saddr1, saddr2, saddr3, scity, 
scountyprovince, scountry, spostalcode, sstate, stelephonenumber ---

!--- there is also the option for the email field ---

input type=hidden name=email value=#myform.emailfield#

!--- end of additional optional fields ---

/FORM


Once submitted, the form will send the user to Barclays page. If an error is 
found, make sure you told the Barclays ePDQ front end the precise url you are 
sending from e.g. if the page above is called transaction.cfm this is what you 
must add to the ePDQ front end (found at 
https://secure2.epdq.co.uk/cgi-bin/ClearCommerce_Engine/#your-account-number#)

Also, make sure that there is the relevant security on the directory that this 
file sits in (basic authentication). Not the best thing to do to your 
directory, but required for this function nonetheless.

Once the Barclays pages are filled out by the user they will be sent back to 
your transaction.cfm page. At the same time, the order information will be send 
to the page you specified in the ePDQ front end (the return URL). On this page 
you can pick up the information as follows:


!--- I'm creating a log file per order, so creating a unique log file per order
The information is sent back from Barclays as form variables, so form.oid is 
whatever
orderID was sent through by the first form, or if one wasn't sent through, it 
is a 
unique ID generated by Barclays for you - PaulM
 ---
cfset variables.logID = #form.oid#

!--- set the location of your log file directory ---
cfset variables.mylogfile = d:\wwwroot\{your 
site}\log\orderlog#variables.logID#.txt

cfheader name=Content-Type value=text/html

cfset x = GetHttpRequestData()

cfoutput

cffile action=WRITE file=#variables.mylogfile# output=LOG FILE FOR ORDER 
#variables.logID# addnewline=Yes

cffile action=APPEND file=#variables.mylogfile# output=ORDER CREATED: 
#x.method#, Status: #form.transactionstatus#, OrderID: #form.oid#, Total: 
#form.total#, Datetime: #form.datetime#, Client ID: #form.clientid# 
addnewline=Yes

!--- at this point you will probably want to put the order into a database or 
some other 
order display method, so just use normal form.whatever to input or display it 
---

/cfoutput


I hope this works for you. 

If I've made any mistakes or typos above, I apologise!

Good luck.

Paul M 

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

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


More Flex app help

2008-08-14 Thread David Wilson
Hi, 

We're still scratching our heads over how to set up security for our flex app. 
Here are the issues:

1) We want to protect the flex app and some cfm pages with the same 
authentication

2) One user group (teachers) cannot share their username - ie) restricted to 
one concurrent session

3) Another user group ( students ) share the same username and password 
allowing many to log in at the same time

We can use CFlogin via flex to do (2) which seems to solve the single user 
issue but we're not sure how to get it to also do (1) and (3) ? Also can we 
fire an event in flex to log the user off when the cflogin timesout?

If we were to build our own security using sessions and application.cfm how 
would the Flex app read the session state? 

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

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


Re: Free BlueDragon?

2008-08-14 Thread Tom Chiverton
On Thursday 14 Aug 2008, Don L wrote:
 Thank you, Gerald, allow me to be lazy for a minute, cf8 comes with its own
 web server albeit it is for development only, 

I don't know why people have this impression but JRun is quite able to run in 
production as the primary web server (as opposed to using Apache as a front 
end).

 bloated (no disrespect to the talented developers), the cf server memory
 hog... worrys me...  

I asked this on the Railo group a few months back, and at the end of the day, 
another stick of RAM was only (some small amount of money) and that solved 
the 'problem' nicely.

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.

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

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

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

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


Re: SVN in Production

2008-08-14 Thread Tom Chiverton
On Tuesday 12 Aug 2008, Andrew Scott wrote:
 There is a bug in Subclipse, that sees file saving take anything from an
 extra 2mins upto hours 

We use Subclipse here, and that simply does not happen. Our mileage clearly 
varies.

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.

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

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

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

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


Re: More Flex app help

2008-08-14 Thread Tom Chiverton
On Thursday 14 Aug 2008, David Wilson wrote:
 We can use CFlogin via flex to do (2) which seems to solve the single user
 issue but we're not sure how to get it to also do (1) and (3) ? 

You probably want to have some custom code that tracks the number of usages of 
each username, and only cflogin's if the count is 0 (for teachers).
Application scope could keep the current list.

 Also can we 
 fire an event in flex to log the user off when the cflogin timesout?

Well, yes, it's just a RemoteObject() call to some ColdFusion to do it, isn't 
it ?

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.

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

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

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

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


Re: SVN in Production

2008-08-14 Thread Tom Chiverton
On Tuesday 12 Aug 2008, Andrew Scott wrote:
 Please don't confuse the topic Tom, and twist what I am saying.

I seem to be having some difficultly with your points, so bear with me :-)

 My point is very simple, so let me spell it out for you again.
 When using export, that is not actually using SVN so it is not an issue in
 this conversation. I thought you of all people who has been around long
 enough, should have known that.

I've only been using SVN for a few years, however.

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.

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

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

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

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


Re: SVN in Production

2008-08-14 Thread Tom Chiverton
On Tuesday 12 Aug 2008, Andrew Scott wrote:
 Not even SVN can automatically decide what changes to make live and what
 not to make live, between developer changes

I dunno, I've heard of systems which auto updated the live environment to the 
most recent tag which matches a patten (i.e. .../tags/live-release-N). 
The QA'ed tag is just copied to the next 'live' name, and the next maintenance 
job pushes the update to the live systems.

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.

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

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

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

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


Re: SEC Data

2008-08-14 Thread T. John Cunningham
Thanks Scott - I will give that a shot. Is the data pretty manageable  
or does it need to be cleaned up and parsed a lot?

John

On Aug 13, 2008, at 5:00 PM, Scott Slone wrote:

 I've used Edgar Online in the past, though it is not a free service.
 You consume XML feed(s), and style with XSLT (or partial), works  
 nicely.


 On Aug 13, 2008, at 1:51 PM, T. John Cunningham wrote:

 I am trying to find a way to pull SEC information (web service, xml,
 etc.) for a client (mainly looking for new filings, etc). Has anyone
 had any experience in doing this and can maybe point me in the right
 direction?

 Thanks.

 John


 

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

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


Re: Free BlueDragon?

2008-08-14 Thread Gerald Guido
 f8 comes with its own web server albeit it is for development only, and
it can be installed siliently (without user interaction would probably be
more accurate)


If that is the case you could roll it up with something like XAMPP with the
Tomcat Plugin. With a bit of work and a bat file you can deploy a working
CF/JSP/LAMP app on a Windows Box in about five minutes. If you are
interested I have some tutes on my blog on setting up XAMPP with Adobe CF,
Railo and BD.


On Wed, Aug 13, 2008 at 10:35 PM, Don L [EMAIL PROTECTED] wrote:

  Gerald Guido
 I have a fair amount of experience with Open BD  and Railo 3 beta using
 Apache and Tomcat on Windows/Fedora/Centos. I would gladly answer any
 questions. I would recommend posing your questions to the Open BD Google
 Group @ http://groups.google.com/group/openbd?hl=en
 
 ~G~
  Gerald Guido

 Thank you, Gerald, allow me to be lazy for a minute, cf8 comes with its own
 web server albeit it is for development only, and it can be installed
 siliently (without user interaction would probably be more accurate), and
 this capability (of silent installation + a default web server) is important
 to me.  Secondly, the neat new features on presentation and UI
 enhancement/cfajax-driven ones like cfwindow, auto-suggest, cfajaxproxy etc.
 etc. are all critical to this little babe; Thirdly, performance-wise, code
 itself needs to be sold, sure, while open source libraries tend to be
 bloated (no disrespect to the talented developers), the cf server memory
 hog... worrys me...  porting current app to BD?  a sensible option or a road
 to nightmare?

 Don


 

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

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


RE: CFLDAP Query / Add/Modify Users in AD

2008-08-14 Thread Dawson, Michael
1. You need to increase the amount of records returned by AD.  By
default, AD returns 1000 records.  You can increase this amount using
ntdsutil.  This must be performed by a domain admin.

http://support.microsoft.com/kb/315071

The AD administration limit you want to change is maxPageSize.  Don't
make the value too large.  I would suggest setting it a few hundred
higher than your maximum amount of object that you want to query.

For example, if you have 9,000 user objects, set maxPageSize to 10,000.

2. Look at the CFLDAP attributes of SEPARATOR and DELIMITER.  Also, try
to set only one attribute at a time.  Then, add each attribute until you
find the one that is causing the error.

You don't need to set objectClass and objectCategory.  They are set by
AD when you create the user account.  This may be the actual cause of
the error.  Drop these two attributes from your modify operation.

3. You can allow users to update their own information, however, you
should do it using a generic proxy account that has permissions to
update AD.

First, authenticate the users, using CFLDAP or integrated browser
security.  If you use CFLDAP to authenticate the user, grab and store
the DN at the same time.  If you use browser security, you need to
perform another CFLDAP query to get the user's DN.  (You will need the
DN for the update operation.)

Next, present a form to allow the users to modify their data.  I would
suggest looking at the AD Schema MMC snap-in to get the
datatypes/lengths of each AD attribute.  Then, build your form
validation around that information.

Finally, use CFLDAP to modify the attributes of the AD user object, and
pass in the authenticated user's DN to control which AD object is
modified.

Mike

-Original Message-
From: Isidro Pimentel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 3:09 AM
To: CF-Talk
Subject: CFLDAP Query / Add/Modify Users in AD

Hello, I am trying to create a coldfusion that allows users to add a
user/modify a user . I am able to add a user into AD with no problem. I
am having difficulties with two things. 

1. Query - How do I query AD for more than 1000 users. Currently when I
query it I only get 1000 user in my results. 

2. Modify - When I attempt to modify a user I get the following error:
LDAP: error code 19 - 0057: LdapErr: DSID-0C090A85, comment: Error
in attribute conversion operation, data 57, vece

This is add user and it works. User is added into ad but it is not
activated.
cfldap action=add
server=
username=domainaccount
password=
attributes=
objectClass=top;person;orgazationalPerson;user;
sAMAccountName=mphelps;cn=Michael Phelps;givenName=Michael;SN=Phelps;
employeeID=1;telephoneNumber=55;
physicalDeliveryOfficeName=Beijing;[EMAIL PROTECTED];
dn=cn=Michael Phelps,ou=Staff,dc=,dc=com

Modify user on the other hand fails. 
cfldap action=modify
modifytype=replace
server=x
username=domainAccount
password=x
attributes=telephonenumber=55;physicalDeliveryOfficeName=HomeOf
fice;
[EMAIL PROTECTED];sAMAccountName=mphelps;cn=Michael Phleps;
employeeID=1;instanceType=4;
objectClass=top;person;orgazationalPerson;user;
objectCategory=CN=Person,CN=Schema,CN=Configuration,DC=,DC=com
dn=CN=Michael Phelps,OU=Staff,DC=,DC=com

Also is there a way to allow individual users to update their
information. Any help will be greatly appreciated. Thank you in advance
for your assistance. 

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

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


Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
 ULs and LIs are better for search engine optimization.

???

 Plus they're better semantic code.

???

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


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

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


cfform validation for newbie

2008-08-14 Thread Christine Stephens
HI

I need assistance with cfform validation, please.

I have a text field 'discode' that is not required however if it is filled out 
it can only have 2 possible answers in it: 'xyz123' or 'abc1234'.

And then if the 'discode' field is filled out correctly with 1 of those 2 
values then another radion button field 'paytype' needs to be set to 
'NA#discode#'.

can anyone help me? thank you. 

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

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


Re: SVN in Production

2008-08-14 Thread Dana Kowalski
 This thread is kind of heavy handed. My personal opinion with anything like 
this is your mileage will vary. There are simply too many factors to heavy hand 
a this is the only way to do it. Everyones configurations, staff, resources, 
technical knowledge etc etc vary. You use what works, simple as that.

 Being over concerned about hard drive space is kind of crazy as well. I'm not 
really sure about the shared host portion of the posts as well. If you are that 
concerned with security, protocal, space and deployment why would you EVER be 
on a shared host thats pretty silly. 

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

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


RE: Outputting columned UL tags

2008-08-14 Thread Andy Matthews
If I used a table, it would look like this:

table
tr
tdlink 1/td 
tdlink 4/td 
tdlink 7/td 
/tr
tr
tdlink 2/td 
tdlink 5/td 
tdlink 8/td 
/tr
tr
tdlink 3/td 
tdlink 6/td 
td/td 
/tr
/table

Whereas the UL method like this:

ul
lilink 1/li 
lilink 4/li 
lilink 7/li 
/ul
ul
lilink 2/li 
lilink 5/li 
lilink 8/li 
/ul
ul
lilink 3/li 
lilink 6/li 
li/li 
/ul

So it's a little lighter, codewise, plus ULs and LIs are MEANT to display
lists of things while tables are not.


-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 9:00 AM
To: CF-Talk
Subject: Re: Outputting columned UL tags

 ULs and LIs are better for search engine optimization.

???

 Plus they're better semantic code.

???

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




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

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


Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
 So it's a little lighter, codewise, plus ULs and LIs are MEANT to display
lists of things while tables are not.

Frankly, I don't see your point.
ULs and LIs are meant to display lists, right, but what you want to do 
is not a list,
it is a TABLE, so why not use a table ?

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


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

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


Re: Barclays ePDQ MPI Integration

2008-08-14 Thread Paul Stewart
i had to set this up about 3 or 4 years ago and after much angst was 
told by my host that EDPQ was not comptatible with CF (i had to use 
PERL) . I don't know if thats still the case though - worth a check with 
Barclays

Paul Marsden wrote:
 Hi Paul,

 I've connected up a client to Barclays EPDQ via ColdFusion. If this is any 
 help, here is the code:

 !--- set your variables to send to Barclays
 example figures have been put in here - change them to your own values - PaulM
  ---
  
 !--- the total amount of the order ---
 cfparam name=mysite.orderamount type=numeric default=0
 cfset variables.total = #mysite.orderamount#

 !--- your own unique order ID for this order, if not provided Barclays will 
 send you back its own unique order ID ---
 cfset variables.oid = 22

 !--- Type of transaction, standard value is Auth, check the documents for 
 the others  ---
 cfset variables.chargetype = Auth

 !--- the password you created in the Barclays ePDQ front end ---
 cfset variables.password = myPassword

 !--- the currency code, set to 826 for pounds sterling ---
 cfset variables.currencycode = 826

 !--- your clientID, given by Barclays at setup ---
 cfset variables.clientid = 123456

 !--- this is the main form for the page ---
 FORM ACTION=https://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdq.e; 
 METHOD=post
 CFHTTP METHOD=POST 
 URL=http://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdqEncTool.e;
 CFHTTPPARAM TYPE=FormField NAME=total VALUE=#variables.total#
 CFHTTPPARAM TYPE=FormField NAME=oid VALUE=#variables.oid#
 CFHTTPPARAM TYPE=FormField NAME=chargetype 
 VALUE=#variables.chargetype#
 CFHTTPPARAM TYPE=FormField NAME=password VALUE=#variables.password#
 CFHTTPPARAM TYPE=FormField NAME=currencycode 
 VALUE=#variables.currencycode#
 CFHTTPPARAM TYPE=FormField NAME=clientid VALUE=#variables.clientid#
 /CFHTTP
 CFOUTPUT
 #cfhttp.filecontent#
 /CFOUTPUT

 !--- start of optional fields - if you want to collect billing and delivery 
 information to pre-fill the Barclays windows, add in the following input 
 variables - these are NOT required, just optional. I've sent these to the 
 page via a form called myform ---

 input type=hidden name=baddr1 value=#myform.addressfield1#

 !--- billing fields options are baddr1, baddr2, baddr3, bcity, 
 bcountyprovince, bcountry, bpostalcode, bstate, btelephonenumber ---
 !--- devliery fields options are saddr1, saddr2, saddr3, scity, 
 scountyprovince, scountry, spostalcode, sstate, stelephonenumber ---

 !--- there is also the option for the email field ---

 input type=hidden name=email value=#myform.emailfield#

 !--- end of additional optional fields ---

 /FORM


 Once submitted, the form will send the user to Barclays page. If an error is 
 found, make sure you told the Barclays ePDQ front end the precise url you are 
 sending from e.g. if the page above is called transaction.cfm this is what 
 you must add to the ePDQ front end (found at 
 https://secure2.epdq.co.uk/cgi-bin/ClearCommerce_Engine/#your-account-number#)

 Also, make sure that there is the relevant security on the directory that 
 this file sits in (basic authentication). Not the best thing to do to your 
 directory, but required for this function nonetheless.

 Once the Barclays pages are filled out by the user they will be sent back to 
 your transaction.cfm page. At the same time, the order information will be 
 send to the page you specified in the ePDQ front end (the return URL). On 
 this page you can pick up the information as follows:


 !--- I'm creating a log file per order, so creating a unique log file per 
 order
 The information is sent back from Barclays as form variables, so form.oid is 
 whatever
 orderID was sent through by the first form, or if one wasn't sent through, it 
 is a 
 unique ID generated by Barclays for you - PaulM
  ---
 cfset variables.logID = #form.oid#

 !--- set the location of your log file directory ---
 cfset variables.mylogfile = d:\wwwroot\{your 
 site}\log\orderlog#variables.logID#.txt

 cfheader name=Content-Type value=text/html

 cfset x = GetHttpRequestData()

 cfoutput

 cffile action=WRITE file=#variables.mylogfile# output=LOG FILE FOR 
 ORDER #variables.logID# addnewline=Yes

 cffile action=APPEND file=#variables.mylogfile# output=ORDER CREATED: 
 #x.method#, Status: #form.transactionstatus#, OrderID: #form.oid#, Total: 
 #form.total#, Datetime: #form.datetime#, Client ID: #form.clientid# 
 addnewline=Yes

 !--- at this point you will probably want to put the order into a database 
 or some other 
 order display method, so just use normal form.whatever to input or display it 
 ---

 /cfoutput


 I hope this works for you. 

 If I've made any mistakes or typos above, I apologise!

 Good luck.

 Paul M 

 

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

Archive: 

Re: Outputting columned UL tags

2008-08-14 Thread Matt Williams
I looks like Andy wants a list displayed in three columns. A table
implies that that the first row contains a record of data with fields.
I could have missed something, but the item at the top of column 1 is
not related to the item at the top of column 2 or column 3. So it is
just a 3 column list.

Andy, were you able to get the output to work?

Matt

On Thu, Aug 14, 2008 at 9:36 AM, Claude Schneegans
[EMAIL PROTECTED] wrote:
  So it's a little lighter, codewise, plus ULs and LIs are MEANT to display
 lists of things while tables are not.

 Frankly, I don't see your point.
 ULs and LIs are meant to display lists, right, but what you want to do
 is not a list,
 it is a TABLE, so why not use a table ?

-- 
Matt Williams
It's the question that drives us.

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

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


Re: Outputting columned UL tags

2008-08-14 Thread Ian Skinner
Claude Schneegans wrote:
 so why not use a table ?

Or at least a table of lists.

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

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


cfgrid with flash form type...

2008-08-14 Thread Tom Jones
Hello,
I've been hammering away at this and now I'm nt sure if it's possible.

I have a cfgrid in a flash based form and I would like to select a row
and have it populate the cfinput fields with in the form.

Can this be done using the flash based form type?

Thanks,
tom

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

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


Re: securing pdf's?

2008-08-14 Thread Jessica Kennedy
Thanks for all the tips!  I was not able to change most of the pdf's to 
cfcontent because the pdf's legally could not be altered; however, I found this 
article on securing pdf's and other documents, thought I would post it since 
I'm sure someone in the future is bound to have the same problem.

I was able to save all my pdf's in a directory and restrict access to 'execute 
only' for the 'everyone' group, but the file could be called for display or 
download using the method in the link below.

http://mysecretbase.com/How_To_Display_Protected_Files.cfm


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

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


RE: Outputting columned UL tags

2008-08-14 Thread Andy Matthews
Aye...

Got it working, thank you. Claude...this isn't really tabular data. It's
simply a list of links.

-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 9:48 AM
To: CF-Talk
Subject: Re: Outputting columned UL tags

I looks like Andy wants a list displayed in three columns. A table implies
that that the first row contains a record of data with fields.
I could have missed something, but the item at the top of column 1 is not
related to the item at the top of column 2 or column 3. So it is just a 3
column list.

Andy, were you able to get the output to work?

Matt

On Thu, Aug 14, 2008 at 9:36 AM, Claude Schneegans
[EMAIL PROTECTED] wrote:
  So it's a little lighter, codewise, plus ULs and LIs are MEANT to 
 display lists of things while tables are not.

 Frankly, I don't see your point.
 ULs and LIs are meant to display lists, right, but what you want to do 
 is not a list, it is a TABLE, so why not use a table ?

--
Matt Williams
It's the question that drives us.



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

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


Apache + Virtual hosts with CF

2008-08-14 Thread Stephen Adams
Hi,

I'm trying to set up VirtualHosts in apache for the cf sites I'm working on. My 
setup so far is I have apache2.2.9 installed, with cf8 running on Vista Home 
Premium. Both are working fine, the CF administrator runs fine everything is 
ok. When I installed CF I did not use the JRun setting instead I selected the 
multi-server config and selected the Apache directory and bin file.

But what I want to do is create Virtual Hosts for each site I work on, for 
example site1.local or site2.local

I have edited my httpd.conf file and added these line at the bottom of the file:

NameVirtualHost 127.0.0.1

VirtualHost 127.0.0.1
   DocumentRoot C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
   ServerName localhost
/VirtualHost

VirtualHost 127.0.0.1
ServerAdmin [EMAIL PROTECTED]
DocumentRoot C:\Program Files\Apache Software 
Foundation\Apache2.2\htdocs\site1\htdocs
ServerName site1.local
ErrorLog logs/site1-error_log   
/VirtualHost


VirtualHost 127.0.0.1
ServerAdmin [EMAIL PROTECTED]
DocumentRoot C:\Program Files\Apache Software 
Foundation\Apache2.2\htdocs\site2\htdocs
ServerName site2.local
ErrorLog logs/site2-error_log
/VirtualHost

I then edited the hosts file under C:\Windows\System32\drivers\etc

And restarted Apache, but now when I go to http://site1.local or 
http://site2.local I keep getting the default It Works page of Apache.

To navigate to the site I then have to put 
http://site1.local/site1/htdocs/index.cfm now I've been looking on the web for 
answers but I cannot find a clear answer, so if anyone can help that'll be 
great.

Thanks

Stephen 

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

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


Re: securing pdf's?

2008-08-14 Thread James Holmes
Huh? That article uses cfcontent, as everyone in the thread advised.

On Thu, Aug 14, 2008 at 10:51 PM, Jessica Kennedy
[EMAIL PROTECTED] wrote:
 Thanks for all the tips!  I was not able to change most of the pdf's to 
 cfcontent because the pdf's legally could not be altered; however, I found 
 this article on securing pdf's and other documents, thought I would post it 
 since I'm sure someone in the future is bound to have the same problem.

 I was able to save all my pdf's in a directory and restrict access to 
 'execute only' for the 'everyone' group, but the file could be called for 
 display or download using the method in the link below.

 http://mysecretbase.com/How_To_Display_Protected_Files.cfm

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

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

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


RE: cfform validation for newbie

2008-08-14 Thread Dave Phillips
Christine,

I believe you will need to do some custom javascript validation for this
(someone who has used cfform a lot can surely suggest otherwise).  Here's
how you could do it:

Add the following to cfform tag 'onsubmit=return doSubmit();

Then, inside your head tags, add the following:

script
vunction doSubmit() {
 var oForm = document.formname;
 if(oForm.discode.value != 'xyz123'  oForm.discode.value != 'abc1234') {
  alert('put your error message here');
  return false;
}
// if we are here, then one of the values were entered.
  if(oForm.discode.value == 'xyz123') {
oForm.paytype[0].checked = true;
  }
  else {
oForm.paytype[1].checked = true;
  }
  return true;
}
/script

This is as assuming that your first radio button is NAxyz123 and your second
radio button is NAabc1234.   You can adjust accordingly, but this should get
you on the right track.

DISCLAIMER:  I have not tested the above code - so it may not be bug free.
:)

Dave
-Original Message-
From: Christine Stephens [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 9:23 AM
To: CF-Talk
Subject: cfform validation for newbie

HI

I need assistance with cfform validation, please.

I have a text field 'discode' that is not required however if it is filled
out it can only have 2 possible answers in it: 'xyz123' or 'abc1234'.

And then if the 'discode' field is filled out correctly with 1 of those 2
values then another radion button field 'paytype' needs to be set to
'NA#discode#'.

can anyone help me? thank you. 



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

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


Re: Apache + Virtual hosts with CF

2008-08-14 Thread James Holmes
Can you confirm what you've written in your hosts file?

On Thu, Aug 14, 2008 at 11:02 PM, Stephen Adams [EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to set up VirtualHosts in apache for the cf sites I'm working on. 
 My setup so far is I have apache2.2.9 installed, with cf8 running on Vista 
 Home Premium. Both are working fine, the CF administrator runs fine 
 everything is ok. When I installed CF I did not use the JRun setting instead 
 I selected the multi-server config and selected the Apache directory and bin 
 file.

 But what I want to do is create Virtual Hosts for each site I work on, for 
 example site1.local or site2.local

 I have edited my httpd.conf file and added these line at the bottom of the 
 file:

 NameVirtualHost 127.0.0.1

 VirtualHost 127.0.0.1
   DocumentRoot C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
   ServerName localhost
 /VirtualHost

 VirtualHost 127.0.0.1
ServerAdmin [EMAIL PROTECTED]
DocumentRoot C:\Program Files\Apache Software 
 Foundation\Apache2.2\htdocs\site1\htdocs
ServerName site1.local
ErrorLog logs/site1-error_log
 /VirtualHost


 VirtualHost 127.0.0.1
ServerAdmin [EMAIL PROTECTED]
DocumentRoot C:\Program Files\Apache Software 
 Foundation\Apache2.2\htdocs\site2\htdocs
ServerName site2.local
ErrorLog logs/site2-error_log
 /VirtualHost

 I then edited the hosts file under C:\Windows\System32\drivers\etc

 And restarted Apache, but now when I go to http://site1.local or 
 http://site2.local I keep getting the default It Works page of Apache.

 To navigate to the site I then have to put 
 http://site1.local/site1/htdocs/index.cfm now I've been looking on the web 
 for answers but I cannot find a clear answer, so if anyone can help that'll 
 be great.

 Thanks

 Stephen

 

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

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


Re: Apache + Virtual hosts with CF

2008-08-14 Thread Cutter (CFRelated)
Aren't VirtualHosts in that version of Apache referenced through a 
separate, included .conf file?

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

Stephen Adams wrote:
 Hi,
 
 I'm trying to set up VirtualHosts in apache for the cf sites I'm working on. 
 My setup so far is I have apache2.2.9 installed, with cf8 running on Vista 
 Home Premium. Both are working fine, the CF administrator runs fine 
 everything is ok. When I installed CF I did not use the JRun setting instead 
 I selected the multi-server config and selected the Apache directory and bin 
 file.
 
 But what I want to do is create Virtual Hosts for each site I work on, for 
 example site1.local or site2.local
 
 I have edited my httpd.conf file and added these line at the bottom of the 
 file:
 
 NameVirtualHost 127.0.0.1
 
 VirtualHost 127.0.0.1
DocumentRoot C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
ServerName localhost
 /VirtualHost
 
 VirtualHost 127.0.0.1
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot C:\Program Files\Apache Software 
 Foundation\Apache2.2\htdocs\site1\htdocs
   ServerName site1.local
   ErrorLog logs/site1-error_log   
 /VirtualHost
 
 
 VirtualHost 127.0.0.1
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot C:\Program Files\Apache Software 
 Foundation\Apache2.2\htdocs\site2\htdocs
   ServerName site2.local
   ErrorLog logs/site2-error_log
 /VirtualHost
 
 I then edited the hosts file under C:\Windows\System32\drivers\etc
 
 And restarted Apache, but now when I go to http://site1.local or 
 http://site2.local I keep getting the default It Works page of Apache.
 
 To navigate to the site I then have to put 
 http://site1.local/site1/htdocs/index.cfm now I've been looking on the web 
 for answers but I cannot find a clear answer, so if anyone can help that'll 
 be great.
 
 Thanks
 
 Stephen 
 
 

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

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


Re: securing pdf's?

2008-08-14 Thread Larry Lyons
 Thanks for all the tips!  I was not able to change most of the pdf's 
 to cfcontent because the pdf's legally could not be altered; however, 
 I found this article on securing pdf's and other documents, thought I 
 would post it since I'm sure someone in the future is bound to have 
 the same problem.
 
 I was able to save all my pdf's in a directory and restrict access to 
 'execute only' for the 'everyone' group, but the file could be called 
 for display or download using the method in the link below.
 
 http://mysecretbase.com/How_To_Display_Protected_Files.cfm

Jessica,

I think you've got it wrong. You don't change your pdf's to cfcontent. rather 
what you do is set up a cf template that accesses the pdf. 

Here's how it works, first move the directory housing the pdf's to somewhere 
outside your web root. Then create a cf template on your site that will access 
the pdf. 

On that CF template you first test to see if the person is logged in. If the 
user is not logged in or not authorized to view the pdf's display a nag message 
to tell that person to log in or simply redirect them to the login page. 

If the person is logged in and is authorized to view the message you deliver 
the pdf via cfcontent and cfheader  like this:

cfheader name='content-disposition' 
value='attachment;filename=PDFFile.pdf'/ 
cfcontent type=application/pdf file=#FullPathToPDFFile# / 

hth,
larry


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

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


cftextarea richtext Basic

2008-08-14 Thread BJ McShane
I'm using the cftextarea tag with richtext and toolbar=Basic turned on. My form 
is on a grey background and when the form is displayed, there is a white border 
around the cftextarea box.  How do I turn off the border or change it to my 
background color?

thanks,

bj 

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

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


Re: Apache + Virtual hosts with CF

2008-08-14 Thread Stephen Adams
Aren't VirtualHosts in that version of Apache referenced through a 
separate, included .conf file?

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

Stephen Adams wrote:


So in my hosts file I have:

127.0.0.1   localhost
::1 localhost
127.0.0.1site1.local
127.0.0.1 site2.local

I have found a httpd-vhosts file in the extra folder of apache/conf, has anyone 
used this? How does it work? 

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

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


javascript question

2008-08-14 Thread BJ McShane
I built a form for my users where they enter IP addresses.  They are use to 
putting in the .(period) in between the numbers but I built the form so all 
they would have to do is type in the number.  Is there a way I can change the 
keystroke of a . (period) to a tab.  So when they are typing they could type in 
the . but it would tab over to the next field?

thanks for any help,

bj 

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

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


Re: Free BlueDragon?

2008-08-14 Thread Larry Lyons
 f8 comes with its own web server albeit it is for development only, and
it can be installed siliently (without user interaction would probably be
more accurate)


If that is the case you could roll it up with something like XAMPP with the
Tomcat Plugin. With a bit of work and a bat file you can deploy a working
CF/JSP/LAMP app on a Windows Box in about five minutes. If you are
interested I have some tutes on my blog on setting up XAMPP with Adobe CF,
Railo and BD.


You really don't even have to do that. Both Tomcat and JBoss come with an 
internal web server that's robust enough to be used in production. just grab 
the Open BlueDragon war file, add your htm and cfm files to it and drop it into 
the appropriate java application server deploy directory. In the next deploy 
life cycle, the jas will pick up the change and start serving the files.

regards,
larry


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

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


Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
 this isn't really tabular data. It's simply a list of links.

This distinction is completely academic and irrelevant.
The purpose of a table in HTML has never be to display data exclusively,
but anything.
HTML is a formating language, not a database facility.
When you display things so they look like a table, it IS a table, even 
if each
of its elements comes a list.

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


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

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


Application.cfc OnSessionEnd

2008-08-14 Thread Paul Giesenhagen
Can you call other components within the OnSessionEnd?

If I call a query directly in the OnSessionEnd function it works fine .. but if 
I put that query into a component and call the component, it doesn't work.

Any ideas?


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

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


RE: javascript question

2008-08-14 Thread Andy Matthews
Why not just have it all in one form field? Easier to store, easier to
manage, no extra coding needed. 

-Original Message-
From: BJ McShane [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 10:25 AM
To: CF-Talk
Subject: javascript question

I built a form for my users where they enter IP addresses.  They are use to
putting in the .(period) in between the numbers but I built the form so all
they would have to do is type in the number.  Is there a way I can change
the keystroke of a . (period) to a tab.  So when they are typing they could
type in the . but it would tab over to the next field?

thanks for any help,

bj 



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

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


RE: Outputting columned UL tags

2008-08-14 Thread Andy Matthews
I'm not really sure why you're fighting this one Claude? Does it really
matter to you if I'm using TABLEs or ULs? The less code, between the top of
the HTML page and the actual content, the better as far as SEO is concerned.
So even if I'm only saving a few characters, it's better than using a TABLE.

Besides...TABLEs are for tabular data. Sure you CAN put other stuff into
them, but that wasn't their original intended purpose.

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 10:30 AM
To: CF-Talk
Subject: Re: Outputting columned UL tags

 this isn't really tabular data. It's simply a list of links.

This distinction is completely academic and irrelevant.
The purpose of a table in HTML has never be to display data exclusively, but
anything.
HTML is a formating language, not a database facility.
When you display things so they look like a table, it IS a table, even if
each of its elements comes a list.

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




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

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


Need a Google Analytic like reporting tools for CF Application use history

2008-08-14 Thread coldfusion . developer
I want to analize the historical activies of our applications that Google 
Analytics can't track.  
We recently started using GA some there's isn't a lot of history.

I’m trying to get a sense of utilization of the various sections of our site, 
especially those supported by a specialized application.  I can dig out a lot 
of view usage via Google Analytics by viewing and parsing URL strings, however, 
that only paints some of the picture.  Since I have access to the back end, I 
was looking for a tools I could use see run reports on query information for 
instance how many store locator searches are performed.  

Thanks

D-

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

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


RE: Application.cfc OnSessionEnd

2008-08-14 Thread Paul Giesenhagen
Scratch that question .. we found a small problem in the code .. it does run 
the components.

Thought it should.


-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 10:30 AM
To: CF-Talk
Subject: Application.cfc OnSessionEnd

Can you call other components within the OnSessionEnd?

If I call a query directly in the OnSessionEnd function it works fine .. but if 
I put that query into a component and call the component, it doesn't work.

Any ideas?




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

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


Re: Free BlueDragon?

2008-08-14 Thread Chris Blackwell
 Thank you, Gerald, allow me to be lazy for a minute, cf8 
 comes with its own web server albeit it is for development 
 only, and it can be installed siliently (without user 
 interaction would probably be more accurate), and this 
 capability (of silent installation + a default web server) is 
 important to me.

This could be done fairly easy with almost any J2EE app server, and a bit of
shell scripting.

fwiw, i just wanted to point out that unless the software hes writing is 
distributed under a license that is compatible with the GPL then he can't 
bundle OpenBD with his software.  He would have to distribute the software 
seperately and then install it on OpenBD.  

The same is not true of Railo 3.1 which is LGPL and can be bundled with a 
commercial app as long as you don't modify the railo source code.


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

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


RE: javascript question

2008-08-14 Thread Dave Phillips
BJ,

Yes, there is a way you can do that.  I'm not sure of the exact syntax, but
hopefully you can google this and get a solution:

You need to use the onkeypress event, something like this:

input type=text name=whatever onkeypress=changePeriod();

Your changePeriod() function should look at the window.event.keyCode (which
is the ascii value of the key pressed) and it matches the ascii value of a
period (46), change it to a tab (9).  Something like this might work:

function changePeriod() {
  if(window.event.keyCode == 46) {
window.event.keyCode = 9;
  }
}

Try that and see if it works.  I know it will work in IE, but not sure about
other browsers.  

Hope this helps!

Sincerely,

Dave Phillips
http://www.dave-phillips.com


-Original Message-
From: BJ McShane [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 10:25 AM
To: CF-Talk
Subject: javascript question

I built a form for my users where they enter IP addresses.  They are use to
putting in the .(period) in between the numbers but I built the form so all
they would have to do is type in the number.  Is there a way I can change
the keystroke of a . (period) to a tab.  So when they are typing they could
type in the . but it would tab over to the next field?

thanks for any help,

bj 



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

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


Re: Need a Google Analytic like reporting tools for CF Application use history

2008-08-14 Thread Wil Genovese
Weblog expert can do this.  It uses your webserver logs and you can  
customize reports. Even generate reports based on the query string.   
hey have a free trial so it does not hurt to try it.

Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well.

On Aug 14, 2008, at 10:39 AM, [EMAIL PROTECTED] wrote:

 I want to analize the historical activies of our applications that  
 Google Analytics can't track.
 We recently started using GA some there's isn't a lot of history.

 I’m trying to get a sense of utilization of the various sections of  
 our site, especially those supported by a specialized application.   
 I can dig out a lot of view usage via Google Analytics by viewing  
 and parsing URL strings, however, that only paints some of the  
 picture.  Since I have access to the back end, I was looking for a  
 tools I could use see run reports on query information for instance  
 how many store locator searches are performed.

 Thanks

 D-

 

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

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


Re: javascript question

2008-08-14 Thread Yuliang Ruan
remember that when you do this, it changes the behavior of the keystroke in the 
entire window.   If you have another field that can input a period(.), this 
will make it a tab too.  

Not sure if you're allowed to check focus and based on the focused element, 
maybe make a decision to bypass or not 

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

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


Re: javascript question

2008-08-14 Thread Yuliang Ruan
oh wait n/m   the way dave has it, it only activates on that element.  :) 

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

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


RE: securing pdf's?

2008-08-14 Thread Dave Watts
 Thanks for all the tips!  I was not able to change most of 
 the pdf's to cfcontent because the pdf's legally could not be 
 altered; however, I found this article on securing pdf's and 
 other documents, thought I would post it since I'm sure 
 someone in the future is bound to have the same problem.

CFCONTENT doesn't change anything, it simply lets you fetch a file and serve
it.

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!

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

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


Re: javascript question

2008-08-14 Thread BJ McShane
Dave thanks for the input.  I did do some google searches on this but never 
found a solution that would work. I'll try what you posted and try some more 
searches to see what I can find.
thanks! 

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

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


RE: Free BlueDragon?

2008-08-14 Thread Dave Watts
 I don't know why people have this impression but JRun is 
 quite able to run in production as the primary web server (as 
 opposed to using Apache as a front end).

Adobe/Macromedia gave this impression by stating this in several places.

Also, the JRun web server has practically no functionality beyond serving
pages. Other than that, though, I agree with you.

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

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

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

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


Re: javascript question

2008-08-14 Thread BJ McShane
Yes I did take that into account. If I keep in at the input tag level I think 
it should only effect the fields I want.  I'll have to do more testing.

thanks, 

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

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


Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
 So even if I'm only saving a few characters, it's better than using a 
TABLE.

Provided you know how to do it.
If you have to ask other people, then you are creating your own problem,
just for saving a few characters...

 Besides...TABLEs are for tabular data. Sure you CAN put other stuff into
them, but that wasn't their original intended purpose.

IMO you are making a confusion between database tables and HTML tables.

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


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

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


RE: Outputting columned UL tags

2008-08-14 Thread Dave Watts
 This distinction is completely academic and irrelevant.
 The purpose of a table in HTML has never be to display data 
 exclusively, but anything.

Well, no, that's not correct. Tables were intended to display tabular data.
They weren't designed for generic layout uses, and as a result they're not
very suitable for that.

http://www.w3.org/TR/WCAG10/#gl-table-markup

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!

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

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


Re: javascript question

2008-08-14 Thread BJ McShane
I'll probably change it that way.  I stored it in 4 different field in the DB 
since each of the 4 parts mean certain things to the user. They could search 
and sort based on what they are trying to find.  Also when they search they can 
just put input into any of the fields to find all the IPs with that number. So 
if the third part of the IP address is 10 they could just input something in 
the 3rd input box. 

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

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


Re: Free BlueDragon?

2008-08-14 Thread Gerald Guido
You really don't even have to do that.

True. The reason I mentioned XAMPP (Other than I love it) is that it comes
with Mysql built in. As well as all the batch scripts you need to start up
Tomcat, Mysql, Apache, FTP etc. and install them as services. It is pretty
much a complete App stack that can be up and running with a few mouse
clicks. The only draw back I see is that the Tomcat plugin is Windows only.

As Chris pointed out, one thing you may want to look into, if you haven't
already, is how the various CF run times are licensed.

HTH
~G~

On Thu, Aug 14, 2008 at 11:26 AM, Larry Lyons [EMAIL PROTECTED] wrote:

  f8 comes with its own web server albeit it is for development only, and
 it can be installed siliently (without user interaction would probably
 be
 more accurate)
 
 
 If that is the case you could roll it up with something like XAMPP with
 the
 Tomcat Plugin. With a bit of work and a bat file you can deploy a working
 CF/JSP/LAMP app on a Windows Box in about five minutes. If you are
 interested I have some tutes on my blog on setting up XAMPP with Adobe CF,
 Railo and BD.
 

 You really don't even have to do that. Both Tomcat and JBoss come with an
 internal web server that's robust enough to be used in production. just grab
 the Open BlueDragon war file, add your htm and cfm files to it and drop it
 into the appropriate java application server deploy directory. In the next
 deploy life cycle, the jas will pick up the change and start serving the
 files.

 regards,
 larry


 

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

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


SOT: Using jQuery to access the JSON that CF8 returns?

2008-08-14 Thread Andy Matthews
I'm using jQuery to make a direct CFC call, with the optional returnFormat 
parameter.

Here's the get call:

$.get(coupons.cfc?method=getSingleCoupon, {
couponid: couponid,
siteid: siteid,
returnFormat:'JSON'
},function(d){
// alert(d['DATA'][0][0]);
console.log(d);
$container.css({
'background-image': 'none'
});
});

Here's the result when I log to the console:
--
{
COLUMNS:[ID,TITLE],
DATA:[
[4,15% Off A Timing Belt Package]
   ]
}

So it's an object with an array named COLUMNS, and one named DATA. I should be 
able to reference the title like so:

d['DATA'][0][1];

But when I do so in Firefox, using Firebug I get the error:

d.DATA has no properties
coupons.js
Line 68

What am I doing wrong? 

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

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


Re: Outputting columned UL tags

2008-08-14 Thread Matt Williams
On Thu, Aug 14, 2008 at 11:26 AM, Claude Schneegans
[EMAIL PROTECTED] wrote:
  Besides...TABLEs are for tabular data. Sure you CAN put other stuff into
 them, but that wasn't their original intended purpose.

 IMO you are making a confusion between database tables and HTML tables.

Just to agree with Andy here...
Yes, Claude, HTML tables can be used for many purposes. I've even
heard of them used for doing actual layout (gasp!). But, if you want
to be more accessible and CSS compliant, then HTML tables are best
used for database type information. Query output as it were.



-- 
Matt Williams
It's the question that drives us.

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

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


RE: Outputting columned UL tags

2008-08-14 Thread Andy Matthews
I wasn't asking for help in displaying the data in ULs vs LIs. What I was
asking for was how to display it in a top to bottom, left to right format;
rather than a left to right, top to bottom format. 

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 11:27 AM
To: CF-Talk
Subject: Re: Outputting columned UL tags

 So even if I'm only saving a few characters, it's better than using a
TABLE.

Provided you know how to do it.
If you have to ask other people, then you are creating your own problem,
just for saving a few characters...

 Besides...TABLEs are for tabular data. Sure you CAN put other stuff into
them, but that wasn't their original intended purpose.

IMO you are making a confusion between database tables and HTML tables.

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




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

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


Re: Using jQuery to access the JSON that CF8 returns?

2008-08-14 Thread Josh Nathanson
The $.get method of jQuery should have the parameter dataType: 'json' or 
you can use $.getJSON.  I think in your code it would default to xml or html 
datatype returned so that might be the problem.

-- Josh


- Original Message - 
From: Andy Matthews [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, August 14, 2008 9:39 AM
Subject: SOT: Using jQuery to access the JSON that CF8 returns?


 I'm using jQuery to make a direct CFC call, with the optional returnFormat 
 parameter.

 Here's the get call:
 
 $.get(coupons.cfc?method=getSingleCoupon, {
 couponid: couponid,
 siteid: siteid,
 returnFormat:'JSON'
 },function(d){
 // alert(d['DATA'][0][0]);
 console.log(d);
 $container.css({
 'background-image': 'none'
 });
 });

 Here's the result when I log to the console:
 --
 {
 COLUMNS:[ID,TITLE],
 DATA:[
 [4,15% Off A Timing Belt Package]
]
 }

 So it's an object with an array named COLUMNS, and one named DATA. I 
 should be able to reference the title like so:

 d['DATA'][0][1];

 But when I do so in Firefox, using Firebug I get the error:

 d.DATA has no properties
 coupons.js
 Line 68

 What am I doing wrong?

 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310998
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: Using jQuery to access the JSON that CF8 returns?

2008-08-14 Thread Matt Williams
On Thu, Aug 14, 2008 at 11:39 AM, Andy Matthews
[EMAIL PROTECTED] wrote:
 I'm using jQuery to make a direct CFC call, with the optional returnFormat 
 parameter.
 d['DATA'][0][1];

 But when I do so in Firefox, using Firebug I get the error:

 d.DATA has no properties
 coupons.js
 Line 68

 What am I doing wrong?


For queries returned in JSON, I I use a jsonencode function by Jehiah Czebotar.
It adds a RECORDCOUNT variable and then I reference returned data like so:

for (var i=0; id.RECORDCOUNT; i++) {
  d.DATA.COLNAME[i]
}

I suppose direct access such as d.DATA.COLNAME[0] would work also.

-- 
Matt Williams
It's the question that drives us.

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

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


RE: Using jQuery to access the JSON that CF8 returns?

2008-08-14 Thread Andy Matthews
Nope...

I'm specifying returnFormat: JSON as one of the parameters being sent to the
CFC, but I can't seem to access the object coming back. It would appear that
it's a generic object, but the instant I try to access any of the data
inside the return variable, I get errors, or undefined.

-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 11:54 AM
To: CF-Talk
Subject: Re: Using jQuery to access the JSON that CF8 returns?

The $.get method of jQuery should have the parameter dataType: 'json' or
you can use $.getJSON.  I think in your code it would default to xml or html
datatype returned so that might be the problem.

-- Josh


- Original Message -
From: Andy Matthews [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, August 14, 2008 9:39 AM
Subject: SOT: Using jQuery to access the JSON that CF8 returns?


 I'm using jQuery to make a direct CFC call, with the optional returnFormat

 parameter.

 Here's the get call:
 
 $.get(coupons.cfc?method=getSingleCoupon, {
 couponid: couponid,
 siteid: siteid,
 returnFormat:'JSON'
 },function(d){
 // alert(d['DATA'][0][0]);
 console.log(d);
 $container.css({
 'background-image': 'none'
 });
 });

 Here's the result when I log to the console:
 --
 {
 COLUMNS:[ID,TITLE],
 DATA:[
 [4,15% Off A Timing Belt Package]
]
 }

 So it's an object with an array named COLUMNS, and one named DATA. I 
 should be able to reference the title like so:

 d['DATA'][0][1];

 But when I do so in Firefox, using Firebug I get the error:

 d.DATA has no properties
 coupons.js
 Line 68

 What am I doing wrong?

 



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

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


Re: Outputting columned UL tags

2008-08-14 Thread William Seiter
Andy,

Beautiful news for you!!!

You can use either method and your 'display' will be correct.  Loop over a td 
in a table or loop over a li in a ul that is formatted through CSS.

The CSS method's main benefit to users is that the code is 'accessible' to 
screen readers, but you will need to have more than a cursory knowledge of HTML 
and CSS concepts. (Not a bad idea to 'bone up' on this if you don't have it 
already, the future of design is dependant on them)

If you are just trying to make a client happy, you can:
cfset loopcount = 12
cfset loopbreak = ceiling(loopcount/3)
table
tr
td
cfloop from=1 to=#loopcount# index=currloop
#yourARRAY/yourQUERY[currloop]#br /
cfif currloop mod loopbreak eq 0
/td
td
/cfif
/cfloop
/td
/tr
/table

 

You should keep in mind though, there are a 'ton' of ways to accomplish what 
you are looking to do.  The best way is the way that makes the most sense to 
you and your client.
William

--
William E. Seiter
ColdFusion Programmer / Web Developer

Free Website Trade Publication  Website Magazine
Be sure to answer all of the questions on the subscription form, small price to 
pay for the loads of excellent content this magazine offers to Web 
Professionals for FREE!!

 

 I'm looking to output a series of ULs and LIs in a 3 column fashion, 
 like this:
 
 link1--link4--link7
 link2--link5--link8
 link3--link6
 
 I've got code which lets me do it like this:
 
 link1--link2--link3
 link4--link5--link6
 link7--link8
 
 But I'm a little mystified at how to accomplish the first. I actually 
 thought it would be a piece of cake since I could just easily output 
 the LIs inside the UL, but figuring out how many should be in each is 
 bigger challenge than I first thought. Anyone have code like this 
 already written?
 
 Yes, I feel like a chump because of this.
 No I haven't had any coffee yet today.
 Yes I'm going home to cry on my huge pilla'. 


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

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


Re: javascript question

2008-08-14 Thread William Seiter
If the code isn't cross-browser compatible (not tested, probably is though)

You could use the same concept to activate the javascript , when the javascript 
senses the key that was pressed, if it was the 'period' then have the element's 
'tabindex' detected and then have the system 'focus()' on the next tabindex and 
'return false' for the keystroke. 

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

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


Re: Using jQuery to access the JSON that CF8 returns?

2008-08-14 Thread Josh Nathanson
Your console.log output is showing a string.  If you set the $.get parameter 
dataType='json' or use $.getJSON, it will make this into an object whose 
properties you can access.  You should see an object in the console rather 
than a string.  I just had this issue the other day.

-- Josh


- Original Message - 
From: Andy Matthews [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, August 14, 2008 10:07 AM
Subject: RE: Using jQuery to access the JSON that CF8 returns?


 Nope...

 I'm specifying returnFormat: JSON as one of the parameters being sent to 
 the
 CFC, but I can't seem to access the object coming back. It would appear 
 that
 it's a generic object, but the instant I try to access any of the data
 inside the return variable, I get errors, or undefined.

 -Original Message-
 From: Josh Nathanson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 14, 2008 11:54 AM
 To: CF-Talk
 Subject: Re: Using jQuery to access the JSON that CF8 returns?

 The $.get method of jQuery should have the parameter dataType: 'json' or
 you can use $.getJSON.  I think in your code it would default to xml or 
 html
 datatype returned so that might be the problem.

 -- Josh


 - Original Message -
 From: Andy Matthews [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Thursday, August 14, 2008 9:39 AM
 Subject: SOT: Using jQuery to access the JSON that CF8 returns?


 I'm using jQuery to make a direct CFC call, with the optional 
 returnFormat

 parameter.

 Here's the get call:
 
 $.get(coupons.cfc?method=getSingleCoupon, {
 couponid: couponid,
 siteid: siteid,
 returnFormat:'JSON'
 },function(d){
 // alert(d['DATA'][0][0]);
 console.log(d);
 $container.css({
 'background-image': 'none'
 });
 });

 Here's the result when I log to the console:
 --
 {
 COLUMNS:[ID,TITLE],
 DATA:[
 [4,15% Off A Timing Belt Package]
]
 }

 So it's an object with an array named COLUMNS, and one named DATA. I
 should be able to reference the title like so:

 d['DATA'][0][1];

 But when I do so in Firefox, using Firebug I get the error:

 d.DATA has no properties
 coupons.js
 Line 68

 What am I doing wrong?





 

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

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


RE: Using jQuery to access the JSON that CF8 returns?

2008-08-14 Thread Andy Matthews
The problem was that ColdFusion returns the JSON as a string and I wasn't
evaluating the string into an object before trying to access it's contents:

$.get(coupons.cfc?method=getSingleCoupon, {
couponid: couponid,
siteid: siteid,
returnFormat:'JSON'
},function(d){
var o = eval((+d+));
}); 

That does it. Thanks to everyone who offered help!

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 12:08 PM
To: CF-Talk
Subject: RE: Using jQuery to access the JSON that CF8 returns?

Nope...

I'm specifying returnFormat: JSON as one of the parameters being sent to the
CFC, but I can't seem to access the object coming back. It would appear that
it's a generic object, but the instant I try to access any of the data
inside the return variable, I get errors, or undefined.

-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 11:54 AM
To: CF-Talk
Subject: Re: Using jQuery to access the JSON that CF8 returns?

The $.get method of jQuery should have the parameter dataType: 'json' or
you can use $.getJSON.  I think in your code it would default to xml or html
datatype returned so that might be the problem.

-- Josh


- Original Message -
From: Andy Matthews [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, August 14, 2008 9:39 AM
Subject: SOT: Using jQuery to access the JSON that CF8 returns?


 I'm using jQuery to make a direct CFC call, with the optional 
 returnFormat

 parameter.

 Here's the get call:
 
 $.get(coupons.cfc?method=getSingleCoupon, {
 couponid: couponid,
 siteid: siteid,
 returnFormat:'JSON'
 },function(d){
 // alert(d['DATA'][0][0]);
 console.log(d);
 $container.css({
 'background-image': 'none'
 });
 });

 Here's the result when I log to the console:
 --
 {
 COLUMNS:[ID,TITLE],
 DATA:[
 [4,15% Off A Timing Belt Package]
]
 }

 So it's an object with an array named COLUMNS, and one named DATA. I 
 should be able to reference the title like so:

 d['DATA'][0][1];

 But when I do so in Firefox, using Firebug I get the error:

 d.DATA has no properties
 coupons.js
 Line 68

 What am I doing wrong?

 





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

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


Re: Free BlueDragon?

2008-08-14 Thread Don L
A quick thank-you note, you guys are awesome!  Thank you.
 I've read a bit on this guy but still does not know anything 
 substantial about it, installing it and playing it out is an option 
 but if I could get some thoughts from someone has done that it would 
 be very desirable for my decision on a small cf8-based app which uses 
 a lot of new and sexy tags/features like auto-suggest, cfwindow etc (I 
 understand a lot of the new UI features uses open source js libraries, 
 making BD to use them manually would be LOTS of work which I don't 
 want to get into...).
 
 Many thanks. 


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

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


Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
 then HTML tables are best
used for database type information.

No doubt about that.
But the question here is should I use a table to output a list
if I want it to look like a table, my answer is definitely YES.
The only purpose on HTML is to define the layout of a page.
If your layout requires something, coming from a database or not,
to be a table, the the TABLE tag is the choice.

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


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

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


Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
 Tables were intended to display tabular data.

Correct, then if you want a list to be displayed as a tabular data, use 
a TABLE.

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


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

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


RE: Outputting columned UL tags

2008-08-14 Thread Dave Phillips
Why does this matter and why are we wasting bandwidth and time on this
discussion?  I'm sure that most people would agree that there are just some
things in web development that are left up to the developer to choose and
that there are almost always more than one way to do something?  Why even
make a big deal about it?

Since I'm on my soap box, my other beef is people on this list who don't
answer questions, but instead, ask why are you doing it that way?.  It's
happened more than once today already and I feel bad for those asking the
questions, because they are looking at a solution.  In some cases, it's good
to offer alternative ways of doing things but, at least offer a possible
answer to the question and THEN suggest another way of doing it.  Responding
with why aren't you doing it this way instead? and not evening offering an
answer to the question can be very disappointing to a developer who has
already banged their head against the wall for several minutes, hours or
days before making themselves vulnerable by asking a question in an open
forum like this.  They sure don't need sarcastic remarks and/or time wasting
remarks.

Okay, I'm off my soap box now. :)

Dave Phillips

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 12:55 PM
To: CF-Talk
Subject: Re: Outputting columned UL tags

 then HTML tables are best
used for database type information.

No doubt about that.
But the question here is should I use a table to output a list
if I want it to look like a table, my answer is definitely YES.
The only purpose on HTML is to define the layout of a page.
If your layout requires something, coming from a database or not,
to be a table, the the TABLE tag is the choice.


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

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


speaking of jQuery

2008-08-14 Thread Greg Morphis
Are the tutorials on jQuery.com accurate?
The reason I ask is because I want to play around with jQuery, I
downloaded the .js file.
I placed it in /root/common/javascript/ named jquery.js

I checked out the page on jQuery.com, How jQuery Works and nothing works...

This works which means I'm using the correct path
html
head
script type=text/javascript 
src=/common/javascript/jquery.js/script
script type=text/javascript
$(document).ready(function() {
alert(Look Mom, I'm using jQuery!);
});
/script
/head
body
a href=javascript:alert('hi');jQuery/a
/body
/html

but their examples..
 $(a).click(function(event){
   event.preventDefault();
   alert(As you can see, the link no longer took you to jquery.com);
 });

does nothing.. it still alerts the hi..
Maybe I'm missing something.. anyone?

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

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


Re: speaking of jQuery

2008-08-14 Thread Greg Morphis
Doh!! never mind.. the functions have to be placed in the
document.ready function..


On Thu, Aug 14, 2008 at 1:02 PM, Greg Morphis [EMAIL PROTECTED] wrote:
 Are the tutorials on jQuery.com accurate?
 The reason I ask is because I want to play around with jQuery, I
 downloaded the .js file.
 I placed it in /root/common/javascript/ named jquery.js

 I checked out the page on jQuery.com, How jQuery Works and nothing works...

 This works which means I'm using the correct path
 html
 head
script type=text/javascript 
 src=/common/javascript/jquery.js/script
script type=text/javascript
 $(document).ready(function() {
 alert(Look Mom, I'm using jQuery!);
 });
/script
 /head
 body
a href=javascript:alert('hi');jQuery/a
 /body
 /html

 but their examples..
  $(a).click(function(event){
   event.preventDefault();
   alert(As you can see, the link no longer took you to jquery.com);
  });

 does nothing.. it still alerts the hi..
 Maybe I'm missing something.. anyone?


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

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


RE: speaking of jQuery

2008-08-14 Thread Andy Matthews
Actually, some of them could be outside it. It depends on when the functions
get called. If they're called as part of the page load, then yes. However,
if the functions are called on user interaction, after the DOM is loaded,
then you could probably put those outside. 

-Original Message-
From: Greg Morphis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 1:07 PM
To: CF-Talk
Subject: Re: speaking of jQuery

Doh!! never mind.. the functions have to be placed in the document.ready
function..


On Thu, Aug 14, 2008 at 1:02 PM, Greg Morphis [EMAIL PROTECTED] wrote:
 Are the tutorials on jQuery.com accurate?
 The reason I ask is because I want to play around with jQuery, I 
 downloaded the .js file.
 I placed it in /root/common/javascript/ named jquery.js

 I checked out the page on jQuery.com, How jQuery Works and nothing
works...

 This works which means I'm using the correct path html head
script type=text/javascript
src=/common/javascript/jquery.js/script
script type=text/javascript
 $(document).ready(function() {
 alert(Look Mom, I'm using jQuery!);
 });
/script
 /head
 body
a href=javascript:alert('hi');jQuery/a
 /body
 /html

 but their examples..
  $(a).click(function(event){
   event.preventDefault();
   alert(As you can see, the link no longer took you to jquery.com);  
 });

 does nothing.. it still alerts the hi..
 Maybe I'm missing something.. anyone?




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

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


RE: Using jQuery to access the JSON that CF8 returns?

2008-08-14 Thread Andy Matthews
Josh...

getJSON works perfectly. Thanks! 

-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 12:28 PM
To: CF-Talk
Subject: Re: Using jQuery to access the JSON that CF8 returns?

Your console.log output is showing a string.  If you set the $.get parameter
dataType='json' or use $.getJSON, it will make this into an object whose
properties you can access.  You should see an object in the console rather
than a string.  I just had this issue the other day.

-- Josh


- Original Message -
From: Andy Matthews [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, August 14, 2008 10:07 AM
Subject: RE: Using jQuery to access the JSON that CF8 returns?


 Nope...

 I'm specifying returnFormat: JSON as one of the parameters being sent to 
 the
 CFC, but I can't seem to access the object coming back. It would appear 
 that
 it's a generic object, but the instant I try to access any of the data
 inside the return variable, I get errors, or undefined.

 -Original Message-
 From: Josh Nathanson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 14, 2008 11:54 AM
 To: CF-Talk
 Subject: Re: Using jQuery to access the JSON that CF8 returns?

 The $.get method of jQuery should have the parameter dataType: 'json' or
 you can use $.getJSON.  I think in your code it would default to xml or 
 html
 datatype returned so that might be the problem.

 -- Josh


 - Original Message -
 From: Andy Matthews [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Thursday, August 14, 2008 9:39 AM
 Subject: SOT: Using jQuery to access the JSON that CF8 returns?


 I'm using jQuery to make a direct CFC call, with the optional 
 returnFormat

 parameter.

 Here's the get call:
 
 $.get(coupons.cfc?method=getSingleCoupon, {
 couponid: couponid,
 siteid: siteid,
 returnFormat:'JSON'
 },function(d){
 // alert(d['DATA'][0][0]);
 console.log(d);
 $container.css({
 'background-image': 'none'
 });
 });

 Here's the result when I log to the console:
 --
 {
 COLUMNS:[ID,TITLE],
 DATA:[
 [4,15% Off A Timing Belt Package]
]
 }

 So it's an object with an array named COLUMNS, and one named DATA. I
 should be able to reference the title like so:

 d['DATA'][0][1];

 But when I do so in Firefox, using Firebug I get the error:

 d.DATA has no properties
 coupons.js
 Line 68

 What am I doing wrong?





 



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

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


(ot) Radio Buttons and Subordinates

2008-08-14 Thread Steve LaBadie
I want to know if it is possible to take focus off of a radio button if
someone selects a text box if it shares the same radio button label?

 

 

O A

O B

O C

O D

Other 

 

Steve LaBadie, Web Manger

East Stroudsburg University

200 Prospect St.

East Stroudsburg, Pa 18301

570-422-3999

http://www.esu.edu

[EMAIL PROTECTED]

 



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

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


Re: Apache + Virtual hosts with CF

2008-08-14 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
In my httpd.conf file I have NameVirtualHost *:80

VirtualHost *:80
~the first one is your default website and in my case points to the 
htdocs directory. All Other virtual host entries point to the document 
root of the website.
/VirtualHost

Stephen Adams wrote:
| Aren't VirtualHosts in that version of Apache referenced through a
| separate, included .conf file?
|
| Steve Cutter Blades
| Adobe Certified Professional
| Advanced Macromedia ColdFusion MX 7 Developer
| _
| http://blog.cutterscrossing.com
|
| Stephen Adams wrote:
|
| So in my hosts file I have:
|
| 127.0.0.1   localhost
| ::1 localhost
| 127.0.0.1 site1.local
| 127.0.0.1 site2.local
|
| I have found a httpd-vhosts file in the extra folder of apache/conf, 
has anyone used this? How does it work?
|

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFIpHyt3GqPAgBSy90RAvthAJ40snOJWiEoypOrV5tO61yMlNYYlgCeIAPy
aziOTemiePjR1EWJWCyxVbc=
=7wXN
-END PGP SIGNATURE-


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

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


Re: (ot) Radio Buttons and Subordinates

2008-08-14 Thread Charlie Griefer
via JS, you can loop over the radio button array, and set each one to
selected = false...

depending on your business rules, you may to do some validation to ensure
that if they don't enter something for other, one of the radio buttons
gets re-selected.

script type=text/javascript
function clearRadios() {
var myRadios = document.getElementById('myForm').myRadio;
for (var i=0; imyRadios.length; i++) {
myRadios[i].checked = false;
}
}
/script

form id=myForm name=myForm
input type=radio name=myRadio id=radioA value=a
checked=checked / Abr /
input type=radio name=myRadio id=radioB value=b / Bbr /
input type=radio name=myRadio id=radioC value=c / Cbr /
input type=radio name=myRadio id=radioD value=d / Dbr /

br /
Other: input type=text onfocus=clearRadios(); /
/form

On Thu, Aug 14, 2008 at 11:34 AM, Steve LaBadie [EMAIL PROTECTED]wrote:

 I want to know if it is possible to take focus off of a radio button if
 someone selects a text box if it shares the same radio button label?





 O A

 O B

 O C

 O D

 Other 



 Steve LaBadie, Web Manger

 East Stroudsburg University

 200 Prospect St.

 East Stroudsburg, Pa 18301

 570-422-3999

 http://www.esu.edu

 [EMAIL PROTECTED]





 

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

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


RE: (ot) Radio Buttons and Subordinates

2008-08-14 Thread Steve LaBadie
Cool, Thanks Charles!

Steve LaBadie, Web Manger
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
http://www.esu.edu
[EMAIL PROTECTED]
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 2:50 PM
To: CF-Talk
Subject: Re: (ot) Radio Buttons and Subordinates

via JS, you can loop over the radio button array, and set each one to
selected = false...

depending on your business rules, you may to do some validation to
ensure
that if they don't enter something for other, one of the radio buttons
gets re-selected.

script type=text/javascript
function clearRadios() {
var myRadios = document.getElementById('myForm').myRadio;
for (var i=0; imyRadios.length; i++) {
myRadios[i].checked = false;
}
}
/script

form id=myForm name=myForm
input type=radio name=myRadio id=radioA value=a
checked=checked / Abr /
input type=radio name=myRadio id=radioB value=b / Bbr /
input type=radio name=myRadio id=radioC value=c / Cbr /
input type=radio name=myRadio id=radioD value=d / Dbr /

br /
Other: input type=text onfocus=clearRadios(); /
/form

On Thu, Aug 14, 2008 at 11:34 AM, Steve LaBadie
[EMAIL PROTECTED]wrote:

 I want to know if it is possible to take focus off of a radio button
if
 someone selects a text box if it shares the same radio button label?





 O A

 O B

 O C

 O D

 Other 



 Steve LaBadie, Web Manger

 East Stroudsburg University

 200 Prospect St.

 East Stroudsburg, Pa 18301

 570-422-3999

 http://www.esu.edu

 [EMAIL PROTECTED]





 



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311016
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 validation for newbie

2008-08-14 Thread Christine Stephens
Hi Dave

the line -  if(oForm.discode.value != 'xyz123'  oForm.discode.value != 
'abc1234') { is giving an error - saying Expected ';'

also i wanted to claify - i might not have been so clear in my request...

the user could enter 1 of 2 possible entries into the non-required field... 
'xyz123' OR 'abc1234'

i only add that in because it looked like in the coding below - that it would 
only accept the answer of 'xyz123' - do you know how you could have it check 
for both?

Thank you!!

Christine,

I believe you will need to do some custom javascript validation for this
(someone who has used cfform a lot can surely suggest otherwise).  Here's
how you could do it:

Add the following to cfform tag 'onsubmit=return doSubmit();

Then, inside your head tags, add the following:

script
vunction doSubmit() {
 var oForm = document.formname;
 if(oForm.discode.value != 'xyz123'  oForm.discode.value != 'abc1234') {
  alert('put your error message here');
  return false;
}
// if we are here, then one of the values were entered.
  if(oForm.discode.value == 'xyz123') {
oForm.paytype[0].checked = true;
  }
  else {
oForm.paytype[1].checked = true;
  }
  return true;
}
/script

This is as assuming that your first radio button is NAxyz123 and your second
radio button is NAabc1234.   You can adjust accordingly, but this should get
you on the right track.

DISCLAIMER:  I have not tested the above code - so it may not be bug free.
:)

Dave
HI

I need assistance with cfform validation, please.

I have a text field 'discode' that is not required however if it is filled
out it can only have 2 possible answers in it: 'xyz123' or 'abc1234'.

And then if the 'discode' field is filled out correctly with 1 of those 2
values then another radion button field 'paytype' needs to be set to
'NA#discode#'.

can anyone help me? thank you. 

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

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


Re: Apache + Virtual hosts with CF

2008-08-14 Thread denstar
Here's how I set it up:

I create a conf file, called:  some.host.name.conf

Filled with:

VirtualHost *:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /srv/www/somehost
ServerName somehost.local
ErrorLog /path/to/logdir/somehost-error.log
CustomLog /path/to/logdir/somehost.log common
ErrorDocument 500 /appserverbooboo.html
ErrorDocument 403 /forbidden.html
ErrorDocument 404 /missing.cfm
#   Include /path/to/confdir/jrun_cfusion_instance1.conf
/VirtualHost

And some Directory stuff or whatever... the point is that each host
is in it's own config file (which ROCKS for organization as things get
more complex), and the bonus is that you can keep them in SVN, and
have a pretty uniform (and fast to set up) environment...

I use includes, so httpd.conf has an Include to httpd-vhosts.conf (you
have to uncomment it), which I keep pretty empty except for
server-wide aliases or whatnot, and Includes to each host .conf file
(which I keep all in one directory).

There is a difference between binding to IP or not (127.0.0.1 vs. *),
so you might want to look into that stuff, but anyways, hope it helps!

-- 
The greatest way to live with honor in this world is to be what we
pretend to be.
Socrates

On Thu, Aug 14, 2008 at 12:42 PM, Graham Pearson wrote:

 In my httpd.conf file I have NameVirtualHost *:80

 VirtualHost *:80
 ~the first one is your default website and in my case points to the
 htdocs directory. All Other virtual host entries point to the document
 root of the website.
 /VirtualHost

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

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


RE: cfform validation for newbie

2008-08-14 Thread Dave Phillips
Sorry, I thought the field was required.  Try this:

if(oForm.discode.value.length  0  !(oForm.discount.value == 'xyz123' ||
oForm.discount.value == 'abc1234')) {

This says if they enter a value, and that value is NOT 'xyz123' or
'abc1234', then display the error.

If they don't enter a value, it will never evaluate the comparison
condition.

See how that works.  If it doesn't work, post your code as you have it so we
can look at it all.

Dave

-Original Message-
From: Christine Stephens [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 3:01 PM
To: CF-Talk
Subject: Re: cfform validation for newbie

Hi Dave

the line -  if(oForm.discode.value != 'xyz123'  oForm.discode.value !=
'abc1234') { is giving an error - saying Expected ';'

also i wanted to claify - i might not have been so clear in my request...

the user could enter 1 of 2 possible entries into the non-required field...
'xyz123' OR 'abc1234'

i only add that in because it looked like in the coding below - that it
would only accept the answer of 'xyz123' - do you know how you could have it
check for both?

Thank you!!


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

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


Re: Outputting columned UL tags

2008-08-14 Thread Matt Williams
On Thu, Aug 14, 2008 at 12:57 PM, Claude Schneegans
[EMAIL PROTECTED] wrote:
  Tables were intended to display tabular data.

 Correct, then if you want a list to be displayed as a tabular data, use
 a TABLE.

I hate to drag this out further, but there what if there was more to
it than display? What if the 3 columns were wider than a physical
piece of paper? With 3 column divs and li elements, you would be
able to use a print CSS style that simply stacks them, keeping them in
order.

Or, what if the list maybe something the user would want to highlight
and copy/paste to something else? If they want it in the 1,2,3,n
order, the tabular table would not work.

By doing a table to simply do a 3 column display of lists, you are
creating a table-based layout. And last time I checked that is code
smell.

Just some things to think about.

-- 
Matt Williams
It's the question that drives us.

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

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


Mail problem

2008-08-14 Thread Al Musella, DPM
  I send out an opt-in medical newsletter.. that adheres to all of the rules..

recently yahoo blocked the from address from sending mail - no 
bounce backs - not put in spam folder - just deleted, for ALL mail 
going to yahoo.com..  from this email address.

They do this occasionally, and I fill out the form to remove me from 
the blacklist, and a week or so later, it works again for a while, 
then they block us again.

I get a lot of complaints from people who don't get it..

I found a strange work around: apparently, that one email address is 
blocked.  Not the domain name.   I changed the FROM and the mail gets through.

I am wondering - what would happen if I sent it from a different 
address each day? or even perhaps a different address for each email?

I know not having that specific FROM address in their address book 
might make it go to their spam folder, but at least they could find 
it there. As it is now - they have no hope of getting it.

On a related note - I have a feedback loop set up with AOL.  I get a 
handful of people every day hitting the this message is SPAM 
button.   I then email them to tell them I removed them from the 
mailing list, and they usually say they didn't intend to be removed - 
they were just trying to delete it after they read it. Can people be 
this stupid?  I then tell them they will be permanently banned if it 
ever happens again.

Al



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

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


Re: Mail problem

2008-08-14 Thread Alan Rother
Can people be this stupid?

There is sadly no limit on how stupid people can get... If you need to see
it for yourself, go work in retail for a weekend...

=]

-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org


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

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


RE: Mail problem

2008-08-14 Thread Bob Imperial
And there's only so much stupidity you can program for :)

-Original Message-
From: Alan Rother [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 4:30 PM
To: CF-Talk
Subject: Re: Mail problem

Can people be this stupid?

There is sadly no limit on how stupid people can get... If you need to see
it for yourself, go work in retail for a weekend...

=]





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

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


Re: Outputting columned UL tags

2008-08-14 Thread Claude Schneegans
 I hate to drag this out further

Me too...

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


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

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


RE: Mail problem

2008-08-14 Thread Dave Morris
Whenever I read a support mail that is incredibly dumb, I look for the
@AOL.COM domain in the email address.  It's usually right there.



 -Original Message-
 From: Al Musella, DPM [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 14, 2008 3:25 PM
 To: CF-Talk
 Subject: Mail problem
 
   I send out an opt-in medical newsletter.. that adheres to all of the
 rules..
 
 recently yahoo blocked the from address from sending mail - no
 bounce backs - not put in spam folder - just deleted, for ALL mail
 going to yahoo.com..  from this email address.
 
 They do this occasionally, and I fill out the form to remove me from
 the blacklist, and a week or so later, it works again for a while,
 then they block us again.
 
 I get a lot of complaints from people who don't get it..
 
 I found a strange work around: apparently, that one email address is
 blocked.  Not the domain name.   I changed the FROM and the mail gets
 through.
 
 I am wondering - what would happen if I sent it from a different
 address each day? or even perhaps a different address for each email?
 
 I know not having that specific FROM address in their address book
 might make it go to their spam folder, but at least they could find
 it there. As it is now - they have no hope of getting it.
 
 On a related note - I have a feedback loop set up with AOL.  I get a
 handful of people every day hitting the this message is SPAM
 button.   I then email them to tell them I removed them from the
 mailing list, and they usually say they didn't intend to be removed -
 they were just trying to delete it after they read it. Can people be
 this stupid?  I then tell them they will be permanently banned if it
 ever happens again.
 
 Al
 
 
 
 

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

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


Re: Mail problem

2008-08-14 Thread Jochem van Dieten
Al Musella, DPM wrote:
   I send out an opt-in medical newsletter.. that adheres to all of the rules..
 
 recently yahoo blocked the from address from sending mail - no 
 bounce backs - not put in spam folder - just deleted, for ALL mail 
 going to yahoo.com..  from this email address.
 
 They do this occasionally, and I fill out the form to remove me from 
 the blacklist, and a week or so later, it works again for a while, 
 then they block us again.

Have you tried contacting Yahoo? If you really stick to all the 
guidelines you can send them the records of everybody who subscribed to 
your mailinglist and if you do that a few times they might put you on a 
whitelist.

Jochem

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

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


RE: Mail problem

2008-08-14 Thread Mark Kruger
 Speaking of unhelpful email support messages I sometimes get this
message in my email inbox:

A message has been removed from this mailbox by an entity other than this
program, probably by a virus scanner. This message is a replacement for the
missing message.

That's it... The whole banana.. Not very useful, but nice of them to tell me
(ha). I blogged about it here:


http://www.coldfusionmuse.com/index.cfm/2008/7/22/email-is-taunting-me


-Mark

-Original Message-
From: Dave Morris [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 5:01 PM
To: CF-Talk
Subject: RE: Mail problem

Whenever I read a support mail that is incredibly dumb, I look for the
@AOL.COM domain in the email address.  It's usually right there.



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

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


RE: Mail problem

2008-08-14 Thread Jacob
Good luck with Yahoo.  We had the same issue for over two years now. We have
issues with emails in regards to customer orders, membership questions, and
support information. No newsletter or anything like that. We try to email
the customer, only to find out that they did not get our email because they
call us.

We have followed every suggestion Yahoo recommends and nothing works.  Then,
some of the emails would be deferred, some not.

When we had the same issue with AOL, I was able to actually communicate with
some via email to help resolve the issue. Not some template email like Yahoo
sends out.

We just tell our customers that Yahoo is incepting their emails, reading
them, and not allowing you to receive them. Then, the customer will call us
the same day with their email address change.

-Original Message-
From: Al Musella, DPM [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 1:25 PM
To: CF-Talk
Subject: Mail problem

  I send out an opt-in medical newsletter.. that adheres to all of the
rules..

recently yahoo blocked the from address from sending mail - no 
bounce backs - not put in spam folder - just deleted, for ALL mail 
going to yahoo.com..  from this email address.

They do this occasionally, and I fill out the form to remove me from 
the blacklist, and a week or so later, it works again for a while, 
then they block us again.

I get a lot of complaints from people who don't get it..

I found a strange work around: apparently, that one email address is 
blocked.  Not the domain name.   I changed the FROM and the mail gets
through.

I am wondering - what would happen if I sent it from a different 
address each day? or even perhaps a different address for each email?

I know not having that specific FROM address in their address book 
might make it go to their spam folder, but at least they could find 
it there. As it is now - they have no hope of getting it.

On a related note - I have a feedback loop set up with AOL.  I get a 
handful of people every day hitting the this message is SPAM 
button.   I then email them to tell them I removed them from the 
mailing list, and they usually say they didn't intend to be removed - 
they were just trying to delete it after they read it. Can people be 
this stupid?  I then tell them they will be permanently banned if it 
ever happens again.

Al





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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311028
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: Using jQuery to access the JSON that CF8 returns?

2008-08-14 Thread James Holmes
You need to JSON.parse() the result.

On Fri, Aug 15, 2008 at 12:39 AM, Andy Matthews
[EMAIL PROTECTED] wrote:
 I'm using jQuery to make a direct CFC call, with the optional returnFormat 
 parameter.

 Here's the get call:
 
 $.get(coupons.cfc?method=getSingleCoupon, {
couponid: couponid,
siteid: siteid,
returnFormat:'JSON'
 },function(d){
// alert(d['DATA'][0][0]);
console.log(d);
$container.css({
'background-image': 'none'
});
 });

 Here's the result when I log to the console:
 --
 {
COLUMNS:[ID,TITLE],
DATA:[
[4,15% Off A Timing Belt Package]
   ]
 }

 So it's an object with an array named COLUMNS, and one named DATA. I should 
 be able to reference the title like so:

 d['DATA'][0][1];

 But when I do so in Firefox, using Firebug I get the error:

 d.DATA has no properties
 coupons.js
 Line 68

 What am I doing wrong?


-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

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

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


Re: Apache + Virtual hosts with CF

2008-08-14 Thread Kym Kovan
Stephen Adams wrote:
 Hi,
 
 I'm trying to set up VirtualHosts in apache for the cf sites I'm working on. 
 My setup so far is I have apache2.2.9 installed, with cf8 running on Vista 
 Home Premium. Both are working fine, the CF administrator runs fine 
 everything is ok. When I installed CF I did not use the JRun setting instead 
 I selected the multi-server config and selected the Apache directory and bin 
 file.
 
 But what I want to do is create Virtual Hosts for each site I work on, for 
 example site1.local or site2.local
 
 I have edited my httpd.conf file 


How did you edit your http.conf file? As you have installed Apache in 
C:\Program Files\Apache Group, ie within Vista's protected bit you 
will possibly find that the edited http.conf is sitting in 
C:\Users\youraccountname\AppData\Local\VirtualStore\Program Files\Apache 
Group\Apache2\conf and Apache isn't reading it abd still reading the 
original file. We found we had to copy the file from there back to 
Apache's own conf folder to make it read the edited file.


-- 

Yours,

Kym Kovan
mbcomms.net.au


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

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


RE: Mail problem

2008-08-14 Thread Al Musella, DPM
I talked to Yahoo. They put us on a whitelist, but then people report 
us as spam, and they block us.They actually told me that the best 
thing to do is use certified mail.. for only a few thousand dollars a 
year, they will skip this nonsense and all mail gets through!


At 07:35 PM 8/14/2008, you wrote:

Good luck with Yahoo.  We had the same issue for over two years now. We have
issues with emails in regards to customer orders, membership questions, and
support information. No newsletter or anything like that. We try to email
the customer, only to find out that they did not get our email because they
call us.

We have followed every suggestion Yahoo recommends and nothing works.  Then,
some of the emails would be deferred, some not.

When we had the same issue with AOL, I was able to actually communicate with
some via email to help resolve the issue. Not some template email like Yahoo
sends out.

We just tell our customers that Yahoo is incepting their emails, reading
them, and not allowing you to receive them. Then, the customer will call us
the same day with their email address change.



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

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


The next level...

2008-08-14 Thread Dave Phillips
Hi all,

 

I've been developing CF applications for over 10 years now.  I've
architected applications as well, taking them from concept through design,
development, and implementation.  I am now interested in making the shift
into management.  I'm not quite sure how to proceed and how to present
myself.  Several years ago, I did manager my own team of developers, but it
was for my own company.  I have since sold that company and have worked for
other companies since 2005.  

 

Although I have 20 years of experience in IT, my Bachelor's degree is a BA
in Religion and it is recent, from 2003 anyway.  I've considered going back
and getting a BS in Computer Science/Software Engineering, and then going on
to get an MBA.  I want to position myself to not only be a manager now, but
also to be able to move into the director level position and above in the
years to come.

 

My current position is great, however, it may go away next year due to an
impending acquisition of our company.  As a result, moving up within my
existing organization is probably not going to be an option for me.

 

Any suggestions anyone has on how I should proceed?

 

Thanks!

 

Dave

 

 



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

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