Note; I never said the process of cfif isStruct() etc was a bad thing, far
from it - I use it all the time when the statement is evaluating a boolean
(and in cases where we fool ColdFusion into thinking a value is)
I simple noted that the recordcount hack is not a boolean and as indeed you
noted c
Erm, I never said it was ambiguous (if this is indeed the message you are
replying to). The point is that query.recordcount is not a boolean - it
could have 3 possible values true, false, nothing..(in ColdFusion terms)
Implicit evaluation when the value is a boolean is great, if it is
guaranteed t
Yeah, if the site is mostly static content, that works, but if it's a
dynamic application, you probably won't want to duplicate the display layer
in all the different layers.
Victor, your approach is good and makes sense, however, instead of doing all
of that in your Application.cfc, you should pr
Your probably better off with a java.util.Hashtable, as it is already
syncronised (thread safe), and more often than not, where are using
Hashtables in a web environment, they need to be thread safe.
That being said, java.util.Collections gives you some easy to use
utilities to create synchronised
>Try using SHA instead of MD5?
>
>On 10/2/06, Juman Lop <[EMAIL PROTECTED]> wrote:
>
>
>--
>CFAJAX docs and other useful articles:
>http://www.bifrost.com.au/blog/
I have been trying to change the MD5 with Sha but the output is still do not
work properly.
~~
Be careful with encryption moving from .Net to CF and vice versa. Just
because the one names the algorithm the same way as the other it doesn't
follow that you can just encrypt in one and decrypt in the other.
For example, the MD5 hash used in CF is a short version that uses
hexedecimal notation.
If the query failed, wouldn't an error get thrown?
I personally do not see how "dynamic evaluation" is such a bad thing. I
recall when everyone on these lists started saying how bad it is and when
those CF guidelines were put out on the MACR site that supported the idea of
them being bad. At some
agreed. Note that folks in JS land use this all the time.
if( document.someobject )
IIRC, can use in Java toooh and AS.
DK
On 10/1/06, Dave Watts <[EMAIL PROTECTED]> wrote:
>
> > No, the point here is that will give
> > you true or false usually reserved for booleans which do
> > actually
Can anyone help me to convert this VB.NEt code to Coldfusion code. I'm trying
to do it but the output is dosn't same.
VB.NET cod:
''
Input: SENTRYORD01154321SENTRYORD01154321
''
Try using SHA instead of MD5?
On 10/2/06, Juman Lop <[EMAIL PROTECTED]> wrote:
> Can anyone help me to convert this VB.NEt code to Coldfusion code. I'm trying
> to do it but the output is dosn't same.
> VB.NET cod:
> ''
> Input: SE
Can anyone help me to convert this VB.NEt code to Coldfusion code. I'm trying
to do it but the output is dosn't same.
VB.NET cod:
''
Input: SENTRYORD01154321SENTRYORD01154321
''
> No, the point here is that will give
> you true or false usually reserved for booleans which do
> actually give true/false/1/0, such as isStruct()
If a language supports implicit evaluation of integers as Boolean values,
there is nothing wrong with taking advantage of it. If I suggested t
On 10/1/06, D F <[EMAIL PROTECTED]> wrote:
>
> Thanks Dave, so presumably this HashMap object can be passed around
> through various methods etc?
Pretty much. I think the one thing you need to keep in your head is
that in java, everything starts at 0, and CF starts with 1. There is a
word that
> CSS developers aren't considered such unless they can make
> things work cross-browser. Would you agree?
Agreed, no arguments there.
> Even if you
> don't, that is my take. I won't hire anyone for XHTML/CSS
> unless they can work cross-browser. So, again...fix your CSS.
This is where we dif
On 10/1/06, D F <[EMAIL PROTECTED]> wrote:
> Thanks Dave, so presumably this HashMap object can be passed around through
> various methods etc?
>
If I'm understanding what you're trying to to do, then yes, you can
pass Java objects just like you can pass CF objects around. The big
difference is t
Thanks Dave, so presumably this HashMap object can be passed around through
various methods etc?
>On 10/1/06, D F <[EMAIL PROTECTED]> wrote:
>> Is there anything in Java similar to Coldfusions Structures?
>>
>
>Remember that ColdFusion is compiled to Java, so there's always going
>to be a relate
On 10/1/06, D F <[EMAIL PROTECTED]> wrote:
> Is there anything in Java similar to Coldfusions Structures?
>
Remember that ColdFusion is compiled to Java, so there's always going
to be a related data type between the two languages. In this case, you
want a HashMap, which is what a CF structure is u
Is there anything in Java similar to Coldfusions Structures?
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a ye
Depends if your site is database driven and needs to be DB driven, if it is,
store multiple langauge versions of all content with a languageID, otherwise
store flat files in language folders.
E.g.
Mysite/uk
MySite/FR
When someone enters the site, ask them to choose the language,a nd stor ethe
ID
(again, responded off list)
On 10/1/06, Matt Quackenbush <[EMAIL PROTECTED]> wrote:
>
> I typically don't respond to this type of thread, but this one kinda threw
> me...
>
> While I wholeheartedly agree that one should be able to "make things work
> cross-browser", it is absurd at best to suggest
Hi,
I am struggling to determine what is the best option for the following:
If a site has to provide multiple languages, how would one go about
displaying the language info in selects.
Ex the information is stored in the db like:
table_1
id int
language_id tinyint
lang_string nvarchar [40]
I cam
Indeed, but toboot it only looks valid if it is boolean! IMO.
"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential a
The idea is not to bank on myquery.RecordCount being a boolean. What happens
if the query fails? Then myquery won't contain RecordCount. I think this is
what he meant.
Most of the time I'll add checks:
I could be wrong...it just seemed that is what Neil meant. He also said
*some say* and I would
(responded offlist; this post is pretty much dead and no need to fill up
everyone's inbox)
On 10/1/06, Jochem van Dieten <[EMAIL PROTECTED]> wrote:
>
> John C. Bland II wrote:
> > Duh, the rendering engine does not render everything properly and the
> > community has found the necessary hacks to w
No, the point here is that will give you true or
false usually reserved for booleans which do actually give true/false/1/0,
such as isStruct()
If have 58 records (or more than one) then it doesn't make sense to use an
cfif like this, whether it works or not.
"This e-mail is from Re
Dynamic evaluation is bad use?
News to me.
How so? I think it's clear and anyone that understand how that evaluates
knows what that statement is doing, I don't have a problem with shortcut
evaluations at all.
You don't think thats clear?
> -Original Message-
> From: Robertson-Ravo, Nei
Richard,
I use *netstat -a*
The Connection object has methods to test the connection
Can you provide a full stack trace? Does it look like this?
Error Executing Database Query. [Macromedia][SQLServer JDBC Driver]Error
establishing socket. No buffer space available (maximum connections
reached?)
This though can be frowned upon. It is evaluating it as a booleon when in
most cases it will never be. Some say bad use.
"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Nu
Doug Brown wrote:
> I was wondering if anyone on the board has used, or is using
> EnterpriseDB as their RDBMS? I noticed that Sony, who deploys over 150
> Oracle 9i servers are changing over to EnterpriseDB for their gaming
> solutions. Is this a monster or what?
EnterpriseDB is a propietary P
John C. Bland II wrote:
> Duh, the rendering engine does not render everything properly and the
> community has found the necessary hacks to work around them. Did you think I
> was talking about 5 years ago or now?
You were talking about a specific phone call I made in the past. If you don't
know
I typically don't respond to this type of thread, but this one kinda threw
me...
While I wholeheartedly agree that one should be able to "make things work
cross-browser", it is absurd at best to suggest that to "fix your CSS issues
= find out the necessary hack to fix your issue". The very fact t
you dont even need the GT you can just use
--
Nick Tong
web: http://talkwebsolutions.co.uk
blog: http://succor.co.uk
short urls: http://wapurl.co.uk
green link: http://wapurl.co.uk/?4Z2YDLX
~|
Introducing the
Phillip,
Well written. I agree 100%.
John
> -Original Message-
> From: Phillip Holmes [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 29, 2006 10:30 AM
> To: CF-Talk
> Subject: RE: CF vs. .NET presentations?
>
> Steve,
>
> Let me start by saying I have been with CF since 1996.
>
OK thanks Jochem
Richard
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/q
Richard Cooper wrote:
> It's our dedicated server which has SQL server installed on it.
>
> I also have the tick box for 'maintain connections across client
> request' ticked for the datasources.
>
> Does this give a cleared indication of the cause?
Unfortunately not. If you hadn't enabled the
Read my last post in response. I explain.
On 10/1/06, Jochem van Dieten <[EMAIL PROTECTED]> wrote:
>
> John C. Bland II
> > Are you seriously stating you called MSFT about IE not rendering
> something
> > right?
>
> Of course. If you find a bug you report it. How else do bugs get fixed, by
> bashi
Oh man, this is one of the reasons I don't like replying on big lists. I
have to explain every detail or I get "flamed" by someone.
Duh, the rendering engine does not render everything properly and the
community has found the necessary hacks to work around them. Did you think I
was talking about 5
I was wondering if anyone on the board has used, or is using EnterpriseDB as
their RDBMS? I noticed that Sony, who deploys over 150 Oracle 9i servers are
changing over to EnterpriseDB for their gaming solutions. Is this a monster or
what? Anyhow, Just wanted to get some input from people and the
How would you directly test if the socket is open?
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://
"In fact, the only company that does worse is Blackboard"
So very true.
M!ke
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door
Jochem,
Are you saying users can turn connection pooling off and people are
getting their collective hands dirty
with JDBC conections or is it if the connection fails reconnect and hence
persist? What I meant was if someone was making connections outside the
scope of pooling and making a
On 9/30/06, Robertson-Ravo, Neil (RX) wrote
> He was being sarcastic, that was obvious.
Then John C. Bland II wrote
>Apparently not. ;-)
and the text in question from Jochem:
> So next time I find an issue where for instance a bug in IE results in
> incorrect rendering, I can just call and I ge
Watch out, Jochem has his "spock" ears on again..:-p. Totally illogical.
- Original Message -
From: "Jochem van Dieten" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Sunday, October 01, 2006 4:55 AM
Subject: Re: No buffer space available (maximum connections reached?)
> Dan Plesse wrote:
It's our dedicated server which has SQL server installed on it.
I also have the tick box for 'maintain connections across client request'
ticked for the datasources.
Does this give a cleared indication of the cause?
~|
Introduc
Dan Plesse wrote:
> I would assume he is not persisting the connection because normally people
> don't know how to do that.
Considering the default setting is to maintain connections, I find that
statement illogical :)
Jochem
~
It should be
-Original Message-
From: William James Neil Kiddie Baskerville
[mailto:[EMAIL PROTECTED]
Sent: 01 October 2006 11:37
To: CF-Talk
Subject: Re: CFIF Statement
Hey, I wonder if you can help me. I am new here and I am having difficulties
in getting a tag to work on my page. I
It should be
-Original Message-
From: William James Neil Kiddie Baskerville
[mailto:[EMAIL PROTECTED]
Sent: 01 October 2006 11:37
To: CF-Talk
Subject: Re: CFIF Statement
Hey, I wonder if you can help me. I am new here and I am having difficulties
in getting a tag to work on my page.
Hey, I wonder if you can help me. I am new here and I am having difficulties in
getting a tag to work on my page. I have a search page, where the user
can select their criteria from a drop down list, then click the submit button.
This then takes them to the next page that searches the database,
Robertson-Ravo, Neil (RX) wrote:
> He was being sarcastic, that was obvious.
"that is not a bug, that is a feature" -> IE rendering of some CSS Level 1 core
stuff (btw, the MS homepage still claims that IE 6 has "Full CSS Level 1
Support"
http://www.microsoft.com/windows/ie/ie6/evaluation/feat
John C. Bland II
> Are you seriously stating you called MSFT about IE not rendering something
> right?
Of course. If you find a bug you report it. How else do bugs get fixed, by
bashing the vendor on #1337?
> That is definitely not a bug.
So how would you call it if a browser does not render
50 matches
Mail list logo