RE: Fusebox - is there a trick to following the flow?

2007-07-26 Thread Eric Roberts
You might want to start by flow charting the site (physically speaking).
This will give you a map of what the page flow is.

Eric

-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 7:29 AM
To: CF-Talk
Subject: Fusebox - is there a trick to following the flow?

I have inherited a fusebox4.0 app to maintain that has dozens of
circuits that are reused all over the place.  I know that's how
fusebox is supposed to work, and it makes sense to reuse the fuses,
but wow it takes AGES to follow the flow of the program.   And i end
up with dozens of files open, all called circuit.xml.cfm so its easy
to make a mistake following it all along.

For example I have to figure out how something works, so i can
maintain it, or build something else similar.  In order to find out
how the task works, i follow one xml file through, seeing dozens of
fuses, all of which i have to go to, open the circuits.xml.cfm
relating to it, follow that one along, then open more.  By the time
i've got to the final, actual coldfusoin type tags relating to the
functionality, i've almost forgotten what it was i started out to do.

Is there a shortcut to working out how everything's bolted together?
If i keep taking hours to work out the simplest things i'm not going
to last long on this assignment.

-- 
Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Re: Cold Fusion and VMWare?

2007-07-26 Thread John Paul Ashenfelter
On 7/25/07, Dave Watts [EMAIL PROTECTED] wrote:
  We are testing to see if it is possible to run a Virtualized
  (VMWare) Version of a Cold Fusion application, which will be
  accessed by IP address.
  We have VMWare running on a test server and installed a
  virtualized version of the application and everything works.
  Sporadically, we get a Connection Reset by Peers error,
  that I have been unable to track down and resolve.
 
  We have looked at both the CF server and IIS logs and can't
  find any errors.
  It seems like we are getting a network error, but I am not
  looking in the right place to find the error.
 
  Has anyone ever used Cold Fusion with VMWare? Any ideas why
  we would sporadically get a connection error?

 Many people are running CF on VMware, even in production environments.
+1

I'm running VMWare Server for several clients in production (and in
dev/test), VMWare GSX2 in some existing installations, and VMWare
Fusion here on my mac :) CF doesn't care and doesn't know.

 This doesn't look like an error specific to VMware, but virtual servers can
 have the same sort of problems as physical servers. Connection reset by
 peer typically indicates that the client is no longer listening for a
 response, which may happen if the response takes too long to get to the
 client.
 +1 I see this sporadically in some Apache logs w/ CF.

 Are you using bridged networking, or NAT for your VMware server? I would
 expect there to be some performance overhead with NAT, although I haven't
 done any real testing to see if that's the case.

+1 I'd also check if you're using bridged networking that you're using
a static IP and not DHCP with a short lease

It's not your VMWare directly at least.

-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


Re: JS errors/ IE7

2007-07-26 Thread Dave l
what do they expect for $7.33 a day!! 


And I'm wonderin if that missing Doctype could cause the JS error...

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284619
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 help with search strings

2007-07-26 Thread Ben Doom
You could do this with a regex but it would be easier and more efficient 
to do it with listfind() using a space as the delimiter.

--Ben Doom

Mark Henderson wrote:
 Hi
  
 I have a search box that currently contains only one field. I normally
 have one input for first name, one for lat name and so on, which makes
 the task of searching somewhat easier. However, in this scenario that is
 not the case. So, what I want to do is split the search term entered
 into distinct variables.
  
 An example - let's say someone enters joe blogs in the search field
 (without quotes). I then want to be able to parse it so that I have one
 variable for joe and another for blogs, which I can then search on
 since the database is organised into first_name, last_name, maiden_name,
 email, etc. The criteria for this will be the space between the names.
 This looks like a case for regular expressions. I know how to use REFind
 to check for the space, but that's all so far (I've spent some time on
 this, and even read the docs!). Can someone help me here please? 
  
 TIA
 
 Regards
 
 Mark Henderson
 Web Designer
 mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  
 
 205 Main Street
 PO Box 143, Gore
 Southland 9700
 Phone: (03) 203 
 Fax: (03) 203 9900
 
 
 
   http://www.cwc.co.nz  
   http://www.ispnz.co.nz 
   http://www.nzfarming.co.nz 
 
 http://www.cwc.co.nz http://www.cwc.co.nz 
 http://www.ispnz.co.nz http://www.ispnz.co.nz 
 http://www.nzfarming.co.nz http://www.nzfarming.co.nz  
 
 
 
 Notice of Confidential Information: The information contained in this
 electronic mail is CONFIDENTIAL INFORMATION and may be LEGALLY
 PRIVILEGED, intended only for the individual or entity named above. If
 you are not the intended recipient, you are hereby notified that the
 use, dissemination, distribution, or copying of this document is
 strictly prohibited. If you have received this electronic message in
 error, please immediately notify us by return or telephone (0064 3 203
 ) and destroy the original message. Thank you. 
 
 


~|
ColdFusion 8 beta - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: CF8 and pdfs

2007-07-26 Thread Jason Fill
Any chance there could be some ability to include flash into the pdf?  My 
example is we have a report that has some flash chartswell it would be nice 
to allow that to be printed to PDF and emailed, but the flash will of course 
not print the charts.  

I think this is kind of a long shot but figured I would throw it out just in 
case anyone knows about any type of workaround. 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


Missing posts

2007-07-26 Thread Phillip Vector
Is it just me or is no one else getting emails anymore?

Hopefully, someone will see this in the site archives.

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: Missing posts

2007-07-26 Thread Phillip Vector
I did email you and I don't have your number. :)

I didn't get this reply in my email though. I saw it on the archives.

 Should be fixed now. If there are ever any list problems please feel 
 free to email me off list or even call me.
 Thanks
 Is it just me or is no one else getting emails anymore?
 
 Hopefully, someone will see this in the site archives.

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


Railo and CF8 speed contest

2007-07-26 Thread Andrew Grosset
Interesting, I've always thought that CF connections to a database should be 
improved:

http://david.low.me.uk/2007/06/25/another-cfml-speed-contest/

Andrew.

~|
ColdFusion 8 beta - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Convert PDF to FlashPaper using CF

2007-07-26 Thread James Wolfe
I know that CF (especially CF8) can interact with PDF docs. I know that CF 
(even MX7) can produce flashpaper documents. If a user uploads one, can CF 
convert to the other (PDF-FP or vice versa)? 

I saw the ANT script that runs at the command prompt that will do this en 
masse, but that seems like it would only help me if I have CFExecute available 
to me (which I do not) or I could set up scheduled windows tasks (which I 
cannot). Is it possible to use the native CF tie-in (however it currently works 
to produce FlashPaper) to convert a PDF into FlashPaper?

Thanks in advance.

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Re: Railo and CF8 speed contest

2007-07-26 Thread Brian Kotek
Actually, in my experience using stored procedures provides negligible speed
improvements over cfquery. This is due to the fact that modern databases
cache execution plans and support prepared statements. There are reasons one
might want to use stored procedures, but speed increases over cfquery isn't
one of them.

On 7/26/07, Robert Harrison [EMAIL PROTECTED] wrote:

  Interesting, I've always thought that CF connections to a database
 should
 be improved:

 That cool, but any speed issues with CFQUERY are easily overcome by using
 stored procedures. Been trying to move the them as much as possible.


 Robert B. Harrison
 Director of Interactive services
 Austin  Williams
 125 Kennedy Drive, Suite 100 Hauppauge NY 11788
 T : 631.231.6600 Ext. 119
 F : 631.434.7022
 www.austin-williams.com

 Great advertising can't be either/or... It must be .

 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: 7/26/2007
 9:56 AM



 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


RE: Railo and CF8 speed contest

2007-07-26 Thread Robert Harrison
 Interesting, I've always thought that CF connections to a database should
be improved:

That cool, but any speed issues with CFQUERY are easily overcome by using
stored procedures. Been trying to move the them as much as possible.

 
Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.20/919 - Release Date: 7/26/2007
9:56 AM
 


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


Unit Testing an XML Parsing Function

2007-07-26 Thread Jeff Chastain
I have a component whose init method takes the path to an xml file and
parses the contents of that xml file into an internal data structure.  Now I
am trying to write the unit test for this function and I am getting stuck.
My original attempt was to pass in a test xml file and the manually create
the matching data structure and compare the two.  The problem is, during the
parsing of this xml file, the component creates and inserts several UUID
values into the internal data structure.  Obviously, I cannot magically
generate the same UUID value when I manually create the matching data
structure to compare against.

 

So, does anybody have any suggestions on testing this type of functionality?

 

Thanks.




~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


Re: Missing posts

2007-07-26 Thread Michael Dinowitz
Should be fixed now. If there are ever any list problems please feel free to 
email me off list or even call me.
Thanks
Is it just me or is no one else getting emails anymore?

Hopefully, someone will see this in the site archives.

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284639
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 8 and CFDOCUMENT

2007-07-26 Thread Rupesh Kumar
Bryan,
Can you post your code so that I can see what you are trying to do and what is 
broken.

Rupesh.

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Re: Connection Flex to CF Error

2007-07-26 Thread Tom Chiverton
On Wednesday 25 Jul 2007, [EMAIL PROTECTED] wrote:
 Everything about my installations are defaults. I'm using the built in cf
 server as well.

Get wireshark/webscarab/servicecapture and check where the AMF packets are 
going.

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 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.


~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Regex help with search strings

2007-07-26 Thread Mark Henderson
Hi
 
I have a search box that currently contains only one field. I normally
have one input for first name, one for lat name and so on, which makes
the task of searching somewhat easier. However, in this scenario that is
not the case. So, what I want to do is split the search term entered
into distinct variables.
 
An example - let's say someone enters joe blogs in the search field
(without quotes). I then want to be able to parse it so that I have one
variable for joe and another for blogs, which I can then search on
since the database is organised into first_name, last_name, maiden_name,
email, etc. The criteria for this will be the space between the names.
This looks like a case for regular expressions. I know how to use REFind
to check for the space, but that's all so far (I've spent some time on
this, and even read the docs!). Can someone help me here please? 
 
TIA

Regards

Mark Henderson
Web Designer
mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  

205 Main Street
PO Box 143, Gore
Southland 9700
Phone: (03) 203 
Fax: (03) 203 9900



  http://www.cwc.co.nz  
  http://www.ispnz.co.nz 
  http://www.nzfarming.co.nz 

http://www.cwc.co.nz http://www.cwc.co.nz 
http://www.ispnz.co.nz http://www.ispnz.co.nz 
http://www.nzfarming.co.nz http://www.nzfarming.co.nz  



Notice of Confidential Information: The information contained in this
electronic mail is CONFIDENTIAL INFORMATION and may be LEGALLY
PRIVILEGED, intended only for the individual or entity named above. If
you are not the intended recipient, you are hereby notified that the
use, dissemination, distribution, or copying of this document is
strictly prohibited. If you have received this electronic message in
error, please immediately notify us by return or telephone (0064 3 203
) and destroy the original message. Thank you. 


-- 
This message has been scanned for viruses and dangerous
content by ISPNZ's automated virus detection system,
and is believed to be clean.



~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


RE: CF8 and iText

2007-07-26 Thread Brad Wood
I would assume not, but I don't know for sure.
When Forta was at my local user group he mentioned that the CF team was
able to borrow code from the PDF department now that CF is part of
Adobe and that is what made most of the cfpdf tag possible.  Now that
they have direct access to the pdf code, I would hope they would use it
and not a third-party vendor.

~Brad

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 26, 2007 7:50 AM
To: CF-Talk
Subject: CF8 and iText

Anyone know if iText is still being used in CF8 for PDF manipulation?



~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


HOF digests not working?

2007-07-26 Thread Cedric Villat
I haven't gotten any of the CF-Talk digests for the past 2 days or so. Michael, 
any changes you made to HOF that would affect the digests going out? Anyone 
else seeing this issue, or are others still receiving the digests?

Cedric

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: CF8 and iText

2007-07-26 Thread Paul Hastings
Chad Gray wrote:
 Anyone know if iText is still being used in CF8 for PDF manipulation?

not sure about the manipulation bit but it's still there.

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


RE: CF8 and pdfs

2007-07-26 Thread Peterson, Chris
I know that CF is 'typeless', but how can I view what data types are in
a query result?  I have 2 queries from different systems (one from DB2,
one from SQL) that I am trying to union together using QoQ.  I get an
error about field 2, one being Decimal and the other Char.  Is there any
way to get meta-information that would show the CF-calculated data type
in a query result?



Chris Peterson
Gainey IT
Adobe Certified Advanced Coldfusion Developer

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Assessments and Tracking woes

2007-07-26 Thread Richard Dillman
 Here is my dilemma…

 Each User could have multiple Records with different dates for each
assessment with multiple types of assessments.

What I need to do is calculate the average Score of the earliest date of
each assessment across users for a specific Org, and then the 2nd earliest
then 3rd...

It's to generate a bar chart showing the Org's overall success rate over
time

Lets call those Instances.  Now i could easily add an Instance marker when
they input the record, check for the existence of an existing Assessment and
increment.

Bt, I'm told also that ill need to make a tool to allow them to fix
mustaches.  IE: user 1 is really user 2...merge their data...

Ooo that instance idea just became a thorn in my side.

How might any of you go about this?

I'm Using SQL 2005 ColdFusion MX and my own server.



Here is my data



--Create table Statement

--***

CREATE TABLE #A(
[id] [int] IDENTITY(1,1) NOT NULL,
[user] [varchar](50) NOT NULL,
[org] [varchar](26) NOT NULL,
[date_time] [datetime] NOT NULL,
[assessment] [int] NOT NULL,
[Score] [numeric](5, 2) NULL

);

--Populate table Statements

--***

INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('1','Test Group 1','5/16/05 9:30 AM',1,74.36);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('2','Test Group 1','4/11/07 3:12 PM',1,46.15);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('3','Test Group 1','12/5/06 2:01 PM',1,82.05);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('1','Test Group 1','6/13/07 10:35 AM',1,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('2','Test Group 1','9/21/06 2:02 PM',1,74.36);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('3','Test Group 1','3/22/07 2:12 PM',1,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('1','Test Group 1','8/29/06 9:17 AM',1,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('2','Test Group 1','1/11/07 3:12 PM',1,56.41);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('3','Test Group 1','5/27/05 10:58 AM',1,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('1','Test Group 1','5/16/05 9:30 AM',2,74.36);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('2','Test Group 1','4/11/07 3:12 PM',2,46.15);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('3','Test Group 1','12/5/06 2:01 PM',2,82.05);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('1','Test Group 1','6/13/07 10:35 AM',2,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('2','Test Group 1','9/21/06 2:02 PM',2,74.36);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('3','Test Group 1','3/22/07 2:12 PM',2,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('1','Test Group 1','8/29/06 9:17 AM',2,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('2','Test Group 1','1/11/07 3:12 PM',2,56.41);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('3','Test Group 1','5/27/05 10:58 AM',2,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('1','Test Group 2','5/16/05 9:30 AM',1,74.36);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('2','Test Group 2','4/11/07 3:12 PM',1,46.15);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('3','Test Group 2','12/5/06 2:01 PM',1,82.05);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('1','Test Group 2','6/13/07 10:35 AM',1,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('2','Test Group 2','9/21/06 2:02 PM',1,74.36);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('3','Test Group 2','3/22/07 2:12 PM',1,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('1','Test Group 2','8/29/06 9:17 AM',1,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('2','Test Group 2','1/11/07 3:12 PM',1,56.41);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('3','Test Group 2','5/27/05 10:58 AM',1,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('1','Test Group 2','5/16/05 9:30 AM',2,74.36);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('2','Test Group 2','4/11/07 3:12 PM',2,46.15);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('3','Test Group 2','12/5/06 2:01 PM',2,82.05);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES
('1','Test Group 2','6/13/07 10:35 AM',2,84.62);
INSERT INTO #A ([user],[org],[date_time],[assessment],[Score]) VALUES

RE: Missing posts

2007-07-26 Thread Eric Roberts
Some of my posts that I posted yesterday and the day before are just getting
posted today...

Eric

-Original Message-
From: Phillip Vector [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 9:19 PM
To: CF-Talk
Subject: Missing posts

Is it just me or is no one else getting emails anymore?

Hopefully, someone will see this in the site archives.



~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Missing posts

2007-07-26 Thread Phillip Vector
I did email you and I don't have your number. :)

I didn't get this reply in my email though. I saw it on the archives. Did you 
not get the email I sent from phillipmvector (at) comcastic.network?

 Should be fixed now. If there are ever any list problems please feel 
 free to email me off list or even call me.
 Thanks
 Is it just me or is no one else getting emails anymore?
 
 Hopefully, someone will see this in the site archives.

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

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


Chicken or Egg? Config File to Set Application Variables

2007-07-26 Thread Dawson, Michael
I have structured my web site (CF8) so that my config settings are
outside of the web root such as this:
 
C:\Components
C:\Config
C:\CustomTags
C:\WebSite
 
I'm building the site at: http://acelinktest.evansville.edu/ and will
publish it to http://acelink.evansville.edu/.
 
With the exception of the C:\Config folder, all other folders will be
published to the production site.  The contents of the C:\Config folder
will contain site-specific information such as the site name
AceLinkTest vs AceLink and different values for session and
application timeouts.  (The test site will have shorter timeouts.)
 
Now, I'm building the Application.cfc and can't figure out the best way
to set the Application variables such as:
 
this.name = #appName#;
this.sessionTimeout = #sessionTimeout#;
this.mappings[CustomTags] = #customTagsServerPath#;
 
I want to use either an Include or Component (not wanting to argue which
is better), but I can't include a config.cfm file if it's outside the
web root since the mapping is not yet created.  I can't create the
mapping because I can't read the config.cfm file that is outside the web
root.
 
I want to keep the web site as dynamic as possible, regarding server
paths and URLs, and also keep a separate directory for my site
configuration.  However, where do I get that first bit of information
that ties it all together?
 
Thanks


~|
ColdFusion 8 beta - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Blog CFC, PHP Equivalent

2007-07-26 Thread Peter Donahue
Hello again everyone,

Sorry if this is slightly OT, but after exhausting all other lists to
which such a post would go I figured I would send this inquiry here as folks
on the other lists I'm on have never heard of Blog CFC let alone know if
there is a similar blog module written in PHP. I have several sights on a
server that does not support ColdFusion of any flavor, but that does support
PHP 4 and 5. I'd like to know if there is a similar product to Blog CFC I
could run on these Web Sites, and from where can I get it?

As for my Blog CFC install we're getting there one file upload at a
time. The moment of truth will come in the next day or two depending on how
much else is on my plate. Talk to you later.

Peter Donahue


- Original Message - 
From: Mark A Kruger [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, July 25, 2007 5:39 PM
Subject: RE: Cold Fusion and VMWare?


If I wanted to use VM Ware to run... Let's say 3 separate Coldfusion servers
and have sufficient resources for all of them. What would be acceptable
hardware for that? Any input?

-mark


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 25, 2007 5:15 PM
To: CF-Talk
Subject: RE: Cold Fusion and VMWare?

 We are testing to see if it is possible to run a Virtualized
 (VMWare) Version of a Cold Fusion application, which will be accessed
 by IP address.
 We have VMWare running on a test server and installed a virtualized
 version of the application and everything works.
 Sporadically, we get a Connection Reset by Peers error, that I have
 been unable to track down and resolve.

 We have looked at both the CF server and IIS logs and can't find any
 errors.
 It seems like we are getting a network error, but I am not looking in
 the right place to find the error.

 Has anyone ever used Cold Fusion with VMWare? Any ideas why we would
 sporadically get a connection error?

Many people are running CF on VMware, even in production environments.

This doesn't look like an error specific to VMware, but virtual servers can
have the same sort of problems as physical servers. Connection reset by
peer typically indicates that the client is no longer listening for a
response, which may happen if the response takes too long to get to the
client.

Are you using bridged networking, or NAT for your VMware server? I would
expect there to be some performance overhead with NAT, although I haven't
done any real testing to see if that's the case.

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






~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


RE: Chicken or Egg? Config File to Set Application Variables

2007-07-26 Thread Dave Watts
 I have structured my web site (CF8) so that my config 
 settings are outside of the web root such as this:
  
 C:\Components
 C:\Config
 C:\CustomTags
 C:\WebSite
  
 I'm building the site at: http://acelinktest.evansville.edu/ 
 and will publish it to http://acelink.evansville.edu/.
  
 With the exception of the C:\Config folder, all other folders 
 will be published to the production site.  The contents of 
 the C:\Config folder will contain site-specific information 
 such as the site name AceLinkTest vs AceLink and 
 different values for session and application timeouts.  (The 
 test site will have shorter timeouts.)
  
 Now, I'm building the Application.cfc and can't figure out 
 the best way to set the Application variables such as:
  
 this.name = #appName#;
 this.sessionTimeout = #sessionTimeout#;
 this.mappings[CustomTags] = #customTagsServerPath#;
  
 I want to use either an Include or Component (not wanting to 
 argue which is better), but I can't include a config.cfm file 
 if it's outside the web root since the mapping is not yet 
 created.  I can't create the mapping because I can't read the 
 config.cfm file that is outside the web root.
  
 I want to keep the web site as dynamic as possible, regarding 
 server paths and URLs, and also keep a separate directory for 
 my site configuration.  However, where do I get that first 
 bit of information that ties it all together?

Use a relative reference to get to the parent directory or to siblings, etc.
Obviously, something will have to be hard-coded - the relative location of
the config file, or perhaps the name of the config file if you wanted to
mimic the behavior of CF when it's looking for Application.cfc/cfm.

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


~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Re: Missing posts

2007-07-26 Thread Josh Nathanson
There is something up with the mail server.  I had about an 18-hour gap, 
then got a bunch, now another 2 or 3 hour gap.

-- Josh

- Original Message - 
From: Phillip Vector [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, July 25, 2007 7:18 PM
Subject: Missing posts


 Is it just me or is no one else getting emails anymore?

 Hopefully, someone will see this in the site archives.

 

~|
ColdFusion 8 beta - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


RE: Convert PDF to FlashPaper using CF

2007-07-26 Thread Dave Watts
 I know that CF (especially CF8) can interact with PDF docs. I 
 know that CF (even MX7) can produce flashpaper documents. If 
 a user uploads one, can CF convert to the other (PDF-FP or 
 vice versa)? 
 
 I saw the ANT script that runs at the command prompt that 
 will do this en masse, but that seems like it would only help 
 me if I have CFExecute available to me (which I do not) or I 
 could set up scheduled windows tasks (which I cannot). Is it 
 possible to use the native CF tie-in (however it currently 
 works to produce FlashPaper) to convert a PDF into FlashPaper?

No.

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 is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

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


RE: CF8 and pdfs

2007-07-26 Thread Loathe
Produce the graphs in one of the available image formats.

-Original Message-
From: Jason Fill [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 26, 2007 8:42 AM
To: CF-Talk
Subject: Re: CF8 and pdfs

Any chance there could be some ability to include flash into the pdf?  My
example is we have a report that has some flash chartswell it would be
nice to allow that to be printed to PDF and emailed, but the flash will of
course not print the charts.  

I think this is kind of a long shot but figured I would throw it out just in
case anyone knows about any type of workaround. 



~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284680
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 help with search strings

2007-07-26 Thread Jide Aliu
From what you're saying, you probably might not need Regex. How about 
GetToken? 

cfset SearchField = Joe Bloggs

cfset var1 = GetToken(trim(SearchField), 1,  )
cfset var2 = GetToken(trim(SearchField), 2,  )

Am I barking up the wrong tree?


~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: DB permissions error from CFC but not from CFM?

2007-07-26 Thread Brian Swartzfager
Hi,

How is the CFC getting the datasource name, username, and password to use for 
the query?  Are you passing them in as parameters to the function in some 
fashion, or is the cfquery getting the values from the session or application 
scope?

If the answer is the latter, try sending them in as parameters.  It's a better 
practice, anyway.


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


Re: Remotely Accessing CFC

2007-07-26 Thread Brian Kotek
You would need to move it to a web accessible folder, or to create a virtual
directory on the web server that points to your custom tag folder.

On 7/26/07, Ian Skinner [EMAIL PROTECTED] wrote:

 I have a cfc currently in the CustomTag folder so that is available to
 any Colfsuion application on the server with the following path:
 createObject(component,Security.ITB_User).  This has worked nicely
 to date.

 How would I access this CFC remotely for use with a new Flex
 application?  To use my CFC's in this application I have had to very
 accurately map the CFC from the webroot.  With this security cfc being
 in the Custom tag folder it is not in the webroot.  Is it possible to
 somehow map to this cfc directly?  If not, I presume I would need some
 kind of facade cfc?  What exactly are the characteristics of a facade?

 TIA
 Ian Skinner


 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Gregorian date returned from consumed .NET web service

2007-07-26 Thread james carberry
I am consuming a .NET based web service from CF7 using:

cfinvoke webservice=http://sme.atsol.org/contacts.asmx?wsdl; 
method=getContact returnvariable=aResults
cfinvokeargument name=contactID value=4145431/
/cfinvoke

I am able to access the returned array, but the dates are apparently java 
objects and are in Gregorian calendar format. Is there an easy way to pull 
these into regular dates in standard CF variables?

Thx!

-j

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: Railo and CF8 speed contest

2007-07-26 Thread Mary Jo Sminkey
Interesting, I've always thought that CF connections to a database should be 
improved:

I've been doing some testing with the Railo 2 beta as well to see how well 
CFWebstore ran on it, and was likewise thrilled with how fast it is. Blazing 
fast! I'm going to continue testing to make sure it doesn't have any issues 
with some of the more advanced functions and tags in my software, but so far 
it's looking like a really excellent alternative I'll be able to pass on to my 
customers. In fact, I may be looking for someone that does Railo hosting to put 
my own site on! 


---
Mary Jo Sminkey
http://www.cfwebstore.com   

Author of CFWebstore, 
ColdFusion E-commerce software

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


Re: Missing posts

2007-07-26 Thread Paul Ihrig
i am so gonna call you...

On 7/26/07, Michael Dinowitz [EMAIL PROTECTED] wrote:
 Should be fixed now. If there are ever any list problems please feel free to 
 email me off list or even call me.
 Thanks
 Is it just me or is no one else getting emails anymore?
 
 Hopefully, someone will see this in the site archives.

 

~|
ColdFusion 8 beta - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: Chicken or Egg? Config File to Set Application Variables

2007-07-26 Thread Michael Dawson
For some reason, this post didn't make it through the mail system.

I have structured my web site (CF8) so that my config settings are
outside of the web root such as this:
 
C:\Components
C:\Config
C:\CustomTags
C:\WebSite
 
I'm building the site at: http://acelinktest.evansville.edu/ and will
publish it to http://acelink.evansville.edu/.
 
With the exception of the C:\Config folder, all other folders will be
published to the production site.  The contents of the C:\Config folder
will contain site-specific information such as the site name
AceLinkTest vs AceLink and different values for session and
application timeouts.  (The test site will have shorter timeouts.)
 
Now, I'm building the Application.cfc and can't figure out the best way
to set the Application variables such as:
 
this.name = #appName#;
this.sessionTimeout = #sessionTimeout#;
this.mappings[CustomTags] = #customTagsServerPath#;
 
I want to use either an Include or Component (not wanting to argue which
is better), but I can't include a config.cfm file if it's outside the
web root since the mapping is not yet created.  I can't create the
mapping because I can't read the config.cfm file that is outside the web
root.
 
I want to keep the web site as dynamic as possible, regarding server
paths and URLs, and also keep a separate directory for my site
configuration.  However, where do I get that first bit of information
that ties it all together?
 
Thanks

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

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


Re: CF8 Pricing

2007-07-26 Thread Michael Dinowitz
This is definitely a topic that belongs on the ColdFusion 8 mailing list.

On 7/26/07, Dale Fraser [EMAIL PROTECTED] wrote:
 Ok,



 I'm officially sick of waiting, someone please give me the inside Goss on
 CF8 pricing, I'm dying here.



 Regards

 Dale Fraser



 http://dalefraser.blogspot.com








 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


Re: Missing posts

2007-07-26 Thread Michael Dinowitz
I got it and was working on it at that point and could not reply. Sorry about 
that.
As for my number, 718-252-2329
If something blows up give me a call.

 I did email you and I don't have your number. :)
 
 I didn't get this reply in my email though. I saw it on the archives. 
 Did you not get the email I sent from phillipmvector (at) comcastic.
 network?
 
  Should be fixed now. If there are ever any list problems please feel 
 
  free to email me off list or even call me.
  Thanks
  Is it just me or is no one else getting emails anymore?
  
  Hopefully, someone will see this in the site archives.

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Consuming web service returns Gregorian Calendar date

2007-07-26 Thread james carberry
I am trying to consume a web service that was authored in .NET from my CF7 
app... it returns several items in an array. I can read the text (strings) just 
fine, but the dates are coming back as Gregorian Calendar java objects. How in 
the world do I get that back into a date CF can understand :)

Thx! 

-james

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284660
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 8 and CFDOCUMENT

2007-07-26 Thread Jim Wright
 Does anyone know if the horrendously broken CFRDOCUMENT tag actually works as 
 advertised in CF 8?

 Big broken item for me was only 1 header/footer per document regardless of 
 how many CFDOCUNTSECTIONS (even though docs said you could have a header and 
 footer per section and not just for the whole doc).  This meant a doc with 
 multple sections that each required unique header and/or footer could only be 
 built with custom display code for proper pagination (the whole flipping 
 point of the tag IMHO...to make docs easy to create on the fly).


Do you have an example of code that isn't working for you with this?
I've got reports which have a single footer and 5 different
cfdocumentsections, each with their own header, and it is working.

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


Re: CF8 Pricing

2007-07-26 Thread Rick Root
It will be similarly priced ;)

On 7/26/07, Dale Fraser [EMAIL PROTECTED] wrote:
 Ok,



 I'm officially sick of waiting, someone please give me the inside Goss on
 CF8 pricing, I'm dying here.



 Regards

 Dale Fraser



 http://dalefraser.blogspot.com








 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


DB permissions error from CFC but not from CFM?

2007-07-26 Thread Dominic Santini
Hello all - 

I was wondering if there is any difference in how a CFC would access a database 
vs how a regular CFM page would? I don't see why there would be. Yet I have a 
site in development which throws a database permissions error on the one CFC 
page but not any other pages. I can not figure out what the difference could 
be. 

This is CFMX 7 and mySQL 5. (I am using SQL Server locally, and locally I have 
no problems.) Until I get the IT person there to enable robust exception info 
and give me access to the CF logs, I have little info to go on. But I get a 
basic permissions error as follows:

SELECT command denied to user 'mywebuser'@'localhost' for table 'mytable'

I have set up a test page which first hits this table with a regular cfquery 
and then calls a function in the CFC to access the same table. The regular 
cfquery works fine. The function call throws the above error.

The CFC is set to use the same datasource, username and password. I have double 
and triple checked that.

I am completely confused. Anyone?
Thanks.

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


Re: CF8 and pdfs

2007-07-26 Thread Ahamad Patan
You can use cfdocument to acheive this.

!--- This example embeds a jpg into a pdf document. ---
cfdocument format=pdf
pThis is a document rendered by the cfdocument tag./p

brbr

img src=sample.jpg /

/cfdocument

FYI, In CF8 there is cfimage tag which can be used to perform operations on the 
images.

Regards,
Ahamad,
Adobe CF Team,
http://cfpdf.blogspot.com


 Anyone know if you can place an image in a PDF in CF8?

 Thanks,
 Chad

You could in 7, so don't see why not in 8 (not that it always worked in 
7...there were some known issues).

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


CF8 Pricing

2007-07-26 Thread Dale Fraser
Ok,

 

I'm officially sick of waiting, someone please give me the inside Goss on
CF8 pricing, I'm dying here.

 

Regards

Dale Fraser

 

http://dalefraser.blogspot.com

 

 




~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


No Debug Access, Tricks for getting some kind of debug info?

2007-07-26 Thread Patti Lee
Do you have anything that would help someone who can't turn on
debugging?  I'm on a shared server with no access to the administrator
and could use any tricks I can find to get as much info into a make-do
deug template as I can.

Obviously I can dump all the variable scopes manually.  Any other
tricks would be lovely.

Server is MX 7.

On 7/25/07, Michael Dinowitz [EMAIL PROTECTED] wrote:
 If you have debug access I have an enhanced debug template that shows the 
 full flow of an application. It includes standard templates, components, 
 custom tags and includes in a full tree view.


~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


CF writes to archived logs

2007-07-26 Thread James Holmes
On CF 7.02 / Solaris 9 / Apache, our CF servers continue to write to
archived logs. We go to the admin, click the archive log button; cf
moves the log to, for example, cfserver.log.1, creates a new
cfserver.log and then continues to write to the cfserver.log.1 file.

Is there any way of fixing this without a restart?

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

~|
ColdFusion 8 beta - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: HOF digests not working?

2007-07-26 Thread Michael Dinowitz
When I moved some of House of Fusion over to 8 the gateways didn't get 
transfered. I use a gateway for digests so the result was no digests. Should be 
fixed now.

 I haven't gotten any of the CF-Talk digests for the past 2 days or so. 
 Michael, any changes you made to HOF that would affect the digests 
 going out? Anyone else seeing this issue, or are others still 
 receiving the digests?
 
Cedric

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


Re: Fusebox - is there a trick to following the flow?

2007-07-26 Thread Sean Corfield
On 7/25/07, Mike Kear [EMAIL PROTECTED] wrote:
 Is it a simple/trivial thing to convert to fusebox 5+ ?

Well, in *theory* it's just a matter of installing the FB51 core files
under your webroot (or elsewhere and add a /fusebox5 mapping) and then
you just change your application's index.cfm to cfinclude
/fusebox5/fusebox5.cfm instead of the Fuebox 4 runtime.

In theory.

There are one or two incompatibilities but they are in corner cases so
it will depend on whether your scary FB4 app uses exotic plugins or
has odd FB code in it.

Happy to help you offlist (you know my email / IMs right? :) - we can
figure out some suitable approach...
-- 
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

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284612
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 8 and CFDOCUMENT

2007-07-26 Thread Rupesh Kumar
Bryan,
Can you send me your code so that I can see what you are trying to do and what 
is broken.

Rupesh.

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


RE: WebSite Email Address

2007-07-26 Thread Mik Muller
Andy,

I'm not sure I agree with that position in this situation. The web application 
hides everyone's email address while traversing the site, so the users have 
come to expect that level of privacy as the norm in this environment. You 
cannot get someone's email address unless (a) you contact them through the 
contact form and they then respond to you via email, (b) they post a message 
and you are a recipient of the generated email or (c) they manually include 
their email address in a post.

Item (b) above has been brought up as a privacy issue. Some users have 
requested that the software not include their email address in the 
post-generated email and instead provide a link to the contact form on the 
website. I'm considering it, either as a hard code or (more likely) as a site 
option.

It's not just a question of privacy, it's also a question of anti-spam. 
Nowadays, the major concern (as far as I can tell) of email integrity is the 
zombification of net user computers as spam-proxies using their address books 
and inbox emails. Why share your email address with hundreds of people you 
don't know and who should probably not have your email address if you don't 
want them to? Not spreading your address across machines that don't 
specifically need it (ie; not family, friend or associate) ensures a lower 
probability of malicious harvesting.

Call me paranoid, but if I can help in some small way and it's not hard to do, 
why the hell not?

Of course this doesn't answer my main question. I guess I'll go with option 2 
below.

Mik


At 11:32 AM 7/24/2007, Andy Matthews wrote:
How is it a privacy issue to show the from address as the email of the
person sending the email?

The sender has chosen to send an email, and they have chosen to include
their email address as part of the submission. There's no reasonable
guarantee of privacy for them.


andy 

-Original Message-
From: Mik Muller [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 24, 2007 10:24 AM
To: CF-Talk
Subject: OT: WebSite Email Address

Hey all,

I've been hosting community websites and clients with my software for years
and up until now any email that originates from the website due to a posting
has been addressed From: the site admin, whoever that may be for the site.
E.g.: Michael Muller [EMAIL PROTECTED] I'm now rethinking this
policy. 

Perhaps the From should be one of the following:

Site Name [EMAIL PROTECTED] *
Site Name [EMAIL PROTECTED] 
Poster Name [EMAIL PROTECTED]

* created as an auto-responder.


Michael Muller
Admin, MontagueMA.net Website
work (413) 863-0030
cell (413) 320-5336
skype: michaelBmuller
http://www.MontagueMA.net

Eschew Obfuscation




~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: Cold Fusion and VMWare?

2007-07-26 Thread Oğuz Demirkapı
Are there anything that I am missing on this point?

VMWare provides OS level platform and what I know CF does not care 
whether it is in a real machine or on a VMWare if the OS is compatible.

What does it mean now by mentioning VMWare compatible in CF8 supported 
platform list?


Dave Watts wrote:
 We are testing to see if it is possible to run a Virtualized 
 (VMWare) Version of a Cold Fusion application, which will be 
 accessed by IP address.
 We have VMWare running on a test server and installed a 
 virtualized version of the application and everything works. 
 Sporadically, we get a Connection Reset by Peers error, 
 that I have been unable to track down and resolve. 

 We have looked at both the CF server and IIS logs and can't 
 find any errors.
 It seems like we are getting a network error, but I am not 
 looking in the right place to find the error. 

 Has anyone ever used Cold Fusion with VMWare? Any ideas why 
 we would sporadically get a connection error?
 

 Many people are running CF on VMware, even in production environments.

 This doesn't look like an error specific to VMware, but virtual servers can
 have the same sort of problems as physical servers. Connection reset by
 peer typically indicates that the client is no longer listening for a
 response, which may happen if the response takes too long to get to the
 client.

 Are you using bridged networking, or NAT for your VMware server? I would
 expect there to be some performance overhead with NAT, although I haven't
 done any real testing to see if that's the case.

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

   


~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: Cold Fusion and VMWare?

2007-07-26 Thread Mike Chabot
Is Connection Reset by Peers something you are seeing in your log
file, or is it a problem that users are reporting? Is this in your Web
server log file, or is this an error that VMWare is showing?

-Mike Chabot

On 7/25/07, Michael Eger [EMAIL PROTECTED] wrote:
 We are testing to see if it is possible to run a Virtualized (VMWare)
 Version of a Cold Fusion application, which will be accessed by IP address.
 We have VMWare running on a test server and installed a virtualized version
 of the application and everything works. Sporadically, we get a Connection
 Reset by Peers error, that I have been unable to track down and resolve.

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


Remotely Accessing CFC

2007-07-26 Thread Ian Skinner
I have a cfc currently in the CustomTag folder so that is available to 
any Colfsuion application on the server with the following path: 
createObject(component,Security.ITB_User).  This has worked nicely 
to date.

How would I access this CFC remotely for use with a new Flex 
application?  To use my CFC's in this application I have had to very 
accurately map the CFC from the webroot.  With this security cfc being 
in the Custom tag folder it is not in the webroot.  Is it possible to 
somehow map to this cfc directly?  If not, I presume I would need some 
kind of facade cfc?  What exactly are the characteristics of a facade?

TIA
Ian Skinner


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


Re: CF 8 and CFDOCUMENT

2007-07-26 Thread Raymond Camden
Heh, well, just as a reminder for everyone, not just you, everyone has
to remember to log bugs. Adobe is pretty strict about this, and as the
manager of a few projects that are a heck of a lot smaller than
ColdFusion, I don't blame them. I know for a fact I'll forget a bug
entry told to me in an email or IM, but  a bug entry logged at
RIAForge is hard to avoid. (As much as I would like to. ;)

On 7/25/07, Bryan Stevenson [EMAIL PROTECTED] wrote:
 I assume you logged bugs for all this, right? ;)
 
  So I haven't tried this - but the docs for CF8, which you can download
  from labs btw and try this out yourself, talk about how there are
  there are new variables available in cfdocumentitem based on
  sections.. I'd say it should should work fine, but again, download
  from labs and give it a try.

 Thanks Ray

 Yep I would have assumed by the CF 7 docs that it had actually been tested and
 found working in the 1st place...but there ya go ;-)  Fingers crossed for 8!!

 No I never did submit them as issues...actually now that I think of it...it 
 was
 one of your blog entries that confirmed that I was not crazy and the
 headers/footers didn't work as advertised. ;-)  So I probably figured you'd
 already told 'em...hehe

 Cheers

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com

 Notice:
 This message, including any attachments, is confidential and may contain
 information that is privileged or exempt from disclosure. It is intended
 only for the person to whom it is addressed unless expressly authorized
 otherwise by the sender. If you are not an authorized recipient, please
 notify the sender immediately and permanently destroy all copies of this
 message and attachments.



 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


Fusebox not reloading fusebox.xml.cfm

2007-07-26 Thread Phillip M. Vector
Just made the jump from 4.1 to 5 and I have one issue (so far).

parameter name=pluginsPath value=../Data/plugins /
parameter name=mode value=development-full-load /

I already loaded the fusebox files (where it goes through the circuits 
and sets up the circuit.xml files and so on). I had set plugins to 
.../plugins/./Settings/SetDefault.cfm (I know, it's bad form, but I 
didn't realize the error before I loaded it).

Anyway, now, after I fixed the issue, when I reload the page, it still 
says it can't find ../plugins/./Settings/SetDefault.cfm.

Shouldn't a full-load also recompile fusebox.xml.cfm? I tried a 
fusebox.load=true and same error.

Any ideas why it's still pointing to the old directory and/or how to 
force a reload of EVERYTHING?

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


Re: Generate Random Number 1000 - No Duplicates

2007-07-26 Thread AJ Mercer
this was a quiz question on cf weekly
http://coldfusionweekly.com/index.cfm?event=showCFQuiz

Version 2.13 – April 23, 2007
there are 6 responces thst you can review


On 7/26/07, Maximilian Nyman [EMAIL PROTECTED] wrote:

 You don't actually need to use the StructKeyExists though
 I would take what Russ said and rewrite the function to this:

 function getRandomNumberArray(length, count) {
 var min = 1 + repeatString(0, length - 1);
 var max = repeatString(9, length);
 var uniquer = structNew();
 while (structCount(uniquer) LT count) {
uniquer[randRange(min, max)] = ;
 }
 return StructKeyArray(uniquer);
 }

 Or you could return the StructKeyList(uniquer), if you rather have the
 Random numbers in  a list

 /Max

 On 7/26/07, Ben Nadel [EMAIL PROTECTED] wrote:
  Barney, I love the 1XYZ-N technique for the length constraint That's
  damn brilliant!
 
  ..
  Ben Nadel
  Certified Advanced ColdFusion MX7 Developer
  www.bennadel.com
 
  Need ColdFusion Help?
  www.bennadel.com/ask-ben/
 
  -Original Message-
  From: Barney Boisvert [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 25, 2007 6:01 PM
  To: CF-Talk
  Subject: Re: Generate Random Number 1000 - No Duplicates
 
  I haven't tested this (just wrote it in the email), but it should be
  close:
 
  function getRandomNumberArray(length, count) {
var min = 1 + repeatString(0, length - 1);
var max = repeatString(9, length);
var uniquer = structNew();
var result = arrayNew(1);
var num = ;
while (arrayLen(result) LT count) {
  num = randRange(min, max);
  if (NOT structKeyExists(uniquer, num)) {
uniquer[num] = ;
arrayAppend(result, num);
  }
}
return result;
  }
 
  cheers,
  barneyb
 
 

 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

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


FCKEditor + ColdFusion + CMS + Customizing Help Needed

2007-07-26 Thread Dan Vega
I am looking for some people who have used the FCKEditor along with the
ColdFusion capabilities that come with it. Right now our cms system only has
ActiveEdit built into it and I would like to change that because users are
limited to IE (boo). I have everything setup in our cms so that the editor
works great and uses a specific folder that is controlled on a per
application basis using the following

!--- fckEditor ---
cfset application.FCKeditor = StructNew()
cfset application.FCKeditor.userFilesPath =
#application.ApplicationName#/myfolder

Now that the editor is working and I have been able to configure the
filebrowser and image uploader I have a couple of questions.

1.) If a user wanted to add an image they can just click on the image icon.
This works great but what if they wanted to link to
a pdf document, where is a general filebrowser button?
2.) When you get to the filebrowser there is a drop down of folders.
Image,Flash,Media,File. Does anyone know how to customize this list? If i
just change the list
below it does not work, I have also tried in a couple other places but can
not find the answer.

config.allowedExtensions = structNew();
config.deniedExtensions = structNew();

// config.allowedExtensions[File] =
doc,rtf,pdf,ppt,pps,xls,csv,vnd,zip;
config.allowedExtensions[file] = ;
config.deniedExtensions[file] =
php,php2,php3,php4,php5,phtml,pwml,inc,asp,aspx,ascx,jsp,cfm,cfc,pl,bat,exe,com,dll,vbs,js,reg,cgi;

config.allowedExtensions[image] = png,gif,jpg,jpeg,bmp;
config.deniedExtensions[image] = ;

config.allowedExtensions[flash] = swf,fla;
config.deniedExtensions[flash] = ;

config.allowedExtensions[media] =
swf,fla,jpg,gif,jpeg,png,avi,mpg,mpeg,mp3,mp4,m4a,wma,wmv,wav,mid,midi,rmi,rm,ram,rmvb,mov,qt;
config.deniedExtensions[media] = ;


3.) Finally, does anyone know an easy way of adding custom buttons? I have
looked around and can not find anything on this. I have a cfm page
in each applications root that I would like to be able to open.

Any help with this would be great!!!

-- 
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org


~|
ColdFusion 8 beta - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284637
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 help with search strings

2007-07-26 Thread Bobby Hartsfield
My brother's name is Justin William Eugene Mckinney III. That might throw
you for a loop. It will really throw you for a loop when it is 
Justin William Eugene Mckinney III PHD
Or
Dr. Justin William Eugene Mckinney III

Simply taking listfirst() and listlast() delimited by a space won't always
give you the result you want... but when it IS a good idea... you just do...

cfset firstname = listfirst(name,  ) /
cfset lastname = listlast(name,  ) /

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

-Original Message-
From: Mark Henderson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 6:19 PM
To: CF-Talk
Subject: Regex help with search strings

Hi
 
I have a search box that currently contains only one field. I normally have
one input for first name, one for lat name and so on, which makes the task
of searching somewhat easier. However, in this scenario that is not the
case. So, what I want to do is split the search term entered into distinct
variables.
 
An example - let's say someone enters joe blogs in the search field
(without quotes). I then want to be able to parse it so that I have one
variable for joe and another for blogs, which I can then search on since
the database is organised into first_name, last_name, maiden_name, email,
etc. The criteria for this will be the space between the names.
This looks like a case for regular expressions. I know how to use REFind to
check for the space, but that's all so far (I've spent some time on this,
and even read the docs!). Can someone help me here please? 
 
TIA

Regards

Mark Henderson
Web Designer
mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  

205 Main Street
PO Box 143, Gore
Southland 9700
Phone: (03) 203 
Fax: (03) 203 9900



  http://www.cwc.co.nz
  http://www.ispnz.co.nz
  http://www.nzfarming.co.nz 

http://www.cwc.co.nz http://www.cwc.co.nz http://www.ispnz.co.nz
http://www.ispnz.co.nz http://www.nzfarming.co.nz
http://www.nzfarming.co.nz  



Notice of Confidential Information: The information contained in this
electronic mail is CONFIDENTIAL INFORMATION and may be LEGALLY PRIVILEGED,
intended only for the individual or entity named above. If you are not the
intended recipient, you are hereby notified that the use, dissemination,
distribution, or copying of this document is strictly prohibited. If you
have received this electronic message in error, please immediately notify us
by return or telephone (0064 3 203
) and destroy the original message. Thank you. 


--
This message has been scanned for viruses and dangerous content by ISPNZ's
automated virus detection system, and is believed to be clean.





~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284682
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 help with search strings

2007-07-26 Thread Mark Henderson
 From: Ben Doom
 Sent: Friday, 27 July 2007 2:17 a.m.
 To: CF-Talk
 Subject: Re: Regex help with search strings
 
 You could do this with a regex but it would be easier and 
 more efficient to do it with listfind() using a space as the 
 delimiter.

Hi Ben. 

I worked it out using a regex but I see why you recommend using listfind
given the logic required in the search query when using more than one
variable. So I took your advice and read:
http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt210.ht
m#4695870

... and I have it working with that now. Thanks for the tip.

Mark

-- 
This message has been scanned for viruses and dangerous
content by ISPNZ's automated virus detection system,
and is believed to be clean.


~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284677
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 help with search strings

2007-07-26 Thread Mark Henderson
From: Mark Henderson 
 Sent: Thursday, 26 July 2007 10:19 a.m.
 To: CF-Talk
 Subject: Regex help with search strings
 
 Hi
  
 I have a search box that currently contains only one field. I 
 normally have one input for first name, one for lat name and 
 so on, which makes the task of searching somewhat easier. 
 However, in this scenario that is not the case. So, what I 
 want to do is split the search term entered into distinct variables.
  
 An example - let's say someone enters joe blogs in the 
 search field (without quotes). I then want to be able to 
 parse it so that I have one variable for joe and another 
 for blogs, which I can then search on since the database is 
 organised into first_name, last_name, maiden_name, email, 
 etc. The criteria for this will be the space between the names.
 This looks like a case for regular expressions. I know how to 
 use REFind to check for the space, but that's all so far 
 (I've spent some time on this, and even read the docs!). Can 
 someone help me here please? 

For some reason Outlook decided to try and send my previous post as HTML
when I have HOF clearly set in my address book to use plain text - my
apologies for that. Anyway, something like the following seems to work:

cfset searchstringRight = REReplace(searchstring, [a-z]+ , , ALL)
/
cfset searchstringLeft = REReplace(searchstring,  [a-z]+, , ALL)
/

But if there is something else I can or should be doing when checking
the field please let me know.

Mark

-- 
This message has been scanned for viruses and dangerous
content by ISPNZ's automated virus detection system,
and is believed to be clean.


~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: CF8 Pricing

2007-07-26 Thread Tim Buntel
Sorry, you need to wait just a little bit longer.  Really.  Just a little bit...

Tim Buntel

Ok,

 

I'm officially sick of waiting, someone please give me the inside Goss on
CF8 pricing, I'm dying here.

 

Regards

Dale Fraser

 

http://dalefraser.blogspot.com

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


Re: Chicken or Egg? Config File to Set Application Variables

2007-07-26 Thread Michael Dawson
For some reason, this message isn't getting through the system.

Is anyone else seeing this post?

M!ke

I have structured my web site (CF8) so that my config settings are
outside of the web root such as this:
 
C:\Components
C:\Config
C:\CustomTags
C:\WebSite
 
I'm building the site at: http://acelinktest.evansville.edu/ and will
publish it to http://acelink.evansville.edu/.
 
With the exception of the C:\Config folder, all other folders will be
published to the production site.  The contents of the C:\Config folder
will contain site-specific information such as the site name
AceLinkTest vs AceLink and different values for session and
application timeouts.  (The test site will have shorter timeouts.)
 
Now, I'm building the Application.cfc and can't figure out the best way
to set the Application variables such as:
 
this.name = #appName#;
this.sessionTimeout = #sessionTimeout#;
this.mappings[CustomTags] = #customTagsServerPath#;
 
I want to use either an Include or Component (not wanting to argue which
is better), but I can't include a config.cfm file if it's outside the
web root since the mapping is not yet created.  I can't create the
mapping because I can't read the config.cfm file that is outside the web
root.
 
I want to keep the web site as dynamic as possible, regarding server
paths and URLs, and also keep a separate directory for my site
configuration.  However, where do I get that first bit of information
that ties it all together?
 
Thanks

~|
ColdFusion 8 beta - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: CF8 and pdfs

2007-07-26 Thread Raymond Camden
Yes, getMetaData. :)


cfquery name=test datasource=blogdev maxrows=5
select * from tblblogcomments
/cfquery

cfdump var=#getmetadata(test)#

On 7/26/07, Peterson, Chris [EMAIL PROTECTED] wrote:
 I know that CF is 'typeless', but how can I view what data types are in
 a query result?  I have 2 queries from different systems (one from DB2,
 one from SQL) that I am trying to union together using QoQ.  I get an
 error about field 2, one being Decimal and the other Char.  Is there any
 way to get meta-information that would show the CF-calculated data type
 in a query result?



 Chris Peterson
 Gainey IT
 Adobe Certified Advanced Coldfusion Developer

 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


RE: Unit Testing an XML Parsing Function

2007-07-26 Thread Jaime Metcher
Jeff,

How about this: rather than calling the built-in CreateUUID(), call your own
function that will return either a hardcoded value or a real UUID, depending
on a test mode flag.

if (Request.testFlag)
return fake UUID;
else
return CreateUUID();

For maximum verisimilitude you could return test UUIDs from out of a preset
list - not sure how sensitive your testing needs to be.

Jaime Metcher

 -Original Message-
 From: Jeff Chastain [mailto:[EMAIL PROTECTED]
 Sent: Friday, 27 July 2007 3:18 AM
 To: CF-Talk
 Subject: Unit Testing an XML Parsing Function


 I have a component whose init method takes the path to an xml file and
 parses the contents of that xml file into an internal data
 structure.  Now I
 am trying to write the unit test for this function and I am getting stuck.
 My original attempt was to pass in a test xml file and the manually create
 the matching data structure and compare the two.  The problem is,
 during the
 parsing of this xml file, the component creates and inserts several UUID
 values into the internal data structure.  Obviously, I cannot magically
 generate the same UUID value when I manually create the matching data
 structure to compare against.



 So, does anybody have any suggestions on testing this type of
 functionality?



 Thanks.




 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Need Help with mixed text and unencoded binary data

2007-07-26 Thread Paul Cormier
I am receiving a data feed that has multiple JPG images in a single file 
separated by text boundaries, that looks something like this:


--simple boundary
Content-ID:363130
Object-ID:1
Description:
Content-Type:image/jpeg

ÿØÿà +JFIF [MORE UNENCODED BINARY DATA]
--simple boundary
Content-ID:363130
Object-ID:2
Description:
Content-Type:image/jpeg
ÿØÿà +JFIF [MORE UNENCODED BINARY DATA]
--simple boundary--

The accompanying HTTP Response header looks like:

HTTP/1.1 200 OK
Date: Thu, 26 Jul 2007 15:11:18 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET (04)
X-AspNet-Version: 1.1.4322
MIME-Version: 1.0
RETS-Version: RETS/1.5
Transfer-Encoding: chunked
Cache-Control: private
Content-Type: multipart/parallel; boundary=simple boundary; charset=utf-8

As you can see, there is no Content-Length data whatsoever. So, you Java 
ByteArray jockeys out there, what's the most efficient way to parse out the 
binary data and save it to JPG files? It needs to be efficient, as there could 
be tens of thousands of those per day.

Regards,

Paul Cormier


~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

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


Re: Generate Random Number 1000 - No Duplicates

2007-07-26 Thread Claude Schneegans
 this was a quiz question on cf weekly

Then, if it was a quiz question, the quiz is dummy, because true random 
number with no duplicates
cannot exist ;-)

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


~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


CF8 and iText

2007-07-26 Thread Chad Gray
Anyone know if iText is still being used in CF8 for PDF manipulation?




~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284628
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-Dev] cf_drinks this weekend ?

2007-07-26 Thread Tom Chiverton
On Wednesday 25 Jul 2007, [EMAIL PROTECTED] wrote:
 ­ see footer for list info ­
 If you stop via Leicester ... I'll buy u a few rounds :­)

'Fraid not, M6, M40 all the way.

I'm out of work email range from the end of today too. I think Mark Drew still 
has my mobile number though :-)

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 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.


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


RE: Cold Fusion and VMWare?

2007-07-26 Thread Dave Watts
 If I wanted to use VM Ware to run... Let's say 
 3 separate Coldfusion servers and have sufficient
 resources for all of them. What would be 
 acceptable hardware for that? Any input?

It depends. Resource allocation for VMs in a production environment can be 
quite complicated, since different VMs may have different resource utilization 
patterns, and they may be able to share resources. VMware has sizing guides on 
their site to help you figure this out. There are also some good ESX books out 
that cover this in detail. Basically, you'll need to figure out the specs you'd 
require for three physical servers as a starting point.

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


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


Re: CF8 and pdfs

2007-07-26 Thread Ahamad Patan
Anyone know if you can place an image in a PDF in CF8?

Thanks,
Chad

Yes, you can do that using cfdocument.

!--- This example creates generates a pdf document. ---
cfdocument format=pdf
pThis is a document rendered by the cfdocument tag./p

brbr
img src=dips.jpg /

/cfdocument

Regards,
-ahamad
Adobe CF Team
http://cfpdf.blogspot.com

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Re: CF8 and pdfs

2007-07-26 Thread Ahamad Patan
Hi,
   You can use cfdocumnet to do this.

!--- This example creates generates a pdf document with image. ---
cfdocument format=pdf
pThis is a document rendered by the cfdocument tag./p
brbr

img src=sample.jpg /

/cfdocument


Regards,
ahamad,
Adobe CF Team
http://cfpdf.blogspot.com

 Anyone know if you can place an image in a PDF in CF8?

 Thanks,
 Chad

You could in 7, so don't see why not in 8 (not that it always worked in 
7...there were some known issues).

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


CF page calling a Webservice that returns a complex structure

2007-07-26 Thread Archie Campbell
I am finding this task uncharacteristically difficult to do with Cold 
Fusion.
I suspect there is an easier way, I just cant think of it.

Here is the situation.

There is an external Webservice that returns XML containing information 
on all unpaid invoices for a customer.
The XML document contains 1 or many invoices each having 1 or many 
invoice detail lines.
The CF program I am writing is supposed to:
. call the webservice
. get the XML info and either:
   A. save it in an XML text file for further processing by 
Excel or Access or another CF program or ...
   B. convert it to a struct, process it a bit, like total 
fields, rename fields
producing a new struct which is then saved to an XML 
text file

The external (non CF) webservice returns a complex structure like:

InvoiceCollection
. countOfInvoices
. totalAmount
. Invoices:  (repeating multiple times)
   . invoiceNumber
   . invoiceDate
   . invoiceAmount
   . countOfInvoiceLines
   . InvoiceLines   (repeating multiple times)
 . lineNumber
 . description
 . amount

I have successfully accepted the webservice return object and produced a 
CF struct from it.
It was a bit tedious, but I have it done.

After I had the struct I thought I could use the data conversion routine 
StructToXml from cflib.org to produce a string that I would write to a 
file with cffile.
It was missing the arrayOfStructs. Not much there.
Then I read the fine print on StructToXml and noted that it says it 
converts simple structs.
A struct whose elements include an array of stucts is not included in 
the definition of simple.
Darn I said.

Basically, right now, I have my struct and I am stuck.
What I originally thought to be a simple task for Cold Fusion (CF nicely 
takes many otherwise complex tasks and makes them simple)
has got me stuck.

Any thoughts would be appreciated.

Thanks
Archie Campbell



 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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


getBreadcrumbs - Help Updating a CFSCRIPT

2007-07-26 Thread Brett H
Hello

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


RE: HOF digests not working?

2007-07-26 Thread Dale Fraser
I sent in a post yesterday and it never appeared. Wonder if this one will.

Regards
Dale Fraser

http://dalefraser.blogspot.com


-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Friday, 27 July 2007 1:29 AM
To: CF-Talk
Subject: Re: HOF digests not working?

When I moved some of House of Fusion over to 8 the gateways didn't get
transfered. I use a gateway for digests so the result was no digests. Should
be fixed now.

 I haven't gotten any of the CF-Talk digests for the past 2 days or so. 
 Michael, any changes you made to HOF that would affect the digests 
 going out? Anyone else seeing this issue, or are others still 
 receiving the digests?
 
Cedric



~|
ColdFusion 8 beta - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Consuming web service returns Gregorian Calendar date

2007-07-26 Thread james carberry
I am trying to consume a web service that was authored in .NET from my CF7 
app... it returns several items in an array. I can read the text (strings) just 
fine, but the dates are coming back as Gregorian Calendar java objects. How in 
the world do I get that back into a date CF can understand :)

Thx! 

-james

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


RE: CF8 and pdfs

2007-07-26 Thread Jayesh Viradiya
Hi,

What is your usecase for putting an Image in PDF ? If you want to create
a new PDF and inside that if you want to embedded the image then it's
simple. You can use cfdocument tag, write down your HTML inside this
container tag, also put your img src=image.jpg tag to insert it in
the result PDF.

If you want to do this with an existing  PDF, then there is a work
around.
 
Using cfdocumet tag, create a PDF page containing your Image keep it
in a variable. Then you can use CFPDF tag to merge this PDF doc with
your original PDF doc. So lets say you have a 10 page pdf doc,
somebook.pdf and you want to add that new page with image as 6th page so
it could be achieved like this:

!---Creating a image document---

cfdocument format=pdf name=imgpdf unit=in pagetype=custom
pageheight=8.5 pagewidth=5.5 overwrite=yes filename=img.pdf
h1This is the Image I want to insert/h1
img src=whiteFlower.jpg height=200 width=300  /
h1 Some text to add/h1
/cfdocument

!---Inserting it at any specified location (21st page here)---

cfpdf action=merge name=pdfvar
cfpdfparam source=somebook.pdf pages=1-20
cfpdfparam source=imgpdf
cfpdfparam source=somebook.pdf pages=20-44
/cfpdf

!---writing the doc to browser---

cfcontent type=application/pdf variable=#toBinary(pdfvar)#  

Jayesh
Adobe CF Team

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 26, 2007 2:43 AM
To: CF-Talk
Subject: Re: CF8 and pdfs

 Anyone know if you can place an image in a PDF in CF8?

 Thanks,
 Chad

You could in 7, so don't see why not in 8 (not that it always worked in 
7...there were some known issues).

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments. 





~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


Re: CF8 Pricing

2007-07-26 Thread Judah McAuley
Dale Fraser wrote:
 Ok,
 
  
 
 I'm officially sick of waiting, someone please give me the inside Goss on
 CF8 pricing, I'm dying here.
 

$2.15

Anyone know where that number comes from, for a cookie? :)

Judah


~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Re: Generate Random Number 1000 - No Duplicates

2007-07-26 Thread Judah McAuley
Claude Schneegans wrote:
  this was a quiz question on cf weekly
 
 Then, if it was a quiz question, the quiz is dummy, because true random 
 number with no duplicates
 cannot exist ;-)
 

That's not true. You can have true random numbers without duplicates. 
Each successive iteration of the function just has to take place over a 
set that does not include the values chosen previously. Redefining the 
set your function acts on each iteration is most certainly 
mathematically valid.

Now generating true randomness, well, that's a much more difficult 
topic. For more on random numbers (and a source of random numbers) check 
out: http://www.random.org/

Judah


~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Stumped on outputting a report

2007-07-26 Thread Michael Bramwell
Hi All,

I am trying to output a report from a query. The report basically
needs to list for each  month the number of people seen per doctor.

e.g

ClientJan, Feb, Mar, April, May Jun, Jul, Aug, Sept, Oct, Nov, Dec

Doctor A-  0,0,12,40, 0,12,   50,20, 25,0,
   5, 13
Doctor B-  0,23,  12,40, 0,12,   50,  35, 25,
0,5,13
Doctor C ect...

The problem is I am not sure how to go about outputting this as per
the format of the above example.

The query which works looks something like this (mysql):

SELECT users.userID, users.userFirstName, users.userSurname,
reviewing_doctors.reviewing_doctor_id, MONTH(dateSent) AS ReportMonth,
YEAR(dateSent) AS YEAR,
MONTHNAME(dateSent) AS month_name, COUNT(*) AS total FROM doctor_review
INNER JOIN reviewing_doctors
ON doctor_review.reviewing_doctor = reviewing_doctors.reviewing_doctor_id
INNER JOIN users
ON reviewing_doctors.reviewing_doctor_UserID = 1
WHERE dateReceived  '2004-09-12'
AND dateReceived  '2007-09-12'
GROUP BY ReportMonth, reviewing_doctor
ORDER BY users.userFirstName;

Any help/ideas will be much appreciated as I have not got very far on this one.

Thanks,

Mike.

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


RE: HELLO

2007-07-26 Thread Eric Roberts
I doubt this was actually from CF-Talk as I didn't receive this from
CF-Talk.  Sounds like someone is spoofing an email address...look at the
headers...

Eric

-Original Message-
From: Eric Haskins [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 8:46 AM
To: CF-Talk
Subject: Re: HELLO

Almost hit Report SPAM in Gmail until I noticed it was from CF-Talk.


Eric Haskins



On 7/25/07, ISWARDUTH BEEHARRY [EMAIL PROTECTED] wrote:

  Alternate e-mail: [EMAIL PROTECTED]
 

  I am Dr. Mrs. Mariam Abacha, wife to the late Nigerian Head of state,
  General Sani Abacha who died on the 8th of June 1998 while still on
  active
  service for our Country. I am contacting
  you with the hope that you will be of great assistance to me, I
  currently
  have
  within my reach the sum of $18.92 million U.S dollars cash which l
  intend to
  use for investment purposes outside
  Nigeria.
 

  This money came as a result of a pay back contract deal between my
  husband and a Russian firm in our country s multi-billion dollar
  Ajaokuta
  steel
  plant. The Russian partners returned my husband s share being the
  above sum
  after his death. Presently, the new civilian Government has
  intensified
  their
  probe into my husband s financial resources, which has led to the
  freezing
  of
  all our accounts, local and foreign, the revoking of all our business
  licenses
  and the arrest of my First son. In view of this I acted very fast to
  withdraw
  this money from one of our finance houses before it was closed down. I
  have
  deposited the money in a security company with the help of very loyal
  officials
  of my late husband. No record is known about this fund by the
  government
  because there is no documentation showing that we received such funds.
 
 

  Due to the current situation in the country and government attitude
  to
  my family, I cannot make use of this money within, thus I seek your
  help in
  transferring this funds out of the sub African region. Upon your
  consent
  contact me via e-mail immediately for further discussion and
  clarification.
  Bearing in mind that you may assist me, l has decided to part with 20%
  of
  the
  total sum.
 

  Your URGENT response is needed. Please include your personal phone
  and
  fax number. Please if interested contact me using only
  [EMAIL PROTECTED]
 
  Regards
  Dr. Mrs. Mariam Abacha
 
 
 
 _ _
  Signup for the Fusion Authority news alert and keep up with the latest
  news in ColdFusion and related topics. http://www.fusionauthority.
  com/signup.cfm

 



~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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