Re: How to back up a CF8 installation?

2007-10-09 Thread Jochem van Dieten
Jim McAtee wrote:
 Does anyone have pointers, or maybe a link to instructions on how to back 
 up a CF8 installation?  Server settings, data sources, scheduled tasks, 
 installed tags, etc.  We're running a fairly plain vanilla CF8 Standard 
 install on Win2k3 Server with IIS6. 

I don't really know the exact paths for standard edition, but for 
enterprise the files to backup are:
- /jrun4/bin/*.config (JVM settings)
- /jrun4/lib/*.properties (license key)
- /jrun4/lib/wsconfig/* (webserver connectors)
And for each instance:
- /web-inf/cfusion/lib/*.properties (cf settings and license key)
- /web-inf/cfusion/lib/*.xml (cf settings)

If you combine this with a Windows system state backup you even get 
all you IIS settings to work after a restore.

Jochem

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

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


Re: Problem buying coldfusion 8.

2007-10-09 Thread Andrew Scott
except they do no return emails...

I spoke to Pam, and she was going to get back to me, and when I
emailed her 3 more times with no response I figured that they where
not interested. And went elsehwere :-(



On 10/9/07, Mark Mandel [EMAIL PROTECTED] wrote:
 If you call / email rocketboots, they can organise it for you.

 Mark

 On 10/9/07, NUGROHO NOTO [EMAIL PROTECTED] wrote:
  Thanks for all suggestion.
  - CDW does not ship outside US.
  - Rocketboots... they don't sell online ?
  - I will try from here..http://www.buypcsoft.com
  Cheers.
 
 
 

 

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

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


Re: Problem buying coldfusion 8.

2007-10-09 Thread Tom Chiverton
On Tuesday 09 Oct 2007, [EMAIL PROTECTED] wrote:
 - CDW does not ship outside US.

Ship ?
Why do you need anything shipped ?

-- 
Tom Chiverton
Helping to competently streamline cross-media m-commerce
on: http://thefalken.livejournal.com



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

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

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

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

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


Re: Problem buying coldfusion 8.

2007-10-09 Thread NUGROHO NOTO
 Ship ?
 Why do you need anything shipped ?

No... of course I don't need anything ship... 
If I can download... this is much better.
but... most reseller...only ship the package (I cannot find any option where we 
can download).
and.. they don't ship outside of US (there is no option country)



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

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


Re: CF Coding Standards

2007-10-09 Thread Tom Chiverton
On Monday 08 Oct 2007, [EMAIL PROTECTED] wrote:
 If I put attributes like that on a new line, I always try to make a note to
 line up the first letters like how you have posted.  Sometimes I get

I'll do it if I've *really* got the time to spare, otherwise they all go on 
the nearest tab stop past the start of the first argument.

-- 
Tom Chiverton
Helping to seamlessly consolidate cross-platform mindshares
on: http://thefalken.livejournal.com



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

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

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

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

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


Re: Coldspring AOP on Transient Business Object, bad combo?

2007-10-09 Thread Tom Chiverton
On Monday 08 Oct 2007, [EMAIL PROTECTED] wrote:
 No, it's each time the Proxy object is created (the proxy is written to
 disk as a temp file, then instantiated, and finally the temp file is
 deleted).

Which is only ever once in the lifetime of the beanFactory, right ?

-- 
Tom Chiverton
Helping to appropriately maintain efficient IPOs
on: http://thefalken.livejournal.com



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

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

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

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

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


Re: Problem buying coldfusion 8.

2007-10-09 Thread Tom Chiverton
On Tuesday 09 Oct 2007, [EMAIL PROTECTED] wrote:
 If I can download... this is much better.

Just buy from Adobe, and you'll get the key, and now you know that keys aren't 
region locked you can feed it into the free download of server.

-- 
Tom Chiverton
Helping to dynamically lead total e-commerce
on: http://thefalken.livejournal.com



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

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

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

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

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


Dead Open-Source Projects?

2007-10-09 Thread Brian Rinaldi
I just wanted to put this out there to make sure these are officially
dead before I remove them from my list (sometimes links go dead but
the project or url has just been moved). Anyone have any info about
these?

json-serializer http://cfopen.org/projects/json-serializer/

CFMyAdmin.com http://www.cfmyadmin.com/index.cfm

BlockML http://www.jonathanblock.com/?page_id=19 (the site is up and
the link works but no sign of the project)

-- 
Brian Rinaldi
blog - http://www.remotesynthesis.com/blog
ColdFusion Open Source List- http://www.remotesynthesis.com/cfopensourcelist
Boston CFUG - http://www.bostoncfug.org
Adobe Community Expert -
http://www.adobe.com/communities/experts/members/brian_rinaldi.html

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

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


CFC Composition and/or Extention

2007-10-09 Thread Robert Rawlins - Think Blue
Hey Guys,

 

I hope you're all well, I've got a challenge when it come to composition
which I was hoping you could give me a few pointers on,

 

Basically I have a scenario in my application which has a supertype/subtype
relationship between a bunch of tables and I'm struggling with how to build
this kind of relationship between my objects. I'm not sure if you've worked
with the supertype idea before, or heard the term, Its actually quite simple
from a database point of view. I'll help clarify it with an example.

 

In my application I deal with lots of different types of multimedia, such as
Images, Text Files, Audio, Video, Games and a myriad of other things,
however my application needs to be able to access these different media
types from a single location in the database. So I have a single table
called 'Media' which contains all the common details between different media
files, like ID, Name, Size, DateCreated and such like, and then I have a
myriad of different tables, like Text, Image, Audio, Video which contain all
the unique information for each different type of message, along with a FK
which links them back to my 'Media' table.

 

Now what I need to be able to do is create a Media object within my
application, but also have access to that additional information for when I
write it to the database, and likewise when reading out. I'm not sure
whether this is best solved with some form of composition, or perhaps this
is where the 'Extend' attribute will come in handy for me? Create the media
object as the Base class and have my other media types Extend it? I really
don't know.

 

What do you think chaps? I hope I haven't confused you too much with my
babbling question.

 

Thanks,

 

Rob



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

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


Re: CF Coding Standards

2007-10-09 Thread Aaron Rouse
It only takes maybe 1 second more to do, you type in the first attribute and
its value, you press enter, you press tab until you are close to lined up
and then press the space bar until you are lined up then you type in the
second attribute and its value then press enter and type in the third
attribute and its value.  Your time must be mighty valuable to have to try
and save seconds here and there.  Of course with that said, I almost never
do it on a first writing of something and I only do it usually when it is a
lot of attributes with long values and it becomes harder for me to read when
all on one line and debugging something.

On 10/9/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Monday 08 Oct 2007, [EMAIL PROTECTED] wrote:
  If I put attributes like that on a new line, I always try to make a note
 to
  line up the first letters like how you have posted.  Sometimes I get

 I'll do it if I've *really* got the time to spare, otherwise they all go
 on
 the nearest tab stop past the start of the first argument.

 --
 Tom Chiverton
 Helping to seamlessly consolidate cross-platform mindshares
 on: http://thefalken.livejournal.com

 

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

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

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

 

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

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


RE: SQL Select Question

2007-10-09 Thread Bobby Hartsfield
Select top 6 imageID
From table
Where gameID = whatever
Order by newid()

Or just...

Select imageid 
From table
Where gameID = whatever 
Order by newID()

And use maxrows=6 attribute of the cfquery tag.

Just flip imageid and gameid for the other way around.


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

-Original Message-
From: Dennis Powers [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 08, 2007 6:30 PM
To: CF-Talk
Subject: RE: SQL Select Question

 What RDBMS? That would help mucho...

Doh!  MS SQL2000


Best Regards,

Dennis Powers
UXB Internet - A website design and Hosting Company 690 Wolcott Road P.O.
Box 6029 Wolcott, CT  06716
Tel: (203)879-2844
http://www.uxbinternet.com/
http://www.uxb.net/ 


-Original Message-
From: Greg Morphis [mailto:[EMAIL PROTECTED]
Sent: Monday, October 08, 2007 6:14 PM
To: CF-Talk
Subject: Re: SQL Select Question

What RDBMS? That would help mucho...



On 10/8/07, Dennis Powers [EMAIL PROTECTED] wrote:
 I am having a total mental block with this select query and I am 
 hoping someone might be able to unstick my thought process;

 I have a table Looking something like this (abbreviated for the list)

 ImageID  GameID

 ImageID is a unique ID number and there can be multiple images for 
 each GameID.  What I am trying to do is create a query where I can 
 select 6 random imageID's each for a different GameID. Or another way, 
 get one
image
 from the many for six different gameID's

 Any help would be greatly appreciated.



 Best Regards,

 Dennis Powers
 UXB Internet - A website design and Hosting Company 690 Wolcott Road 
 P.O. Box 6029 Wolcott, CT  06716
 Tel: (203)879-2844
 http://www.uxbinternet.com/
 http://www.uxb.net/




 





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

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


isEmail vs cfmail tag

2007-10-09 Thread Les Mizzell
I've got a newsletter and email list management admin system set up for 
a client. There's a number of ways they can get email addresses into a 
specific list - enter through a form, import from Excel ...

I've got validation (regEX) on the input side to try and filter out bad 
addresses.

cfscript
   //IsEmail(address)
   //Returns if a str is a valid email
function IsEmail(address) {
if(REFindNoCase([[:alnum:]_\.\-]+@([[:alnum:]_\.\-]+\.)+[[:alpha:]]{2,4},address))
 
return TRUE;
else return FALSE;
}
/cfscript

Just to be sure, I run it again on the output Send a Newsletter side:

1. cfloop query=mailLIST
2.  cfif isEmail(mailLIST.sendTO)
3. cfmail from=#mailLIST.sendTO# ..

15. cfelse
16.#mailLIST.sendTO# is a bad address - delete?
17. /cfif

But, there seems to be an address or two that isEmail will allow, but 
causes cfmail will throw an error.

I need to be dead sure that whatever routine I'm using will catch 
*anything* that cfmail is going to choke on.

There's some pretty tough to validate real email address in the database 
that look like:
[EMAIL PROTECTED]

Ideas?



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

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


SOT: Subversion / Apache Config

2007-10-09 Thread Jeff Chastain
Sorry for being so off topic, but I have just about exhausted all of my
resources and I bet just a few ColdFusion developers out there use
Subversion and Apache together and have set something like this up.

 

In this case, I have a dozen or more SVN repositories being made accessible
via Apache.  All of the repositories require a user to authenticate before
making changes.  All but two of the repositories are completely secure - no
anonymous access.  Those other two repositories need to be open and
available for anonymous read.  I have setup the Apache virtual host
configuration as is described in the SVN book for mixed authentication .

 

http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.serverconfig.httpd.auth
z.perdir.ex-3

 

However, I still cannot get access to the two repositories anonymously -
Apache always prompts for login.  Has anybody done a setup like this before
and would care to share?

 

Again, sorry for being so off topic.

-- Jeff

 

 



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

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


Re: isEmail vs cfmail tag

2007-10-09 Thread Christopher Vigliotti
can you provide more detail on how it's choking and what the output of the
#mailLIST.sendTO# variable is?

On 10/9/07, Les Mizzell [EMAIL PROTECTED] wrote:

 I've got a newsletter and email list management admin system set up for
 a client. There's a number of ways they can get email addresses into a
 specific list - enter through a form, import from Excel ...

 I've got validation (regEX) on the input side to try and filter out bad
 addresses.

 cfscript
//IsEmail(address)
//Returns if a str is a valid email
 function IsEmail(address) {

 if(REFindNoCase([[:alnum:]_\.\-]+@([[:alnum:]_\.\-]+\.)+[[:alpha:]]{2,4},address))
 return TRUE;
 else return FALSE;
 }
 /cfscript

 Just to be sure, I run it again on the output Send a Newsletter side:

 1. cfloop query=mailLIST
 2.  cfif isEmail(mailLIST.sendTO)
 3. cfmail from=#mailLIST.sendTO# ..

 15. cfelse
 16.#mailLIST.sendTO# is a bad address - delete?
 17. /cfif

 But, there seems to be an address or two that isEmail will allow, but
 causes cfmail will throw an error.

 I need to be dead sure that whatever routine I'm using will catch
 *anything* that cfmail is going to choke on.

 There's some pretty tough to validate real email address in the database
 that look like:
 [EMAIL PROTECTED]

 Ideas?



 

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

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


ATTN: Admin (was Re: [ajaxcfc] Job Vacancies -- Software Freshers (0 - 1 Yrs).)

2007-10-09 Thread Tom Chiverton
On Tuesday 09 Oct 2007, [EMAIL PROTECTED] wrote:
 Hi Friends,

Can we get this guy banned, along with the rest of his IP block ?

-- 
Tom Chiverton
Helping to vitalistically reintermediate interdependent deliverables
on: http://thefalken.livejournal.com



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

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

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

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

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


Re: CF Coding Standards

2007-10-09 Thread Tom Chiverton
On Tuesday 09 Oct 2007, [EMAIL PROTECTED] wrote:
 It only takes maybe 1 second more to do,

For every call :-)

 you type in the first attribute 
 and its value, you press enter, you press tab until you are close to lined
 up and then press the space bar until you are lined up then you type in the
 second attribute and its value then press enter and type in the third
 attribute and its value. 

I hate mixing spaces and tabs. As soon as another dev has an alternative tab 
stop interval, it all goes gaga. At least with going to the same tab stop 
it's aligned on a tab boundary.

 Your time must be mighty valuable

At XX thousend pounds a year, yeah :-)

-- 
Tom Chiverton
Helping to enormously network B2B interfaces
on: http://thefalken.livejournal.com



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

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

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

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

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


Re: isEmail vs cfmail tag

2007-10-09 Thread JediHomer
What version of CF are you running, as CF7+ has an isValid() function
that should work...

cfif isValid(email, mailLIST.sendTO)

HTH

On 09/10/2007, Les Mizzell [EMAIL PROTECTED] wrote:
 I've got a newsletter and email list management admin system set up for
 a client. There's a number of ways they can get email addresses into a
 specific list - enter through a form, import from Excel ...

 I've got validation (regEX) on the input side to try and filter out bad
 addresses.

 cfscript
//IsEmail(address)
//Returns if a str is a valid email
 function IsEmail(address) {
 if(REFindNoCase([[:alnum:]_\.\-]+@([[:alnum:]_\.\-]+\.)+[[:alpha:]]{2,4},address))
 return TRUE;
 else return FALSE;
 }
 /cfscript

 Just to be sure, I run it again on the output Send a Newsletter side:

 1. cfloop query=mailLIST
 2.  cfif isEmail(mailLIST.sendTO)
 3. cfmail from=#mailLIST.sendTO# ..

 15. cfelse
 16.#mailLIST.sendTO# is a bad address - delete?
 17. /cfif

 But, there seems to be an address or two that isEmail will allow, but
 causes cfmail will throw an error.

 I need to be dead sure that whatever routine I'm using will catch
 *anything* that cfmail is going to choke on.

 There's some pretty tough to validate real email address in the database
 that look like:
 [EMAIL PROTECTED]

 Ideas?



 

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

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


Re: Coldspring AOP on Transient Business Object, bad combo?

2007-10-09 Thread Brian Kotek
Not if the object is a per-request object (a non-singleton). A non-singleton
CFC with AOP applied to it will have a temp CFC written every time you
instantiate that CFC (totally independent of the beanFactory). Again, it
does this to make sure you don't end up with a ton of temp CFCs on disk. I
still think there may be a way around it but that is how it works right now
(and why AOP is best applied to singletons since they are only created
once).


On 10/9/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Monday 08 Oct 2007, [EMAIL PROTECTED] wrote:
  No, it's each time the Proxy object is created (the proxy is written to
  disk as a temp file, then instantiated, and finally the temp file is
  deleted).

 Which is only ever once in the lifetime of the beanFactory, right ?

 --
 Tom Chiverton
 Helping to appropriately maintain efficient IPOs
 on: http://thefalken.livejournal.com

 

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

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

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

 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290652
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: How do you version control with your CF code?

2007-10-09 Thread J W
Larry,

Can you post up an example of that ANT script?



On 10/6/07, Larry Lyons [EMAIL PROTECTED] wrote:


 Just to expand on things, we have development, test (QA) and production
 boxes. We develop locally on our own boxes, then I use an Ant script to
 automatically deploy to the Dev server. Once the app has cleared the dev
 stage I commit the changes to SVN. Next I tag the app, and then I use a
 shell script to check out the app. It then deploys it to the test (QA)
 server. Once the powers that be have OK'd things, I use the same shell
 script to deploy to production.

 This might be changing in the near future though. With BlueDragon 7 and
 ColdFusion 8 deployable on JBoss, that procedure will change. We'll probably
 deploy the files as a war file, but using a similar procedure to what I
 outlined above.

 

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

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


Re: Null Values

2007-10-09 Thread Claude Schneegans
 Hi, i am getting data out of a database. i need to be able to check 
if a value returned  in a query is null.

If the idea is just because you want to ignore null values, better 
simply set a condition in the query, ie:
WHERE myColumn NOT IS NULL

If what you want is being able to distinguish nulls from empty strings, 
here is a way that is universal in any SQL flavour:
SELECT no AS isNull, myColumn, otherColumns
WHERE myColumn NOT IS NULL
UNION
SELECT yes AS isNull, myColumn, otherColumns
WHERE myColumn IS NULL
ORDER BY whatever

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


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

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


Re: Need an active Javascript discussion group

2007-10-09 Thread Claude Schneegans
 This is one of the most active newsgroups:

 apparently mostly active for spamers though :-(

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


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

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


Re: Coldspring AOP on Transient Business Object, bad combo?

2007-10-09 Thread Tom Chiverton
On Tuesday 09 Oct 2007, [EMAIL PROTECTED] wrote:
 Not if the object is a per-request object (a non-singleton). A
 non-singleton CFC with AOP applied to it will have a temp CFC written every
 time you instantiate that CFC (totally independent of the beanFactory).

Ahh.
You get a non-singleton by setting singleton=false in the bean's definition, 
right ?

-- 
Tom Chiverton
Helping to conveniently unleash guinine information
on: http://thefalken.livejournal.com



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

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

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

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

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


Re: isEmail vs cfmail tag

2007-10-09 Thread Tom Chiverton
On Tuesday 09 Oct 2007, [EMAIL PROTECTED] wrote:
 What version of CF are you running, as CF7+ has an isValid() function
 that should work...

 cfif isValid(email, mailLIST.sendTO)

Although that only performs a syntax check. It's perfectly possible for a 
validly formatted address to cause an exception when you actually try to 
email it.

-- 
Tom Chiverton
Helping to evangelistically harness out-of-the-box e-services
on: http://thefalken.livejournal.com



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

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

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

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

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


Re: CFC Composition and/or Extention

2007-10-09 Thread Brian Kotek
It depends on what you need to do, and how you envision media changing over
time. You can definitely create an abstract Media component that is extended
by concrete components like Image, Video, etc. The only limitation is really
that a component can only inherit from one superclass. Which means you can't
have a media item that is treated as two kinds of media (ie Video is a video
file, and also an Image File (when treated as a bunch of individual
images)). The advantage of composition is that a component can have multiple
objects associated with it, and that those objects can be dynamically added
or removed at runtime. So you gain flexibility with composition, but you add
complexity as well. The advantage of inheritance is that any external code
can treat all subclasses of Media as simply the abstract type Media (this is
polymorphism).

So, if you are pretty sure these things are truly a one-to-one IS-A
relationship (and I think they seem to be, but not knowing more about what
you actually need to do going forward it's impossible to say for sure), and
you want external code to be able to treat all types of media in a similar
way, using the same API, then inheritance sounds like it will work just
fine.


On 10/9/07, Robert Rawlins - Think Blue [EMAIL PROTECTED]
wrote:

 Hey Guys,



 I hope you're all well, I've got a challenge when it come to composition
 which I was hoping you could give me a few pointers on,



 Basically I have a scenario in my application which has a
 supertype/subtype
 relationship between a bunch of tables and I'm struggling with how to
 build
 this kind of relationship between my objects. I'm not sure if you've
 worked
 with the supertype idea before, or heard the term, Its actually quite
 simple
 from a database point of view. I'll help clarify it with an example.



 In my application I deal with lots of different types of multimedia, such
 as
 Images, Text Files, Audio, Video, Games and a myriad of other things,
 however my application needs to be able to access these different media
 types from a single location in the database. So I have a single table
 called 'Media' which contains all the common details between different
 media
 files, like ID, Name, Size, DateCreated and such like, and then I have a
 myriad of different tables, like Text, Image, Audio, Video which contain
 all
 the unique information for each different type of message, along with a FK
 which links them back to my 'Media' table.



 Now what I need to be able to do is create a Media object within my
 application, but also have access to that additional information for when
 I
 write it to the database, and likewise when reading out. I'm not sure
 whether this is best solved with some form of composition, or perhaps this
 is where the 'Extend' attribute will come in handy for me? Create the
 media
 object as the Base class and have my other media types Extend it? I really
 don't know.



 What do you think chaps? I hope I haven't confused you too much with my
 babbling question.



 Thanks,



 Rob



 

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

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


Re: Need an active Javascript discussion group

2007-10-09 Thread Rey Bango
Ugh. Sorry man. Didn't know. I asked someone about it and was pointed there.

I'll see if I can find another one.

Rey...

Claude Schneegans wrote:
  This is one of the most active newsgroups:
 
  apparently mostly active for spamers though :-(
 

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

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


RE: CF Coding Standards

2007-10-09 Thread Dave Watts
 I hate mixing spaces and tabs. As soon as another dev has an 
 alternative tab stop interval, it all goes gaga. At least 
 with going to the same tab stop it's aligned on a tab boundary.

I agree, that's a bad idea.

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!


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

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


RE: CFC Composition and/or Extention

2007-10-09 Thread Robert Rawlins - Think Blue
Thanks again Brian, another great reply,

Yes these will defiantly be staying as a cast type, i.e. a image will always
be an image and nothing more so at the moment I think the extended super
class kind of makes good sense for me, taking a base Media object with the
common attributes and extending it to the other sub classes which contain
individual/unique properties. I then keep control over the whole lot with a
service. 

One other thing I am wondering is how to organise my DAO's for this, should
the Media class have its own DAO separate from the sub types? Or should the
DAO's for my sub types deal with the media table as well as their own? I'm
guessing the former, so that in my service saveImage() method it passes the
super inited Image object to both the MediaDAO and the ImageDAO and they can
just suck out the properties they need to persist it. Does that sound like
the best option?

Thanks again mate,

Rob

-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: 09 October 2007 16:30
To: CF-Talk
Subject: Re: CFC Composition and/or Extention

It depends on what you need to do, and how you envision media changing over
time. You can definitely create an abstract Media component that is extended
by concrete components like Image, Video, etc. The only limitation is really
that a component can only inherit from one superclass. Which means you can't
have a media item that is treated as two kinds of media (ie Video is a video
file, and also an Image File (when treated as a bunch of individual
images)). The advantage of composition is that a component can have multiple
objects associated with it, and that those objects can be dynamically added
or removed at runtime. So you gain flexibility with composition, but you add
complexity as well. The advantage of inheritance is that any external code
can treat all subclasses of Media as simply the abstract type Media (this is
polymorphism).

So, if you are pretty sure these things are truly a one-to-one IS-A
relationship (and I think they seem to be, but not knowing more about what
you actually need to do going forward it's impossible to say for sure), and
you want external code to be able to treat all types of media in a similar
way, using the same API, then inheritance sounds like it will work just
fine.


On 10/9/07, Robert Rawlins - Think Blue
[EMAIL PROTECTED]
wrote:

 Hey Guys,



 I hope you're all well, I've got a challenge when it come to composition
 which I was hoping you could give me a few pointers on,



 Basically I have a scenario in my application which has a
 supertype/subtype
 relationship between a bunch of tables and I'm struggling with how to
 build
 this kind of relationship between my objects. I'm not sure if you've
 worked
 with the supertype idea before, or heard the term, Its actually quite
 simple
 from a database point of view. I'll help clarify it with an example.



 In my application I deal with lots of different types of multimedia, such
 as
 Images, Text Files, Audio, Video, Games and a myriad of other things,
 however my application needs to be able to access these different media
 types from a single location in the database. So I have a single table
 called 'Media' which contains all the common details between different
 media
 files, like ID, Name, Size, DateCreated and such like, and then I have a
 myriad of different tables, like Text, Image, Audio, Video which contain
 all
 the unique information for each different type of message, along with a FK
 which links them back to my 'Media' table.



 Now what I need to be able to do is create a Media object within my
 application, but also have access to that additional information for when
 I
 write it to the database, and likewise when reading out. I'm not sure
 whether this is best solved with some form of composition, or perhaps this
 is where the 'Extend' attribute will come in handy for me? Create the
 media
 object as the Base class and have my other media types Extend it? I really
 don't know.



 What do you think chaps? I hope I haven't confused you too much with my
 babbling question.



 Thanks,



 Rob



 



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

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


Re: isEmail vs cfmail tag

2007-10-09 Thread J.J. Merrick
If you are on MX7 do IsValid with the email attribute. I have found
that whatever logic IsValid uses is the same as what cfmail will bomb
on.


J.J.

On 10/9/07, Les Mizzell [EMAIL PROTECTED] wrote:
 I've got a newsletter and email list management admin system set up for
 a client. There's a number of ways they can get email addresses into a
 specific list - enter through a form, import from Excel ...

 I've got validation (regEX) on the input side to try and filter out bad
 addresses.

 cfscript
//IsEmail(address)
//Returns if a str is a valid email
 function IsEmail(address) {
 if(REFindNoCase([[:alnum:]_\.\-]+@([[:alnum:]_\.\-]+\.)+[[:alpha:]]{2,4},address))
 return TRUE;
 else return FALSE;
 }
 /cfscript

 Just to be sure, I run it again on the output Send a Newsletter side:

 1. cfloop query=mailLIST
 2.  cfif isEmail(mailLIST.sendTO)
 3. cfmail from=#mailLIST.sendTO# ..

 15. cfelse
 16.#mailLIST.sendTO# is a bad address - delete?
 17. /cfif

 But, there seems to be an address or two that isEmail will allow, but
 causes cfmail will throw an error.

 I need to be dead sure that whatever routine I'm using will catch
 *anything* that cfmail is going to choke on.

 There's some pretty tough to validate real email address in the database
 that look like:
 [EMAIL PROTECTED]

 Ideas?



 

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

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


Re: Need an active Javascript discussion group

2007-10-09 Thread Claude Schneegans
 I'll see if I can find another one.

How about doing as Charlie suggests, let's make the HOF list alive.

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


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

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


Re: Need an active Javascript discussion group

2007-10-09 Thread Claude Schneegans
 see if we can change that.

Ok, I've added the list in my list of lists.

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


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

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


Re: CF Coding Standards

2007-10-09 Thread Aaron Rouse
Ok then do not do the spaces and get as close as possible with the tabs and
save yourself less than a second and some more of your time.  I usually just
do the tab anyway, if I am doing that style at all, since I am lazy like
that but I have done the spaces as well and yet to bite me in the bum during
all these years.

On 10/9/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Tuesday 09 Oct 2007, [EMAIL PROTECTED] wrote:
  It only takes maybe 1 second more to do,

 For every call :-)

  you type in the first attribute
  and its value, you press enter, you press tab until you are close to
 lined
  up and then press the space bar until you are lined up then you type in
 the
  second attribute and its value then press enter and type in the third
  attribute and its value.

 I hate mixing spaces and tabs. As soon as another dev has an alternative
 tab
 stop interval, it all goes gaga. At least with going to the same tab stop
 it's aligned on a tab boundary.

  Your time must be mighty valuable

 At XX thousend pounds a year, yeah :-)

 --
 Tom Chiverton
 Helping to enormously network B2B interfaces
 on: http://thefalken.livejournal.com

 

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

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

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

 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290667
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 an active Javascript discussion group

2007-10-09 Thread Rey Bango
Sounds good to me!

Claude Schneegans wrote:
  I'll see if I can find another one.
 
 How about doing as Charlie suggests, let's make the HOF list alive.
 

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

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


Re: isEmail vs cfmail tag

2007-10-09 Thread Claude Schneegans
 It's perfectly possible for a
validly formatted address to cause an exception when you actually try to
email it.

Not so sure about that, since the message is not sent by the CF server 
it self.
If there is an exception, it can be for any other reason, like an 
invalid value in some other attribute,
but not because of the address if it is syntactically correct.

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


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

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


problems installing 7.0.2 updater

2007-10-09 Thread Greg Morphis
I have a multi-server configuration install of CF7..
I get to the screen where it asks me where CF MX 7 is located
with a default C:\Jrun4 selected.
That's where my Jrun install is..
C:\JRun4\
CF root is : C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\

When I hit Okay with the default C:\Jrun4 int he box I get
Selected directory is invalid
 The specified directory does not contain a valid Jrun root directory

So what's up with this?

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

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


Re: Need an active Javascript discussion group

2007-10-09 Thread Cutter (CFRelated)
  Javascript mailing list
  [EMAIL PROTECTED]
  http://lists.evolt.org/mailman/listinfo/javascript

I'll again put in a vote for this list. I've been on it for over seven 
years (my first dev list). Back in the day it was the hang out for JS 
notables like Peter Paul Koch and others. It used to be hosted by David 
Merchant, when he was with LaTech Edu, but David recently moved on and 
Evolt graciously offered to take it on and keep it going. Very active, 
targeted, and good when it comes to signal to noise. They've even 
maintained the archive all the way back to March of 2001.

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

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

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


Re: problems installing 7.0.2 updater

2007-10-09 Thread Greg Morphis
also.. I've made sure no CF service is running in services.msc
I didnt see a Jrun service in there however I did run
jrun -stop from the command line and all servers have stopped.



On 10/9/07, Greg Morphis [EMAIL PROTECTED] wrote:
 I have a multi-server configuration install of CF7..
 I get to the screen where it asks me where CF MX 7 is located
 with a default C:\Jrun4 selected.
 That's where my Jrun install is..
 C:\JRun4\
 CF root is : C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\

 When I hit Okay with the default C:\Jrun4 int he box I get
 Selected directory is invalid
  The specified directory does not contain a valid Jrun root directory

 So what's up with this?


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

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


RE: isEmail vs cfmail tag

2007-10-09 Thread Robert Rawlins - Think Blue
http://www.bennadel.com/blog/265-ColdFusion-Email-Validation-IsValid-And-CFM
ail-Errors.htm

Might be worth a read, I know there have been problems with this.

Rob

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: 09 October 2007 16:55
To: CF-Talk
Subject: Re: isEmail vs cfmail tag

 It's perfectly possible for a
validly formatted address to cause an exception when you actually try to
email it.

Not so sure about that, since the message is not sent by the CF server 
it self.
If there is an exception, it can be for any other reason, like an 
invalid value in some other attribute,
but not because of the address if it is syntactically correct.

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




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

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


Re: problems installing 7.0.2 updater

2007-10-09 Thread Greg Morphis
found this
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=143threadid=1168251#4184437

I didnt have 7.0.1 installed, just MX 7.. running that updater first..

Thanks

On 10/9/07, Greg Morphis [EMAIL PROTECTED] wrote:
 also.. I've made sure no CF service is running in services.msc
 I didnt see a Jrun service in there however I did run
 jrun -stop from the command line and all servers have stopped.



 On 10/9/07, Greg Morphis [EMAIL PROTECTED] wrote:
  I have a multi-server configuration install of CF7..
  I get to the screen where it asks me where CF MX 7 is located
  with a default C:\Jrun4 selected.
  That's where my Jrun install is..
  C:\JRun4\
  CF root is : C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\
 
  When I hit Okay with the default C:\Jrun4 int he box I get
  Selected directory is invalid
   The specified directory does not contain a valid Jrun root directory
 
  So what's up with this?
 


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

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


RE: isEmail vs cfmail tag

2007-10-09 Thread Russ
Actually, if the email is being sent to an address hosted at the email
server through which the email is being sent, and the server replies saying
something like 'This email doesn't exist', CF will fail the mail and put it
in the undeliverable folder.  I don't believe it will cause an exception
(unless maybe the emails are not set to be spooled in the admin?).  

Russ



 -Original Message-
 From: Claude Schneegans [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 09, 2007 11:55 AM
 To: CF-Talk
 Subject: Re: isEmail vs cfmail tag
 
  It's perfectly possible for a
 validly formatted address to cause an exception when you actually try to
 email it.
 
 Not so sure about that, since the message is not sent by the CF server
 it self.
 If there is an exception, it can be for any other reason, like an
 invalid value in some other attribute,
 but not because of the address if it is syntactically correct.
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

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

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


Re: Coldspring AOP on Transient Business Object, bad combo?

2007-10-09 Thread Brian Kotek
Exactly, that was what the original question was asking about (using AOP
with non singletons aka transient objects).

On 10/9/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Tuesday 09 Oct 2007, [EMAIL PROTECTED] wrote:
  Not if the object is a per-request object (a non-singleton). A
  non-singleton CFC with AOP applied to it will have a temp CFC written
 every
  time you instantiate that CFC (totally independent of the beanFactory).

 Ahh.
 You get a non-singleton by setting singleton=false in the bean's
 definition,
 right ?

 --
 Tom Chiverton
 Helping to conveniently unleash guinine information
 on: http://thefalken.livejournal.com

 

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

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

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

 

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

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


Re: CFC Composition and/or Extention

2007-10-09 Thread Brian Kotek
I would follow the same subtype/supertype idiom in your DAO objects. Have an
abstract MediaDAO which handles all the database interaction for the Media
table, and have concrete subtypes for each type of Media (VideoDAO,
ImageDAO, etc.) so that they can handle their own type-specific data. I
would have the concrete DAOs first run something like super.insert(data) so
that the superclass will handle whatever has to happen with the Media table,
and then they can go on doing their own type-specific database interactions
with their own tables.

On 10/9/07, Robert Rawlins - Think Blue [EMAIL PROTECTED]
wrote:

 Thanks again Brian, another great reply,

 Yes these will defiantly be staying as a cast type, i.e. a image will
 always
 be an image and nothing more so at the moment I think the extended super
 class kind of makes good sense for me, taking a base Media object with the
 common attributes and extending it to the other sub classes which contain
 individual/unique properties. I then keep control over the whole lot with
 a
 service.

 One other thing I am wondering is how to organise my DAO's for this,
 should
 the Media class have its own DAO separate from the sub types? Or should
 the
 DAO's for my sub types deal with the media table as well as their own? I'm
 guessing the former, so that in my service saveImage() method it passes
 the
 super inited Image object to both the MediaDAO and the ImageDAO and they
 can
 just suck out the properties they need to persist it. Does that sound like
 the best option?

 Thanks again mate,

 Rob




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

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


Re: isEmail vs cfmail tag

2007-10-09 Thread Claude Schneegans
 I don't believe it will cause an exception.

It can't. Anyway the template which sent the message cannot get an 
exception since it
is not running anymore. The CFMAIL tag only drops a copy of the message 
in the spool.

Now I think the spool may be deactivated in the server.
Don't know what happens in this case.

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


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

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


Eclipse and the CF Ajax Wizards

2007-10-09 Thread LHWH Interactive
I took Ben's CF and Ajax session at Max and I wanna jump in and play
with that CF Ajax wizard for Eclipse. I've downloaded Eclipse from
eclipse.org (side note: the extraction gave me an error message
indicating that one file's name was too long, it was at the very end
of the extraction and I said skip anyone know what's up with that?)
and I suppose now it's just a matter of installing the eclipse plug
ins.

What's the short roadmap to getting up and running?

Do I just get CFeclipse and does that have the Ajax wizards for CF? Or
do I just use the eclipse plug ins that came with my CF8 download? Or
both?

I'd love to have CF, the RDS stuff, the Ajax Wizards to start... then
perhaps some way to do AS3 work? I'm a total eclipse newbie but I can
figure out the details I just wanted some pointers to what I needed to
get started...

Thanks!

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

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


Re: isEmail vs cfmail tag

2007-10-09 Thread Rick Root
On 10/9/07, Russ [EMAIL PROTECTED] wrote:
 Actually, if the email is being sent to an address hosted at the email
 server through which the email is being sent, and the server replies saying
 something like 'This email doesn't exist', CF will fail the mail and put it
 in the undeliverable folder.  I don't believe it will cause an exception
 (unless maybe the emails are not set to be spooled in the admin?).

that is correct, if spooling is disabled, cfmail will throw an
exception on delivery failure.  This of course is REALLY REALLYL slow.

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

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

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


Re: isEmail vs cfmail tag

2007-10-09 Thread Rick Root
On 10/9/07, Claude Schneegans [EMAIL PROTECTED] wrote:
  I don't believe it will cause an exception.

 It can't. Anyway the template which sent the message cannot get an
 exception since it
 is not running anymore. The CFMAIL tag only drops a copy of the message
 in the spool.

Yes, it can, if spooling is disabled.   the cfmail tag will throw
whatever error message it gets from the remote SMTP server.

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

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

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


ColdFusion 8 Installation Wizard Issue

2007-10-09 Thread joe mak
Hi all,

I am trying to install CF8 on our production server (windows 2000 machine with 
IIS), was able to install without any issue on my staging server (currently 
running xp and apache).

Once the package finishes expanding, the wizard tries to launch but stays in a 
state that seems like it's still loading.  I waited for a long time, left it 
running to see if it was just processes that were hung up, even rebooted and 
tried multiple other times.. but the installation wizard fails to completely 
load.  See screenshot:

http://www.divinestyler.com/screenshot.gif

any ideas?  this is really frustrating!!  ;)

thanks in advance,
joe 

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

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


Set Coldfusion Variable using AJAX

2007-10-09 Thread Aaron Bodell
I have a javascript variable set to the current selected row of a table (can't 
use cfgrid for this one). I need to pass that variable to a cfc for binding to 
a query. I can't seem to force it. I've tried setting an invisible field value, 
and then asynch submit the form, but with no luck. What is the right way to 
accomplish this?

Aaron 

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

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


Re: Set Coldfusion Variable using AJAX

2007-10-09 Thread Rey Bango
Whats the code look like Aaron? You should be able to make a Ajax call 
and pass a param as part of the query string to your CF page.

Rey

Aaron Bodell wrote:
 I have a javascript variable set to the current selected row of a table 
 (can't use cfgrid for this one). I need to pass that variable to a cfc for 
 binding to a query. I can't seem to force it. I've tried setting an invisible 
 field value, and then asynch submit the form, but with no luck. What is the 
 right way to accomplish this?
 
 Aaron 
 
 

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

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


RE: SQL Select Question

2007-10-09 Thread Dennis Powers
I apologize. I did not explain myself properly which I suspect is why I
can't figure this out.

 Select top 6 imageID
 From table
 Where gameID = whatever
 Order by newid()

This query will select 6 random images for a single GameID however, what I
am trying to do is select 1 random image for 6 different gameID's  which can
be random or by other selection criteria.  I have over simplified the table
to illustrate my dilemma.  Given a table like the one below I want to select
1 image for each of 6 gameIDs.  So far the only way I can see doing it is to
loop over a query that selects 1 image for a given GameID.

For argument sake let's assume I have a list of gameID's
(44,200,89,50,44,48)  How would I select one (1) random Image for each of
the gameID's from the table below in a select statement and without looping
over the query in CF?


Table:

ImageID   GameID
1   44
2   48
3   200
4   89
5   909
6   50
7   44
8   44
9   50
10  200
11  201
12  48
13  48
14  89




Best Regards,

Dennis Powers
UXB Internet - A website design and Hosting Company
690 Wolcott Road
P.O. Box 6029
Wolcott, CT  06716
Tel: (203)879-2844
http://www.uxbinternet.com/
http://www.uxb.net/ 



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

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


RE: ColdFusion 8 Installation Wizard Issue

2007-10-09 Thread Jayesh Viradiya
HI Joe,

I had faced similar issue some time in past. Ultimately what I could
figure out was that Win2K servers are by default comes with lot of
security settings which blocks launching the wizards. Exactly I don't
remember what I did but did some tweaks to lower down my security
levels. And then it allowed me to install.

Jayesh

-Original Message-
From: joe mak [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 09, 2007 12:27 PM
To: CF-Talk
Subject: ColdFusion 8 Installation Wizard Issue

Hi all,

I am trying to install CF8 on our production server (windows 2000
machine with IIS), was able to install without any issue on my staging
server (currently running xp and apache).

Once the package finishes expanding, the wizard tries to launch but
stays in a state that seems like it's still loading.  I waited for a
long time, left it running to see if it was just processes that were
hung up, even rebooted and tried multiple other times.. but the
installation wizard fails to completely load.  See screenshot:

http://www.divinestyler.com/screenshot.gif

any ideas?  this is really frustrating!!  ;)

thanks in advance,
joe 



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

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


Re: isEmail vs cfmail tag

2007-10-09 Thread Matt Robertson
Chasing the perfect regex in this circumstance is like trying to herd
cats.  Figure something screwy will always come up and meow at you
from behind, but if you error-proof your app no matter what shows up
you will chug along.

I carved the example below from one of my mail trickler tutorials.  I
personally prefer to store the error record in a single database
record (tied to a EZ-PZ GridMonger grid for administrative display) as
what you see below can get pretty monstrous if there are more than a
few errors.  Doing it that way also lets me cfdump out more scopes for
better diagnosis.  Then I just send a 'hey dummy' email to the admin
telling them to check the error log.

cfset variables.errArray=ArrayNew(2)
cfloop
  query=MailList
  cftry
  cfmail
 to=#MailList.EmailAddr#
 from=#MailList.EmailFrom#
 subject=#MailList.EmailSubject#
 server=#MailList.EmailServer#
 type=HTML
  #MailList.EmailMsg#
  /cfmail
  cfcatch type=ANY
 cfset arrayAppend(variables.errArray[1],MailList.ID)
 cfset arrayAppend(variables.errArray[2],MailList.EmailAddr)
 cfsavecontent variable=variables.diaginfo
 cfdump var=#cfcatch# label=Read This You Poor Sap
 /cfsavecontent
 cfset arrayAppend(variables.errArray[3],variables.diaginfo)
  /cfcatch
  /cftry
/cfloop
cfmail
  to=[EMAIL PROTECTED]
  from=[EMAIL PROTECTED]
  subject=OOPS!
  server=mail.mydomain.com
  type=HTML
cfdump var=#variables.errArray# label=Error List
/cfmail



On 10/9/07, Rick Root [EMAIL PROTECTED] wrote:
 On 10/9/07, Russ [EMAIL PROTECTED] wrote:
  Actually, if the email is being sent to an address hosted at the email
  server through which the email is being sent, and the server replies saying
  something like 'This email doesn't exist', CF will fail the mail and put it
  in the undeliverable folder.  I don't believe it will cause an exception
  (unless maybe the emails are not set to be spooled in the admin?).

 that is correct, if spooling is disabled, cfmail will throw an
 exception on delivery failure.  This of course is REALLY REALLYL slow.

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

 

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

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


Re: CF Coding Standards

2007-10-09 Thread Matt Robertson
or don't do tabs and use spaces exclusively.  Tell HomeSite/CF Studio
to convert tabs to spaces so you don't have to actually use the
spacebar.  I went that route after I wound up having to edit non-CF
code in HS and weird things started happening to the other code, whose
(primitive) native editor used spaces only, and whose interpreter
didn't figure on seeing tabs in the code like that.  Not sure if CF
cares much over the extra char count.

Must be a slow day if we are all waxing eloquent on this utterly
worthless topic :D

Oh and another variation on the tag thing:

cfmail
   to=#MailList.EmailAddr#
   from=#MailList.EmailFrom#
   subject=#MailList.EmailSubject#
   server=#MailList.EmailServer#
   type=HTML

I put the closing bracket on the same line as the last attribute.  woo hoo.

-- 
[EMAIL PROTECTED]
Janitor, The Robertson Team
mysecretbase.com

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

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


Re: isEmail vs cfmail tag

2007-10-09 Thread Claude Schneegans
 Yes, it can, if spooling is disabled.   the cfmail tag will throw
whatever error message it gets from the remote SMTP server.

Ok, but not really recommended for mass mailing.

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


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

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


Re: CF Coding Standards

2007-10-09 Thread Aaron Rouse
Actually it is one of those days that I wish I had brought my sledge hammer
to work with me.  This subject is just putting a little chuckle into my day.

On 10/9/07, Matt Robertson [EMAIL PROTECTED] wrote:



 Must be a slow day if we are all waxing eloquent on this utterly
 worthless topic :D




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

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


Re: Eclipse and the CF Ajax Wizards

2007-10-09 Thread Nathan Strutz
The file name too long is a known windows limitation, the file name
including the path can only have so many characters. Best bet is to put it
in or near the root of your HDD. I don't know which file or files it was,
but you may want to re-do the extract just to be safe (you shouldn't lose
any settings even if you overwrite your old files - your workspace folder is
where all your prefs are saved).

The CFEclipse install is way easy, put the CFE install address into the
find/install tool. Once it's installed, you can create CFEclipse projects,
use the CFEclipse perspective and turn on and off CFEclipse views (the
little windows inside Eclipse).

CFEclipse comes with the CFML code editor, snips library tool, framework
browser and cfcunit tool, CFML dictionary and some other neat stuff.

The Adobe ColdFusion extensions are a bit harder - you have to get the zip
file Dean Harmon's blog:
http://www.cfreport.org/index.cfm/2007/8/17/Eclipse-33-and-the-ColdFusion-Extensions-for-Eclipse

Unzip into a folder somewhere, go back the the Eclipse find/install tool and
select that folder as a local update site. After you install it you can use
it by turning on ColdFusion views (window / show view / other / ColdFusion).

The Adobe CF plugin includes RDS tools, the debugger, AJAX app wizards and
cfc generators (based on your database from the RDS view).

Hope that answers everything.

-- 
nathan strutz
http://www.dopefly.com/


On 10/9/07, LHWH Interactive [EMAIL PROTECTED] wrote:

 I took Ben's CF and Ajax session at Max and I wanna jump in and play
 with that CF Ajax wizard for Eclipse. I've downloaded Eclipse from
 eclipse.org (side note: the extraction gave me an error message
 indicating that one file's name was too long, it was at the very end
 of the extraction and I said skip anyone know what's up with that?)
 and I suppose now it's just a matter of installing the eclipse plug
 ins.

 What's the short roadmap to getting up and running?

 Do I just get CFeclipse and does that have the Ajax wizards for CF? Or
 do I just use the eclipse plug ins that came with my CF8 download? Or
 both?

 I'd love to have CF, the RDS stuff, the Ajax Wizards to start... then
 perhaps some way to do AS3 work? I'm a total eclipse newbie but I can
 figure out the details I just wanted some pointers to what I needed to
 get started...

 Thanks!

 

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

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


Re: CF Coding Standards

2007-10-09 Thread Claude Schneegans
 Tell HomeSite/CF Studio to convert tabs to spaces
so you don't have to actually use the spacebar.

Exact. And you can have tabs to be converted to only 2, 3, or 4 spaces.
Another reason for doing so is when you want to look at the source code 
your template has generated.
Both Explorer and Mozilla replace tabs with 8 spaces, which is an awful lot.

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


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

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


XML Parse

2007-10-09 Thread DKI
Hi.
i am accessing an external API that returns me the following string:

lt;wddxPacket
version='1.0'gt;lt;header/gt;lt;datagt;lt;structgt;lt;var
name='STATUS'gt;lt;stringgt;0lt;/stringgt;lt;/vargt;lt;/structgt;lt;/datagt;lt;/wddxPacketgt;

my question is how can i parse the above so that I get an XML object
in coldfusion.
I tried using XMLParse on this string, but that caused an error.

Please help.


Thanks,
Kenn

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

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


RE: isEmail vs cfmail tag

2007-10-09 Thread Russ
Hmm... I though CF enterprise boasted 2 million emails per hour only with
spooling disabled... 

Russ

 -Original Message-
 From: Claude Schneegans [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 09, 2007 3:45 PM
 To: CF-Talk
 Subject: Re: isEmail vs cfmail tag
 
  Yes, it can, if spooling is disabled.   the cfmail tag will throw
 whatever error message it gets from the remote SMTP server.
 
 Ok, but not really recommended for mass mailing.
 
 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.
 
 
 

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

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


RE: XML Parse

2007-10-09 Thread Rich
 i am accessing an external API that returns me the following string:
 
   lt;wddxPacket
 version='1.0'gt;lt;header/gt;lt;datagt;lt;structgt;lt;var
 name='STATUS'gt;lt;stringgt;0lt;/stringgt;lt;/vargt;lt;/structgt;
 lt;/datagt;lt;/wddxPacketgt;
 
 my question is how can i parse the above so that I get an XML object
 in coldfusion.
 I tried using XMLParse on this string, but that caused an error.

It appears to be a WDDX packet that is being returned.  Check out the CFWDDX
tag. http://livedocs.adobe.com/coldfusion/7/htmldocs/1523.htm

HTH,
Rich



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

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


RE: CFC Composition and/or Extention

2007-10-09 Thread Robert Rawlins - Think Blue
Oooh! Nice concept Brian, I hadn't thought about extending DAO's like
that...I like it a lot.

I now knight thee, Brian The Brain Kotek

Thanks mate,

Rob

-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: 09 October 2007 18:25
To: CF-Talk
Subject: Re: CFC Composition and/or Extention

I would follow the same subtype/supertype idiom in your DAO objects. Have an
abstract MediaDAO which handles all the database interaction for the Media
table, and have concrete subtypes for each type of Media (VideoDAO,
ImageDAO, etc.) so that they can handle their own type-specific data. I
would have the concrete DAOs first run something like super.insert(data) so
that the superclass will handle whatever has to happen with the Media table,
and then they can go on doing their own type-specific database interactions
with their own tables.

On 10/9/07, Robert Rawlins - Think Blue
[EMAIL PROTECTED]
wrote:

 Thanks again Brian, another great reply,

 Yes these will defiantly be staying as a cast type, i.e. a image will
 always
 be an image and nothing more so at the moment I think the extended super
 class kind of makes good sense for me, taking a base Media object with the
 common attributes and extending it to the other sub classes which contain
 individual/unique properties. I then keep control over the whole lot with
 a
 service.

 One other thing I am wondering is how to organise my DAO's for this,
 should
 the Media class have its own DAO separate from the sub types? Or should
 the
 DAO's for my sub types deal with the media table as well as their own? I'm
 guessing the former, so that in my service saveImage() method it passes
 the
 super inited Image object to both the MediaDAO and the ImageDAO and they
 can
 just suck out the properties they need to persist it. Does that sound like
 the best option?

 Thanks again mate,

 Rob






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

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


Re: CF Coding Standards

2007-10-09 Thread Cutter (CFRelated)
People still use HomeSite or CF Studio!?! (Cutter ducks from the flying 
objects) ;)

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

Matt Robertson wrote:
 or don't do tabs and use spaces exclusively.  Tell HomeSite/CF Studio
 to convert tabs to spaces so you don't have to actually use the
 spacebar.  I went that route after I wound up having to edit non-CF
 code in HS and weird things started happening to the other code, whose
 (primitive) native editor used spaces only, and whose interpreter
 didn't figure on seeing tabs in the code like that.  Not sure if CF
 cares much over the extra char count.
 
 Must be a slow day if we are all waxing eloquent on this utterly
 worthless topic :D
 
 Oh and another variation on the tag thing:
 
 cfmail
to=#MailList.EmailAddr#
from=#MailList.EmailFrom#
subject=#MailList.EmailSubject#
server=#MailList.EmailServer#
type=HTML
 
 I put the closing bracket on the same line as the last attribute.  woo hoo.
 

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

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


ColdFusion SQL Date problem

2007-10-09 Thread Donald Burns
Hello,

Recently I've noticed a weird problem.

During registration, I keep customer information in a registration (temporary) 
table until they confirm their account via email.

Once the account is confirmed, I copy their data from the registration table 
into the customer table.

The SQL is similar to this:

INSERT INTO tblCustomers (firstName, lastName, submitDate) 
SELECT firstName, lastName, submitDate
FROM tblRegistration
WHERE customerID = #getUserInfo.customerID#

This has worked fine for over 400 customers so far.

But recently I have noticed the submit date is copying over incorrectly and is 
being inserted as null (-00-00).

The only thing I could think of that has changed is that Crystal Tech (the 
hosting company) has switched over to ColdFusion 8.

Is there any obvious solution to this problem that I have missed? Could it be 
something that changed in ColdFusion 8?

Any help would be appreciated. 

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

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


Re: ColdFusion SQL Date problem

2007-10-09 Thread Aaron Roberson
ColdFusion will throw an error when if you supply -00-00 as the value
for any date functions, cfqueryparam, cfargument with a type of date, etc.
because -00-00 is not a valid date (neither is 02-30-2007).
HTH,
Aaron

P.S. I had this same problem and Sean Corfield alerted me to the fact that
CF is smarter than I thought...

On 10/9/07, Donald Burns [EMAIL PROTECTED] wrote:

 Hello,

 Recently I've noticed a weird problem.

 During registration, I keep customer information in a registration
 (temporary) table until they confirm their account via email.

 Once the account is confirmed, I copy their data from the registration
 table into the customer table.

 The SQL is similar to this:

 INSERT INTO tblCustomers (firstName, lastName, submitDate)
 SELECT firstName, lastName, submitDate
 FROM tblRegistration
 WHERE customerID = #getUserInfo.customerID#

 This has worked fine for over 400 customers so far.

 But recently I have noticed the submit date is copying over incorrectly
 and is being inserted as null (-00-00).

 The only thing I could think of that has changed is that Crystal Tech (the
 hosting company) has switched over to ColdFusion 8.

 Is there any obvious solution to this problem that I have missed? Could it
 be something that changed in ColdFusion 8?

 Any help would be appreciated.

 

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

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


Re: ColdFusion SQL Date problem

2007-10-09 Thread Donald Burns
I'm not supplying -00-00 exactly.

The proper date shows up in the temporary table.

But when copied to the customer table through the above SQL statement, it 
receives -00-00 (null). 

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

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


Re: XML Parse

2007-10-09 Thread Web Exp
Well... I don't want to convert this string to a CF struct. I know I
can do that using cfwddx.
In this case I simply want to convert the string into an XML object.
The string again is:
lt;wddxPacket
version='1.0'gt;lt;header/gt;lt;datagt;lt;structgt;lt;var
name='STATUS'gt;lt;stringgt;0lt;/stringgt;lt;/vargt;lt;/structgt;lt;/datagt;lt;/wddxPacketgt;

Any ideas anyone?

On 10/9/07, Rich [EMAIL PROTECTED] wrote:
  i am accessing an external API that returns me the following string:
 
lt;wddxPacket
  version='1.0'gt;lt;header/gt;lt;datagt;lt;structgt;lt;var
  name='STATUS'gt;lt;stringgt;0lt;/stringgt;lt;/vargt;lt;/structgt;
  lt;/datagt;lt;/wddxPacketgt;
 
  my question is how can i parse the above so that I get an XML object
  in coldfusion.
  I tried using XMLParse on this string, but that caused an error.

 It appears to be a WDDX packet that is being returned.  Check out the CFWDDX
 tag. http://livedocs.adobe.com/coldfusion/7/htmldocs/1523.htm

 HTH,
 Rich



 

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

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


RE: CF Coding Standards

2007-10-09 Thread Gaulin, Mark
Actually, all this talk about cf code formatting styles is making me wish there 
was a way to reformat code in cfeclipse (to my liking), but I'd always be wary 
about the formatter changing something important (and subtle) in the html. 
Still, it might make an interesting addition to cfeclipse.
 
What I would find more interesting is something approaching a coding style 
validator for important things, like varing local variables in functions and 
always scoping variables properly (to the degree that I would want), checking 
for cfparam tags for url, form, and attribute variables, etc.  
 
Does anything like that already exist for Eclipse, or in CFEclipse?
 
Thanks
Mark



From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Tue 10/9/2007 3:41 PM
To: CF-Talk
Subject: Re: CF Coding Standards



or don't do tabs and use spaces exclusively.  Tell HomeSite/CF Studio
to convert tabs to spaces so you don't have to actually use the
spacebar.  I went that route after I wound up having to edit non-CF
code in HS and weird things started happening to the other code, whose
(primitive) native editor used spaces only, and whose interpreter
didn't figure on seeing tabs in the code like that.  Not sure if CF
cares much over the extra char count.

Must be a slow day if we are all waxing eloquent on this utterly
worthless topic :D

Oh and another variation on the tag thing:

cfmail
   to=#MailList.EmailAddr#
   from=#MailList.EmailFrom#
   subject=#MailList.EmailSubject#
   server=#MailList.EmailServer#
   type=HTML

I put the closing bracket on the same line as the last attribute.  woo hoo.

--
[EMAIL PROTECTED]
Janitor, The Robertson Team
mysecretbase.com



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

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


RE: XML Parse

2007-10-09 Thread Brad Wood
Can you supply us with the error you are receiving?

-Original Message-
From: Web Exp [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 09, 2007 5:01 PM
To: CF-Talk
Subject: Re: XML Parse

Well... I don't want to convert this string to a CF struct. I know I
can do that using cfwddx.
In this case I simply want to convert the string into an XML object.
The string again is:
lt;wddxPacket
version='1.0'gt;lt;header/gt;lt;datagt;lt;structgt;lt;var
name='STATUS'gt;lt;stringgt;0lt;/stringgt;lt;/vargt;lt;/structg
t;lt;/datagt;lt;/wddxPacketgt;

Any ideas anyone?

On 10/9/07, Rich [EMAIL PROTECTED] wrote:
  i am accessing an external API that returns me the following string:
 
lt;wddxPacket
  version='1.0'gt;lt;header/gt;lt;datagt;lt;structgt;lt;var
 
name='STATUS'gt;lt;stringgt;0lt;/stringgt;lt;/vargt;lt;/structg
t;
  lt;/datagt;lt;/wddxPacketgt;
 
  my question is how can i parse the above so that I get an XML object
  in coldfusion.
  I tried using XMLParse on this string, but that caused an error.

 It appears to be a WDDX packet that is being returned.  Check out the
CFWDDX
 tag. http://livedocs.adobe.com/coldfusion/7/htmldocs/1523.htm

 HTH,
 Rich



 



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

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


Re: CF Coding Standards

2007-10-09 Thread Mark Mandel
Gaulin,

To do something like that, you would need a decent Open Source CFML parser.

I started working on one a while back, and got pretty far into it, but
I got sidetracked by other OSS commitments.

I should return to it at some point, and finish it off.

Mark

On 10/10/07, Gaulin, Mark [EMAIL PROTECTED] wrote:
 Actually, all this talk about cf code formatting styles is making me wish 
 there was a way to reformat code in cfeclipse (to my liking), but I'd always 
 be wary about the formatter changing something important (and subtle) in the 
 html. Still, it might make an interesting addition to cfeclipse.

 What I would find more interesting is something approaching a coding style 
 validator for important things, like varing local variables in functions 
 and always scoping variables properly (to the degree that I would want), 
 checking for cfparam tags for url, form, and attribute variables, etc.

 Does anything like that already exist for Eclipse, or in CFEclipse?

 Thanks
 Mark

 

 From: Matt Robertson [mailto:[EMAIL PROTECTED]
 Sent: Tue 10/9/2007 3:41 PM
 To: CF-Talk
 Subject: Re: CF Coding Standards



 or don't do tabs and use spaces exclusively.  Tell HomeSite/CF Studio
 to convert tabs to spaces so you don't have to actually use the
 spacebar.  I went that route after I wound up having to edit non-CF
 code in HS and weird things started happening to the other code, whose
 (primitive) native editor used spaces only, and whose interpreter
 didn't figure on seeing tabs in the code like that.  Not sure if CF
 cares much over the extra char count.

 Must be a slow day if we are all waxing eloquent on this utterly
 worthless topic :D

 Oh and another variation on the tag thing:

 cfmail
to=#MailList.EmailAddr#
from=#MailList.EmailFrom#
subject=#MailList.EmailSubject#
server=#MailList.EmailServer#
type=HTML

 I put the closing bracket on the same line as the last attribute.  woo hoo.

 --
 [EMAIL PROTECTED]
 Janitor, The Robertson Team
 mysecretbase.com



 

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

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


Re: XML Parse

2007-10-09 Thread Web Exp
Sure. Here's the error:
An error occured while Parsing an XML document.
Reference is not allowed in prolog.


On 10/9/07, Brad Wood [EMAIL PROTECTED] wrote:
 Can you supply us with the error you are receiving?

 -Original Message-
 From: Web Exp [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 09, 2007 5:01 PM
 To: CF-Talk
 Subject: Re: XML Parse

 Well... I don't want to convert this string to a CF struct. I know I
 can do that using cfwddx.
 In this case I simply want to convert the string into an XML object.
 The string again is:
 lt;wddxPacket
 version='1.0'gt;lt;header/gt;lt;datagt;lt;structgt;lt;var
 name='STATUS'gt;lt;stringgt;0lt;/stringgt;lt;/vargt;lt;/structg
 t;lt;/datagt;lt;/wddxPacketgt;

 Any ideas anyone?

 On 10/9/07, Rich [EMAIL PROTECTED] wrote:
   i am accessing an external API that returns me the following string:
  
 lt;wddxPacket
   version='1.0'gt;lt;header/gt;lt;datagt;lt;structgt;lt;var
  
 name='STATUS'gt;lt;stringgt;0lt;/stringgt;lt;/vargt;lt;/structg
 t;
   lt;/datagt;lt;/wddxPacketgt;
  
   my question is how can i parse the above so that I get an XML object
   in coldfusion.
   I tried using XMLParse on this string, but that caused an error.
 
  It appears to be a WDDX packet that is being returned.  Check out the
 CFWDDX
  tag. http://livedocs.adobe.com/coldfusion/7/htmldocs/1523.htm
 
  HTH,
  Rich
 
 
 
 



 

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

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


Re: CF Coding Standards

2007-10-09 Thread Aaron Rouse
I always like the people who use CFStudio because they say Homesite sucks ;)

On 10/9/07, Cutter (CFRelated) [EMAIL PROTECTED] wrote:

 People still use HomeSite or CF Studio!?! (Cutter ducks from the flying
 objects) ;)

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

 Matt Robertson wrote:
  or don't do tabs and use spaces exclusively.  Tell HomeSite/CF Studio
  to convert tabs to spaces so you don't have to actually use the
  spacebar.  I went that route after I wound up having to edit non-CF
  code in HS and weird things started happening to the other code, whose
  (primitive) native editor used spaces only, and whose interpreter
  didn't figure on seeing tabs in the code like that.  Not sure if CF
  cares much over the extra char count.
 
  Must be a slow day if we are all waxing eloquent on this utterly
  worthless topic :D
 
  Oh and another variation on the tag thing:
 
  cfmail
 to=#MailList.EmailAddr#
 from=#MailList.EmailFrom#
 subject=#MailList.EmailSubject#
 server=#MailList.EmailServer#
 type=HTML
 
  I put the closing bracket on the same line as the last attribute.  woo
 hoo.
 

 

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

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


Re: CF Coding Standards

2007-10-09 Thread Claude Schneegans
 People still use HomeSite or CF Studio!?!

Sure.
I tried DW once, and CFEclipse too... Glad I didn't uninstall CF STudio!

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


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

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


Re: isEmail vs cfmail tag

2007-10-09 Thread Claude Schneegans
 I though CF enterprise boasted 2 million emails per hour only with
spooling disabled...

On the same destination server, may be.
I just don't think this is possible. Some servers will take seconds 
before they send an answer.

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


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

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


Re: ColdFusion SQL Date problem

2007-10-09 Thread Donald Burns
Is there any chance something like this can happen if a websites SSL security 
certificate expires?

That is one thing that happened during the time this problem occurred.

But out of about 40 customer fields (two others were also even dates), that one 
date field was the only one that kept getting inserted as null when copied over.

Now that the certificate is reinstalled, the one date field copied perfectly 
fine from the registration to the customer table. 

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

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


Re: CF Coding Standards

2007-10-09 Thread Matt Robertson
Cutter (CFRelated) wrote:
 People still use HomeSite or CF Studio!?! (Cutter ducks from the flying
 objects) ;)

Only when I have too much stuff in memory to load Notepad :D


-- 
[EMAIL PROTECTED]
Janitor, The Robertson Team
mysecretbase.com

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

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


RE: CF Coding Standards

2007-10-09 Thread Jaime Metcher
Surely the Smith project has one?  For that matter, cfeclipse itself is
obviously doing some sort of parsing, no?

Jaime

 -Original Message-
 From: Mark Mandel [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, 10 October 2007 9:04 AM
 To: CF-Talk
 Subject: Re: CF Coding Standards


 Gaulin,

 To do something like that, you would need a decent Open Source
 CFML parser.

 I started working on one a while back, and got pretty far into it, but
 I got sidetracked by other OSS commitments.

 I should return to it at some point, and finish it off.

 Mark

 On 10/10/07, Gaulin, Mark [EMAIL PROTECTED] wrote:
  Actually, all this talk about cf code formatting styles is
 making me wish there was a way to reformat code in cfeclipse (to
 my liking), but I'd always be wary about the formatter changing
 something important (and subtle) in the html. Still, it might
 make an interesting addition to cfeclipse.
 
  What I would find more interesting is something approaching a
 coding style validator for important things, like varing
 local variables in functions and always scoping variables
 properly (to the degree that I would want), checking for cfparam
 tags for url, form, and attribute variables, etc.
 
  Does anything like that already exist for Eclipse, or in CFEclipse?
 
  Thanks
  Mark
 
  
 
  From: Matt Robertson [mailto:[EMAIL PROTECTED]
  Sent: Tue 10/9/2007 3:41 PM
  To: CF-Talk
  Subject: Re: CF Coding Standards
 
 
 
  or don't do tabs and use spaces exclusively.  Tell HomeSite/CF Studio
  to convert tabs to spaces so you don't have to actually use the
  spacebar.  I went that route after I wound up having to edit non-CF
  code in HS and weird things started happening to the other code, whose
  (primitive) native editor used spaces only, and whose interpreter
  didn't figure on seeing tabs in the code like that.  Not sure if CF
  cares much over the extra char count.
 
  Must be a slow day if we are all waxing eloquent on this utterly
  worthless topic :D
 
  Oh and another variation on the tag thing:
 
  cfmail
 to=#MailList.EmailAddr#
 from=#MailList.EmailFrom#
 subject=#MailList.EmailSubject#
 server=#MailList.EmailServer#
 type=HTML
 
  I put the closing bracket on the same line as the last
 attribute.  woo hoo.
 
  --
  [EMAIL PROTECTED]
  Janitor, The Robertson Team
  mysecretbase.com
 
 
 
 

 

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

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


Help with DB design delimma

2007-10-09 Thread Aaron Roberson
Hey all,
Here is my simple use case: I have a table of articles. I would like to
indicates some as featured.

Here is my dilemma: Since only a few rows in the table will be featured
articles I figured it would be bad to have an isfeatured field in the
table. Why have a field for every row when a small minority will actually
use it? My thought was to create a second table with all of the featured
article id's. However, should I really create a table with one field just
for maintaining a list of article id's?

What would be the best approach?

Thanks,
Aaron


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

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


RE: CF Coding Standards

2007-10-09 Thread Dave Watts
 What I would find more interesting is something approaching a 
 coding style validator for important things, like varing 
 local variables in functions and always scoping variables 
 properly (to the degree that I would want), checking for 
 cfparam tags for url, form, and attribute variables, etc. 

Those are functional changes, not stylistic changes. You won't find much to
help you with functional changes - that's your job as a programmer. For
example, you might have a reference to a variable within a function. Should
it be local? Only you can answer that - it could be a reference to a
variable that actually exists outside the function (this is relatively
common in CFC methods, for example).

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

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


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

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


RE: Help with DB design delimma

2007-10-09 Thread Ryan, Terrence
I would go the second table route. It's possible that down the road you'll want 
to set featured articles to only persist for a time.  Then you'll need a start 
and end date. Or you'll need something else that you can't predict right now.

Terrence Ryan
I.T. Director
Wharton Computing and Information Technology   
E-mail:     [EMAIL PROTECTED]


-Original Message-
From: Aaron Roberson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 09, 2007 9:01 PM
To: CF-Talk
Subject: Help with DB design delimma

Hey all,
Here is my simple use case: I have a table of articles. I would like to
indicates some as featured.

Here is my dilemma: Since only a few rows in the table will be featured
articles I figured it would be bad to have an isfeatured field in the
table. Why have a field for every row when a small minority will actually
use it? My thought was to create a second table with all of the featured
article id's. However, should I really create a table with one field just
for maintaining a list of article id's?

What would be the best approach?

Thanks,
Aaron




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

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


RE: Help with DB design delimma

2007-10-09 Thread Dawson, Michael
I can't remember the source, but I recall reading that you should not
use columns that are mostly null or have very few unique values (low
cardinality).  In those instances, you would create a separate table
that contains only those records, just as you mentioned.

If you create a separate table, just for featured articles, you can
query that table w/o much performance penalty.  If you have the correct
indexes on both tables, you should also be fine.

On the other hand, you would then have to maintain data in two, or more,
tables rather than one.

How many articles, in total, do you expect to have?  I can't imagine a
problem unless you are dealing with tens of thousands of records.

If you have hundreds of thousands of records, and performance sucks,
then you could create a duplicate articles table that contains ONLY
featured articles, in full.  An administrator would perform an action
that would copy an article's entire record to the featured table.  When
an article is no longer featured, the record would be removed from the
featured table.

Of course, you would need to consider any modifications to a featured
article.  You would need to update in both tables.  A trigger would make
this process relatively simple.

M!ke

-Original Message-
From: Aaron Roberson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 09, 2007 8:01 PM
To: CF-Talk
Subject: Help with DB design delimma

Hey all,
Here is my simple use case: I have a table of articles. I would like to
indicates some as featured.

Here is my dilemma: Since only a few rows in the table will be featured
articles I figured it would be bad to have an isfeatured field in the
table. Why have a field for every row when a small minority will
actually use it? My thought was to create a second table with all of the
featured article id's. However, should I really create a table with one
field just for maintaining a list of article id's?

What would be the best approach?

Thanks,
Aaron

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

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


Splitting UI and Data

2007-10-09 Thread Morten Kruse
I’m about to construct a new Coldfusion application and I want do use an 
object orientated approach.
But I don’t know how I should do this.

I have read the article written by David Friedel. Building an object oriented 
user interface with Coldfusion MX 
http://www.adobe.com/devnet/coldfusion/articles/oo_interface.html
He tells about the principles but not the actual development

I have created a cfc library containing data retrievers. These cfc’s should 
provide my UI with the necessary data.

Now I’m about to construct the User interface (UI) but I don’t know how I 
should combine the user interface with the data.

I plan to split the UI in small function (Widget) just like in the article. 
Maybe I will have a grid showing some employees  The UI part I would then 
insert into either a cfm or cfc.

If I put it into a cfm and use CFINCLUDE to use it I can’t pass the data 
query to it.
But then if I put into a cfc and use CFINVOKE I can pass the data to it. But 
then the cfc will fail because it uses the CFGRID and I don’t intent to 
insert a CFFORM into each cfc.


How do you do this?

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

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


RE: Splitting UI and Data

2007-10-09 Thread Loathe
I generally won't put any view/html type code inside a cfc if I can help it.

There are several different frameworks that make the understanding of this 
relationship easier.  Personally I prefer Fusebox.  There are also Model-Glue 
and Machii.

To make this basic though you would call the method of your data retrieval as 
part of your controller, then use the return (a query I assume?) to populate 
your view.

 -Original Message-
 From: Morten Kruse [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 10, 2007 1:57 AM
 To: CF-Talk
 Subject: Splitting UI and Data
 
 I’m about to construct a new Coldfusion application and I want do use
 an object orientated approach.
 But I don’t know how I should do this.
 
 I have read the article written by David Friedel. Building an object
 oriented user interface with Coldfusion MX
 http://www.adobe.com/devnet/coldfusion/articles/oo_interface.html
 He tells about the principles but not the actual development
 
 I have created a cfc library containing data retrievers. These cfc’s
 should provide my UI with the necessary data.
 
 Now I’m about to construct the User interface (UI) but I don’t 
 know
 how I should combine the user interface with the data.
 
 I plan to split the UI in small function (Widget) just like in the
 article. Maybe I will have a grid showing some employees  The UI part I
 would then insert into either a cfm or cfc.
 
 If I put it into a cfm and use CFINCLUDE to use it I can’t pass the
 data query to it.
 But then if I put into a cfc and use CFINVOKE I can pass the data to
 it. But then the cfc will fail because it uses the CFGRID and I don’t
 intent to insert a CFFORM into each cfc.
 
 
 How do you do this?
 
 

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

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