Coldfusion Date

2008-10-24 Thread Khaled SAIDI
Hi the Community, I just discover Coldfusion. It's really a so powerfull language that i would like to ask if a function which take a month and a year as parameters and return the number of days (for this month and this year) exist in Coldfusion. Thnx for future answers. Khaled

RE: Coldfusion Date

2008-10-24 Thread Adrian Lynch
You'll have to nest some functions: cfoutput #DaysInMonth(CreateDate(2008, 3, 1))# /cfoutput Adrian Building a database of ColdFusion errors at http://cferror.org/ -Original Message- From: Khaled SAIDI Sent: 24 October 2008 09:23 To: cf-talk Subject: Coldfusion Date Hi the Community,

Re: basic cfc/oo design question

2008-10-24 Thread Richard White
as an extra helper i would say if you are migrating from procedural to OO i would suggest MG, as it is fantastic and forces you down an OO route. i havent done too much research on the others but when i was deciding, i posted a message on this forum and was told that MG is def more OO than

RE: Ben Forta for president?

2008-10-24 Thread Andy Matthews
Just write him in. andy -Original Message- From: Dave Long [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 10:19 PM To: cf-talk Subject: RE: Ben Forta for president? Great idea! Somebody send me the PDF for some counterfeit voter registration forms and we can start

RE: Proper Authentication with CFLDAP?

2008-10-24 Thread Dawson, Michael
It depends on your LDAP server. It appears that you are not using Active Directory due to the way you have handled your start and username attributes. AD allows any domain user to query the directory. Other servers, such as Novell DS, may require you to first query the directory for the DN of

Re: Proper Authentication with CFLDAP?

2008-10-24 Thread Shannon Peevey
There are three types of binds that a LDAP server can be configured for: 1. anonymous - the tree is world readable, so no credentials are checked, and your search has all of the rights granted to anonymous 2. user bind - the user authenticates against the tree, and has rights granted based upon

RE: Proper Authentication with CFLDAP?

2008-10-24 Thread Dawson, Michael
AD is closest to #2 in your list. Mike -Original Message- From: Shannon Peevey [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 8:54 AM To: cf-talk Subject: Re: Proper Authentication with CFLDAP? There are three types of binds that a LDAP server can be configured for: 1.

Re: Alternative to coldfusion8

2008-10-24 Thread Wil Genovese
Part of the reason for Adobe Coldfusion 8 having features that the open source competitors do not is commercial licensing. Adobe either owns the license for some of the cool new tag features or paid the bucks to use a third party license. The open source products may not have the money to pay

cfexchange

2008-10-24 Thread Dan Vega
I am just starting to play around with cfexchange because I have not really needed it up until now. I see its pretty easy to get a list of contacts using the following code. cfexchangeconnection action=open connection=myExchangeConnection server=*

RE: cfexchange

2008-10-24 Thread Dawson, Michael
When you say you don't store contacts, locally, I assume you mean your mailbox's Contacts folder is empty. However, you use Active Directory for your employee lists. If this is true, then you should use CFLDAP rather than CFEXCHANGE. Since Exchanges uses AD as the source of all user accounts, AD

Re: Alternative to coldfusion8

2008-10-24 Thread Judah McAuley
In the future, differences between projects are likely to be smaller due to the creation of the CFML Advisory Committee. http://corfield.org/blog/index.cfm/do/blog.entry/entry/CFML_Advisory_Committee Hopefully it will delineate a core set of features/functions and allow for more widely

CFML Advisory Committee (was: Alternative to coldfusion8)

2008-10-24 Thread Jordan Michaels
Speaking of the advisory committee, I heard a rumor once (don't remember where) that there was going to be a web site that would help the community stay up on the progress of this committee. Any news on that so far? How about overall progress of the committee in general? What's the committee been

Re: CFML Advisory Committee (was: Alternative to coldfusion8)

2008-10-24 Thread Adam Haskell
I think they are slightly closer to having a wiki space up than OpenBD at this point...how long has it been since we were promised a wiki with info on OpenBD? Adam Haskell Also a member of the OpenBD Steering Committee :) On Fri, Oct 24, 2008 at 1:19 PM, Jordan Michaels [EMAIL PROTECTED]wrote:

Re: CFML Advisory Committee (was: Alternative to coldfusion8)

2008-10-24 Thread Jordan Michaels
Indeed. It's been a while now. ;) Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Adam Haskell wrote: I think they are slightly closer to having a wiki space up than OpenBD at this point...how long has it

Re: Alternative to coldfusion8

2008-10-24 Thread Jochem van Dieten
Don L wrote: Am thinking totally loud here, why not combine resources to come up with some leading edge stuff, instead of being a follower (non-critical of neither products, just a comment)? Which resources do you want to combine exactly? What are you contributing? Jochem

Re: Alternative to coldfusion8

2008-10-24 Thread Larry Lyons
In the future, differences between projects are likely to be smaller due to the creation of the CFML Advisory Committee. http://corfield.org/blog/index.cfm/do/blog. entry/entry/CFML_Advisory_Committee Hopefully it will delineate a core set of features/functions and allow for more widely

Re: Alternative to coldfusion8

2008-10-24 Thread Judah McAuley
The comments on the blog posting I linked to confirms what you're saying Larry but it also seems to show a willingness to involve people from the OpenBD organization. Now whether or not that has happend, I have no clue. I don't follow the CF politics too closely.There are multiple members of the

Re: Alternative to coldfusion8

2008-10-24 Thread Don L
In the future, differences between projects are likely to be smaller due to the creation of the CFML Advisory Committee. http://corfield.org/blog/index.cfm/do/blog. entry/entry/CFML_Advisory_Committee Hopefully it will delineate a core set of features/functions and allow for more widely

Re: Alternative to coldfusion8

2008-10-24 Thread Don L
Part of the reason for Adobe Coldfusion 8 having features that the open source competitors do not is commercial licensing. Adobe either owns the license for some of the cool new tag features or paid the bucks to use a third party license. The open source products may not have the money to pay

Re: basic cfc/oo design question

2008-10-24 Thread Larry Lyons
All fine point there Gerald, thank you. I've looked at Illudium in the past and plan on doing so again for this project. Right now though I'm trying to map out all my classes in UML to make sure that I have it together conceptually, then move to the actual coding part. The database already exists

PDF file font size issue

2008-10-24 Thread ritha pull
Hi everyone, I am just into a new project. There is a problem with PDF file. We use activePDF with coldfusion 8. The font size of PDF file increased, it use to work properly before. Please can you help me to fix this problem. I have used Cfdocument tag to generate the pdf format. Thanks

RE: Ben Forta for president?

2008-10-24 Thread David Moore, Jr.
I say we start a new party and make him our Candidate. Although he is everything no one would expect to find in a presidential candidate. He is intelligent, unselfish, and is accessible to anyone. Yep, nothing you would expect... Now, what about a name for our party. Programlicans,

Re: basic cfc/oo design question

2008-10-24 Thread Gerald Guido
Larry, Awesome. Thanx. Do you know if the Poseidon UML Community version will export an XMI 1.1 file? ~G~ If not any recommendations for a OSS and/or Free UML App? On Fri, Oct 24, 2008 at 4:19 PM, Larry Lyons [EMAIL PROTECTED] wrote: All fine point there Gerald, thank you. I've looked at

Apache/CF8 problems

2008-10-24 Thread Will Tomlinson
I'm helping a friend setup his Vista machine to run Apache/CF8, like my XP Pro machine. The problem we're having is, whenever he hits one of his domains we setup in his windows hosts file, it directs you to the default apache website. It works! But we have virtualhost directives in the

Re: CFML Advisory Committee (was: Alternative to coldfusion8)

2008-10-24 Thread Raymond Camden
Unfortunately you have a portion of the group (Sean and myself) having been -very- swamped the last few weeks. We are all still around of course, and still very much dedicated. On Fri, Oct 24, 2008 at 1:30 PM, Jordan Michaels [EMAIL PROTECTED] wrote: Indeed. It's been a while now. ;) Warm

RE: CFML Advisory Committee (was: Alternative to coldfusion8)

2008-10-24 Thread Ben Forta
And another portion (myself) utterly buried under MAX prep. But, we'll get there ... --- Ben -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 5:06 PM To: cf-talk Subject: Re: CFML Advisory Committee (was: Alternative to coldfusion8)

Re: CFML Advisory Committee (was: Alternative to coldfusion8)

2008-10-24 Thread Jordan Michaels
Completely understood. We've all been there. ;) Keep us posted though okay? Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Ben Forta wrote: And another portion (myself) utterly buried under MAX prep. But,

RE: Ben Forta for president?

2008-10-24 Thread Billy Cox
I already have a WWBD shirt. What are we waiting for? As for a party name, how about 'Object Disoriented' or 'ODd' for short? -Original Message- From: David Moore, Jr. [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 3:29 PM To: cf-talk Subject: RE: Ben Forta for president?

Re: Apache/CF8 problems

2008-10-24 Thread Paul Kukiel
First I would try restarting Apache. Paul On 24/10/2008, at 4:57 PM, Will Tomlinson wrote: I'm helping a friend setup his Vista machine to run Apache/CF8, like my XP Pro machine. The problem we're having is, whenever he hits one of his domains we setup in his windows hosts file, it

Re: Ben Forta for president?

2008-10-24 Thread Michael Dinowitz
Please move the non-technical part of this thread to CF-Community. Thanks On Thu, Oct 23, 2008 at 10:16 PM, Mike Kear [EMAIL PROTECTED] wrote: Is this true? Ben Forta is running for President of the USA?? Bit of fun, but I'm really impressed with the video. Have a look

CreateObject and dynamic method calls

2008-10-24 Thread Andy Matthews
Got the answer from a coworker, which is to put parens on the varname like so: cfdump var=#result()# --- I've got a CFC which I'd like to use dynamically. Pass in a string, and call a method with the same name as the string being passed in. I've almost got it

Re: CreateObject and dynamic method calls

2008-10-24 Thread Gerald Guido
If I understand the question... Some thing like this? http://mgt.pastebin.com/f9702565 It uses Evaluate for which I have been scolded for... but performance wise there is very little difference between evaluating the string and calling the methods directly HTH G On Fri, Oct 24, 2008 at 5:39

CreateObject and dynamic method calls

2008-10-24 Thread Andy Matthews
I've got a CFC which I'd like to use dynamically. Pass in a string, and call a method with the same name as the string being passed in. I've almost got it working with this line: cfset var result = VARIABLES['method' ARGUMENTS.method] But rather than get the result of the method, I'm getting

Re: Ben Forta for president?

2008-10-24 Thread Mike Kear
Thanks Michael. My original posting had a flippant start to it, but a serious question that no one has responded to - how do they do the video on the fly for this? IF you didn't see the video, i suggest you have a look .. it's an amazing piece. There's this amusing video, you put your first

Help with cgi server

2008-10-24 Thread Marc Raber
i've created a table in my db that allows the header and footer to adjust depending on the subdomain. basically the code calls: cfquery name=partner datasource=#dsn# SELECT * FROM Partners WHERE URL = '#cgi.server_name#' /cfquery it is recognizing the root domain (www.domain.com) but getting a

Help with cgi server

2008-10-24 Thread Marc Raber
i've created a table in my db that allows the header and footer to adjust depending on the subdomain. basically the code calls: cfquery name=partner datasource=#dsn# SELECT * FROM Partners WHERE URL = '#cgi.server_name#' /cfquery it is recognizing the root domain (www.domain.com) but getting a

Re: Help with cgi server

2008-10-24 Thread Jason Fisher
You could try the simpler form of the URL in your table, so domain.com instead of www.domain.com and then build a custom string with just the root of the domain name: cfset cgiURL = cgi.server_name cfset urlLen = listLen(cgiURL, .) cfif urlLen gt 2 cfset cgiURL = listGetAt(cgiURL, urlLen -

musings...

2008-10-24 Thread kbutte...@yahoo.com kbutte...@yahoo.com
Some musings for a Friday... Just got another offer from one of my consulting clients to come on board full-time. A bit of background: I've been coding for close to 20 years, CF for 10 years. I currently have three clients: a local county government, a major local utility and a national

Re: musings...

2008-10-24 Thread morchella
because they mhey not use you as a consultant any longer...they mhey be trying to cut costs hire some one they can count on as every thing shrinks inward. i would take a full time gig with benefits over loosing a client that feeds you 40 hours a week. then again, i may take a 25k pay cut to cut