Re: iText: The selected method setFontAndSize was not found.

2007-06-19 Thread Janet MacKay
You're passing the wrong object types. The API is 
setFontAndSize(com.lowagie.text.pdf.BaseFont, float).

 myObj.BaseFont = createObject(java,com.lowagie.text.pdf.BaseFont); 
 local.bf = myObj.BaseFont.Courier;

BaseFont.Courier is a string. What you need is a BaseFont object.  Try using 
the FontFactory class or BaseFont.createFont(...) 

//FontFactory
myObj.FontFactory = createObject(java,com.lowagie.text.FontFactory);
 
local.bf = myObj.FontFactory.getFont(myObj.FontFactory.COURIER).getBaseFont();
 
//createFont()
myObj.BaseFont = createObject(java,com.lowagie.text.pdf.BaseFont); 
local.bf = myObj.BaseFont.createFont(myObj.BaseFont.COURIER, 
myObj.BaseFont.CP1252, myObj.BaseFont.NOT_EMBEDDED);

Then use javacast on the size like Mark mentioned.

//cast the size as a float
local.cb.setFontAndSize(local.bf, javacast(float, 12)); 



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Config jvm.config

2007-06-19 Thread Robertson-Ravo, Neil (RX)
You can also se VisualGC from Sun to get good metrics.




This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: James Holmes
To: CF-Talk
Sent: Tue Jun 19 02:00:17 2007
Subject: Re: Config jvm.config

Yes:

http://www.petefreitag.com/item/115.cfm

http://www.prismix.com/blog/2005/08/coldfusion_memo.cfm

On 6/19/07, Johnny Le [EMAIL PROTECTED] wrote:
 In our current situation, is there a way to find out how much memory JVM
really deciate to each instance?  because we only have problems when the
server goes over 40% memory usage I would like to know how it works.


-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: iText: The selected method setFontAndSize was not found.

2007-06-19 Thread Janet MacKay
nm - darn lag!

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Max 2007... any sneak previews of sessions? Any rumors?

2007-06-19 Thread Sean Corfield
On 6/18/07, LHWH Interactive [EMAIL PROTECTED] wrote:
 They've never done pre-conference classes before... have they?

According to Ted's blog:

Every year at MAX Adobe hosts a pre-conference training day.

 seen the blurbs on the pre conference classes, but what are they
 exactly? It sounds like it's a full day of the hands on training
 that you get at Max, but just one topic, and all day.

Ted's blog says:

These additional full-day hands-on training sessions sell out every
single year and last year sold out in 30 days. The training classrooms
have computers fully loaded with all training material and you work
with the technologies hands on with an instructor.

Not sure what question that doesn't answer...
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


RE: Error converting data type varchar to int.

2007-06-19 Thread Robertson-Ravo, Neil (RX)
I spoke with Rob, the fix is two-part.  First, within the SP the input
variable should be set to INT and not INTEGER and also within the column
definitions, again within the SP it should be [User_ID] as User_ID is
reserved in SQL Server for internal gunbins.


Variable names (dbvarnames) we're deprecated, but made a welcome return in a
recent updater/CF8 I believe.




-Original Message-
From: Dean Lawrence [mailto:[EMAIL PROTECTED] 
Sent: 18 June 2007 16:19
To: CF-Talk
Subject: Re: Error converting data type varchar to int.

Rob,

I think I remember what caused me to have this error. Try removing the
variable attribute of the cfprocparam tags. If the variable names do
not explicitely match the variables defined in your stored proc, CF
will throw an error.

Variable names were depriciated in CFMX and were basically ignored.
However, in the latest CF7 update they added them back in and it
created all kinds of problems for my older code.

Dean

On 6/17/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Thanks Neil,

 It certainly is very odd, I have no idea what its doing, like you say with
 that explicite string definition it should be fine.

 I've sent a mail to my SQL guy to see whether he has any suggestions as to
 what might be causing the issue.

 Thanks mate,

 Rob


-- 
__
Dean Lawrence, CIO/Partner
Internet Data Technology
888.GET.IDT1 ext. 701 * fax: 888.438.4381
http://www.idatatech.com/
Corporate Internet Development and Marketing Specialists



~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


RE: Error converting data type varchar to int.

2007-06-19 Thread Robert Rawlins - Think Blue
Thanks for your help on this Neil, It now works an absolute charm.

I owe you a pint.

Rob

-Original Message-
From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] 
Sent: 19 June 2007 09:37
To: CF-Talk
Subject: RE: Error converting data type varchar to int.

I spoke with Rob, the fix is two-part.  First, within the SP the input
variable should be set to INT and not INTEGER and also within the column
definitions, again within the SP it should be [User_ID] as User_ID is
reserved in SQL Server for internal gunbins.


Variable names (dbvarnames) we're deprecated, but made a welcome return in a
recent updater/CF8 I believe.




-Original Message-
From: Dean Lawrence [mailto:[EMAIL PROTECTED] 
Sent: 18 June 2007 16:19
To: CF-Talk
Subject: Re: Error converting data type varchar to int.

Rob,

I think I remember what caused me to have this error. Try removing the
variable attribute of the cfprocparam tags. If the variable names do
not explicitely match the variables defined in your stored proc, CF
will throw an error.

Variable names were depriciated in CFMX and were basically ignored.
However, in the latest CF7 update they added them back in and it
created all kinds of problems for my older code.

Dean

On 6/17/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Thanks Neil,

 It certainly is very odd, I have no idea what its doing, like you say with
 that explicite string definition it should be fine.

 I've sent a mail to my SQL guy to see whether he has any suggestions as to
 what might be causing the issue.

 Thanks mate,

 Rob


-- 
__
Dean Lawrence, CIO/Partner
Internet Data Technology
888.GET.IDT1 ext. 701 * fax: 888.438.4381
http://www.idatatech.com/
Corporate Internet Development and Marketing Specialists





~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Workshop Brian Rinaldi on Framework Code Generation

2007-06-19 Thread Nick Tong
FYI: Brian Rinaldi will be giving a workshop on his Illudium PU-36
Code Generator. Brian will cover creating Mach-II, coldspring and
Transfer code.

When: Tuesday, June 19, 2007 @ 7:00pm PM GMT (2:00pm EST)

http://www.cfframeworks.com/blog/index.cfm/2007/5/22/Workshop-Brian-Rinaldi-on-Framework-Code-Generation

-- 
Nick Tong

web: http://talkwebsolutions.co.uk
blog: http://succor.co.uk
f..works:http://cfframeworks.com
short urls:  http://wapurl.co.uk
green link: http://wapurl.co.uk/?4Z2YDLX

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


CFSNIPPETS Datasource

2007-06-19 Thread Andy Mcshane
I am trying to run some example code that I have had for a while that requires 
the cfsnippets datasource to be defined in CF. I cannot remember which version 
of CF the cfsnippets.mdb came with as CF7 has no mention of that datasource. 
Can anybody hook me up with a copy of cfsnippets.mdb?

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


REGEX File Extention

2007-06-19 Thread Robert Rawlins - Think Blue
Hello Guys,

 

My REGEX skills are pretty horrible. I'm looking for a way to get the file
extension from a string, examples of the strings are:

 

Somthing.gif

Thisone.jpg

Ooh.mp3

Nice.fla

 

What's the best way to achieve this? Effectively I want everything to the
right of the dot.

 

Thanks guys,

 

Rob



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: REGEX File Extention

2007-06-19 Thread Gert Franz
You don't need Regex for that. Just use ListLast(filename, .)...
Since it can happen that your filename looks like this: 
thisone.version.1.jpg
So ListLast() will do the trick.

Greetings / Grüsse
Gert Franz
Customer Care
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch

Join our Mailing List / Treten Sie unserer Mailingliste bei:
deutsch: http://de.groups.yahoo.com/group/railo/
english: http://groups.yahoo.com/group/railo_talk/



Robert Rawlins - Think Blue schrieb:
 Hello Guys,

  

 My REGEX skills are pretty horrible. I'm looking for a way to get the file
 extension from a string, examples of the strings are:

  

 Somthing.gif

 Thisone.jpg

 Ooh.mp3

 Nice.fla

  

 What's the best way to achieve this? Effectively I want everything to the
 right of the dot.

  

 Thanks guys,

  

 Rob



 

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


RE: REGEX File Extention

2007-06-19 Thread Andy McShane
You could just use ListFirst/ListLast?

i.e. cfset ext = ListLast(filename, '.')

-Original Message-
From: Robert Rawlins - Think Blue
[mailto:[EMAIL PROTECTED] 
Sent: 19 June 2007 10:33
To: CF-Talk
Subject: REGEX File Extention

Hello Guys,

 

My REGEX skills are pretty horrible. I'm looking for a way to get the
file
extension from a string, examples of the strings are:

 

Somthing.gif

Thisone.jpg

Ooh.mp3

Nice.fla

 

What's the best way to achieve this? Effectively I want everything to
the
right of the dot.

 

Thanks guys,

 

Rob





~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


RE: REGEX File Extention

2007-06-19 Thread Robert Rawlins - Think Blue
Thanks guys,

List last worked a charm, why didn’t I think of that ... DOH!

Rob

-Original Message-
From: Gert Franz [mailto:[EMAIL PROTECTED] 
Sent: 19 June 2007 10:43
To: CF-Talk
Subject: Re: REGEX File Extention

You don't need Regex for that. Just use ListLast(filename, .)...
Since it can happen that your filename looks like this: 
thisone.version.1.jpg
So ListLast() will do the trick.

Greetings / Grüsse
Gert Franz
Customer Care
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch

Join our Mailing List / Treten Sie unserer Mailingliste bei:
deutsch: http://de.groups.yahoo.com/group/railo/
english: http://groups.yahoo.com/group/railo_talk/



Robert Rawlins - Think Blue schrieb:
 Hello Guys,

  

 My REGEX skills are pretty horrible. I'm looking for a way to get the file
 extension from a string, examples of the strings are:

  

 Somthing.gif

 Thisone.jpg

 Ooh.mp3

 Nice.fla

  

 What's the best way to achieve this? Effectively I want everything to the
 right of the dot.

  

 Thanks guys,

  

 Rob



 



~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


Re: Config jvm.config

2007-06-19 Thread D F
I'm pretty sure this file...

# Arguments to VM
java.args=-server -Xmx1024m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=512m

Should have an -Xms512m setting as well. Should it not? ( that being the 
minimum JVM memory setting ).

Also I think that memory output code that was sent earlier only describes the 
overall use of JVM memory allocation and not specific instances of each CF 
installation. I'm not sure how one would get that.


~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


structkeyexists

2007-06-19 Thread Andy Willis
Hi. I'm having a problem with structkeyexists and hope someone can help me out. 
I'm running CFMX7.0.2 on Apache2.0.59.

I have loaded an XML file into a structure. This structure is then copied using 
duplicate() (let's call the structure IMS). A cfdump of this copied structure 
shows the key and value. This example has only one pair. Let's call them 
key=ONE, value=FUBAR.

I can also run a collection loop over this structure and it will print the key 
and value to screen. When I try and use the following line, however,

cfset abc = structkeyexists(IMS,ONE)

and output abc I get the answer NO. It should be YES. isDefined doesn't work 
either.

BUT if I then output that structure to a list (structkeylist) and run a find 
over it for ONE, I get a result.

I don't know what's going on. Can anyone help?

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


structkeyexists

2007-06-19 Thread Andy Willis
Hi. I'm having a problem with structkeyexists and hope someone can help me out. 
I'm running CFMX7.0.2 on Apache2.0.59.

I have loaded an XML file into a structure. This structure is then copied using 
duplicate() (let's call the structure IMS). A cfdump of this copied structure 
shows the key and value. This example has only one pair. Let's call them 
key=ONE, value=FUBAR.

I can also run a collection loop over this structure and it will print the key 
and value to screen. When I try and use the following line, however,

cfset abc = structkeyexists(IMS,ONE)

and output abc I get the answer NO. It should be YES. isDefined doesn't work 
either.

BUT if I then output that structure to a list (structkeylist) and run a find 
over it for ONE, I get a result.

I don't know what's going on. Can anyone help?

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: configuring Apache to use multiple JRun Application Servers

2007-06-19 Thread Tom Chiverton
On Tuesday 19 Jun 2007, AJ Mercer wrote:
 What am I missing?

At a guess, the mapping for '/' in the application is different to your 
DocumentRoot setting in Apache ?

-- 
Tom Chiverton
Helping to carefully seize proactive designs
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

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


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: web page snapshots

2007-06-19 Thread Tom Chiverton
On Monday 18 Jun 2007, Ariel Jakobovits wrote:
 does anyone know how to make one of those server programs to retrieve a web
 page and save it as an image?

CF8 :-)

cfpresentationslide presenter=Tom Chiverton 
cfdocument src=http://google.com; 
name=pdfdata format=pdf
/

cfpdf source=pdfdata pages=1 action=thumbnail 
destination=. 
format=jpg 
overwrite=true resolution=high scale=40
imagePrefix=temp/
cfset myimage = imageNew(expandPath('/temp_page_1.jpg'))/

img src=temp_page_1.jpg

/cfpresentationslide 

-- 
Tom Chiverton
Helping to adaptively visualize extensible market-growth
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

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


~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


XML Creation question

2007-06-19 Thread Jide Aliu
I am creating XML using the CFXML tag. I am trying to insert this !DOCTYPE 
NewsML SYSTEM 
http://www.newsml.org/dl.php?fn=NewsML/1.2/specification/NewsML_1.2.dtd; [
!ENTITY % xhtml SYSTEM 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; into the head of the 
newly formed XML something like so

cfxml variable=xmlArticle
!DOCTYPE NewsML SYSTEM 
http://www.newsml.org/dl.php?fn=NewsML/1.2/specification/NewsML_1.2.dtd; [
!ENTITY % xhtml SYSTEM 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; 
NewsIdentifier
   ProviderIdHealth Interactions/ProviderId
   DateId#DateID#/DateId
   NewsItemId#id#/NewsItemId
   RevisionId Update=#UpDateStatus# 
PreviousRevision=#PrevRevID##RevisionID#/RevisionId
   PublicIdentifier/
/NewsIdentifier
/cfxml

The !Doctype etc..makes it throw a not valid xml error. Is there a way round 
insert the Doctype into the top of the newly created XML?

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Config jvm.config

2007-06-19 Thread James Holmes
Each instance is a separate JVM.

If 512 MB is specified as the starting stack size for each instance
the server is going to tank immediately.

On 6/19/07, D F [EMAIL PROTECTED] wrote:
 I'm pretty sure this file...

 # Arguments to VM
 java.args=-server -Xmx1024m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=512m

 Should have an -Xms512m setting as well. Should it not? ( that being the 
 minimum JVM memory setting ).

 Also I think that memory output code that was sent earlier only describes the 
 overall use of JVM memory allocation and not specific instances of each CF 
 installation. I'm not sure how one would get that.

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


OT - CF Exam Vouchure Request

2007-06-19 Thread Adrian Lynch
Anyone got a discount code they don't mind me using? I'm about to book the
test :O)

Adrian


~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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

2007-06-19 Thread Tony
A :)

On 6/18/07, Greg Morphis [EMAIL PROTECTED] wrote:
 no, because you're rounding it to tens.. if you wanted 33.33, then
 you'd need numberformat('33.334','99.99')

 On 6/18/07, Tony [EMAIL PROTECTED] wrote:
  shouldnt numberformat('33.334','99') return 33.33?
 
  tony
 
  On 6/18/07, Mark Mandel [EMAIL PROTECTED] wrote:
   They all do similar, but quite different things, so I'm not sure where
   the confusion lies here?
  
   Round - rounds a number
   Ceiling - round UP a number
   NumberFormat - formats the display of the number, which is more than
   just rounding.
  
   Mark
  
   On 6/19/07, Tony [EMAIL PROTECTED] wrote:
(cross post from cf-comm.)
   
you can either run this code below, on your server
or see it at this url.
   
http://www.revolutionwebdesign.com/why/
   
either way... if you can, help me understand this...
   
   
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
   
html
head
titleUntitled/title
/head
   
body
   
cfset request.valueOne = 7.76 /
cfset request.valueTwo = 7.94 /
cfset request.valueThree = 7.667 /
cfset request.valueFour = 33.334 /
   
I guess my real question is, why do we need round, ceiling and/or
numberformat functions, when they all return basically the same
values.
BR
I need to get the values that DollarFormat() provide, but its hard
to do math with $'s in the equations... h?
BR
I guess you could replace each $ in every value in EVERY calculation,
but that would be nasty wouldnt it?
BR
HELP :)
BR
(Note: One number is different and that is ceilings view of what
33.334 should be.)
   
P
   
cfoutput
   
Round: 7.76  = #round(request.valueOne)#
BR
Round: 7.94  = #round(request.valueTwo)#
BR
Round: 7.667  = #round(request.valueThree)#
BR
Round: 33.334  = #round(request.valueFour)#
   
P
   
Ceiling: 7.76  = #ceiling(request.valueOne)#
BR
Ceiling: 7.94  = #ceiling(request.valueTwo)#
BR
Ceiling: 7.667  = #ceiling(request.valueThree)#
BR
Ceiling: 33.334  = #ceiling(request.valueFour)#
   
   
P
   
NumberFormat: 7.76  = #numberFormat(request.valueOne,'__')#
BR
NumberFormat: 7.94  = #numberFormat(request.valueTwo,'__')#
BR
NumberFormat: 7.557  = #numberFormat(request.valueThree,'__')#
BR
NumberFormat: 33.334  = #numberFormat(request.valueFour,'__')#
   
P
   
NumberFormat99: 7.76  = #numberFormat(request.valueOne,'99')#
BR
NumberFormat99: 7.94  = #numberFormat(request.valueTwo,'99')#
BR
NumberFormat99: 7.557  = #numberFormat(request.valueThree,'99')#
BR
NumberFormat99: 33.334  = #numberFormat(request.valueFour,'99')#
   
P
   
DollarFormat: 7.76  = #DollarFormat(request.valueOne)#
BR
DollarFormat: 7.94  = #DollarFormat(request.valueTwo)#
BR
DollarFormat: 7.557  = #DollarFormat(request.valueThree)#
BR
DollarFormat: 33.334  = #DollarFormat(request.valueFour)#
P
Attempt at an equation with $'s (#DollarFormat(request.valueFour)# +
#DollarFormat(request.valueThree)#): #DollarFormat(request.valueFour)
+ DollarFormat(request.valueThree)#
   
/cfoutput
   
   
/body
/html
   
   
--
'Never have anything in your life that you can't walk out on in thirty
seconds flat, if you spot the heat coming around the corner'
   
robert deniro - heat (1995)
   
   
--
'Never have anything in your life that you can't walk out on in thirty
seconds flat, if you spot the heat coming around the corner'
   
robert deniro - heat (1995)
   
   
  
  
 
 

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: web page snapshots

2007-06-19 Thread Casey Dougall
Can someone else type out this example, I'm not sure three posts are
enough...
On 6/19/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Monday 18 Jun 2007, Ariel Jakobovits wrote:
  does anyone know how to make one of those server programs to retrieve a
 web
  page and save it as an image?

 CF8 :-)

 cfpresentationslide presenter=Tom Chiverton 
 cfdocument src=http://google.com;
 name=pdfdata format=pdf
 /

 cfpdf source=pdfdata pages=1 action=thumbnail
 destination=.
 format=jpg
 overwrite=true resolution=high
 scale=40
 imagePrefix=temp/
 cfset myimage = imageNew(expandPath('/temp
 _page_1.jpg'))/

 img src=temp_page_1.jpg

 /cfpresentationslide 





~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Telnet/SSH From CF?

2007-06-19 Thread James Blaha
Hi Rob,

I use CFSFTP a lot just for doing file transfers from my Windows CFMX7 server 
to UNIX, Solaris and Tru64 servers. The only time I use CFEXECUTE now is if I 
need to run a shell script remotely them I would use CFEXECUTE to call a bat 
file and SSH into a UNIX box then run the script and get out.

Check out: www.ssh.com

If you do want to go the CFEXECUTE route here's an example of the code that 
might be in your bat file. In this example you would need to setup public key 
authentication for your SSH software, make sure the keys are in the same 
Windows server account profile that the CF service runs under.

C:\Program Files\SSH Communications Security\SSH Secure Shell\sftp2.exe -B 
C:\myScripts\SFTP_2_UNIX.bat  put_sftp_file.cmd

Hope this helps.

-Jim

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


flash forms problem

2007-06-19 Thread Rick Root
I'm having a rather sudden problem with flash forms not loading.

Example:  http://www.it.dev.duke.edu/public/test.cfm

I ran fiddler and the following URL request failed with an HTTP 412 error:

/public/864704189.mxml.cfswf

Text view of the response:

headtitleJRun Servlet Error/title/headh1412 Unknown/h1body
Unknown/body

But I can't finda nything in the coldfusion log files that indicates
what's going on.

Rick
-- 
CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
http://www.cfmbb.org

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Max 2007... any sneak previews of sessions? Any rumors?

2007-06-19 Thread LHWH Interactive
On 6/19/07, Sean Corfield [EMAIL PROTECTED] wrote:
 Every year at MAX Adobe hosts a pre-conference training day.

Wow, that's crazy. I don't ever remember those things. Maybe the CS3,
Flex, and AIR stuff being offered is getting my attention, or maybe I
just  never noticed them before.

I did register, and noticed during the registration process that the
pre-conference classes are prominently offered as a whole separate
step in the process, which seemed new. You can actually purchase them
and add them right into your registration.

That stuff's on the Adobe Max blog too, I saw.

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: flash forms problem

2007-06-19 Thread James Holmes
Well, that's impressively obscure.

412 Precondition Failed

This code indicates that the request was unsuccessful because one of
the client's conditions was not met. For example, the client can tell
the server ``only update this resource if the current version is X.''
If the current version is not ``X,'' the server returns a 412
response.

(http://www.web-cache.com/Writings/http-status-codes.html)

There was definitely nothing in cfserver.log or any of the other logs?

On 6/19/07, Rick Root [EMAIL PROTECTED] wrote:
 I'm having a rather sudden problem with flash forms not loading.

 Example:  http://www.it.dev.duke.edu/public/test.cfm

 I ran fiddler and the following URL request failed with an HTTP 412 error:

 /public/864704189.mxml.cfswf

 Text view of the response:

 headtitleJRun Servlet Error/title/headh1412 Unknown/h1body
 Unknown/body

 But I can't finda nything in the coldfusion log files that indicates
 what's going on.

 Rick
 --
 CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
 http://www.cfmbb.org

 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


FW: Weird permissions error for webservice classes

2007-06-19 Thread Scott Stewart
Hey guys, 

My lead dev forwarded this to me and I don't have an answer... any thoughts?

Thanks

sas

-- 
Scott Stewart
ColdFusion Developer
 
SSTWebworks
7241 Jillspring Ct.
Springfield, Va. 22152
(703) 220-2835
 
http://www.sstwebworks.com

-Original Message-
From: Leeds, David [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 8:44 AM
To: Scott Stewart
Cc: Jamison, Beverly
Subject: Weird permissions error for webservice classes

Hi Scott,

On one of our servers, we sometimes get an error that CF can't find one
of the web service class files.  For example today, it was:

[server_root]/cfusion.ear/cfusion.war/WEB-INF/cfusion/stubs/WS1398292641
/prod/apa/Robots/Worgmget1Service.class

Where worgmget1 is the name of one of our web services.  When I pulled
up this directory and checked permissions, all of the other files were
owned by cfuser1:users, but this one was root:root, so CF wasn't able to
see it.

To solve the problem for now, I just changed the permissions.  But this
one comes back once in a while.  And I'm a bit baffled how CF could be
writing a file that it can't see.  

Any thoughts?  Would any of your friends at HouseOfFusion have any
ideas?

Thanks!
Dave

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.9.0/852 - Release Date: 6/17/2007
8:23 AM
 


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: configuring Apache to use multiple JRun Application Servers

2007-06-19 Thread AJ Mercer
Thanks Tom.

I Think this is what Gert from Railo was saying too
in web-inf I have to edit web.xml and add the mapping
but I didn't have to do this for CF - I think the wsconfig must do this; or
maybe it is the CF install itself

On 6/19/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Tuesday 19 Jun 2007, AJ Mercer wrote:
  What am I missing?

 At a guess, the mapping for '/' in the application is different to your
 DocumentRoot setting in Apache ?

 --
 Tom Chiverton
 Helping to carefully seize proactive designs
 on: http://thefalken.livejournal.com

 

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

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

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged.  If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents.  If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 8008.

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


 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


RE: REGEX File Extention

2007-06-19 Thread Bobby Hartsfield
#listlast(str, .)#

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

-Original Message-
From: Robert Rawlins - Think Blue
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 5:33 AM
To: CF-Talk
Subject: REGEX File Extention

Hello Guys,

 

My REGEX skills are pretty horrible. I'm looking for a way to get the file
extension from a string, examples of the strings are:

 

Somthing.gif

Thisone.jpg

Ooh.mp3

Nice.fla

 

What's the best way to achieve this? Effectively I want everything to the
right of the dot.

 

Thanks guys,

 

Rob





~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Max 2007... any sneak previews of sessions? Any rumors?

2007-06-19 Thread Sean Corfield
On 6/19/07, LHWH Interactive [EMAIL PROTECTED] wrote:
 Wow, that's crazy. I don't ever remember those things. Maybe the CS3,
 Flex, and AIR stuff being offered is getting my attention, or maybe I
 just  never noticed them before.

Perhaps with them selling out so fast in previous years they just
haven't been available by the time you registered?

 That stuff's on the Adobe Max blog too, I saw.

Yeah, Ted Patrick is running MAX this year, hence my recommendation to
read his blog. But all the important stuff should show up on the MAX
blog too. It should be really good this year - less marketing, more
technical substance.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


RE: Max 2007... any sneak previews of sessions? Any rumors?

2007-06-19 Thread Dave Watts
 They've never done pre-conference classes before... have 
 they? I don't recall these at Vegas, Anaheim, New Orleans or 
 Orlando.

I know they've done this for at least the last two conferences, since I
taught one at each. I'm pretty sure they were available at earlier
conferences too.

 I've seen the blurbs on the pre conference classes, 
 but what are they exactly? It sounds like it's a full day of 
 the hands on training that you get at Max, but just one 
 topic, and all day.
 
 Is that the general idea?

Yes, that's about it. I think it's a good format, as it's really hard to do
anything useful in 90 minutes.

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: structkeyexists

2007-06-19 Thread Sean Corfield
On 6/19/07, Andy Willis [EMAIL PROTECTED] wrote:
 I have loaded an XML file into a structure. This structure is then copied 
 using duplicate() (let's call the structure IMS). A cfdump of this copied 
 structure shows the key and value. This example has only one pair. Let's call 
 them key=ONE, value=FUBAR.

I think you're going to have to show us your code if you have a small
reproducible case.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


RE: XMLFormat and ![CDATA[

2007-06-19 Thread Dave Watts
 Question: Is using ![CDATA[ around our CF variables when 
 outputting XML an alternative to using XMLFormat?

Yes, but you can only do this with element contents, not attribute values.

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: flash forms problem

2007-06-19 Thread Rick Root
Nope, nothing in the log files.

I think maybe I'll try restarting the CF instance... although I tried
this on two different instances and got the same results.

Rick

On 6/19/07, James Holmes [EMAIL PROTECTED] wrote:
 Well, that's impressively obscure.

 412 Precondition Failed

 This code indicates that the request was unsuccessful because one of
 the client's conditions was not met. For example, the client can tell
 the server ``only update this resource if the current version is X.''
 If the current version is not ``X,'' the server returns a 412
 response.

 (http://www.web-cache.com/Writings/http-status-codes.html)

 There was definitely nothing in cfserver.log or any of the other logs?

 On 6/19/07, Rick Root [EMAIL PROTECTED] wrote:
  I'm having a rather sudden problem with flash forms not loading.
 
  Example:  http://www.it.dev.duke.edu/public/test.cfm
 
  I ran fiddler and the following URL request failed with an HTTP 412 error:
 
  /public/864704189.mxml.cfswf
 
  Text view of the response:
 
  headtitleJRun Servlet Error/title/headh1412 Unknown/h1body
  Unknown/body
 
  But I can't finda nything in the coldfusion log files that indicates
  what's going on.
 
  Rick
  --
  CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
  http://www.cfmbb.org
 
 

 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


CFchart

2007-06-19 Thread Troy Montour

Hey everyone just was wondering has anyone done a multistacked cfchart? if so 
how is it done.

the some of the data I have is
row,daystoclose,Group,RawDate,TicketCount,Date

1

5

DB_MFRM

2007-06-16 23:59:59.0

10

6/16

 2   

1

DB2

2007-06-16 23:59:59.0

4

6/16

 3   

2

DB2

2007-06-16 23:59:59.0

2

6/16

 4   

5

DB2

2007-06-16 23:59:59.0

4

6/16

 5   

0

eBiz

2007-06-16 23:59:59.0

8

6/16

 6   

1

eBiz

2007-06-16 23:59:59.0

10

6/16

 7   

2

eBiz

2007-06-16 23:59:59.0

3

6/16

 8   

3

eBiz

2007-06-16 23:59:59.0

4

6/16

 9   

4

eBiz

2007-06-16 23:59:59.0

2

6/16

 10  

5

eBiz

2007-06-16 23:59:59.0

10

6/16

 11  

0

ORA

2007-06-16 23:59:59.0

7

6/16

 12  

1

ORA

2007-06-16 23:59:59.0

3

6/16

 13  

3

ORA

2007-06-16 23:59:59.0

3

6/16

 14  

4

ORA

2007-06-16 23:59:59.0

1

6/16

 15  

5

ORA

2007-06-16 23:59:59.0

16

6/16

What I'm trying to do is have a chart were the x-axis is the dates then have a 
cluster by group and the y-Axis is the total tickets for that group then on 
that line it would also show the time it took to close.

looks like this third party app can do them
http://www.fusioncharts.com/FusionCharts23/Gallery.asp?gMenuItemId=3#MultiStacked
it under multistacked should be the top left when you click on the link.

Thank You in advanced
Troy 



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


OT: Small (tech) conference location in Rome?

2007-06-19 Thread John Paul Ashenfelter
Folks,

Was wondering if anyone on the list has experience with a small
conference center/hotel in Rome for a training-sized event.
Suggestions would be appreciated.
-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281523
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: Small (tech) conference location in Rome?

2007-06-19 Thread Gert Franz
Hi John,

you can contact someone from Intergral since I guess they were in Rome 
last fall and they held a trining for FusionDebug and FusionReactor.
And I guess Charlie Aerhard was there as well. So he might be of help.

Greetings / Grüsse
Gert Franz
Customer Care
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch

Join our Mailing List / Treten Sie unserer Mailingliste bei:
deutsch: http://de.groups.yahoo.com/group/railo/
english: http://groups.yahoo.com/group/railo_talk/



John Paul Ashenfelter schrieb:
 Folks,

 Was wondering if anyone on the list has experience with a small
 conference center/hotel in Rome for a training-sized event.
 Suggestions would be appreciated.
   

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: flash forms problem

2007-06-19 Thread Rick Root
I restarted Coldfusion and it had no affect.

I found the following errors in two of the jrun logs
(C:\Jrun4\logs\reuniongiving-event.log and reuniongiving-out.log)

06/19 11:09:06 user CFSwfServlet: Error: There is no property with the
name 'window'.
06/19 11:09:06 user CFSwfServlet:   at
E:\Inetpub\reuniongiving\set_filter.mxml:460

Of course that's a temporary file so I can't look at it =)

Oh hell.  I know what the problem is!

cfinput name=btnCancel type=button value=View Full Roster
onClick=window.location.href='view_roster.cfm';

I guess I have to use actionscript in there instead of javascript...

Anyone know how to do that in AS2? :)

Rick

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


RE: PDF creation/modification

2007-06-19 Thread Bobby Hartsfield
Thanks for all the tips (still checking iText) but apparently it IS easier
than I thought, Let me know if you see any gaping holes in this but I found
this:

http://www.school-for-champions.com/coldfusion/cftopdf.htm
http://www.school-for-champions.com/coldfusion/cftopdf2.cfm

Doing it this way actually displays the field names and the values in the
source of the file in plain text. So let's say I made a field called
firstname and gave it a value of ***firstname***

In the source code, I see:
/T(firstname)/V(***firstname***)


Couldn't I just 
#replace(content, ***firstname***, form.firstname, all)#

The downside is, of course, that this pdf is huge. The upside is that I
would only be entering the needed content and not fiddling with layout.

Can you guys think of any more pros and cons?

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



-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 18, 2007 10:46 PM
To: CF-Talk
Subject: Re: PDF creation/modification

Bobby Hartsfield wrote:
 It is indeed CF7 :-)

use iText. although it powers cfdocument you probably want the latest
version, so you'll need it  mark's javaloader so as not to step on
cfdocument's toes.

http://itextdocs.lowagie.com/
http://itextdocs.lowagie.com/tutorial/
or better yet get bruno's book, http://itext.ugent.be/itext-in-action/
(there's a PDF version for 25 bucks, if you work w/iText  cf this books is
a great value).

http://javaloader.riaforge.org/



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Max 2007... any sneak previews of sessions? Any rumors?

2007-06-19 Thread LHWH Interactive
On 6/19/07, Sean Corfield [EMAIL PROTECTED] wrote:
 Perhaps with them selling out so fast in previous years they just
 haven't been available by the time you registered?

Oh, I'm totally sure that's it. Plus I had some usergroup stuff on
those days at previous Maxes. Last year I registered about a month
after the registration opened because I had to wait on approval from
higher ups, and I missed a TON of sessions that just filled up
immediately. That's why I said this one reminded me of a rock concert.
I'm going to camp out to stake my place at some of the sessions that
I REALLY don't want to miss.

 Yeah, Ted Patrick is running MAX this year, hence my recommendation to
 read his blog. But all the important stuff should show up on the MAX
 blog too. It should be really good this year - less marketing, more
 technical substance.

Oh man, that's just the best news ever. My favorite Max ever was the
one in Orlando. That almost felt like a Macromedia bootcamp in terms
of how much developer-centric content there was. It's awesome to hear
they're planning on filling our heads completely to the top this year.
With so much CS3/Spry/Flex/AIR stuff zooming all around, I'm glad to
hear this one's going to be a nerd's dream.

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


RE: PDF creation/modification

2007-06-19 Thread Bobby Hartsfield
Well 1 con... If I even open and save the original with no changes in
notepad... it throws an error in Acrobat 7 pro 
If I use CF to read the original content and save it into a new file, all
the pages are there but blank...

*scratches head*

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


-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 11:11 AM
To: CF-Talk
Subject: RE: PDF creation/modification

Thanks for all the tips (still checking iText) but apparently it IS easier
than I thought, Let me know if you see any gaping holes in this but I found
this:

http://www.school-for-champions.com/coldfusion/cftopdf.htm
http://www.school-for-champions.com/coldfusion/cftopdf2.cfm

Doing it this way actually displays the field names and the values in the
source of the file in plain text. So let's say I made a field called
firstname and gave it a value of ***firstname***

In the source code, I see:
/T(firstname)/V(***firstname***)


Couldn't I just
#replace(content, ***firstname***, form.firstname, all)#

The downside is, of course, that this pdf is huge. The upside is that I
would only be entering the needed content and not fiddling with layout.

Can you guys think of any more pros and cons?

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



-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: Monday, June 18, 2007 10:46 PM
To: CF-Talk
Subject: Re: PDF creation/modification

Bobby Hartsfield wrote:
 It is indeed CF7 :-)

use iText. although it powers cfdocument you probably want the latest
version, so you'll need it  mark's javaloader so as not to step on
cfdocument's toes.

http://itextdocs.lowagie.com/
http://itextdocs.lowagie.com/tutorial/
or better yet get bruno's book, http://itext.ugent.be/itext-in-action/
(there's a PDF version for 25 bucks, if you work w/iText  cf this books is
a great value).

http://javaloader.riaforge.org/





~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


cfhttp and cfx_http

2007-06-19 Thread Randy Johnson
Hello,

I have been using the cfx_http tag doing some web service calls.  If the 
webservice is slow in responding while the site is busy it will lock up 
the 8 available threads available.

Would cfhttp do the same thing?

I know I should be using timeouts to help with this issue, but what else 
can I do?  I find it weird that 8 simultaneous cfx_http tags can tie up 
the whole server.

Thanks!

Randy

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


RE: Telnet/SSH From CF?

2007-06-19 Thread Robert Rawlins - Think Blue
Thanks James,

That's some very useful tips, I'll only be using SSH to connect and run bash
commands, file transfer isn't a concern at the moment so cfexecute and .bat
file seems like the way to go, jeez, I must have been about 13 when I last
wrote a .bat file, this will be a rather nostalgic little venture.

Thanks for the tips mate,

Rob

-Original Message-
From: James Blaha [mailto:[EMAIL PROTECTED] 
Sent: 19 June 2007 13:14
To: CF-Talk
Subject: Re: Telnet/SSH From CF?

Hi Rob,

I use CFSFTP a lot just for doing file transfers from my Windows CFMX7
server to UNIX, Solaris and Tru64 servers. The only time I use CFEXECUTE now
is if I need to run a shell script remotely them I would use CFEXECUTE to
call a bat file and SSH into a UNIX box then run the script and get out.

Check out: www.ssh.com

If you do want to go the CFEXECUTE route here's an example of the code that
might be in your bat file. In this example you would need to setup public
key authentication for your SSH software, make sure the keys are in the same
Windows server account profile that the CF service runs under.

C:\Program Files\SSH Communications Security\SSH Secure Shell\sftp2.exe -B
C:\myScripts\SFTP_2_UNIX.bat  put_sftp_file.cmd

Hope this helps.

-Jim



~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


Re: flash forms problem

2007-06-19 Thread Tom Chiverton
On Tuesday 19 Jun 2007, Rick Root wrote:
 Anyone know how to do that in AS2? :)

Flex :-)

-- 
Tom Chiverton
Helping to revolutionarily network value-added design-patterns
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

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


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Detecting lack of cookies/session on same page?

2007-06-19 Thread Scott Weikert
I'm working on some mods on my main app, to do with tracking user clicks 
and the path they take through the various mini-sites running in our app.

Currently I do my own logging - various CGI scope data (including IP), 
plus some internal IDs. But I'd like to expand that to further be able 
to pull out all data for a given user (don't care who they are) so I can 
say this person clicked HERE, then HERE, then THERE, that sorta thing.

I'm tinkering with unique identifiers - I've added a UUID field to my 
DB tables used for tracking. I'm generating a UUID and tossing it in a 
cookie. In my logging script include, if that cookie's set, I add that 
UUID value along with my other tracking data. No sweat if cookies are 
enabled.

But what I want to do is NOT log ANYTHING for the page views, UUID-wise, 
if cookies aren't enabled.

The trick is, as best I can tell, the only way to detect if cookies 
aren't enabled is to do the two-page deal - first page, set cookie, 
redirect to second page, check for presence of cookie.

I'm looking for way (if it's possible) to sniff that out on the one 
page. Right now, I can do a cfcookie set (and I'm doing a session var 
as well, as an experiment) and the values stick through the page - so 
when it comes to the logging include, it's saying Oh I've got that 
UUID and logging it, despite that it's a fresh UUID every page when 
cookies are off.

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


RE: PDF creation/modification

2007-06-19 Thread Bobby Hartsfield
I'll have to give this one a shot

http://www.adobe.com/devnet/coldfusion/articles/pdfform.html

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


-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 11:26 AM
To: CF-Talk
Subject: RE: PDF creation/modification

Well 1 con... If I even open and save the original with no changes in
notepad... it throws an error in Acrobat 7 pro If I use CF to read the
original content and save it into a new file, all the pages are there but
blank...

*scratches head*

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


-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 11:11 AM
To: CF-Talk
Subject: RE: PDF creation/modification

Thanks for all the tips (still checking iText) but apparently it IS easier
than I thought, Let me know if you see any gaping holes in this but I found
this:

http://www.school-for-champions.com/coldfusion/cftopdf.htm
http://www.school-for-champions.com/coldfusion/cftopdf2.cfm

Doing it this way actually displays the field names and the values in the
source of the file in plain text. So let's say I made a field called
firstname and gave it a value of ***firstname***

In the source code, I see:
/T(firstname)/V(***firstname***)


Couldn't I just
#replace(content, ***firstname***, form.firstname, all)#

The downside is, of course, that this pdf is huge. The upside is that I
would only be entering the needed content and not fiddling with layout.

Can you guys think of any more pros and cons?

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



-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: Monday, June 18, 2007 10:46 PM
To: CF-Talk
Subject: Re: PDF creation/modification

Bobby Hartsfield wrote:
 It is indeed CF7 :-)

use iText. although it powers cfdocument you probably want the latest
version, so you'll need it  mark's javaloader so as not to step on
cfdocument's toes.

http://itextdocs.lowagie.com/
http://itextdocs.lowagie.com/tutorial/
or better yet get bruno's book, http://itext.ugent.be/itext-in-action/
(there's a PDF version for 25 bucks, if you work w/iText  cf this books is
a great value).

http://javaloader.riaforge.org/







~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


RE: flash forms problem

2007-06-19 Thread Dave Watts
 I guess I have to use actionscript in there instead of javascript...
 
 Anyone know how to do that in AS2? :)

I think you'll need to use JavaScript to change the browser's location. This
might be helpful:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683sliceId=2

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


DAO Implementation

2007-06-19 Thread Robert Rawlins - Think Blue
Hello Guys,

 

I've been working with OO for some time now but there are still a few little
things that escape me, so I'm looking for a definitive answer.

 

When dealing with data access objects how should I be moving the data
retrieved by them into the actually bean style object? As I see it at the
moment I have two real options, the first is to have my function to return
the query results, like this:

 

!--- Read ---

cffunction name=read access=public output=false returntype=query
hint=I read a record from persistence

  cfargument name=CredentialID required=true type=numeric
hint=I'm the ID for the credential record to be read /

  

!--- Create Temporary Local Structure ---

cfset var LOCAL = structNew() /



!--- Query To Create Record ---

cfquery name=LOCAL.Result datasource=

  ...

/cfquery  

 

  cfreturn LOCAL.Result /   

/cffunction

 

This involves me revoking the function, passing the ID of the record in as
an argument and then dealing with the returned query results from wherever I
revoke the object and put them into my bean.

 

Or, I could inject the bean object into the DAO as a constructor, and then
set directly from my method, something like this:

 

!--- Read ---

cffunction name=read access=public output=false returntype=void
hint=I read a record from persistence

  !--- Create Temporary Local Structure ---

  cfset var LOCAL = structNew() /

  

  !--- Query To Create Record ---

  cfquery name=LOCAL.Result datasource=

...

WHERE Credential_ID = cfqueryparam
value=#VARIABLES.Instance.Bean.getID()# /

  /cfquery  

  

!--- Set Into Bean ---

  cfset VARIABLES.Instance.Bean.setUsername(LOCAL.Results.Username) /

cfset VARIABLES.Instance.Bean.setPassword(LOCAL.Results.Password) /


 

  cfreturn /

/cffunction

 

Which of those is the best method for me to use? How do you guys deal with
it? Or is there a different  method all together that I've not read about?

 

I look forward to hearing from you guys,

 

Thanks a lot for all your help

 

Rob



~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: DAO Implementation

2007-06-19 Thread Josh Nathanson
 When dealing with data access objects how should I be moving the data
 retrieved by them into the actually bean style object?

What was tremendously helpful for me in figuring some of this stuff out, was 
using the Illudium code generator developed by Brian Rinaldi.  His OO code 
is very solid and easy to understand.

The way it's handled in his DAO is to pass an object, with the ID already 
set in the object, into the DAO read function.  The ID is used in retrieving 
the correct row from the DB.  Then he has a function queryRowToStruct to, 
well, turn the query row into a struct.  Finally, this struct is used to 
populate the object with a object.init(argumentCollection=struct) call.

Looking at Brian's OOP examples has greatly helped my understanding of OOP, 
and using his code generator has helped shorten my development time as well.

-- Josh


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


RE: Detecting lack of cookies/session on same page?

2007-06-19 Thread Ben Nadel
Scott,

As far as I know, this is not possible. While the ColdFusion page is
processing, nothing has been flushed to the client browser. It is not
until the headers get flushed that cookies can be set. Therefore, you
cannot check to see if cookies even stick until you start flushing to
the browser. At least, that is what I think??? 


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Scott Weikert [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 11:56 AM
To: CF-Talk
Subject: Detecting lack of cookies/session on same page?

I'm working on some mods on my main app, to do with tracking user clicks
and the path they take through the various mini-sites running in our
app.

Currently I do my own logging - various CGI scope data (including IP),
plus some internal IDs. But I'd like to expand that to further be able
to pull out all data for a given user (don't care who they are) so I can
say this person clicked HERE, then HERE, then THERE, that sorta thing.

I'm tinkering with unique identifiers - I've added a UUID field to my
DB tables used for tracking. I'm generating a UUID and tossing it in a
cookie. In my logging script include, if that cookie's set, I add that
UUID value along with my other tracking data. No sweat if cookies are
enabled.

But what I want to do is NOT log ANYTHING for the page views, UUID-wise,
if cookies aren't enabled.

The trick is, as best I can tell, the only way to detect if cookies
aren't enabled is to do the two-page deal - first page, set cookie,
redirect to second page, check for presence of cookie.

I'm looking for way (if it's possible) to sniff that out on the one
page. Right now, I can do a cfcookie set (and I'm doing a session var
as well, as an experiment) and the values stick through the page - so
when it comes to the logging include, it's saying Oh I've got that
UUID and logging it, despite that it's a fresh UUID every page when
cookies are off.



~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Workshop Brian Rinaldi on Framework Code Generation

2007-06-19 Thread Cutter (CFRelated)
Hey Nick, will this preso be recorded? Prior engagement, but I'd like to 
see it later if I can.

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

Nick Tong wrote:
 FYI: Brian Rinaldi will be giving a workshop on his Illudium PU-36
 Code Generator. Brian will cover creating Mach-II, coldspring and
 Transfer code.
 
 When: Tuesday, June 19, 2007 @ 7:00pm PM GMT (2:00pm EST)
 
 http://www.cfframeworks.com/blog/index.cfm/2007/5/22/Workshop-Brian-Rinaldi-on-Framework-Code-Generation
 

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


xml goodness again

2007-06-19 Thread Brad Wood
Hey I just had to pass this along.  As you know I have had problems with
client-side XML parsing with users who had an old version of msxml.dll
registered.

Well, another user just had problems where their entire browser (IE)
crashed hard when they hit the page.  Turns out they had msxml5 which
appears to be the red-headed step child of Microsoft XML parsers.  My
solution was to change this line:

var doc=new ActiveXObject(Microsoft.XMLDOM);

to this line:

var doc = new ActiveXObject('Msxml2.DOMDocument.3.0'); //uses MSXML 3.0

 

This forces the version of the XML parser the client uses.  Very
interesting indeed and it worked.  Thought you all might need it some
day.

Please share any insight with me if you have it.  :-)

 

Articles of interest:

http://support.microsoft.com/kb/269238

http://blogs.msdn.com/xmlteam/archive/2006/10/23/using-the-right-version
-of-msxml-in-internet-explorer.aspx

 

~Brad

 



~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Workshop Brian Rinaldi on Framework Code Generation

2007-06-19 Thread Brian Rinaldi
If anyone is waiting to get in, so am I.

I am not sure what happened to Nick. Nick, you out there?

--
Brian Rinaldi
blog - http://www.remotesynthesis.com/blog
ColdFusion Open Source List- http://www.remotesynthesis.com/cfopensourcelist
Boston CFUG - http://www.bostoncfug.org
Adobe Community Expert -
http://www.adobe.com/communities/experts/members/brian_rinaldi.html
CFDJ Editorial Board - http://coldfusion.sys-con.com/general/editboard.htm

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Detecting lack of cookies/session on same page?

2007-06-19 Thread Scott Weikert
Ben Nadel wrote:
 As far as I know, this is not possible. While the ColdFusion page is
 processing, nothing has been flushed to the client browser. It is not
 until the headers get flushed that cookies can be set. Therefore, you
 cannot check to see if cookies even stick until you start flushing to
 the browser. At least, that is what I think??? 

   
As far as I know - from previous experience and today's Googling 
(including your blog, Ben :D) - that's the case.

I was hoping maybe someone out there in CF-Talk-land had found a way 
around that, or might have some suggestions.

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: configuring Apache to use multiple JRun Application Servers

2007-06-19 Thread David Low
I'm assuming you set up CF8 with the JRun multiple server 
installation?  Memory's a bit hazy here but IIRC, Apache is set up to 
handle all requests for .cfm (and other ColdFusion) files, regardless of 
where they live.

That might well be why CF8 worked without editing web.xml or similar, 
it's just set up out of the box...

AJ Mercer wrote:
 Thanks Tom.
 
 I Think this is what Gert from Railo was saying too
 in web-inf I have to edit web.xml and add the mapping
 but I didn't have to do this for CF - I think the wsconfig must do this; or
 maybe it is the CF install itself
 
 On 6/19/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Tuesday 19 Jun 2007, AJ Mercer wrote:
 What am I missing?
 At a guess, the mapping for '/' in the application is different to your
 DocumentRoot setting in Apache ?

 --
 Tom Chiverton
 Helping to carefully seize proactive designs
 on: http://thefalken.livejournal.com

 

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

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

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged.  If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents.  If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 8008.

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



 
 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: Workshop Brian Rinaldi on Framework Code Generation

2007-06-19 Thread Brian Rinaldi
I am guessing that the time conversion was wrong on all the
announcements. A friend has informed me that 7pm GMT would be 3pm EST.
I will keep this list updated on the status. Hopefully those
interested will still attend.

--
Brian Rinaldi
blog - http://www.remotesynthesis.com/blog
ColdFusion Open Source List- http://www.remotesynthesis.com/cfopensourcelist
Boston CFUG - http://www.bostoncfug.org
Adobe Community Expert -
http://www.adobe.com/communities/experts/members/brian_rinaldi.html
CFDJ Editorial Board - http://coldfusion.sys-con.com/general/editboard.htm

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: Workshop Brian Rinaldi on Framework Code Generation

2007-06-19 Thread Tom McNeer
The time conversion was right. It's our eyes that are wrong. We all (me
included) read 2pm EST as 2pm EDT.

('Course why would you give an EST time in June?)

Looking forward to the preso at the real time.


-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


RE: Detecting lack of cookies/session on same page?

2007-06-19 Thread Dave Watts
 The trick is, as best I can tell, the only way to detect if 
 cookies aren't enabled is to do the two-page deal - first 
 page, set cookie, redirect to second page, check for presence 
 of cookie.

The only way to test the browser's acceptance of a cookie is to set it
(which requires sending your page to the browser) and see if it exists on
subsequent requests.

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: server failover/multiple instances

2007-06-19 Thread Jim Wright
Any opinions/advice on this?

On 6/18/07, Jim Wright [EMAIL PROTECTED] wrote:
 I am working towards beefing up our current environment, and wondered
 if I could get some opinions on server failover and using multiple
 instances.
 So I have:
 Production Site
 Training Site, duplication of the production site which is used by our
 training department
 Testing Site

 In addition we want to have high availability on the production
 sitewe don't need load balancing, mainly just failover.

 I'm thinking of getting two copies of Enterprise, setting one up as
 the production server, and the other as a failover/training/testing
 server, with each of those in separate instances, and putting the
 production and failover instances in a cluster.  If I put them in a
 cluster, does that mean they are going to share the load 50/50, or can
 I make one of them still take the brunt of the traffic unless there is
 a failure?  Is there a better way to do it?


~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: web page snapshots

2007-06-19 Thread Eric Haskins
Not everyone is using Gmail for the list :)  So we are kinda spoiled because
we see all responses.

Most just see the topic and reply to it not seeing our responses

Eric


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: Workshop Brian Rinaldi on Framework Code Generation

2007-06-19 Thread Brian Rinaldi
Not sure what the time was supposed to be. I am still waiting for any word...

- Brian Rinaldi

On 6/19/07, Tom McNeer [EMAIL PROTECTED] wrote:
 The time conversion was right. It's our eyes that are wrong. We all (me
 included) read 2pm EST as 2pm EDT.

 ('Course why would you give an EST time in June?)

 Looking forward to the preso at the real time.


 --
 Thanks,

 Tom

 Tom McNeer
 MediumCool
 http://www.mediumcool.com
 1735 Johnson Road NE
 Atlanta, GA 30306
 404.589.0560


~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


FW: server failover/multiple instances

2007-06-19 Thread Brad Wood
Hmm, I sent this yesterday, but I guess it never went through...

-Original Message-
From: Brad Wood 
Sent: Monday, June 18, 2007 4:35 PM
To: 'cf-talk@houseoffusion.com'
Subject: RE: server failover/multiple instances


I'm thinking of getting two copies of Enterprise, setting one up as
the production server, and the other as a failover/training/testing
server, with each of those in separate instances, and putting the
production and failover instances in a cluster.

*-*-*-*-

I would recommend keeping your testing/training environment separate
from production.  Your testing environment may require newly developed
code which has not been migrated to production.  You probably will want
a separate database as well for training and testing for similar
reasons.

=

If I put them in a
cluster, does that mean they are going to share the load 50/50, or can
I make one of them still take the brunt of the traffic unless there is
a failure?  Is there a better way to do it?

*-*-*-*-*-*-

If you are talking about instances of CF in a JRUN cluster, they will
equally share the load.  JRUN's load balancing is based on Round Robin,
with the option to weight the servers if one has beefier hardware.
If a cluster goes down, JRUN will automatically start sending the
traffic to another instance and if session replication is enabled, the
users session will follow them.  There are endless setups really
depending on what you want.

~Brad

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


RE: server failover/multiple instances

2007-06-19 Thread Russ
Using the standard enterprise connector for Apache and IIS, if you put the
servers in the cluster, they will share the load.  You might be able to
configure a different LB algorithm (maybe a 99%/1% weighted), and this
should give you what you're looking for - i.e. most requests going to the
prd server, and only 1% going to the testing server, until there is a
failure in the prd server.  

I've never set up the weighted scenario, but it should be possible.  

http://livedocs.adobe.com/jrun/4/JRun_Administrators_Guide/clustering3.htm

Russ



 -Original Message-
 From: Jim Wright [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 19, 2007 2:27 PM
 To: CF-Talk
 Subject: Re: server failover/multiple instances
 
 Any opinions/advice on this?
 
 On 6/18/07, Jim Wright [EMAIL PROTECTED] wrote:
  I am working towards beefing up our current environment, and wondered
  if I could get some opinions on server failover and using multiple
  instances.
  So I have:
  Production Site
  Training Site, duplication of the production site which is used by our
  training department
  Testing Site
 
  In addition we want to have high availability on the production
  sitewe don't need load balancing, mainly just failover.
 
  I'm thinking of getting two copies of Enterprise, setting one up as
  the production server, and the other as a failover/training/testing
  server, with each of those in separate instances, and putting the
  production and failover instances in a cluster.  If I put them in a
  cluster, does that mean they are going to share the load 50/50, or can
  I make one of them still take the brunt of the traffic unless there is
  a failure?  Is there a better way to do it?
 
 
 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: Workshop Brian Rinaldi on Framework Code Generation

2007-06-19 Thread Brian Rinaldi
Guess it is time to call it...Time of Death: 3pm Eastern Standard Time
(i.e 7pm GMT ;)

I assume Nick will update us on what happened...hope everything is ok.

- Brian Rinaldi

On 6/19/07, Brian Rinaldi [EMAIL PROTECTED] wrote:
 Not sure what the time was supposed to be. I am still waiting for any word...

 - Brian Rinaldi

 On 6/19/07, Tom McNeer [EMAIL PROTECTED] wrote:
  The time conversion was right. It's our eyes that are wrong. We all (me
  included) read 2pm EST as 2pm EDT.
 
  ('Course why would you give an EST time in June?)
 
  Looking forward to the preso at the real time.
 
 
  --
  Thanks,
 
  Tom
 
  Tom McNeer
  MediumCool
  http://www.mediumcool.com
  1735 Johnson Road NE
  Atlanta, GA 30306
  404.589.0560
 



-- 
--
Brian Rinaldi
blog - http://www.remotesynthesis.com/blog
ColdFusion Open Source List- http://www.remotesynthesis.com/cfopensourcelist
Boston CFUG - http://www.bostoncfug.org
Adobe Community Expert -
http://www.adobe.com/communities/experts/members/brian_rinaldi.html
CFDJ Editorial Board - http://coldfusion.sys-con.com/general/editboard.htm

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


OT: Transact-SQL number formatting

2007-06-19 Thread Rick Root
I'm accessing some mainframe data where phone number parts are stored
as integers.  i'm trying to return it as a single formatted number so
I did this:

CAST(H.AREACODE AS VARCHAR)+'.'+CAST(H.PHONEXCH AS
VARCHAR)+'.'+CAST(H.PHONENBR AS VARCHAR) AS PHONE_NUMBER,

which returns 123.456.7890

This is fine as long as the numbers are = 100 or =1000 (for the four
digit part).

If not, I get results like this:  123.456.789 (where the last 4 digits
are actually 0789)

Easy enough to deal with in Coldfusion using numberformat... but I
can't seem to find an equivalent Transact-SQL function, which
surprises me a bit.

Is there a SQL solution for this?

Rick

-- 
CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
http://www.cfmbb.org

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


RE: PDF creation/modification

2007-06-19 Thread Bobby Hartsfield
PDFForm definitely looks like the way to go. Thanks for making life simple
Ben! :-)

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

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 12:01 PM
To: CF-Talk
Subject: RE: PDF creation/modification

I'll have to give this one a shot

http://www.adobe.com/devnet/coldfusion/articles/pdfform.html

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


-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 11:26 AM
To: CF-Talk
Subject: RE: PDF creation/modification

Well 1 con... If I even open and save the original with no changes in
notepad... it throws an error in Acrobat 7 pro If I use CF to read the
original content and save it into a new file, all the pages are there but
blank...

*scratches head*

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


-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 11:11 AM
To: CF-Talk
Subject: RE: PDF creation/modification

Thanks for all the tips (still checking iText) but apparently it IS easier
than I thought, Let me know if you see any gaping holes in this but I found
this:

http://www.school-for-champions.com/coldfusion/cftopdf.htm
http://www.school-for-champions.com/coldfusion/cftopdf2.cfm

Doing it this way actually displays the field names and the values in the
source of the file in plain text. So let's say I made a field called
firstname and gave it a value of ***firstname***

In the source code, I see:
/T(firstname)/V(***firstname***)


Couldn't I just
#replace(content, ***firstname***, form.firstname, all)#

The downside is, of course, that this pdf is huge. The upside is that I
would only be entering the needed content and not fiddling with layout.

Can you guys think of any more pros and cons?

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



-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]
Sent: Monday, June 18, 2007 10:46 PM
To: CF-Talk
Subject: Re: PDF creation/modification

Bobby Hartsfield wrote:
 It is indeed CF7 :-)

use iText. although it powers cfdocument you probably want the latest
version, so you'll need it  mark's javaloader so as not to step on
cfdocument's toes.

http://itextdocs.lowagie.com/
http://itextdocs.lowagie.com/tutorial/
or better yet get bruno's book, http://itext.ugent.be/itext-in-action/
(there's a PDF version for 25 bucks, if you work w/iText  cf this books is
a great value).

http://javaloader.riaforge.org/









~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


RE: Transact-SQL number formatting

2007-06-19 Thread Dave Watts
 Is there a SQL solution for this?

http://www.databasejournal.com/features/mssql/article.php/111

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


Re: FW: server failover/multiple instances

2007-06-19 Thread Jim Wright
 I would recommend keeping your testing/training environment separate
 from production.  Your testing environment may require newly developed
 code which has not been migrated to production.  You probably will want
 a separate database as well for training and testing for similar
 reasons.


That is the idea, and they will all have their own databases.  I was
mainly trying to avoid setting up the extra systems for training and
testing, but the more I think about it, I'll probably just use CF
Standard on our VMWare server for those two.

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


Re: Telnet/SSH From CF?

2007-06-19 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The way that I have been doing this same thing since CF4 is to use a a
COM Object from www.introfoundation.com called TCPClient. This gives
alot of network based functions to your coldfusion pages.

Just send a message if you need code examples.

Robert Rawlins wrote:
 Hello Guys,

 I'm looking to access a remote Telnet/SSH server and run a few differet 
 commands. I know quite some time back I was reading through a scorpio wish 
 list and one of the items listed (and getting a few votes) was cftelnet as a 
 tag. Can anyone confirm is Adobe have put this in to scorpio? I did have a 
 link to the doc that listed all the new functions, but forgot to look at it 
 myself :-D

 However, cf8 aside, I need to have somthing to tide me over, does anyone know 
 if there is anything available? If nothing native to CF then i'm sure that 
 I'll be able to utilize some form of JAVA classes to do the job.

 I'm just looking for someone with a little experiance in this, anyone on the 
 lists played with this before?

 Thanks guys,

 Rob

 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


RE: FW: server failover/multiple instances

2007-06-19 Thread Brad Wood
You can still use Enterprise, and if you want-- even the same physical
servers.  You could have a couple instances which are part of your
production cluster, an instance or two which are part of your testing
cluster.  There is no limit to the number of instance and cluster
combinations you can have each with their own code bases and data
sources. That being said, I still think it is a good idea to physically
separate you production stuff from your dev and test stuff for extra
stability and security.  Also, sometimes you may want to install a
windows patch to your test server first and test it, THEN put it on
production.  

We actually use VM's for our dev and testing environments to save on
hardware purchases.  (We have 9 separate lower environments.) Our
production servers are still on separate physical boxes in a DMZ with
tighter security all around.

~Brad

-Original Message-
From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 2:57 PM
To: CF-Talk
Subject: Re: FW: server failover/multiple instances

 I would recommend keeping your testing/training environment separate
 from production.  Your testing environment may require newly developed
 code which has not been migrated to production.  You probably will
want
 a separate database as well for training and testing for similar
 reasons.


That is the idea, and they will all have their own databases.  I was
mainly trying to avoid setting up the extra systems for training and
testing, but the more I think about it, I'll probably just use CF
Standard on our VMWare server for those two.

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


RE: FW: server failover/multiple instances

2007-06-19 Thread Dave Watts
 Also, sometimes you may want to install a windows patch 
 to your test server first and test it, THEN put it on production. 

You should ALWAYS do this, unless you don't mind unplanned outages.

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Memory Leak?

2007-06-19 Thread Johnny Le
Hi,

I am using jmeter and jrocket to test my application.  When I run 100 requests, 
I end up with 100 instances of my Application.cfc.  Have anyone experienced 
that?  All the other ones get GC properly except Application.cfc.  Anyone has a 
way to fix it?

Johnny

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


RE: FW: server failover/multiple instances

2007-06-19 Thread Brad Wood
Lol   Can I have you come talk to my network guys...  

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 3:26 PM
To: CF-Talk
Subject: RE: FW: server failover/multiple instances

 Also, sometimes you may want to install a windows patch 
 to your test server first and test it, THEN put it on production. 

You should ALWAYS do this, unless you don't mind unplanned outages.

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

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: FW: server failover/multiple instances

2007-06-19 Thread Jim Wright
On 6/19/07, Brad Wood [EMAIL PROTECTED] wrote:
 Also, sometimes you may want to install a
 windows patch to your test server first and test it, THEN put it on
 production.


And of course, in this case, test should be the exact same environment
as production, meaning CF Enterprise there as well.

Also, thinking about patches...how does the clustering handle CF/JRun
patches?  If you take down one member to update it, can you bring it
back up in the cluster and then bring down the other box?  Or does it
depend on the update?  What have people seen with past updates?

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Workshop Brian Rinaldi on Framework Code Generation

2007-06-19 Thread Nick Tong
Rescheduled to Thursday 5th July: details here -
http://www.cfframeworks.com/blog/index.cfm/2007/6/19/Reschedule-Workshop-Brian-Rinaldi-on-Framework-Code-Generation

On 19/06/07, Brian Rinaldi [EMAIL PROTECTED] wrote:
 Guess it is time to call it...Time of Death: 3pm Eastern Standard Time
 (i.e 7pm GMT ;)

 I assume Nick will update us on what happened...hope everything is ok.

 - Brian Rinaldi

 On 6/19/07, Brian Rinaldi [EMAIL PROTECTED] wrote:
  Not sure what the time was supposed to be. I am still waiting for any 
  word...
 
  - Brian Rinaldi
 
  On 6/19/07, Tom McNeer [EMAIL PROTECTED] wrote:
   The time conversion was right. It's our eyes that are wrong. We all (me
   included) read 2pm EST as 2pm EDT.
  
   ('Course why would you give an EST time in June?)
  
   Looking forward to the preso at the real time.
  
  
   --
   Thanks,
  
   Tom
  
   Tom McNeer
   MediumCool
   http://www.mediumcool.com
   1735 Johnson Road NE
   Atlanta, GA 30306
   404.589.0560
  
 


 --
 --
 Brian Rinaldi
 blog - http://www.remotesynthesis.com/blog
 ColdFusion Open Source List- http://www.remotesynthesis.com/cfopensourcelist
 Boston CFUG - http://www.bostoncfug.org
 Adobe Community Expert -
 http://www.adobe.com/communities/experts/members/brian_rinaldi.html
 CFDJ Editorial Board - http://coldfusion.sys-con.com/general/editboard.htm

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: server failover/multiple instances

2007-06-19 Thread Jim Wright
 I've never set up the weighted scenario, but it should be possible.

 http://livedocs.adobe.com/jrun/4/JRun_Administrators_Guide/clustering3.htm


Thanks, Russ...that is what I was looking for.

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


CFFTP Problems

2007-06-19 Thread Courtney Prothero
I have a directory that was especially set up for ftp. I can access the 
directory with no problem with the filezilla client. Also, in another place on 
the site I am using the JScape SFTP applet and it connects to the directory 
fine as well. When I try to open a connection with CFFTP I just get the 
unhelpful:

An exception occurred when establishing a FTP connection.
The cause of this exception was that: java.net.UnknownHostException: 
filetransferftp.amcity.com.

I've tried passive and non-passive, adjusting the retry count and about 
everything else I can think of.

Any ideas?

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


Re: Detecting lack of cookies/session on same page?

2007-06-19 Thread Ariel Jakobovits
AJAX

- Original Message 
From: Scott Weikert [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, June 19, 2007 11:11:52 AM
Subject: Re: Detecting lack of cookies/session on same page?

Ben Nadel wrote:
 As far as I know, this is not possible. While the ColdFusion page is
 processing, nothing has been flushed to the client browser. It is not
 until the headers get flushed that cookies can be set. Therefore, you
 cannot check to see if cookies even stick until you start flushing to
 the browser. At least, that is what I think??? 

   
As far as I know - from previous experience and today's Googling 
(including your blog, Ben :D) - that's the case.

I was hoping maybe someone out there in CF-Talk-land had found a way 
around that, or might have some suggestions.



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Updated Broadband Stats

2007-06-19 Thread Matt Robertson
On 6/16/07, Dinner wrote:

 random rhetorical aside (disregard)
  How come so much CF uses .cfm, when there's a ton that could be
  written to plain html, sparing CF cycles?  Cache takes care of it?
 /random rhetorical aside (disregard)

Hah.  One of my pet rants.  Answer is one or the other of
1. The developer/customer is not up to the task of complicating the
admin/edit process by outputting static pages from their
administration system
2. The developer/customer doesn't understand or dismisses the benefits
of static delivery, or opines that gratuitous dynamic delivery is
what [insert app server here] is for.

One of the best things you can do for a busy CF server is ... cut CF
out of the picture.  Let IIS do the heavy lifting and keep CF as an
admin-only tool wherever possible.

/rant

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

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281564
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: Transact-SQL number formatting

2007-06-19 Thread Phillip Ciske
T-SQL has a replicate() function that can help. You can pad the last
four digits with zeros using:

REPLICATE('0', 4 - LEN(h.phonenbr)) + CAST(h.phonenbr AS varchar)

So 789 becomes 0789 and 23 becomes 0023.

Phillip

On 6/19/07, Rick Root [EMAIL PROTECTED] wrote:
 I'm accessing some mainframe data where phone number parts are stored
 as integers.  i'm trying to return it as a single formatted number so
 I did this:

 CAST(H.AREACODE AS VARCHAR)+'.'+CAST(H.PHONEXCH AS
 VARCHAR)+'.'+CAST(H.PHONENBR AS VARCHAR) AS PHONE_NUMBER,

 which returns 123.456.7890

 This is fine as long as the numbers are = 100 or =1000 (for the four
 digit part).

 If not, I get results like this:  123.456.789 (where the last 4 digits
 are actually 0789)

 Easy enough to deal with in Coldfusion using numberformat... but I
 can't seem to find an equivalent Transact-SQL function, which
 surprises me a bit.

 Is there a SQL solution for this?

 Rick

 --
 CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
 http://www.cfmbb.org

 

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


RE: Detecting lack of cookies/session on same page?

2007-06-19 Thread Dave Watts
  As far as I know, this is not possible. While the 
  ColdFusion page is processing, nothing has been 
  flushed to the client browser. 

 AJAX

That still requires a second page request.

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Returning a sequence of complex objects in web service in MX

2007-06-19 Thread Eric P
So what's the skinny on returning a sequence (array) of objects in an
MX web service so that everything is properly defined in the WDSL?
I.e., the WSDL's response element should have elements something like
complexType-sequence-element with an object type and with the object
define elsewhere in the WSDL.

Is this possible in MX?

Thanks,
Eric

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


RE: FW: server failover/multiple instances

2007-06-19 Thread Dave Watts
 Lol   Can I have you come talk to my network guys...

If the use of a baseball bat is required, that will be an additional charge.

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


RE: CFFTP Problems

2007-06-19 Thread Dave Watts
 I have a directory that was especially set up for ftp. I can 
 access the directory with no problem with the filezilla 
 client. Also, in another place on the site I am using the 
 JScape SFTP applet and it connects to the directory fine as 
 well. When I try to open a connection with CFFTP I just get 
 the unhelpful:
 
 An exception occurred when establishing a FTP connection.
 The cause of this exception was that: 
 java.net.UnknownHostException: filetransferftp.amcity.com.
 
 I've tried passive and non-passive, adjusting the retry count 
 and about everything else I can think of.

Based on the error message, I would guess that your CF server can't resolve
the FTP server's name. You can test this by opening a command shell on the
server's console, if you can do that, and pinging
filetransferftp.amcity.com.

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Detecting lack of cookies/session on same page?

2007-06-19 Thread Ian Skinner
A viable technique, but in the specific details, technically ColdFusion 
runs before AJAX would.

Ian

Ariel Jakobovits wrote:
 AJAX

   

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


RE: Returning a sequence of complex objects in web service in MX

2007-06-19 Thread Dave Watts
 So what's the skinny on returning a sequence (array) of 
 objects in an MX web service so that everything is properly 
 defined in the WDSL?
 I.e., the WSDL's response element should have elements something like
 complexType-sequence-element with an object type and with the object
 define elsewhere in the WSDL.

Assuming these are data objects with defined public properties, everything
should just work, I think. If they're objects with methods instead of public
properties, I've seen that work in some cases, but would not want to go so
far as to say it should just work.

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


RE: server failover/multiple instances

2007-06-19 Thread Brad Wood
I'm thinking of getting two copies of Enterprise, setting one up as
the production server, and the other as a failover/training/testing
server, with each of those in separate instances, and putting the
production and failover instances in a cluster.

*-*-*-*-

I would recommend keeping your testing/training environment separate
from production.  Your testing environment may require newly developed
code which has not been migrated to production.  You probably will want
a separate database as well for training and testing for similar
reasons.

=

If I put them in a
cluster, does that mean they are going to share the load 50/50, or can
I make one of them still take the brunt of the traffic unless there is
a failure?  Is there a better way to do it?

*-*-*-*-*-*-

If you are talking about instances of CF in a JRUN cluster, they will
equally share the load.  JRUN's load balancing is based on Round Robin,
with the option to weight the servers if one has beefier hardware.
If a cluster goes down, JRUN will automatically start sending the
traffic to another instance and if session replication is enabled, the
users session will follow them.  There are endless setups really
depending on what you want.

~Brad

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: Returning a sequence of complex objects in web service in MX

2007-06-19 Thread Nathan Wells
Assuming these are data objects with defined public properties, everything
should just work, I think. If they're objects with methods instead of public
properties, I've seen that work in some cases, but would not want to go so
far as to say it should just work.

How would the function definition in the CF look like though?  

Let's say we have a component defined in zip.cfc to represent a zip code that 
looks like this:
cfcomponent
  cfproperty name=City type=string
  cfproperty name=State type=string
  cfproperty name=Zip type=string
  cfproperty name=Latitude type=numeric
  cfproperty name=Longitude type=numeric
/cfcomponent

Then we have a different component called zipInfo.cfc that lies in the same 
package as zip.cfc.  The zipInfo component has a method that returns a zip 
object that looks like this:

cffunction name=getZipInfo access=remote returntype=zip
  cfargument name=zip type=string required=true

/cffunction

Now let's say we want to add a function to the zipInfo component that would 
return an array of zip objects.  I think the real question that Eric P is 
asking is, How would a function that returns an array of objects be defined?

This doesn't work:
cffunction name=zipCodesInCity access=remote returntype=zip[]
  cfargument name=City type=string required=true
  cfargument name=State type=string required=true
  ...
/cffunction

You could have the return type be defined as an array or even a query, but in 
both cases the fact that the returned data is a list of zip objects gets lost.  
Any web service client to this CFC would have no way of knowing the what the 
data structure being passed back actually was.  

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: Detecting lack of cookies/session on same page?

2007-06-19 Thread Ariel Jakobovits
Not in the classic sense of same page or page request in that the page can 
load, present the user something to look at, and content within a div can be 
loaded afterwards open request.

- Original Message 
From: Dave Watts [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, June 19, 2007 2:08:49 PM
Subject: RE: Detecting lack of cookies/session on same page?

  As far as I know, this is not possible. While the 
  ColdFusion page is processing, nothing has been 
  flushed to the client browser. 

 AJAX

That still requires a second page request.

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

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

This email has been processed by SmoothZap - www.smoothwall.net




~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


RE: Detecting lack of cookies/session on same page?

2007-06-19 Thread Dave Watts
 Not in the classic sense of same page or page request in 
 that the page can load, present the user something to look 
 at, and content within a div can be loaded afterwards open request.

No, but in the literal sense of page request, it's a second page request.

And in the original poster's case, I think that's all that matters. You
could just as easily solve the problem without AJAX, if you are amenable to
not finding out whether the cookie's been set until the user gets to the
next page.

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: flash forms problem

2007-06-19 Thread James Holmes
It's a lot easier than that.

cfinput name=btnCancel type=button value=View Full Roster
onClick=getURL('view_roster.cfm');

On 6/20/07, Dave Watts [EMAIL PROTECTED] wrote:
  I guess I have to use actionscript in there instead of javascript...
 
  Anyone know how to do that in AS2? :)

 I think you'll need to use JavaScript to change the browser's location. This
 might be helpful:
 http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683sliceId=2

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

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

 This email has been processed by SmoothZap - www.smoothwall.net


 

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Maintaing Static and Dynamic Files (was Re: Updated Broadband Stats)

2007-06-19 Thread Rey Bango
Good feedback Mark. Having been one that's built all CFM-based sites 
(yes every page uses CF), I've often wondered about how others approach 
the header/footer situation where these files not only need to be 
included to provide, say, a consistent navigation but also contain 
dynamic info. An example might be a nav bar that changes based on the 
user that's logged in.

The benefits of having IIS serve up pages is without question but 
there's also the maintenance overhead of having to manage headers, 
footers and layout files across dynamic and static pages. Sure, you can 
use SSIs in HTML but now you've double the maintenance work of ensuring 
layouts are consistent between dynamic and static pages.

It'd be really interesting to hear how everyone handles this.

Rey...

 One of the best things you can do for a busy CF server is ... cut CF
 out of the picture.  Let IIS do the heavy lifting and keep CF as an
 admin-only tool wherever possible.
 
 /rant
 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


RE: flash forms problem

2007-06-19 Thread Dave Watts
 It's a lot easier than that.

That is certainly easier!

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

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

This email has been processed by SmoothZap - www.smoothwall.net


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Memory Leak?

2007-06-19 Thread Dov B . Katz
Johnny,

I have an ongoing support issue (Incident# 1726787200) with Adobe on a similar  
type of Memory leak. Namely, the problem is that my cached CFC's are holding 
onto some objects they probably shouldn't be, and the fact that I'm caching 
them is causing memory to not be recovered during GC's. I used JRockit memleak 
to generate the below maps of my cached objects, and I See stray / circular 
references to NeoPageContext...

Adobe has a fix in the works for the memory leak, but from what I've tested, no 
fixes provided to-date have resolved this issue for me...

http://staging.onlysimchas.com/profiler4.jpg
http://staging.onlysimchas.com/profiler5.jpg
http://staging.onlysimchas.com/profiler6.jpg
http://staging.onlysimchas.com/profiler7.jpg
http://staging.onlysimchas.com/profiler8.jpg

I'll keep you posted (Though I'm sure adobe will as well)

Here's the other CF-TALK thread on it:
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:52111


-Dov


 Hi,
 
 I am using jmeter and jrocket to test my application.  When I run 100 
 requests, I end up with 100 instances of my Application.cfc.  Have 
 anyone experienced that?  All the other ones get GC properly except 
 Application.cfc.  Anyone has a way to fix it?
 
Johnny

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


RE: Maintaing Static and Dynamic Files (was Re: Updated Broadband Stats)

2007-06-19 Thread Dawson, Michael
I don't switch back between dynamic and static pages on our sites.  Our
main site is .asp, our intranet is .cfm.  Having built our intranet
site, I created a custom tag that generates the header and footer for
each page.

That same custom tag also creates the main navigation links based on the
user's domain group membership.

I have not seen enough of a hit to warrant using static pages anywhere
on our site.

The web developer, that works for me, was brought up in a world where
processor use should be limited.  Therefore, he would create PHP scripts
that would generate hundreds of static pages every so often.

It was difficult to convince him that a server running at around 5%
processor usage, the majority of the time, had plenty of horsepower to
run all of our dynamic pages.

M!ke 

-Original Message-
From: Rey Bango [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 19, 2007 8:40 PM
To: CF-Talk
Subject: Maintaing Static and Dynamic Files (was Re: Updated Broadband
Stats)

Good feedback Mark. Having been one that's built all CFM-based sites
(yes every page uses CF), I've often wondered about how others approach
the header/footer situation where these files not only need to be
included to provide, say, a consistent navigation but also contain
dynamic info. An example might be a nav bar that changes based on the
user that's logged in.

The benefits of having IIS serve up pages is without question but
there's also the maintenance overhead of having to manage headers,
footers and layout files across dynamic and static pages. Sure, you can
use SSIs in HTML but now you've double the maintenance work of ensuring
layouts are consistent between dynamic and static pages.

It'd be really interesting to hear how everyone handles this.

Rey...


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Detecting lack of cookies/session on same page?

2007-06-19 Thread AJ Mercer
How is this for an idea - wanted to bounce it off the list before I wasted
my time with some wacked out crazy idea

In Application.cfm test for the cookie
if it doesn't exisit, slip in some javascript that will open a (small)
window that loads page one - set cookie
page one also has some javascript that calls page two - check cookie
if no cookie - display message; otherwise more javascript to close the
window


thoughts?



On 6/20/07, Dave Watts [EMAIL PROTECTED] wrote:

  Not in the classic sense of same page or page request in
  that the page can load, present the user something to look
  at, and content within a div can be loaded afterwards open request.

 No, but in the literal sense of page request, it's a second page
 request.

 And in the original poster's case, I think that's all that matters. You
 could just as easily solve the problem without AJAX, if you are amenable
 to
 not finding out whether the cookie's been set until the user gets to the
 next page.

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

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

 This email has been processed by SmoothZap - www.smoothwall.net


 

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


CFDocument: 3x2 document but only uses 3/4 of it

2007-06-19 Thread RobG
That was difficult making a semi-legible subject line!

Okay, so I'm using CFDocument to create a PDF document that will 
basically be a series of labels being sent to a label printer.  Due to 
CFDocument's limitation of 2x2 (inches), we're using labels measuring 
3x2 inches.

The problem I'm running into is the label I'm creating with HTML, no 
matter what I do, never takes up more than about 2.5 of the width and 
1.65 (approx) of the height.

I've tried specifying the table width in percent (100%) and also pixels. 
  I've found that it works up to about 600 pixels, but after that, it 
simply goes no farther.

Vertically, if I go too far, it pushes the bottom off to the next page, 
yet still leaves a big blank space at the bottom.

This is my CFDocument code:

cfdocument format=PDF margintop=0 marginleft=0 unit=in 
pagetype=custom pageheight=2 pagewidth=3 fontembed=yes 
name=label filename=label_test3.pdf overwrite=yes 
orientation=portrait
#the_table#
/cfdocument

The variable #the_table# is created using cfsavecontent.

Has anybody had this problem before?

Thanks!

Rob


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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