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 o
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/
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, j
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 Informati
> What I would find more interesting is something approaching a
> "coding style validator" for important things, like "var"ing
> 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 varia
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
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
>
>
> Gaul
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
~
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
>>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 ta
>>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:
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 Macro
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: Tuesd
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
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
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.
W
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:
0
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 generati
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
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 simil
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 spac
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 Compositio
> i am accessing an external API that returns me the following string:
>
> version='1.0'> name='STATUS'>0
>
>
> my question is how can i parse the above so that I get an XML object
> in coldfusio
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, i
Hi.
i am accessing an external API that returns me the following string:
0
my question is how can i parse the above so that I get an XML object
in coldfusion.
I tried us
>>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 Mozil
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 sett
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
>>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/customtag
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
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
p
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 i
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 f
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
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
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 s
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 ca
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 fol
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 "
>>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 happ
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 h
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-
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
(un
found this
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=143&threadid=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 service
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: isE
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 t
> 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
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
>>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 attrib
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 Build
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 dur
>>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.
>>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]
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 nu
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
> 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
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 :-(
>
~
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 yo
On Tuesday 09 Oct 2007, [EMAIL PROTECTED] wrote:
> What version of CF are you running, as CF7+ has an isValid() function
> that should work...
>
>
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
e
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
>>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
>>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 nu
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 serve
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
sti
What version of CF are you running, as CF7+ has an isValid() function
that should work...
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
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
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
***
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
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.
//Is
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.
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:
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.
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
attri
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
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
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-commer
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
Helpin
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 pas
> 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)
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
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, the
80 matches
Mail list logo