Re: Secure Flash Audio Player and CF

2008-05-09 Thread Jochem van Dieten
Jeff Price wrote:
 I'm looking for a Flash Audio Player that has the ability to prevent 
 downloads.

 Heck, we don't even need it all that secure, we just need to hide the URL of 
 the audio.

Audio that is served through HTTP can not be protected. You need Flash 
Media Server to serve your audio through RTMP streaming. 
http://www.adobe.com/devnet/flashmediaserver/articles/protecting_video_fms.pdf

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Session variables across servers

2008-05-09 Thread Jochem van Dieten
Scott Stewart wrote:
 I'm looking for different possibilities 
 it's a rig until they move the sites to the same server...

You efforts are probably better spent speeding up the site move.

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: OT - Google Hosted Email

2008-05-09 Thread Dominic Watson
 Just curious, Are all the clients in your scenario registered email users of 
 your domain?

No - and yeh, email has been the least enjoyable part of the project;
all sorts of trouble!

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: OT - Google Hosted Email

2008-05-09 Thread James Smith
Google apps rules, we use it for about a dozen domains and about 25
users and it works like a dream, even for those older staff members
who insist on keeping with outlook! I still haven't got around to
re-purposing the old linux mail server though!

--
Jay

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: CF8 on Windows 2008 Web Edition

2008-05-09 Thread Kenneth Ferguson
:::ping:::
Anybody, anyone, nobody's tried it yet at all


- Original Message 
From: Ken Ferguson [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, May 5, 2008 10:01:57 AM
Subject: CF8 on Windows 2008 Web Edition

Anybody running this combination of CF and OS? We're looking at grabbing a 
couple new servers and might go with Win08. If anybody's had any experience 
with the two together (CF8 is supported on Win08), please let me know.

--Ferg 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: CF8: Reading a file from the end instead of the beginning?

2008-05-09 Thread C S
 Here is a down-and-dirty example.  

I realized the snippet above does not account for lines broken across the 
grabBytes barrier. So that alteration is needed. But the code snippet should 
give the basic idea at least. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Fancy auto-suggest

2008-05-09 Thread Don L
I think there was a thread talking about two connected levels of auto-suggest 
or auto-suggest chain.  A quick search did not yield it.  Does anyone happen to 
recall something to the effect of that thread title?

The flow would be like something like the following:
(Instruction: 
a) first type an alphabetic letter in the box below to select categry;
b) press [space bar] after category select, then type the first digit of a 
zipcode.
-
a) pick a category of interest;
b) upon selection + space bar + auto-suggest zipcode
-

It shouldn't be difficult to do but am lazy (if someone has done just 'borrow' 
it...)...

Also, equally importantly, for public-facing app, how would you write the 
instruction above the Select box to ensure smart or dumb users can all 
understand and use it?

Another approach to solve the above problem would be to use two auto-suggest 
ajax control with two Select boxes, which might be clearer to users (especially 
for the public-facing app), however, personally I prefer the first/top 
approach, which seems more efficient...

Thanks. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Fancy auto-suggest

2008-05-09 Thread Dominic Watson
So are you wanting a single autosuggest that will suggest two kinds of
things? Seems a little odd to me; better to have two boxes. However, it
could be done using:

http://betterautosuggest.riaforge.org/

You would need the 'delimChar' attribute of the custom tag.

HTH

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: OT - Google Hosted Email (New Question)

2008-05-09 Thread ColdFusion
OK with all the talk of using Google Hosted Email and such poses a question
or so since I do not use it:

I have my own domain and it is hosted by a provider in California (Been of
great service and very happy with).
They use SmarterMail 3.x (not yet upgraded to 4 or the latest 5 yet).

Now I use Outlook 2007 and like to keep using it rather than the web
interface from SmarterMail.

Could I route all mail from my domain into Google and then use Outlook to
send/receive mail from Google?

Besides the great filtering capability provided by Google, what other
benefits would it give me?

Trying to determine if it is worth moving all my accounts over?


-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 6:23 AM
To: CF-Talk
Subject: Re: OT - Google Hosted Email

Google apps rules, we use it for about a dozen domains and about 25
users and it works like a dream, even for those older staff members
who insist on keeping with outlook! I still haven't got around to
re-purposing the old linux mail server though!

--
Jay



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Fancy auto-suggest

2008-05-09 Thread Richard Dillman
I would really caution against doing this.  My rule of thumb is that IF i
have to explain the page to someone.  I didn't do my job designing it.  Your
not going to be there to hold your users hand every time they come to your
page.

Build your page and give it to the most non techie person you know and don't
say a word. Bring duct tape if you need to. Let them discover whats
supposed to be done.  You will be amazed at what they will click on and what
order they fill in forms.

I found this out with an application I wrote recently.  I had several pieces
of information iIneed and first, last name were not the first things on the
list.  In fact they were auto populated from other data bits (employee
ID) they filled out early on in the form.  BUT nearly all of them noticed
those empty *first last name fields* in the middle of the screen  they
all tried to fill those out first.  Kinda blew me away, the whole coolness
of my form was lost on them cuz they didn't care about 'auto fill' or 'tab
order' they just knew the answer to those fields so went there first.

/rant


On 5/9/08, Don L [EMAIL PROTECTED] wrote:

 I think there was a thread talking about two connected levels of
 auto-suggest or auto-suggest chain.  A quick search did not yield it.  Does
 anyone happen to recall something to the effect of that thread title?

 The flow would be like something like the following:
 (Instruction:
 a) first type an alphabetic letter in the box below to select categry;
 b) press [space bar] after category select, then type the first digit of a
 zipcode.
 -
 a) pick a category of interest;
 b) upon selection + space bar + auto-suggest zipcode
 -

 It shouldn't be difficult to do but am lazy (if someone has done just
 'borrow' it...)...

 Also, equally importantly, for public-facing app, how would you write the
 instruction above the Select box to ensure smart or dumb users can all
 understand and use it?

 Another approach to solve the above problem would be to use two
 auto-suggest ajax control with two Select boxes, which might be clearer to
 users (especially for the public-facing app), however, personally I prefer
 the first/top approach, which seems more efficient...

 Thanks.

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Avoid multiple form submits.

2008-05-09 Thread Robert Rawlins
Hello Guys,

I've got an issue with a form which is sometimes a little slow to process. 
Seems that some of the users are clicking the submit button a whole bunch of 
times and we're getting a few problems arise as a result of it.

How are you tackling this problem? presumably something with jQuery would be 
nice but I wanted to get your thoughts.

Any ideas and code examples welcome :-D

Robert 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Query Help - include

2008-05-09 Thread daniel kessler
I am using Oracle and I have a table for expenditures that stores a person's ID 
when the expenditures is approved.  The person's ID is from a People table.  
When I query, I want to make a new variable that references the other table to 
put in their full name.  I have two problems doing this.

1 - I'm not so good at sql and the join only works if there's an id in the 
approved_by field.  This is going to be empty unless the ticket  has been 
approved, but I still want it to work whether it's approved or not.  Is that an 
outter join?

2.  Currently, I do p.fname AS approved_by_fname,p.fname AS approved_by_lname.  
I'd like it to be one variable though, but I'm not sure how to format p.fname + 
p.lname AS approved_by_name.


Here's my current query:

CFQUERY NAME=getSelect DATASOURCE=dh debug=yes result=the_result
  SELECT 
e.expenditure_id,e.date_added,e.date_modified,e.approval,e.purpose,e.estimate,e.department,e.department_other,
 
e.vendor_name,e.vendor_address,e.vendor_phone,e.vendor_contact,e.fei,e.state_employee,e.foundation,e.frs,

e.principal_investigator,e.requestor_fname,e.requestor_lname,e.requestor_email,e.approved_by,e.approval_date,p.fname
 AS approved_by_fname,p.fname AS approved_by_lname
   FROM expenditures e, people p
   WHERE e.approved_by = p.id
  AND date_added = #url.start_date# AND date_added = 
#url.end_date#
   cfswitch expression=#URL.approval#
cfcase value=pending
AND approval = 'Pending'
/cfcase
cfcase value=approved
AND approval = 
'Approved'
/cfcase
cfcase value=denied
AND approval = 'Denied'
/cfcase
cfcase value=all
!--- no WHERE needed - 
it's all of the tickets ---
/cfcase
/cfswitch
   ORDER BY #the_sort#
/CFQUERY


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: OT - Google Hosted Email (New Question)

2008-05-09 Thread Richard Dillman
there are only 2 reasons i use googles email.

*Storage Space*
6.7 GB
*Key Words*
What I find very annoying with outlook is when client emails me about 3
different contracts, what folder do I put it in?  Gmail lets me put it in as
many as I want by letting me add multiple Key words or Labels to them.
CF-talk always gets labeled *CF-TALK* and Skips the inbox, if the mail has a
response from me it also gets a Gold Star.

I only wish i could have sub-labels of label groups.


On 5/9/08, ColdFusion [EMAIL PROTECTED] wrote:

 OK with all the talk of using Google Hosted Email and such poses a question
 or so since I do not use it:

 I have my own domain and it is hosted by a provider in California (Been of
 great service and very happy with).
 They use SmarterMail 3.x (not yet upgraded to 4 or the latest 5 yet).

 Now I use Outlook 2007 and like to keep using it rather than the web
 interface from SmarterMail.

 Could I route all mail from my domain into Google and then use Outlook to
 send/receive mail from Google?

 Besides the great filtering capability provided by Google, what other
 benefits would it give me?

 Trying to determine if it is worth moving all my accounts over?


 -Original Message-
 From: James Smith [mailto:[EMAIL PROTECTED]
 Sent: Friday, May 09, 2008 6:23 AM
 To: CF-Talk
 Subject: Re: OT - Google Hosted Email

 Google apps rules, we use it for about a dozen domains and about 25
 users and it works like a dream, even for those older staff members
 who insist on keeping with outlook! I still haven't got around to
 re-purposing the old linux mail server though!

 --
 Jay



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: Session variables across servers

2008-05-09 Thread Scott Stewart
You're right, however I'm the contractor on an established team so I have
zero say in this .

-- 
Scott Stewart
ColdFusion Developer
 
SSTWebworks
4405 Oakshyre Way
Raleigh, NC. 27616
(919) 874-6229 (home)
(703) 220-2835 (cell)

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 3:20 AM
To: CF-Talk
Subject: Re: Session variables across servers

Scott Stewart wrote:
 I'm looking for different possibilities 
 it's a rig until they move the sites to the same server...

You efforts are probably better spent speeding up the site move.

Jochem



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Query Help - include

2008-05-09 Thread Ian Skinner
daniel kessler wrote:
 1 - I'm not so good at sql and the join only works if there's an id in the 
 approved_by field.  This is going to be empty unless the ticket  has been 
 approved, but I still want it to work whether it's approved or not.  Is that 
 an outter join?
   
Yes it will be an LEFT or RIGHT outer join.  The direction determines 
which table you want ALL records from.  So if the expense table is on 
the left of the join use expense LEFT OUTER JOIN people on aField = 
bField.  If yo want it on the right then it would be people RIGHT OTER 
JOIN expense on aField = bField.

 2.  Currently, I do p.fname AS approved_by_fname,p.fname AS 
 approved_by_lname.  I'd like it to be one variable though, but I'm not sure 
 how to format p.fname + p.lname AS approved_by_name.
   
In Oracle '||' is the concatenate operator so it would be p.fname || ' ' 
|| p.lname AS approved_by_name.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: CF8: Reading a file from the end instead of the beginning?

2008-05-09 Thread Claude Schneegans
 find how many lines in it with ListLen() and then a
ListGetAt() to get the last line.

 or simply use listLast().

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


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: OT - Google Hosted Email (New Question)

2008-05-09 Thread Paul Kukiel
Connect google hosted mail to outlook using IMAP.

Then your labels show up as folders. You can then create  sub labels/ 
sub folders.  They are also usable from the webclient not just outlook.


Paul.


On 09/05/2008, at 11:31 PM, Richard Dillman wrote:

 there are only 2 reasons i use googles email.

 *Storage Space*
 6.7 GB
 *Key Words*
 What I find very annoying with outlook is when client emails me  
 about 3
 different contracts, what folder do I put it in?  Gmail lets me put  
 it in as
 many as I want by letting me add multiple Key words or Labels to them.
 CF-talk always gets labeled *CF-TALK* and Skips the inbox, if the  
 mail has a
 response from me it also gets a Gold Star.

 I only wish i could have sub-labels of label groups.


 On 5/9/08, ColdFusion [EMAIL PROTECTED] wrote:

 OK with all the talk of using Google Hosted Email and such poses a  
 question
 or so since I do not use it:

 I have my own domain and it is hosted by a provider in California  
 (Been of
 great service and very happy with).
 They use SmarterMail 3.x (not yet upgraded to 4 or the latest 5 yet).

 Now I use Outlook 2007 and like to keep using it rather than the web
 interface from SmarterMail.

 Could I route all mail from my domain into Google and then use  
 Outlook to
 send/receive mail from Google?

 Besides the great filtering capability provided by Google, what other
 benefits would it give me?

 Trying to determine if it is worth moving all my accounts over?


 -Original Message-
 From: James Smith [mailto:[EMAIL PROTECTED]
 Sent: Friday, May 09, 2008 6:23 AM
 To: CF-Talk
 Subject: Re: OT - Google Hosted Email

 Google apps rules, we use it for about a dozen domains and about 25
 users and it works like a dream, even for those older staff members
 who insist on keeping with outlook! I still haven't got around to
 re-purposing the old linux mail server though!

 --
 Jay





 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Avoid multiple form submits.

2008-05-09 Thread Richard Dillman
cfinput
id=submit
name=submit
type=submit
validate=submitonce /


On 5/9/08, Robert Rawlins [EMAIL PROTECTED] wrote:

 Hello Guys,

 I've got an issue with a form which is sometimes a little slow to process.
 Seems that some of the users are clicking the submit button a whole bunch of
 times and we're getting a few problems arise as a result of it.

 How are you tackling this problem? presumably something with jQuery would
 be nice but I wanted to get your thoughts.

 Any ideas and code examples welcome :-D

 Robert

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: CF8: Reading a file from the end instead of the beginning?

2008-05-09 Thread Dawson, Michael
I haven't tried it myself, but Java does have a tail command that
should do exactly what you want.

m!ke 

-Original Message-
From: C S [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 7:53 AM
To: CF-Talk
Subject: Re: CF8: Reading a file from the end instead of the beginning?

 Here is a down-and-dirty example.  

I realized the snippet above does not account for lines broken across
the grabBytes barrier. So that alteration is needed. But the code
snippet should give the basic idea at least. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: CF8: Reading a file from the end instead of the beginning?

2008-05-09 Thread C S
I haven't tried it myself, but Java does have a tail command that
should do exactly what you want.

m!ke 

That sounds very promising. I will take a look at that. Thanks. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Query Help - include

2008-05-09 Thread daniel kessler
I had continued to try and figure it out after I sent the email.  I did figure 
out a way to make it work.

FROM expenditures e, people p
WHERE e.approved_by = people.id (+)

In Oracle, the + does the outer join.  And it worked well, but it wasn't 
explicit.  I don't know sql well enough to read that alter and go, oh, I'm 
doing an outer join there.  I wanted explicit and that's what your code gave 
me.  Interestingly, it happens in the FROM rather than the WHERE cause of the 
ON.

thank you.

 Yes it will be an LEFT or RIGHT outer join.  The direction determines  
 which table you want ALL records from.  So if the expense table is on 
 the left of the join use expense LEFT OUTER JOIN people on aField = 
 bField.  If yo want it on the right then it would be people RIGHT OTER 
 
 JOIN expense on aField = bField.

Thank you too for the explanation.  It was helpful.

And the concatenation worked great too.

daniel 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Fancy auto-suggest

2008-05-09 Thread Don L
I would really caution against doing this.  My rule of thumb is that IF i
have to explain the page to someone.  I didn't do my job designing it.  Your
not going to be there to hold your users hand every time they come to your
page.

Build your page and give it to the most non techie person you know and don't
say a word. Bring duct tape if you need to. Let them discover whats
supposed to be done.  You will be amazed at what they will click on and what
order they fill in forms.

I found this out with an application I wrote recently.  I had several pieces
of information iIneed and first, last name were not the first things on the
list.  In fact they were auto populated from other data bits (employee
ID) they filled out early on in the form.  BUT nearly all of them noticed
those empty *first last name fields* in the middle of the screen  they
all tried to fill those out first.  Kinda blew me away, the whole coolness
of my form was lost on them cuz they didn't care about 'auto fill' or 'tab
order' they just knew the answer to those fields so went there first.

/rant

 yes, check Dominic's follow-up; no, you'd be very CAREFUL, users may be 
 unable ...
Guys, thanks, we're in 'sync'.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Query Help - include

2008-05-09 Thread Ian Skinner
daniel kessler wrote:
 I had continued to try and figure it out after I sent the email.  I did 
 figure out a way to make it work.

 FROM expenditures e, people p
 WHERE e.approved_by = people.id (+)

 In Oracle, the + does the outer join.  
Yes, that is the original outer join syntax for Oracle.  The ... OUTER 
JOIN ... ON ... syntax is the SQL 92 Standard syntax.  Oracle didn't 
adopt this standard until Version 9.x IIRC.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: OT - Google Hosted Email (New Question)

2008-05-09 Thread Scott Stewart
Yes, I'm doing that right now for sstwebworks.com.
You just need to be able to make changes to the DNS records (specifically
the MX records)

-- 
Scott Stewart
ColdFusion Developer
 
SSTWebworks
4405 Oakshyre Way
Raleigh, NC. 27616
(919) 874-6229 (home)
(703) 220-2835 (cell)

-Original Message-
From: ColdFusion [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 9:09 AM
To: CF-Talk
Subject: RE: OT - Google Hosted Email (New Question)

OK with all the talk of using Google Hosted Email and such poses a question
or so since I do not use it:

I have my own domain and it is hosted by a provider in California (Been of
great service and very happy with).
They use SmarterMail 3.x (not yet upgraded to 4 or the latest 5 yet).

Now I use Outlook 2007 and like to keep using it rather than the web
interface from SmarterMail.

Could I route all mail from my domain into Google and then use Outlook to
send/receive mail from Google?

Besides the great filtering capability provided by Google, what other
benefits would it give me?

Trying to determine if it is worth moving all my accounts over?


-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 6:23 AM
To: CF-Talk
Subject: Re: OT - Google Hosted Email

Google apps rules, we use it for about a dozen domains and about 25
users and it works like a dream, even for those older staff members
who insist on keeping with outlook! I still haven't got around to
re-purposing the old linux mail server though!

--
Jay





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Writing a re-usable business function with CF8

2008-05-09 Thread Don L
and then make it distributable to virtually any web server platform (say, for 
windows, IIS (5x,6x,7x?); for unix/linux flavor, Apache).

Some of you may have thought of this or even have been there done that.
Off my head, I'm thinking:
a) the business function;
b) a 'connector' to the target web server?  Or better, if the web server is 
J2EE-compliant then it can execute CF code right away but how many web servers 
are at this level in the market now? a royal question...
(Am really wondering and talking loud...)

Thanks.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Avoid multiple form submits.

2008-05-09 Thread Larry Lyons
Assuming that the user has JavaScript turned on you can use this bit of code, 
it disables the button used for submitting the form once its been clicked:

INPUT TYPE=Button VALUE=Submit onClick=if(this.value == 'Submit') 
this.form.submit(); this.value = 'Please Wait.';this.disabled=true;

hth,
larry

Larry C. Lyons
Web Analyst
American Type Culture Collection
http://www.atcc.org
llyons(at)atcc.org 


 Hello Guys,
 
 I've got an issue with a form which is sometimes a little slow to 
 process. Seems that some of the users are clicking the submit button a 
 whole bunch of times and we're getting a few problems arise as a 
 result of it.
 
 How are you tackling this problem? presumably something with jQuery 
 would be nice but I wanted to get your thoughts.
 
 Any ideas and code examples welcome :-D
 
 Robert 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Avoid multiple form submits.

2008-05-09 Thread Robert Rawlins
Thanks for the suggestions guys,

The JS based solution doenst quite work for me, it seems to grey the button out 
and change the value to 'please wait' but doesnt actualy submit the form :-) 
I've read about this on a few different occasions and appears to be a problem 
with IE7 or something like that, I dont know, any ideas?

As for the cfinput solution, I did try this but when the submit button is 
clicked it doesnt disable itself, is that correct behaviour? or should the 
button become disabed once it has been clicked?

Thanks guys, I appreciate your input (no pun intended.)

Robert 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Error: attempted to dereference a scalar variable

2008-05-09 Thread Gerald Guido
We have a live survey and we took a look at the application log and we ran
into this several times in the course of 20 min. I am assuming it is one
user.

 You have attempted to dereference a scalar variable of type class
java.math.BigDecimal as a structure with members.

It seems to happen in random places The value is always numeric (or a number
in a list) and is getting pulled from MSSQL. It looks like it happens when
we are doing conditionals, either a cfif or an IIF or a ListFind

this is (one of) the line where it threw the error:

cfif Q.q4_a_int EQ 1 

Any clues?

-- 
The pursuit of truth and beauty is a sphere of activity in which we are
permitted to remain children all our lives.
- Albert Einstein


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Error: attempted to dereference a scalar variable

2008-05-09 Thread Matt Quackenbush
Assuming that Q.q4_a_int is a recordset, try changing it to
Q.q4_a_int[1].  I'm kinda grabbing at straws here, but if your recordset
contains more than one record (which I'm guessing it should not), that might
result in the error message you are seeing.  Typically speaking though, that
particular error message means that whatever variable is being referenced as
a struct is not actually a struct.

HTH


On Fri, May 9, 2008 at 9:27 AM, Gerald Guido wrote:

 We have a live survey and we took a look at the application log and we ran
 into this several times in the course of 20 min. I am assuming it is one
 user.

  You have attempted to dereference a scalar variable of type class
 java.math.BigDecimal as a structure with members.

 It seems to happen in random places The value is always numeric (or a
 number
 in a list) and is getting pulled from MSSQL. It looks like it happens when
 we are doing conditionals, either a cfif or an IIF or a ListFind

 this is (one of) the line where it threw the error:

 cfif Q.q4_a_int EQ 1 

 Any clues?



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: Avoid multiple form submits.

2008-05-09 Thread Rich
A client side only solution can not ensure that this problem will not occur.
A more robust solution is to use the Synchronizer Token Pattern from core
J2EE Patterns.

Here is an excerpt from
http://www.corej2eepatterns.com/Design/PresoDesign.htm:

 Synchronizer (or Déjà vu) Token

This strategy addresses the problem of duplicate form submissions. A
synchronizer token is set in a user's session and included with each form
returned to the client. When that form is submitted, the synchronizer token
in the form is compared to the synchronizer token in the session. The tokens
should match the first time the form is submitted. If the tokens do not
match, then the form submission may be disallowed and an error returned to
the user. Token mismatch may occur when the user submits a form, then clicks
the Back button in the browser and attempts to resubmit the same form.

On the other hand, if the two token values match, then we are confident that
the flow of control is exactly as expected. At this point, the token value
in the session is modified to a new value and the form submission is
accepted.




This combined with a client side JS solution will ensure the form is only
submitted once.

HTH,
Rich Kroll
Senior Software Engineer
NextWeb Media
 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Secure Flash Audio Player and CF

2008-05-09 Thread Tom Chiverton
On Thursday 08 May 2008, Jeff Price wrote:
 Heck, we don't even need it all that secure,

Handy, as you can't stop people recording their audio out.

 we just need to hide the URL 
 of the audio.

You can't. Not even using RTMP or any other sort of streaming.

What are you trying to achieve ? Single use streams ? Only 
allowing 'registered' clients to connet ?
-- 
Tom Chiverton



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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 2500.

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

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Writing a re-usable business function with CF8

2008-05-09 Thread Tom Chiverton
On Friday 09 May 2008, Don L wrote:
 and then make it distributable to virtually any web server platform (say,
 for windows, IIS (5x,6x,7x?); for unix/linux flavor, Apache).

I'm not sure what you're asking but if you write your application in CFML 
it'll run on all of those yes, by magic.

-- 
Tom Chiverton



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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 2500.

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

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Writing a re-usable business function with CF8

2008-05-09 Thread Don L
 On Friday 09 May 2008, Don L wrote:
  and then make it distributable to virtually any web server platform 
 (say,
  for windows, IIS (5x,6x,7x?); for unix/linux flavor, Apache).
 
 I'm not sure what you're asking but if you write your application in 
 CFML 
 it'll run on all of those yes, by magic.
 
 -- 
 Tom Chiverton

 standalone business function
Sorry, I forgot to add, without cf8 server package. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Avoid multiple form submits.

2008-05-09 Thread Massimo Foti
If what you are looking for is just a client-side solution, the TMT 
Validator offers this:
http://www.massimocorner.com/validator/

http://www.massimocorner.com/validator/samples/generic.htm

Massimo 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


CF Cookie questions

2008-05-09 Thread Scott Stewart
Hey all, 

 

Because I normally use session variables for security, I rarely use the cf
cookie tag.

If I need multiple variables (loggedin, fname, lname, recornum.etc) do I
need to set multiple cookies or is there a way to set all this in one
cookie?

 

Thanks as always

 

sas

 

-- 

Scott Stewart

ColdFusion Developer

 

SSTWebworks

4405 Oakshyre Way

Raleigh, NC. 27616

(919) 874-6229 (home)

(703) 220-2835 (cell)

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Problem with using xml from RSS

2008-05-09 Thread Phill B
I am trying to use the Yahoo Weather RSS feed but CF doesn't like the node
yweather:condition. How do I get around this?

RSS Link http://tinyurl.com/6pvxmk
RSS Weather docs http://tinyurl.com/kon6q

Thanks
-- 
Phil


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305003
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 Cookie questions

2008-05-09 Thread Dawson, Michael
You could set it as a delimited list.

TRUE|Michael|Dawson|69 

Just be aware of a cookie's max length.

m!ke

-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 9:53 AM
To: CF-Talk
Subject: CF Cookie questions

Hey all, 

 

Because I normally use session variables for security, I rarely use the
cf cookie tag.

If I need multiple variables (loggedin, fname, lname, recornum.etc) do I
need to set multiple cookies or is there a way to set all this in one
cookie?

 

Thanks as always

 

sas

 

-- 

Scott Stewart

ColdFusion Developer

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: CF8 on Windows 2008 Web Edition

2008-05-09 Thread Tom Chiverton
On Friday 09 May 2008, Kenneth Ferguson wrote:
 Anybody, anyone, nobody's tried it yet at all

Well, just in general, never, ever, go with 'this years' version of anything.
That goes double for MS products.

-- 
Tom Chiverton



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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 2500.

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

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Writing a re-usable business function with CF8

2008-05-09 Thread Tom Chiverton
On Friday 09 May 2008, Don L wrote:
 Sorry, I forgot to add, without cf8 server package.

So, without any CFML engine, Railo/OpenBD etc., what are you trying to 
achive ? 
You could use CFML to template an AJAX front end, for instance, but that still 
leaves you stuck for the backend.

-- 
Tom Chiverton



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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 2500.

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

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305006
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 Cookie questions

2008-05-09 Thread Dave Watts
 Because I normally use session variables for security, I 
 rarely use the cf cookie tag.
 
 If I need multiple variables (loggedin, fname, lname, 
 recornum.etc) do I need to set multiple cookies or is there a 
 way to set all this in one cookie?

A cookie is a string. You can put whatever you want in it, as long as it's
character data.

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: CF8: Reading a file from the end instead of the beginning?

2008-05-09 Thread C S
I haven't tried it myself, but Java does have a tail command that
should do exactly what you want.

m!ke 


Michael,

I have done some searching, but I am still unclear on the tail command. I may 
be overlooking the obvious, as I have not had my full measure of coffee yet ;-) 

Can you tell me a bit more the  tail command you had in mind?  It sounds 
intriguing, but is it part of core java or an external lib/program? Is it for 
all platforms?



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Writing a re-usable business function with CF8

2008-05-09 Thread Don L
 standalone business function

The key word here is Flexibility.  Probably in essence, there are two big 
groups of web programming languages: java-based (CFML etc.) vs. Microsoft-based 
(asp, asp.NET etc.).  

And if my understanding is correct, any asp code would run under IIS web server 
without anything else; As for asp.NET, I don't know.  Now, for java-based code 
for web use, like CFML, the usual route is to use Adobe's CFML engine.  But you 
brought up an interesting option of using free CFML-compatible engine, however, 
I have some concerns and before I get into that, let me say, here the business 
case is, try to distribute a business function built in CF to your potential 
customers or whoever else (hence, the few requirements of installing this and 
that the better, naturally the more dependency the less reliability...).

Now, what if there's some free and light J2EE component, that be easily plugged 
into any web server, then, what?  maybe, any compiled cfml code (java bytecode) 
can run under such a web server environement, a probable yes?  And what's this 
option's key benefits if it's available?
a) performance probably would be good because of less overhead (not implying 
cfml-compatible engines are not);
b) customers are more likely receptive to it?

Thanks.






~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Writing a re-usable business function with CF8

2008-05-09 Thread Tom Chiverton
On Friday 09 May 2008, Don L wrote:
 Now, what if there's some free and light J2EE component, that be easily
 plugged into any web server, then, what?  maybe, any compiled cfml code
 (java bytecode) can run under such a web server environement, a probable
 yes? 

You could, GPL permitting, packacge your application together with OpenBD and 
ship it as a single 'unzip and run' file.

-- 
Tom Chiverton



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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 2500.

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

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: CF8: Reading a file from the end instead of the beginning?

2008-05-09 Thread Dawson, Michael
Sorry for the confusion.  I meant OS rather than Java.  It's been a
long week for me.  ;^)

If you are on *nix, there is a built-in tail command.

The Windows 2003 Resource Kit includes the tail command for that
platform.
http://malektips.com/xp_dos_0001.html

http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4
ae7-96ee-b18c4790cffdDisplayLang=en

You could shell out (CFEXECUTE) the tail command to get those lines.

m!ke 

-Original Message-
From: C S [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 10:35 AM
To: CF-Talk
Subject: Re: CF8: Reading a file from the end instead of the beginning?

I haven't tried it myself, but Java does have a tail command that 
should do exactly what you want.

m!ke


Michael,

I have done some searching, but I am still unclear on the tail
command. I may be overlooking the obvious, as I have not had my full
measure of coffee yet ;-) 

Can you tell me a bit more the  tail command you had in mind?  It
sounds intriguing, but is it part of core java or an external
lib/program? Is it for all platforms?

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: CF8: Reading a file from the end instead of the beginning?

2008-05-09 Thread C S
Sorry for the confusion.  I meant OS rather than Java.  It's been a
long week for me.  ;^)

If it helps, you are not the only one .. ;-)

If you are on *nix, there is a built-in tail command.

Yes, it has been a while, but *nix tail was my first thought.  But I guess I 
was still hoping there was a java method I had overlooked. I am a little 
surprised there is no built in java method or class that does this.  To my way 
of thinking it has to be a relatively common task.  Go figure.

You could shell out (CFEXECUTE) the tail command to get those lines.

Cool. Thanks for the link.  I will try that. 




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Writing a re-usable business function with CF8

2008-05-09 Thread Brian Kotek
It sounds like you're asking if you can run a CFML-based function without a
CFML engine. The answer is no. You'd need to write it in Java or a .NET
language depending on which server platform the system is running. IIS is
only a web server. In order to actually execute code, IIS has to be
connected to something that can run code (usually a .dll that forwards the
request to a runtime environment like J2EE or .NET). Without the CF runtime,
none of these servers would know how to execute the compiled classes since
CF includes a number of APIs that are used in the compiled Java classes.


On Fri, May 9, 2008 at 11:37 AM, Don L [EMAIL PROTECTED] wrote:

  standalone business function

 The key word here is Flexibility.  Probably in essence, there are two big
 groups of web programming languages: java-based (CFML etc.) vs.
 Microsoft-based (asp, asp.NET etc.).

 And if my understanding is correct, any asp code would run under IIS web
 server without anything else; As for asp.NET, I don't know.  Now, for
 java-based code for web use, like CFML, the usual route is to use Adobe's
 CFML engine.  But you brought up an interesting option of using free
 CFML-compatible engine, however, I have some concerns and before I get into
 that, let me say, here the business case is, try to distribute a business
 function built in CF to your potential customers or whoever else (hence, the
 few requirements of installing this and that the better, naturally the more
 dependency the less reliability...).

 Now, what if there's some free and light J2EE component, that be easily
 plugged into any web server, then, what?  maybe, any compiled cfml code
 (java bytecode) can run under such a web server environement, a probable
 yes?  And what's this option's key benefits if it's available?
 a) performance probably would be good because of less overhead (not
 implying cfml-compatible engines are not);
 b) customers are more likely receptive to it?

 Thanks.






 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305013
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 with using xml from RSS

2008-05-09 Thread Dominic Watson
You can use XmlSearch and XPath to easily get at the data you want.
The following gets a forecast for the current day from the xml:

cfset weatherXml =
XmlParse('http://weather.yahooapis.com/forecastrss?p=90210')
cfset aForecasts = XmlSearch(oXml,
'//yweather:[EMAIL PROTECTED]#DateFormat(Now(),'d mmm ')#]')

cfdump var=#aForecasts#

This search gets you an array of all the elements with the yweather prefix:

cfset weatherXml =
XmlParse('http://weather.yahooapis.com/forecastrss?p=90210')
cfset aForecasts = XmlSearch(weatherXml, '//yweather:*')

cfdump var=#aForecasts#

etc, HTH

Dominic

2008/5/9 Phill B [EMAIL PROTECTED]:

 I am trying to use the Yahoo Weather RSS feed but CF doesn't like the node
 yweather:condition. How do I get around this?

 RSS Link http://tinyurl.com/6pvxmk
 RSS Weather docs http://tinyurl.com/kon6q

 Thanks
 --
 Phil


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Writing a re-usable business function with CF8

2008-05-09 Thread Don L
 On Friday 09 May 2008, Don L wrote:
  Now, what if there's some free and light J2EE component, that be 
 easily
  plugged into any web server, then, what?  maybe, any compiled cfml 
 code
  (java bytecode) can run under such a web server environement, a 
 probable
  yes? 

 Tom Chiverton

 You could, GPL permitting, packacge your application together with 
 OpenBD and ship it as a single 'unzip and run' file.

Thank you for the good info.  I now dug up some info on OpenBD, one version 
11MB (this one seems more applicable to this case), another 24MB, ahe, the 
'footprint' might be a bit heavy...


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Writing a re-usable business function with CF8

2008-05-09 Thread Brian Kotek
You could also just set it up as a centralized web service and allow people
on any platform to call it that way. That's what they're for, after all.

On Fri, May 9, 2008 at 12:34 PM, Don L [EMAIL PROTECTED] wrote:

  On Friday 09 May 2008, Don L wrote:
   Now, what if there's some free and light J2EE component, that be
  easily
   plugged into any web server, then, what?  maybe, any compiled cfml
  code
   (java bytecode) can run under such a web server environement, a
  probable
   yes?

  Tom Chiverton

  You could, GPL permitting, packacge your application together with
  OpenBD and ship it as a single 'unzip and run' file.

 Thank you for the good info.  I now dug up some info on OpenBD, one version
 11MB (this one seems more applicable to this case), another 24MB, ahe, the
 'footprint' might be a bit heavy...


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Dynamically prepolate the select box

2008-05-09 Thread erik tom
I am dynamically buildin a select box . How can i prepopluate the data so when 
it loads it will select the previously submited answer 
So far i got this 

cfset selectOptions = selectOptions  'option value=#options#_#id#cfif 
qryAnswers.answer eq #id#selected/cfif#options#/option' 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305017
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 with using xml from RSS

2008-05-09 Thread Phill B
Thanks Dominic. That was just what I needed!

On Fri, May 9, 2008 at 11:31 AM, Dominic Watson 
[EMAIL PROTECTED] wrote:

 You can use XmlSearch and XPath to easily get at the data you want.
 The following gets a forecast for the current day from the xml:

 cfset weatherXml =
 XmlParse('http://weather.yahooapis.com/forecastrss?p=90210')
 cfset aForecasts = XmlSearch(oXml,
 '//yweather:[EMAIL PROTECTED]#DateFormat(Now(),'d mmm ')#]')

 cfdump var=#aForecasts#

 This search gets you an array of all the elements with the yweather prefix:

 cfset weatherXml =
 XmlParse('http://weather.yahooapis.com/forecastrss?p=90210')
 cfset aForecasts = XmlSearch(weatherXml, '//yweather:*')

 cfdump var=#aForecasts#

 etc, HTH

 Dominic



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: Dynamically prepolate the select box

2008-05-09 Thread Niski, Brian
Hi Erik,

As I see it, there is more than one way to prepare your select box.  At
a quick glance you look headed in the right direction.  Here is an
alternative example of how I have done it...

SELECT id=aname name=aname
OPTION VALUE=-1Select Something/OPTION
CFLOOP QUERY=ItemQ
CFIF PredeterminedValue EQ Item_ID
OPTION VALUE=#Item_ID# selected=selected
#Item#/OPTION
CFELSE
OPTION VALUE=#Item_ID##Item#/OPTION
/CFIF
/CFLOOP
/SELECT


Brian

-Original Message-
From: erik tom [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 10:18 AM
To: CF-Talk
Subject: Dynamically prepolate the select box

I am dynamically buildin a select box . How can i prepopluate the data
so when it loads it will select the previously submited answer 
So far i got this 

cfset selectOptions = selectOptions  'option
value=#options#_#id#cfif qryAnswers.answer eq
#id#selected/cfif#options#/option' 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Playing movies in cfpresentation

2008-05-09 Thread Dominic Watson
Hey all, I have a swf movie that I'd like to have as the source of a
cfpresentation slide. The swf references a flv movie and I think this is
causing problems. Has anyone encountered or conquered this?

Here is the flv movie working:

 http://dev.dominicwatson.co.uk/speakeasydev/media/video/btb/btb.swf

And this is how the cfpresentation slide appears when I try to use that swf
as the source:

http://dev.dominicwatson.co.uk/speakeasydev/media/video/btb/tester.cfm

Dominic

 --
Blog it up: http://fusion.dominicwatson.co.uk


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Writing a re-usable business function with CF8

2008-05-09 Thread Don L
You could also just set it up as a centralized web service and allow people
on any platform to call it that way. That's what they're for, after all.

On Fri, May 9, 2008 at 12:34 PM, D
 web service
Yes, thanks, my own, kind of limited, experience with web service has been that 
the cf web service does not seem to be very reliable in terms of performance 
(and maybe it's not on the cfml engine side).  The experience was, I used web 
service to query a special db (optimized query) and extract and output result 
to requester, initially the whole process (query and extraction and pass them 
along as parameters of another query, return final results) was very efficient, 
either late last year or early this year.  Then, haven't touched it for a 
while, lately when I played with it again without any changes whatsover but 
decidedly slower (for an efficiency maniac like me), not good enough.  This 
puzzled me on its culprit ...

Now, back to the issue, I'd like to find out many possible ways/approaches to 
solve a problem (eliminate the least likely candidates in the first place), 
then, check out the most promising one(s) ...

Thanks.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: Playing movies in cfpresentation

2008-05-09 Thread Mark Kruger
Dominic,

I think you should post your code. It almost seems like you are pointed to
the FLA or the FLV instead of the SWF file in your presentation.

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Dominic Watson [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 12:38 PM
To: CF-Talk
Subject: Playing movies in cfpresentation

Hey all, I have a swf movie that I'd like to have as the source of a
cfpresentation slide. The swf references a flv movie and I think this is
causing problems. Has anyone encountered or conquered this?

Here is the flv movie working:

 http://dev.dominicwatson.co.uk/speakeasydev/media/video/btb/btb.swf

And this is how the cfpresentation slide appears when I try to use that swf
as the source:

http://dev.dominicwatson.co.uk/speakeasydev/media/video/btb/tester.cfm

Dominic

 --
Blog it up: http://fusion.dominicwatson.co.uk




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Dynamically prepolate the select box

2008-05-09 Thread Dominic Watson
Another option is the iif() function ('inline if'). So:

cfloop query=ItemQ
 option value=#Item_ID# #iif(item_ID EQ selectedId,
DE('selected=selected'), DE(''))#
#Item#
 /option
/cfloop

Dominic
--
Blog it up: http://fusion.dominicwatson.co.uk

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Playing movies in cfpresentation

2008-05-09 Thread Dominic Watson
It seems, but not so :0

Here is the code:

cfpresentation control=brief shownotes=no showoutline=no
showsearch=no title=My First Presentation
  cfpresentationslide title=My First Slide src=btb.swf /
/cfpresentation

Dominic

2008/5/9 Mark Kruger [EMAIL PROTECTED]:
 Dominic,

 I think you should post your code. It almost seems like you are pointed to
 the FLA or the FLV instead of the SWF file in your presentation.

 -mark



 Mark A. Kruger, CFG, MCSE
 (402) 408-3733 ext 105
 www.cfwebtools.com
 www.coldfusionmuse.com
 www.necfug.com

 -Original Message-
 From: Dominic Watson [mailto:[EMAIL PROTECTED]
 Sent: Friday, May 09, 2008 12:38 PM
 To: CF-Talk
 Subject: Playing movies in cfpresentation

 Hey all, I have a swf movie that I'd like to have as the source of a
 cfpresentation slide. The swf references a flv movie and I think this is
 causing problems. Has anyone encountered or conquered this?

 Here is the flv movie working:

  http://dev.dominicwatson.co.uk/speakeasydev/media/video/btb/btb.swf

 And this is how the cfpresentation slide appears when I try to use that swf
 as the source:

 http://dev.dominicwatson.co.uk/speakeasydev/media/video/btb/tester.cfm

 Dominic

  --
 Blog it up: http://fusion.dominicwatson.co.uk




 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: Dynamically prepolate the select box

2008-05-09 Thread Bobby Hartsfield
Chapter 1:

option value=#Item_ID#cfif item_ID EQ selectedId
selected=selected/cfif

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



-Original Message-
From: Dominic Watson [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 1:49 PM
To: CF-Talk
Subject: Re: Dynamically prepolate the select box

Another option is the iif() function ('inline if'). So:

cfloop query=ItemQ
 option value=#Item_ID# #iif(item_ID EQ selectedId,
DE('selected=selected'), DE(''))#
#Item#
 /option
/cfloop

Dominic
--
Blog it up: http://fusion.dominicwatson.co.uk



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


OT: Enterhost is down -- backbone down?

2008-05-09 Thread Michael Muller
Enterhost is down. They have been bouncing all afternoon so far. Anyone have 
any info? Is this a backbone issue or just them? 

I can't get through to their support. The lines are busy (which I half 
expected).

Mik 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: OT: Enterhost is down -- backbone down?

2008-05-09 Thread Phillip Vector
I dunno as I don't use that hosting provider..

But I can assure you, Mae East and Mae West are doing fine. The
backbone is not down. :)

On Fri, May 9, 2008 at 11:25 AM, Michael Muller [EMAIL PROTECTED] wrote:
 Enterhost is down. They have been bouncing all afternoon so far. Anyone have 
 any info? Is this a backbone issue or just them?

 I can't get through to their support. The lines are busy (which I half 
 expected).

 Mik

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: OT: Enterhost is down -- backbone down?

2008-05-09 Thread Matt Quackenbush
I'm on Enterhost, and all of my servers are running just fine (and have been
all day).


On Fri, May 9, 2008 at 1:25 PM, Michael Muller wrote:

 Enterhost is down. They have been bouncing all afternoon so far. Anyone
 have any info? Is this a backbone issue or just them?

 I can't get through to their support. The lines are busy (which I half
 expected).

 Mik



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Enterhost is down -- backbone down?

2008-05-09 Thread Michael Muller
Interesting. I can ping enterhost.com but not tracert. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Enterhost is down -- backbone down?

2008-05-09 Thread Michael Muller
Their corp site is back up now, but my two servers aren't.

Matt said:
I'm on Enterhost, and all of my servers are running just fine (and have been
all day).


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Dynamically prepolate the select box

2008-05-09 Thread erik tom
Another option is the iif() function ('inline if'). So:

cfloop query=ItemQ
 option value=#Item_ID# #iif(item_ID EQ selectedId,
DE('selected=selected'), DE(''))#
#Item#
 /option
/cfloop

Dominic
--
Blog it up: http://fusion.dominicwatson.co.uk

Tahnks 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: OT: mod_jk + blank .jsp-coding

2008-05-09 Thread Adam Haskell
workers.properties or the other .properties (name escapes me) are most
likely not configured correctly, that would be my initial thought.

Adam Haskell


On Thu, May 8, 2008 at 6:24 PM, [EMAIL PROTECTED] wrote:

 Has anybody an idea,
 what could be wrong if I see
 the blank raw java-coding on a .jsp
 page coming from Tomcat5 passed to Apache2
 via the module mod_jk ?
 Uwe



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: OT - Google Hosted Email (New Question)

2008-05-09 Thread Eric Roberts
I am almost positive you can pop3 into another email account and dl the
emails to Google.  Downside is that the Google mail wouldn't be of the same
domain.  Really what you want to do is just use Google apps mail for your
domain email.  I made the switch over to Google apps after the server that
my sites were on crashed and the guy couldn't replace the server (small
shop).  My email was down for a couple of weeks before I put everything on
Google.  Greg from AHPHosting recommended it instead of using the mail
program he had on the VPS (I think it is SmarterMail if I remember
correctly).  

I kick myself in the behind for not doing it sooner.  The free account
(which I think is better than the for pay version) allows ONLY *grin* 2 gig
of space.  Now I get a lot of email and I haven't even come close to filling
that yet and it has been about 6 months or so since I have deleted old
messages.  The Google mail server has an excellent spam filter which cuts
down a lot of the crap and doesn't apply to your total.  The spam filtered
mail is saved for 30 days to give you time to spot check to make sure you
are not catching good emails.

The big benefit is that you mail is not with the same host as your web
server.  If anything happens to your host, your mail is still fine and with
a company like Google, you know that it is backed up.  I have had a couple
of instances where I lost connectivity, but that was quickly fixed by the
Google support staff.  Google mail allows you to connect through the web,
pop3 or IMAP.

Eric

/*-Original Message-
/*From: ColdFusion [mailto:[EMAIL PROTECTED]
/*Sent: Friday, May 09, 2008 8:09 AM
/*To: CF-Talk
/*Subject: RE: OT - Google Hosted Email (New Question)
/*
/*OK with all the talk of using Google Hosted Email and such poses a
/*question
/*or so since I do not use it:
/*
/*I have my own domain and it is hosted by a provider in California (Been of
/*great service and very happy with).
/*They use SmarterMail 3.x (not yet upgraded to 4 or the latest 5 yet).
/*
/*Now I use Outlook 2007 and like to keep using it rather than the web
/*interface from SmarterMail.
/*
/*Could I route all mail from my domain into Google and then use Outlook to
/*send/receive mail from Google?
/*
/*Besides the great filtering capability provided by Google, what other
/*benefits would it give me?
/*
/*Trying to determine if it is worth moving all my accounts over?
/*
/*
/*-Original Message-
/*From: James Smith [mailto:[EMAIL PROTECTED]
/*Sent: Friday, May 09, 2008 6:23 AM
/*To: CF-Talk
/*Subject: Re: OT - Google Hosted Email
/*
/*Google apps rules, we use it for about a dozen domains and about 25
/*users and it works like a dream, even for those older staff members
/*who insist on keeping with outlook! I still haven't got around to
/*re-purposing the old linux mail server though!
/*
/*--
/*Jay
/*
/*
/*
/*

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: uploading zip file with cfhttp creates file cf/java can't unzip but other apps can

2008-05-09 Thread Daniel Roberts
Solution found thanks to -==cfSearching==- (http://cfsearching.blogspot.com/) 
over at the adobe cf forums. He noticed that the size received by ColdFusion is 
2b bigger than the original file. If however an additional cfhttpparam form 
field is added after the file field, it magically works. If you add the form 
field before the file it doesn't work.

I'm submitting this bug to adobe and hopefully this thread will help others who 
run into the problem. I searched google yesterday to find more info on the 
problem and this thread on cf-talk was one of the top results. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Catching and Displaying Errors with CFLDAP

2008-05-09 Thread Den Made
Error updating the server MyServer:389. The error is 
javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - 
invalid password syntax: no special character]; remaining name 
'uid=testuser,ou=ME,dc=example,dc=com'

I am connecting to Sun One Directory Server 6.0 on Windows Server 2003 through 
ColdFusion as per our project's requirement. I use the code that is given below:

cfparam type=string name=LoginMessage default=
..
..

cftry
cfldap action=QUERY
name=AunthenticateUser
attributes=uid 
start=ou=People,dc=example,dc=com
Scope=subtree
filter = ((objectclass=person) (uid=#form.UserLogin#))
server=#ldap_server#
Port=#ldap_port#
username=uid=#form.UserLogin#,ou=People,example,dc=com
password=#form.userpassword#

cfcatch type=any

cfoutput

//what I want to display
Your Password expired

/cfoutput
cfabort

/cfcatch

/cftry

I use a Global Password Policy with the following properties:
General, Password Change, Password Expiration, Account Lockout.

How do I catch the LDAP: error code 19 in the cftry cfcatch block so that I 
can tell the client that their password syntax is wrong?.
Thanks, 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Gasp! XML XSL transform with params!

2008-05-09 Thread Andre Turrettini
Crimminy, 
Why am I having trouble passing parameters in xmltransform?

cfsavecontent variable=x?xml version=1.0 encoding=UTF-8?
article/article
/cfsavecontent

cfsavecontent variable=l
xsl:transform version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform; 
xsl:param name=mpath /
xsl:template match=/
xsl:value-of select=concat('happy ', $mpath, ' to you') /
/xsl:template
/xsl:transform
/cfsavecontent

cfset tmp = structnew()
cfset tmp.mpath = 'birthday'

cfoutput#xmltransform(x, l, tmp)#/cfoutput


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Multiple recipients in BCC via Exchange

2008-05-09 Thread Jason Durham
MS Exchange requires that fields containing multiple email addresses be
separated by semicolons.  It appears that ColdFusion is taking my
semicolon-delimited BCC list and converting it to commas based upon the
undeliverable which results.  Does anybody know if I can prevent
ColdFusion from doing this?  Exchange just won't accept commas.   

 

Thanks!

J



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Dynamically prepolate the select box

2008-05-09 Thread Brian Kotek
Literally.

http://www.amazon.com/Adobe-ColdFusion-Web-Application-Construction/dp/032151548X/


On Fri, May 9, 2008 at 2:00 PM, Bobby Hartsfield [EMAIL PROTECTED]
wrote:

 Chapter 1:

 option value=#Item_ID#cfif item_ID EQ selectedId
 selected=selected/cfif

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



 -Original Message-
 From: Dominic Watson [mailto:[EMAIL PROTECTED]
 Sent: Friday, May 09, 2008 1:49 PM
 To: CF-Talk
 Subject: Re: Dynamically prepolate the select box

 Another option is the iif() function ('inline if'). So:

 cfloop query=ItemQ
 option value=#Item_ID# #iif(item_ID EQ selectedId,
 DE('selected=selected'), DE(''))#
#Item#
 /option
 /cfloop

 Dominic
 --
 Blog it up: http://fusion.dominicwatson.co.uk



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: Catching and Displaying Errors with CFLDAP

2008-05-09 Thread Dawson, Michael
cftry

cfldap...

cfcatch

  cfdump var=#cfcatch#
  !--- Look for the cfcatch struct var that contains the error
message ---

/cfcatch

/cftry 

Once you find the cfcatch struct var, use it in a CFIF block inside the
CFCATCH block.

m!ke

-Original Message-
From: Den Made [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 2:44 PM
To: CF-Talk
Subject: Catching and Displaying Errors with CFLDAP

Error updating the server MyServer:389. The error is
javax.naming.directory.InvalidAttributeValueException: [LDAP: error code
19 - invalid password syntax: no special character]; remaining name
'uid=testuser,ou=ME,dc=example,dc=com'

I am connecting to Sun One Directory Server 6.0 on Windows Server 2003
through ColdFusion as per our project's requirement. I use the code that
is given below:

cfparam type=string name=LoginMessage default= ..
...

cftry
cfldap action=QUERY
name=AunthenticateUser
attributes=uid 
start=ou=People,dc=example,dc=com
Scope=subtree
filter = ((objectclass=person) (uid=#form.UserLogin#))
server=#ldap_server#
Port=#ldap_port#
username=uid=#form.UserLogin#,ou=People,example,dc=com
password=#form.userpassword#

cfcatch type=any

cfoutput

//what I want to display
Your Password expired

/cfoutput
cfabort

/cfcatch

/cftry

I use a Global Password Policy with the following properties:
General, Password Change, Password Expiration, Account Lockout.

How do I catch the LDAP: error code 19 in the cftry cfcatch block so
that I can tell the client that their password syntax is wrong?.
Thanks, 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: Multiple recipients in BCC via Exchange

2008-05-09 Thread Dawson, Michael
ColdFusion needs a comma-separated list of email addresses.

Unless your Exchange admin has done something funky, it should work fine
with commas.

I don't think Exchange requires semicolons, anyway.  I think that is
more of an Outlook setting.  In Outlook, you can enable the comma as a
separator.

However, in our case, the comma would mess things up because our display
names are Last, First.  Again, this is only an Outlook issue, because
ColdFusion expects email addresses, not display names.

m!ke 

-Original Message-
From: Jason Durham [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 4:01 PM
To: CF-Talk
Subject: Multiple recipients in BCC via Exchange

MS Exchange requires that fields containing multiple email addresses be
separated by semicolons.  It appears that ColdFusion is taking my
semicolon-delimited BCC list and converting it to commas based upon the
undeliverable which results.  Does anybody know if I can prevent
ColdFusion from doing this?  Exchange just won't accept commas.   

 

Thanks!

J

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


RE: Multiple recipients in BCC via Exchange

2008-05-09 Thread Jason Durham
I'm fairly certain MS Exchange will not allow comma delimited emails.  I
also manage our Exchange Server.


-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 4:28 PM
To: CF-Talk
Subject: RE: Multiple recipients in BCC via Exchange

ColdFusion needs a comma-separated list of email addresses.

Unless your Exchange admin has done something funky, it should work fine
with commas.

I don't think Exchange requires semicolons, anyway.  I think that is
more of an Outlook setting.  In Outlook, you can enable the comma as a
separator.

However, in our case, the comma would mess things up because our display
names are Last, First.  Again, this is only an Outlook issue, because
ColdFusion expects email addresses, not display names.

m!ke 

-Original Message-
From: Jason Durham [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 4:01 PM
To: CF-Talk
Subject: Multiple recipients in BCC via Exchange

MS Exchange requires that fields containing multiple email addresses be
separated by semicolons.  It appears that ColdFusion is taking my
semicolon-delimited BCC list and converting it to commas based upon the
undeliverable which results.  Does anybody know if I can prevent
ColdFusion from doing this?  Exchange just won't accept commas.   

 

Thanks!

J



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Spry Eclipse Plugin?

2008-05-09 Thread Brad Melendy
The only problem I have with CS3 is that it is a dog, runs horribly on my three 
workstations (two XP and one Vista).  I've got the CPU utilization problem in 
all three cases and there seems no help on the horizen.  

Just downloaded JSEclipse. However, I really am beginning to wonder
about the trade-off between Eclipse and DW. There are soo many very
helpful features in DW that really speed up my work flow (I'm not just
talking about wysiwyg and wizardry stuff). I am kind of feeling like I
moved to Eclipse just because everyone else was doing it - though I
have grown to like many things about it, but I can set my preferences
in DW to behave the same way.

Really, are we throwing the baby (DW) out with the bathwater
(commercial license)?

-Aaron 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Gasp! XML XSL transform with params!

2008-05-09 Thread Dominic Watson
Crimminy,
 Why am I having trouble passing parameters in xmltransform?

You're not going mad; check out the first comment in the livedocs:

http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=0673.htm

On further experimentation, you don't need to go that far. Instead,
use array notation for your struct keys and all will be well:


cfset tmp = StructNew()
cfset tmp['mpath'] = 'birthday'


Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Gasp! XML XSL transform with params!

2008-05-09 Thread Dominic Watson
 http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=0673.htm

I've now read all the comments (I'm far too impatient) and comment
four assesses the problem brilliantly; the comment by Ethan Cane
([EMAIL PROTECTED]).

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Catching and Displaying Errors with CFLDAP

2008-05-09 Thread Den Made
Thanks so much. I real appreciate your help!!!

 Error updating the server MyServer:389. The error is javax.naming.
 directory.InvalidAttributeValueException: [LDAP: error code 19 - 
 invalid password syntax: no special character]; remaining name 
 'uid=testuser,ou=ME,dc=example,dc=com'
 
 I am connecting to Sun One Directory Server 6.0 on Windows Server 2003 
 through ColdFusion as per our project's requirement. I use the code 
 that is given below:
 
 cfparam type=string name=LoginMessage default=
..
 
..
 
 
 cftry
 cfldap action=QUERY
 name=AunthenticateUser
 attributes=uid 
 start=ou=People,dc=example,dc=com
 Scope=subtree
 filter = ((objectclass=person) (uid=#form.UserLogin#))
 server=#ldap_server#
 Port=#ldap_port#
 username=uid=#form.UserLogin#,ou=People,example,dc=com
 password=#form.userpassword#
 
 cfcatch type=any
 
 cfoutput
 
 //what I want to display
 Your Password expired
 
 /cfoutput
 cfabort
 
 /cfcatch
 
 /cftry
 
 I use a Global Password Policy with the following properties:
 General, Password Change, Password Expiration, Account Lockout.
 
 How do I catch the LDAP: error code 19 in the cftry cfcatch block 
 so that I can tell the client that their password syntax is wrong?.
 Thanks, 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Catching and Displaying Errors with CFLDAP

2008-05-09 Thread Den Made
Thanks a bunch, I real appreciate your help, it worked just fine!!!


cftry

cfldap...

cfcatch

  cfdump var=#cfcatch#
  !--- Look for the cfcatch struct var that contains the error
message ---

/cfcatch

/cftry 

Once you find the cfcatch struct var, use it in a CFIF block inside the
CFCATCH block.

m!ke

Error updating the server MyServer:389. The error is
javax.naming.directory.InvalidAttributeValueException: [LDAP: error code
19 - invalid password syntax: no special character]; remaining name
'uid=testuser,ou=ME,dc=example,dc=com'

I am connecting to Sun One Directory Server 6.0 on Windows Server 2003
through ColdFusion as per our project's requirement. I use the code that
is given below:

cfparam type=string name=LoginMessage default= ..
..

cftry
cfldap action=QUERY
name=AunthenticateUser
attributes=uid 
start=ou=People,dc=example,dc=com
Scope=subtree
filter = ((objectclass=person) (uid=#form.UserLogin#))
server=#ldap_server#
Port=#ldap_port#
username=uid=#form.UserLogin#,ou=People,example,dc=com
password=#form.userpassword#

cfcatch type=any

cfoutput

//what I want to display
Your Password expired

/cfoutput
cfabort

/cfcatch

/cftry

I use a Global Password Policy with the following properties:
General, Password Change, Password Expiration, Account Lockout.

How do I catch the LDAP: error code 19 in the cftry cfcatch block so
that I can tell the client that their password syntax is wrong?.
Thanks, 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Avoid multiple form submits.

2008-05-09 Thread Eric Haskins
The Javascript example above doesnt have a TYPE=submit so it will cause
weird behavior in some browsers.

I bet it will work if you add it

Eric

On Fri, May 9, 2008 at 10:52 AM, Massimo Foti [EMAIL PROTECTED]
wrote:

 If what you are looking for is just a client-side solution, the TMT
 Validator offers this:
 http://www.massimocorner.com/validator/

 http://www.massimocorner.com/validator/samples/generic.htm

 Massimo


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Avoid multiple form submits.

2008-05-09 Thread Gerald Guido
Massimo? As in Massimo The DW Extension Guru?

Awesome!

I just wanted to say thank you SIR!! I have been using your stuff for years.

And thanx for showing up when you did. I was *just* about to write a custom
tag for DHTML Calendar for work.

I looked and noticed that you have not posted any of you work to
riaforge.org. Any reason for this? Yours is a great contribution to the
community, both CF and Web Dev in general, and riaforge.org might serve to
broaden the reach of your contribution.

Just a suggestion. ;)

G


On Fri, May 9, 2008 at 10:52 AM, Massimo Foti [EMAIL PROTECTED]
wrote:

 If what you are looking for is just a client-side solution, the TMT
 Validator offers this:
 http://www.massimocorner.com/validator/

 http://www.massimocorner.com/validator/samples/generic.htm

 Massimo


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Playing movies in cfpresentation

2008-05-09 Thread Dominic Watson
Well I managed to get video working but not with a swf that referenced
a flv. I had to create a video that was a 'pure' swf file which is
fine and dandy :).

Dominic


2008/5/9 Dominic Watson [EMAIL PROTECTED]:
 It seems, but not so :0

 Here is the code:

 cfpresentation control=brief shownotes=no showoutline=no
 showsearch=no title=My First Presentation
  cfpresentationslide title=My First Slide src=btb.swf /
 /cfpresentation

 Dominic

 2008/5/9 Mark Kruger [EMAIL PROTECTED]:
 Dominic,

 I think you should post your code. It almost seems like you are pointed to
 the FLA or the FLV instead of the SWF file in your presentation.

 -mark



 Mark A. Kruger, CFG, MCSE
 (402) 408-3733 ext 105
 www.cfwebtools.com
 www.coldfusionmuse.com
 www.necfug.com

 -Original Message-
 From: Dominic Watson [mailto:[EMAIL PROTECTED]
 Sent: Friday, May 09, 2008 12:38 PM
 To: CF-Talk
 Subject: Playing movies in cfpresentation

 Hey all, I have a swf movie that I'd like to have as the source of a
 cfpresentation slide. The swf references a flv movie and I think this is
 causing problems. Has anyone encountered or conquered this?

 Here is the flv movie working:

  http://dev.dominicwatson.co.uk/speakeasydev/media/video/btb/btb.swf

 And this is how the cfpresentation slide appears when I try to use that swf
 as the source:

 http://dev.dominicwatson.co.uk/speakeasydev/media/video/btb/tester.cfm

 Dominic

  --
 Blog it up: http://fusion.dominicwatson.co.uk




 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


cfpresentation streaming...

2008-05-09 Thread Dominic Watson
I've created a static cfpresentation flash movie that includes slides
that play swf videos (so it all adds up to a fair size). When I view
this presentation in my browser, I must wait to download the entire
presentation content before any of it will play. My client wants 30+
slides per presentation with probably 1/2 dozen or more 2-3 minute
videos which clearly won't work in a timely manner!

Anyone had to do this and found a solution?

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: OT: mod_jk + blank .jsp-coding

2008-05-09 Thread denstar
Unless you're stuck with old versions, mod_proxy_ajp is (I think)
faster, and for sure easier to set up.

On Thu, May 8, 2008 at 4:24 PM,  [EMAIL PROTECTED] wrote:
 Has anybody an idea,
 what could be wrong if I see
 the blank raw java-coding on a .jsp
 page coming from Tomcat5 passed to Apache2
 via the module mod_jk ?
 Uwe



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Spry Eclipse Plugin?

2008-05-09 Thread denstar
On Fri, Apr 27, 2007 at 8:30 PM, Aaron Roberson [EMAIL PROTECTED] wrote:

 Really, are we throwing the baby (DW) out with the bathwater
 (commercial license)?

Nope.

Eclipse just plain destroys dreamweaver, from a coder's perspective.

I'm liking JSDT for Eclipse javascript development.  W00t3rZ!

And Eclipse 3.4 has a WYSIWYG HTML editor, for those pesky table-based layouts.

But, no, there is no question in my mind, Eclipse is where it's at.

Even if both were free (as in beer) and open, I'd be using Eclipse.

Denny

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: CF8: Reading a file from the end instead of the beginning?

2008-05-09 Thread C S
You could shell out (CFEXECUTE) the tail command to get those lines.

Michael,

Good suggestion. Tail works very well.  Cheers.


cfset numOfLines = 10
cfset logFilePath = server.coldFusion.rootDir  /logs/exception.log
cfexecute name=c:\program files\Windows Resource Kits\tools\tail.exe 
arguments=-#numOfLines# #logFilePath#
variable=output
timeout=60 /

cfset arr = listToArray(output, chr(10))
cfdump var=#arr#




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Avoid multiple form submits.

2008-05-09 Thread Massimo Foti
 Massimo? As in Massimo The DW Extension Guru?

Yes.




 I looked and noticed that you have not posted any of you work to
 riaforge.org. Any reason for this? Yours is a great contribution to the
 community, both CF and Web Dev in general, and riaforge.org might serve to
 broaden the reach of your contribution.

My stuff is typically free, but it's not realesed under an open-source 
license, that's why it's not available from riaforge.org.


Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Spry Eclipse Plugin?

2008-05-09 Thread Gerald Guido
 And Eclipse 3.4 has a WYSIWYG HTML editor, for those pesky table-based
layouts.

@denstar

Could you point me to that wonderful nugget of joy? With that, CF studio
will become just another text editor (though awesome). I think the only
other thing I use it for is the change tag case feature...

G

On Fri, May 9, 2008 at 8:18 PM, denstar [EMAIL PROTECTED] wrote:

 On Fri, Apr 27, 2007 at 8:30 PM, Aaron Roberson [EMAIL PROTECTED]
 wrote:
 
  Really, are we throwing the baby (DW) out with the bathwater
  (commercial license)?

 Nope.

 Eclipse just plain destroys dreamweaver, from a coder's perspective.

 I'm liking JSDT for Eclipse javascript development.  W00t3rZ!

 And Eclipse 3.4 has a WYSIWYG HTML editor, for those pesky table-based
 layouts.

 But, no, there is no question in my mind, Eclipse is where it's at.

 Even if both were free (as in beer) and open, I'd be using Eclipse.

 Denny

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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


Re: Spry Eclipse Plugin?

2008-05-09 Thread Loathe
You can change selection case on right click in eclipse.

Gerald Guido wrote:
 And Eclipse 3.4 has a WYSIWYG HTML editor, for those pesky table-based
 layouts.
 
 @denstar
 
 Could you point me to that wonderful nugget of joy? With that, CF studio
 will become just another text editor (though awesome). I think the only
 other thing I use it for is the change tag case feature...
 
 G
 
 On Fri, May 9, 2008 at 8:18 PM, denstar [EMAIL PROTECTED] wrote:
 
 On Fri, Apr 27, 2007 at 8:30 PM, Aaron Roberson [EMAIL PROTECTED]
 wrote:
 
 Really, are we throwing the baby (DW) out with the bathwater
 (commercial license)?
 Nope.

 Eclipse just plain destroys dreamweaver, from a coder's perspective.

 I'm liking JSDT for Eclipse javascript development.  W00t3rZ!

 And Eclipse 3.4 has a WYSIWYG HTML editor, for those pesky table-based
 layouts.

 But, no, there is no question in my mind, Eclipse is where it's at.

 Even if both were free (as in beer) and open, I'd be using Eclipse.

 Denny


 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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