Go with Form["outcome_" & i], not Evaluate or
'#form.outcome##form._ac_id#'. It's just way cleaner.
d
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
my objects model formatting/custom logic?" Our
> response to that is to factor that logic into a helper class that is
> a) used by the object and b) used where the query is cfoutput'd.
>
> -Joe
>
>
> On Fri, Oct 22, 2010 at 8:44 AM, enigment wrote:
>>
>> J
Not so much thinking about transactions, or avoiding straight queries
with stored procs, more about returning large result sets as native
queries rather than collections of cfc objects.
One possibility of course is to use ORM for single/composite record
detail, and native cf queries for search/li
Just starting to look at the CF ORM stuff, pretty nice API, Hibernate
underneath, all good.
But as I understand it, ORM "queries" return arrays of cfc objects,
and I'm concerned about performance at scale. On a gut level, I'd
rather be able to get a native CF query, which I could deal with in
str
+1,000,000 for Jame's theory about string concatenation. CF is very
inefficient at this. Doesn't amtter much for small stuff and a few
repeats, but for bulk, a Java buffer is the way to go.
Dave
On Mon, Oct 18, 2010 at 4:04 AM, Jochem van Dieten wrote:
>
> On Mon, Oct 18, 2010 at 5:14 AM, Bryn
The spellchecker in IntelliJ IDEA is camel-case aware, so it
highlights things like this. Not just for that reason, I'm very happy
with it.
Dave
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion
+1 VisualSVN
Dave
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338165
+1 for Dan's approach.
Dave
On Tue, Oct 12, 2010 at 10:12 PM, Dan G. Switzer, II
wrote:
>
> On Tuesday, October 12, 2010, Dave Watts wrote:
>
>> You can't prompt the user to download a file if you're invoking the
>> URL with standard jQuery AJAX calls. You have to basically just fetch
>> the U
Is it the gzip encoding maybe? Can you turn that off on the server to try it?
Dave
On Tue, Oct 12, 2010 at 6:44 PM, Judah McAuley wrote:
>
> Are they using any sort of proxy? Perhaps an ad blocker?
>
> Judah
>
> On Tue, Oct 12, 2010 at 3:12 PM, Sebastian Powell wrote:
>>
>> Hi,
>>
>> I have a
I'm pretty certain that "no", "false", and "0" all have the same effect.
Dave
On Sun, Oct 10, 2010 at 3:43 PM, Reed Powell wrote:
>
> You want not "false". It will stop any debug
> output, just as if you removed your IP address from the list in cf admin. It
> will not have any effect on err
Using does actually disable debug
output. Any chance there's another call to it somewhere else with a
different setting?
Are you actually seeing debug output in the requests that fail, even
with that code? Or you're not, but debug output being on in
administrator but off on the page still breaks
No, actually not, unless I missed it. Evaluate is against my religion,
but I might make an exception if there isn't any other way and I care
enough. It's an odd language feature to work around,
argumentCollection (args by name) exists, but there's no positional
equivalent.
Thanks,
Dave
On Wed,
You're right, I did misread your last post, sorry. But it's still not
super practical as a generic SES-URL-to-method-call dispatcher, unless
I'm still not getting what you mean. You'd need to inspect each method
before you called it to find out how many args it takes, pad the array
out that far, a
Hmmm, not sure what you mean by "build a method call to the original
method, and write the values positionally by iterating through the
array". Do you mean write it out to disk or VFS? I'd thought of that,
but wasn't super fond of the idea, since unless I'm missing something,
you'd have to do that
Grant wrote:
>
> I gave you a perfectly viable, easy to implement solution.
>
>
>
>
> On Wed, Oct 6, 2010 at 1:55 PM, enigment wrote:
>
>>
>> Imagine an SES URL processor somewhat analogous to what Django
>> provides, with a regex match that captures specific
thod can always pass in the expected
> amount of arguments.
>
>
>
>
> On Wed, Oct 6, 2010 at 1:13 PM, enigment wrote:
>
>>
>> It's unusual for a method to take an array of its arguments, rather
>> than individual ones. Situation is something like a dispatc
nd experienced folks out there. I
didn't mean to discuss whether it's worth doing.
Thanks,
Dave
On Wed, Oct 6, 2010 at 12:42 PM, Michael Grant wrote:
>
> Dave,
>
> Why don't you just pass in the array?
>
>
>
>
>
>
>
>
>
>
&g
onent.someMethod(arg);
> }
>
> That will call someMethod() for each array value. You could use a For loop
> with "i LTE arrayLen(positionalArg)" if you don't want to use iterator().
>
> -Original Message-
> From: enigment [mailto:enigm...@gmail.
gt; but I think that suits your example.
>
>
> On Wed, Oct 6, 2010 at 10:54 AM, enigment wrote:
>
>>
>> Say I have an array of values, arbitrary length, that I want to pass
>> as the arguments to a method.
>>
>> For example, with this:
>> positionalA
Say I have an array of values, arbitrary length, that I want to pass
as the arguments to a method.
For example, with this:
positionalArgs = ['foo', 'bar', 42]; // this varies, may be any length
I want to make this call:
SomeComponent.someMethod('foo', 'bar', 42);
Is there a positional equiva
At work we use AccuRev, which is expensive, and flawed, but on the
whole really great. It has a stream inheritance model that means
changes in an earlier release stream automatically flow to later
releases unless there are changes to the same file there already. Also
has integrated issue tracking,
You might be best off just having them type it in, and complain if it
doesn't exist. These are users at a high enough level that they're
configuring things, yes? Maybe the simplest solutions is the best.
Dave
On Mon, Oct 4, 2010 at 7:47 PM, William Seiter wrote:
>
> AIR is not the only method,
IMO...
- You *always* need server side validation, because as mentioned,
client validation may not always run, and also so you can make an API
available beyond browser front ends.
- If that's true, I prefer to stay DRY and write validation in only
one place, so that means on the server not the c
You might want to replace runs of consecutive unacceptable whitespace
characters with a single space. Otherwise, two sentences that used to
have CRs and/or LFs between them will be jammed against each other,
with no space at all between them.
Dave
On Mon, Aug 23, 2010 at 12:10 AM, Matthew Smith
Hi Rock,
Looks fine in Safari 5.1 on my wife's macbook, Mac OS X 10.5.8, Can't
speak to the details since she's actually using it, but it wasn't like
that mostly-empty screenshot.
HTH,
Dave
On Sun, Aug 15, 2010 at 8:44 PM, Rick Root wrote:
>
> Hi all,
>
> We've got a user saying that their sit
Thanks for checking this, good to know. I think the project I'm
working on right now can't be sure the 9.0 isn't in play, so I'll just
use my own ReplaceList equivalent.
Thanks again,
Dave
On Sun, Aug 15, 2010 at 8:31 PM, Aaron Neff wrote:
>
> Hi Dave,
>
> I believe this was bug #82039, which h
26 matches
Mail list logo