Re: multiple sites with cf 8 and iis

2007-08-21 Thread James Holmes
Assuming you are on windows (a safe bet if you're using IIS) it's
typically in c:\windows\system32\drivers\etc\hosts.

On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote:
 Where is etc/hosts?  Thanks for the help.

 -Original Message-
 From: James Holmes [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 20, 2007 10:37 PM
 To: CF-Talk
 Subject: Re: multiple sites with cf 8 and iis

 Set up entries in etc/hosts so you don't need to swap anything - make
 the IIS sites respond to the relevant host names.

 On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote:
  I just did a clean install of my development machine.  In the past, I
 used coldfusion's built in web server, but had a problem configuring it
 to use a different folder for it's root.
 
  This time around I think I'll give IIS a try.  I have five sites I am
 responsible for.  I would like to be able to switch between them in as
 few steps as possible.  Do I need to create a virtual directory for each
 one?  How would I switch between sites for http://localhost/ shows the
 proper site?  Or can I just change the mapping for / to the current
 site's folder?  If so, where should I locate the folder for each site?
 Do I set up a different site in IIS for each site?  If so, would I have
 to manually apply coldfusion to each site?
 
  I'm not really sure what I need to do so any help would be
 appreciated.  Thanks!


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



 

~|
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:286656
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Adrian Lynch
On my machine it's in C:\WINDOWS\system32\drivers\etc.

And talking of the hosts file. Does anyone have any ideas about setting up a
hosts file like system for a LAN without running a DNS server?

I'd like a centralised way of defining IP/address mappings that's as simple
as the hosts file.

This will be for a handful of windows machines.

Cheers.

Adrian

-Original Message-
From: Matthew Smith
Sent: 21 August 2007 05:16
To: CF-Talk
Subject: RE: multiple sites with cf 8 and iis


Where is etc/hosts?  Thanks for the help.

-Original Message-
From: James Holmes
Sent: Monday, August 20, 2007 10:37 PM
To: CF-Talk
Subject: Re: multiple sites with cf 8 and iis

Set up entries in etc/hosts so you don't need to swap anything - make
the IIS sites respond to the relevant host names.

On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote:
 I just did a clean install of my development machine.  In the past, I
used coldfusion's built in web server, but had a problem configuring it
to use a different folder for it's root.

 This time around I think I'll give IIS a try.  I have five sites I am
responsible for.  I would like to be able to switch between them in as
few steps as possible.  Do I need to create a virtual directory for each
one?  How would I switch between sites for http://localhost/ shows the
proper site?  Or can I just change the mapping for / to the current
site's folder?  If so, where should I locate the folder for each site?
Do I set up a different site in IIS for each site?  If so, would I have
to manually apply coldfusion to each site?

 I'm not really sure what I need to do so any help would be
appreciated.  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:286657
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Coldfusion Service

2007-08-21 Thread vishnu prasad
Hi All

I need an help

we have done 2 project in coldfusion so far , I told about the getting more 
coldfusion project in our company. But they are asking me for some presentation 
or Fact that should tell Coldfusion will be better than .Net or Java or PHP wrt 
Cost / Implemenation / Time taken to complete / Learning time / Training cost 
etc..

Can anyone help me on this 

If you have any presentaion or document which will be used to sell or promote 
coldfusion service 

Thanks and regards
Vishnuprasad
 



~|
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:286658
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 Code Coverage

2007-08-21 Thread Dinner
On 8/20/07, Rich wrote:
 Is anyone aware of a code coverage tool for CF unit tests?  If not, how
are
 the rest of you handling unit test coverage (if at all)?

The CFUnit view in CFEclipse is cool, and there's also the TPTP
JUnit auto-generated stuff, but honestly, selenium has been the
most useful (for non-regression assertion (used most (by me))).

I think most people are using ANT and CF[C]Unit (/most/ hehe).

What do you mean by code coverage?
__
Don't remember what you can infer.
-- Harry Tennant


~|
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:286659
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Formatting a Date for MSSQL

2007-08-21 Thread Hareni Venkatramanan
Hi Rob,

I tried something like this and it worked fine for me:

Here is my stored proc in sql 2000 which inserts a datetime value into a
table testdate:

CREATE procedure updatedate
@startdate datetime
as
begin
insert into testdate values (@startdate);
end

GO


And here is the coldfusion code that I used to execute the stored proc:

cfset foo = createDateTime(2000, 1 , 1 , 0, 0, 0)

cfstoredproc procedure=updatedate datasource=testtrigger
username=sa password=admin
cfprocparam type=IN cfsqltype=cf_sql_date value=#foo#
/cfstoredproc


This one worked without any hassles. Are you doing anything different
from this? If yes, can you post the code here?

-Original Message-
From: Rob Parkhill [mailto:[EMAIL PROTECTED] 
Sent: 21 August 2007 03:08
To: CF-Talk
Subject: Formatting a Date for MSSQL

I have been banging my head against the wall all afternoon.  I am trying
to update a table in SQL 2000 with a date time column using a stored
procedure.  The procedure is set to recieve the variable as a Datetime
format for SQL, I am sending it as a CF_SQL_Date type and have used
about as many combinations of creating the date that I can think of...
CreateDate - CreateDateTime - CreateODBCDate -CreateODBCDatetime

They all give me the same error that a variable of type varchar cannot
be converted to datetime - in the stored procedure.  So the variable
itself is what? a varchar??? even though it should be a datetime...  I
have done some googling, but to no avail...

If anyone can shed some light for me, that would be great!

Thanks,

Rob 



~|
ColdFusion 8 - 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:286660
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: The Dreaded Vista!

2007-08-21 Thread Robert Rawlins - Think Blue
Haha,

Thanks guys, I will agree that Vista is excellent stuff, I used a windows xp
system box the other and god did I miss my vista.

Now, back to this IIS stuff, I've reinstall IIS and I'm now in a worse
position than before :-D I get the same error message, but this time I'm
unable to add the mappings for the DLL's to handle CFM and CFC files, when I
try and add them from the IIS MMC i get the following error when I click
'ok'

'One or more of the modules specified for this handler does not exist in the
modules list. If you are trying to add a script map the IsapiModule or the
CgiModule is not present in the modules list.'

Thanks for any further help guys,

Rob
-Original Message-
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: 20 August 2007 19:32
To: CF-Talk
Subject: RE: The Dreaded Vista!

 LMAO!!
 Vista rocks!!   :)

It was a pain to configure it and get a thousand patches for all my
software, but now that it's all working I'm impressed. It does seem to be
pretty good.

The only thing I haven't got working is Eclipse. I'm getting the same error
everyone else was discussing earlier, and I'm getting that on both Vista and
XP, so that's not a Vista thing.


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 .




~|
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:286661
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ajax cfgrid and custom buttons

2007-08-21 Thread Jim Rising
anyone have any additional input on this?

Jim Rising
Sr. Cold Fusion Developer
ICGLink Inc.
www.icglink.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:286662
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ajax cfgrid and custom buttons

2007-08-21 Thread Raymond Camden
Did you put single quotes around accountants? You need to pass the
_name_, not the actual instance. So if my grid was named 'ray' and the
column was 'howsexy', I'd do:

foo = Coldfusion.getElementValue('ray', 'howsexy')

On 8/20/07, Jim Rising [EMAIL PROTECTED] wrote:
 thanks ray! burning the midnight oil? :)

 so i tried it using ColdFusion.getElementValue(accountants, first_name) ...
 and i get the same 'accountants is not defined'.

 the div that comprises the grid has this as an id:

 cfgrid1187662029846

 which changes at every new instance of the grid. i assumed that the 'name'
 attribute for cfgrid would also be the ID?

 Jim Rising
 Sr. Cold Fusion Developer
 ICGLink Inc.
 www.icglink.com


 On 8/20/07, Raymond Camden [EMAIL PROTECTED] wrote:
 
  It is definitely ColdFusion.getElementValue. The first arg would be
  the name of the grid, and the second the column name.
 
  On 8/20/07, Jim Rising [EMAIL PROTECTED] wrote:
   I have a grid that i'm trying to add buttons beneath using suggestions
  found
   on forta's blog:
  
  
  http://www.forta.com/blog/index.cfm/2007/6/25/ColdFusion-Ajax-Tutorial-6-Editable-Data-Grids#c763CC6AA-3048-80A9-EF18B27922ED5460
  
   Basically at this point, i'm just trying to alert out the value of the
   selected row using javascript. On Forta's blog, it is suggested that
  this
   can be accomplished using ColdFusion.Bind.getElementValue(gridid,
   column). I was unable to find this in the DOM, but did find
   ColdFusion.Bind.getBindElementValue() as well as
  ColdFusion.getElementValue().
   Neither of these produce the results I'm needing.
  
   Here is what I'm doing:
  
   script type=text/javascript language=javascript
   function myFunction()
   {
var myVar = ColdFusion.Bind.getBindElementValue('accountants',
   'first_name')
alert(myVar)
   }
   /script
  
   cfset windowTitle = viewstate.getValue(xe.windowTitle)
  
   cfwindow initshow=true draggable=false width=400 height=300
   title=#windowTitle# x=0 y=200
   cfform method=post format=html
   cfformgroup type=panel label=Accountants
  
   cfgrid name=accountants format=html pagesize=5
  striperows=true
   bind=cfc: translator.controller.controller.getAdvisors
  ({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},
   3) delete=true selectmode=edit onchange=cfc:
   translator.controller.controller.setAdvisor
  ({cfgridaction},{cfgridrow},{cfgridchanged})
   !--- cfgridcolumn name=checked header=Delete
  type=boolean
   ---
   cfgridcolumn name=app_advisorInfo_id display=no 
   cfgridcolumn name=app_advisorType_id 
   cfgridcolumn name=first_name
   cfgridcolumn name=last_name
   !---
   cfgridcolumn name=Relationship
   cfgridcolumn name=Specialty
   cfgridcolumn name=Agency
   cfgridcolumn name=address
   cfgridcolumn name=address2
   cfgridcolumn name=City
   cfgridcolumn name=State
   cfgridcolumn name=zipcode
   cfgridcolumn name=phone
   cfgridcolumn name=country
   cfgridcolumn name=fax
   cfgridcolumn name=notes
   cfgridcolumn name=fiduciaryType
   cfgridcolumn name=cs_user_id
   cfgridcolumn name=isPrimary
   ---
   /cfgrid
   input type=button name=approve value=approve
   onclick=myFunction()
   /cfformgroup
  
   /cfform
  
   /cfwindow
  
   Here is the javascript error that is produced:
  
   _6b has no properties
   _cf_getAttribute(undefined)cfgrid.js (line 218)
   getBindElementValue(accountants, first_name , undefined, undefined,
   undefined)cfajax.js (line 334)
   myFunction()index.cfm (line 277)
   onclick(click clientX=0, clientY=0 )
  
   without the quotes around 'accountants' and 'first_name' ...
  
   i get:
  
   accountants is not defined
   myFunction()index.cfm (line 277)
   onclick(click clientX=0, clientY=0)
  
   which i assume is possibly because the actual ID for the grid is this
  random
   ID?
  
   Jim Rising
   Sr. Cold Fusion Developer
   ICGLink Inc.
   www.icglink.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:286663
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Creating a File Upload Web Service

2007-08-21 Thread Shane Trahan
So there is no other way to create a CF upload service without sending the file 
through HTTP as a multi-part request? I have tried everything, such as having a 
cfargument named File and type as any or binary and it just dies on me.. 



I would presume any language/application that could create a properly 
formated HTTP multi-part request with a file attachment and send this 
request to a network resource would work.  There is nothing magical 
about the browser creating this request, it just follows the same 
standard anything else would need to follow. 

~|
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:286665
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Formatting a Date for MSSQL

2007-08-21 Thread Rob Parkhill
Thanks for the suggestions.  I thought that the dbvarname actually did
something.  My variables were in a different order in the stored proc... So
a quick change in order fixed it.  Sometimes its just a monday!

Thanks again,

Rob


On 8/21/07, Hareni Venkatramanan [EMAIL PROTECTED] wrote:

 Hi Rob,

 I tried something like this and it worked fine for me:

 Here is my stored proc in sql 2000 which inserts a datetime value into a
 table testdate:

 CREATE procedure updatedate
 @startdate datetime
 as
 begin
 insert into testdate values (@startdate);
 end

 GO


 And here is the coldfusion code that I used to execute the stored proc:

 cfset foo = createDateTime(2000, 1 , 1 , 0, 0, 0)

 cfstoredproc procedure=updatedate datasource=testtrigger
 username=sa password=admin
cfprocparam type=IN cfsqltype=cf_sql_date value=#foo#
 /cfstoredproc


 This one worked without any hassles. Are you doing anything different
 from this? If yes, can you post the code here?




~|
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:286664
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Configuring a CF Cluster

2007-08-21 Thread Peterson, Chris
When setting up a CF cluster with multiple front-end web servers behind
a load balancer, and multiple CF-Enterprise instances on other servers
in a CF-cluster, do I have to have a license for CF on the web / font
end servers?  They would only be running the j-run connector, and I
would think that there would be a connector-only install somewhere for
CF but I cannot find it.  It seems silly to have to purchase a
enterprise license of CF for a web-connector only...  Someone tell me
there is another way to hook my front end to my back-end cluster without
having to purchase more licenses?


Chris Peterson
Gainey IT
Adobe Certified Advanced Coldfusion Developer

~|
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:28
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Configuring a CF Cluster

2007-08-21 Thread Andy Allan
You only need licenses for the machines running ColdFusion, i.e. the
application servers.

Your web servers don't need to be licensed.

On your web servers you simply run the web server config tool,
wsconfig.jar, which you can copy over from one of your application
servers.

Andy

On 21/08/07, Peterson, Chris [EMAIL PROTECTED] wrote:
 When setting up a CF cluster with multiple front-end web servers behind
 a load balancer, and multiple CF-Enterprise instances on other servers
 in a CF-cluster, do I have to have a license for CF on the web / font
 end servers?  They would only be running the j-run connector, and I
 would think that there would be a connector-only install somewhere for
 CF but I cannot find it.  It seems silly to have to purchase a
 enterprise license of CF for a web-connector only...  Someone tell me
 there is another way to hook my front end to my back-end cluster without
 having to purchase more licenses?


 Chris Peterson
 Gainey IT
 Adobe Certified Advanced Coldfusion Developer

 

~|
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:286667
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Configuring a CF Cluster

2007-08-21 Thread Brian Kotek
If you are unsure I'd strongly urge you to call Adobe rather than rely on
someone replying to a public list like this. (Not to slight Andy, since he
is probably right, but for a question like this it would be much better to
get the answer from an official source).

On 8/21/07, Peterson, Chris [EMAIL PROTECTED] wrote:

 When setting up a CF cluster with multiple front-end web servers behind
 a load balancer, and multiple CF-Enterprise instances on other servers
 in a CF-cluster, do I have to have a license for CF on the web / font
 end servers?  They would only be running the j-run connector, and I
 would think that there would be a connector-only install somewhere for
 CF but I cannot find it.  It seems silly to have to purchase a
 enterprise license of CF for a web-connector only...  Someone tell me
 there is another way to hook my front end to my back-end cluster without
 having to purchase more licenses?


 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:286668
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Dave Watts
 And talking of the hosts file. Does anyone have  any ideas about setting up 
 a hosts file like 
 system for a LAN without running a DNS 
 server?

 I'd like a centralised way of defining IP/address  mappings that's as simple 
 as the hosts file.

Any server that resolves name lookups would be, by definition, a DNS server DNS 
servers can be very easy to run and manage, and many use similar text files for 
configuration.

Dave Watts, CTO, Fig Leaf Software


~|
ColdFusion 8 - 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:286669
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Configuring a CF Cluster

2007-08-21 Thread Dave Watts
 When setting up a CF cluster with multiple front-
 end web servers behind a load balancer, and 
 multiple CF-Enterprise instances on other servers
 in a CF-cluster, do I have to have a license for 
 CF on the web / font end servers?  They would  only be running the j-run 
 connector, and I
 would think that there would be a connector-only  install somewhere for CF 
 but I cannot find it.

My understanding is that you can install CF on your front-end servers for this 
purpose without purchasing additional licenses, since you will not actually run 
CF on the machines. I welcome any correction from Adobe folks if I'm wrong on 
that.

There is no connector-only install, but I'm pretty sure that you can simply 
copy wsconfig.jar from another machine and run it.

Dave Watts, CTO, Fig Leaf Software 


~|
ColdFusion 8 - 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:286670
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Creating a File Upload Web Service

2007-08-21 Thread Ian Skinner
So there is no other way to create a CF upload service without sending the 
file through HTTP as a multi-part request? I have tried everything, such as 
having a cfargument named File and type as any or binary and it just dies on 
me..

Define what you mean by file upload.  CF runs on the server it does not have 
direct access to the client file system and never will.  This is a universal 
security issue.  So you will have to use some method for the client to 
voluntarily send the file to the server.  A multi-part HTTP request is the most 
well known way I understand to do this.  If the client and server share a 
network such as a corporate network it would be very easy to create a watch 
directory where the client could dump files and a modern CF server with 
gateways could watch the directory.

What exactly are you trying to do?





~|
ColdFusion 8 - 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:286672
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Creating a File Upload Web Service

2007-08-21 Thread Dave Watts
 So there is no other way to create a CF upload 
 service without sending the file through HTTP as
 a multi-part request?

No.

Dave Watts, CTO, Fig Leaf Software


~|
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:286671
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Configuring a CF Cluster

2007-08-21 Thread Peterson, Chris
I found a tech note article that instructs how to manually configure IIS
/ Apache on a web-only server to connect to Cf installed on another
server:

http://kb.adobe.com/selfservice/viewContent.do?externalId=18c56b2bslice
Id=2

I think that does the trick for me, if Adobe is telling me how to do it,
I think its OK!

Thanks everyone for your help, 


Chris Peterson
Gainey IT
Adobe Certified Advanced Coldfusion Developer

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 9:42 AM
To: CF-Talk
Subject: RE: Configuring a CF Cluster

 When setting up a CF cluster with multiple front- end web servers 
 behind a load balancer, and multiple CF-Enterprise instances on other 
 servers in a CF-cluster, do I have to have a license for CF on the web

 / font end servers?  They would  only be running the j-run connector,

 and I would think that there would be a connector-only  install
somewhere for CF but I cannot find it.

My understanding is that you can install CF on your front-end servers
for this purpose without purchasing additional licenses, since you will
not actually run CF on the machines. I welcome any correction from Adobe
folks if I'm wrong on that.

There is no connector-only install, but I'm pretty sure that you can
simply copy wsconfig.jar from another machine and run it.

Dave Watts, CTO, Fig Leaf Software 




~|
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:286673
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 Code Coverage

2007-08-21 Thread Rich
 What do you mean by code coverage?

Per the wonders of wikipedia:

Code coverage is a measure used in software testing. It describes the
degree to which the source code of a program has been tested.

I have just joined a new team, and we have quite a bit of legacy code for
older products and we are looking to track our progress of unit test
implementation.  I can roll my own code coverage tool to give generic 5%
test coverage type responses from the meta data of the CFCs, but with the
(great!) unit testing surge in the CF community I was hoping there was a
preexisting solution.

I know that test coverage reports can be misleading as even with 100%
coverage, the quality of the tests are (generally) a more important metric.
That said, we are interested in analyzing the increase in unit tests in
relation to developer productivity (ease of refactoring), regression bugs,
etc.

Rich Kroll



~|
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:286674
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 Code Coverage

2007-08-21 Thread Christopher Vigliotti
@dinner: code coverage determines the percentage of your code that is
actually being unit tested.  For example, you could have a function in a
component that has a test case written for it, but the function could
contain if/elself/else statements, switch statements or other conditional
logic that the test case doesn't 'cover'.

a better explanation can be found here:
http://en.wikipedia.org/wiki/Code_coverage

As far as I know, there is no ColdFusion unit testing solution that supports
code coverage.  If I'm wrong someone please chime in!

- Christopher Vigliotti
Sr. ColdFusion Developer
AboutWeb
http://www.aboutweb.com

On 8/21/07, Dinner [EMAIL PROTECTED] wrote:

 On 8/20/07, Rich wrote:
  Is anyone aware of a code coverage tool for CF unit tests?  If not, how
 are
  the rest of you handling unit test coverage (if at all)?

 The CFUnit view in CFEclipse is cool, and there's also the TPTP
 JUnit auto-generated stuff, but honestly, selenium has been the
 most useful (for non-regression assertion (used most (by me))).

 I think most people are using ANT and CF[C]Unit (/most/ hehe).

 What do you mean by code coverage?
 __
 Don't remember what you can infer.
 -- Harry Tennant


 

~|
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:286675
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Creating a File Upload Web Service

2007-08-21 Thread Shane Trahan
Ideally I would like to have a client with VB software that will use a CF based 
web service.  The VB client software will pass the date, an identifier, and a 
file to the webservice. The webservice would return the server filename to the 
user indicating that the file has been saved to the server.. I can pass the 
date and identifier without any problems but the file is giving me grief.. 

I think what I am failing to understand (since I am new to this services stuff) 
is that complex types such as files cannot be used for services as easily as 
other types such as strings and queries/datasets etc. so perhaps I am expecting 
to much out of the service.. 



~|
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:286676
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CF Administrator weekly scheduled task

2007-08-21 Thread t.o.
hi,

does anyone know how to set a weekly shceduled task in CF Administrator?

i mean... i have *frequency* witch can be set to 1time-recurring-daily - i
choose weekly, but what is the correct syntax to schedule my operation every
monday at 6:00?

thanks, T. 


~|
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:286677
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Creating a File Upload Web Service

2007-08-21 Thread JediHomer
You could potentially convert the local file (with the VB app) to a
base64 representation of it, which is then a string to pass to the CF
webservice, and have that convert it to a binary object to save on the
server?



On 21/08/07, Shane Trahan [EMAIL PROTECTED] wrote:
 Ideally I would like to have a client with VB software that will use a CF 
 based web service.  The VB client software will pass the date, an identifier, 
 and a file to the webservice. The webservice would return the server filename 
 to the user indicating that the file has been saved to the server.. I can 
 pass the date and identifier without any problems but the file is giving me 
 grief..

 I think what I am failing to understand (since I am new to this services 
 stuff) is that complex types such as files cannot be used for services as 
 easily as other types such as strings and queries/datasets etc. so perhaps I 
 am expecting to much out of the service..



 

~|
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:286680
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Creating a File Upload Web Service

2007-08-21 Thread Ian Skinner
Shane Trahan wrote:
 Ideally I would like to have a client with VB software that will use a CF 
 based web service.  The VB client software will pass the date, an identifier, 
 and a file to the webservice. The webservice would return the server filename 
 to the user indicating that the file has been saved to the server.. I can 
 pass the date and identifier without any problems but the file is giving me 
 grief.. 

 I think what I am failing to understand (since I am new to this services 
 stuff) is that complex types such as files cannot be used for services as 
 easily as other types such as strings and queries/datasets etc. so perhaps I 
 am expecting to much out of the service.. 
Yes, files are more difficult, but quite possible to send to a web 
service.   I was researching an issue last week and looking at VB code 
for creating and sending HTTP requests including multi-part file 
requests.  I don't have any examples at my fingertips but I'm positive a 
bit of Google searching will turn something up.

Once the VB code is uploading the mult-part HTTP request, CF can handle 
it very easily.



~|
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:286679
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CF Administrator weekly scheduled task

2007-08-21 Thread t.o.
hi,

does anyone know how to set a weekly shceduled task in CF Administrator?

i mean... i have *frequency* witch can be set to 1time-recurring-daily - i
choose weekly, but what is the correct syntax to schedule my operation every
monday at 6:00?

thanks, T. 


~|
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:286681
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 Administrator weekly scheduled task

2007-08-21 Thread Ian Skinner
t.o. wrote:
 hi,

 does anyone know how to set a weekly shceduled task in CF Administrator?

 i mean... i have *frequency* witch can be set to 1time-recurring-daily - i
 choose weekly, but what is the correct syntax to schedule my operation every
 monday at 6:00?

 thanks, T. 
You set it to run weekly at 6:00 and then select a start date that is a 
Monday.  It will then run every Monday from that point on.



~|
ColdFusion 8 - 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:286683
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 Code Coverage

2007-08-21 Thread John Paul Ashenfelter
On 8/20/07, Rich [EMAIL PROTECTED] wrote:
 Is anyone aware of a code coverage tool for CF unit tests?  If not, how are
 the rest of you handling unit test coverage (if at all)?

I get this question a lot since I'm doing a lot of automation/testing
consulting in the CF world and the answer is no. With the size of the
market for code coverage in CF (quite small compared to Java, Ruby,
etc) it's unlikely to come from anywhere but a community effort.


 - Rich Kroll



 

~|
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:286682
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 Code Coverage

2007-08-21 Thread Rich
It looks as though I am going to have to develop a solution for our needs,
but I will see if my company will allow me to release our efforts into the
public domain.


~|
ColdFusion 8 - 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:286685
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Creating a File Upload Web Service

2007-08-21 Thread Shane Trahan
Ideally I would like to have a client with VB software that will use a CF based 
web service.  The VB client software will pass the date, an identifier, and a 
file to the webservice. The webservice would return the server filename to the 
user indicating that the file has been saved to the server.. I can pass the 
date and identifier without any problems but the file is giving me grief.. 

I think what I am failing to understand (since I am new to this services stuff) 
is that complex types such as files cannot be used for services as easily as 
other types such as strings and queries/datasets etc. so perhaps I am expecting 
to much out of the service.. 



~|
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:286678
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 Administrator weekly scheduled task

2007-08-21 Thread Raymond Camden
You could use weekly and do a start date of one particular Monday. I'm
not quite sure that will work though. Another way is to just do it
daily, and in your code, check the day of the week. In theory this
means you are wasting time 6 days a week, but as it will take about
1 ms to determine the day of the week, I wouldn't consider this a big
deal.

On 8/21/07, t.o. [EMAIL PROTECTED] wrote:
 hi,

 does anyone know how to set a weekly shceduled task in CF Administrator?

 i mean... i have *frequency* witch can be set to 1time-recurring-daily - i
 choose weekly, but what is the correct syntax to schedule my operation every
 monday at 6:00?

 thanks, T.


 

~|
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:286684
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: date UN-mask

2007-08-21 Thread Brad Wood
Are you sure?

The first line of the page says, It allows for formatting (date -
text), parsing (text - date), and normalization.  The text - date
is what looked promising.

I don't much about Java, so maybe text has another meaning there.

~Brad

-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 20, 2007 10:05 PM
To: CF-Talk
Subject: Re: date UN-mask

Brad Wood wrote:
 Hmm.. that looks kinda promising. I'll check into it.  

it can't format or parse what's not a datetime object. you're still
stuck 
parsing that data yourself.



~|
ColdFusion 8 - 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:286686
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfimage resize running very slow

2007-08-21 Thread Zaphod Beeblebrox
I'm curious what cfimage uses behind the scenes.  If it's the java
image libraries, I wouldn't be surprised with the speed issues as I
had trouble with them when used as a cfobject.



On 8/20/07, Steve Sequenzia [EMAIL PROTECTED] wrote:
 I am trying to figure out if it is normal for the cfimage resize to be very 
 slow. I am reading photos from a database then resizing them and writing them 
 to a directory. The the process works fine but it gets through about 17 
 pictures and then errors out with this error The request has exceeded the 
 allowable time limit Tag: CFLOOP

 Am I missing something here? Here is some of the code:

 cfloop query=getPhotos

 cfimage source=#photoPath#/#photoName# name=ph

 cfif imageGetWidth(ph) GTE imageGetHeight(ph)

 cfset widthT = '150'
 cfset heightT = '112'

 cfset widthF = '600'
 cfset heightF = '450'

 cfelse

 cfset heightT = '150'
 cfset widthT = '112'

 cfset heightF = '600'
 cfset widthF = '450'

 cfimage action=resize height=#heightT# width=#widthT# name=nImage 
 source=#photoPath#/#photoName# 
 destination=#application.viewPhotoDir#/thumbnails/#photoName# 
 overwrite=yes

 cfimage action=resize height=#heightF# width=#widthF# name=nImage2 
 source=#photoPath#/#photoName#
 destination=#application.viewPhotoDir#/full/#photoName# overwrite=yes

 /cfloop

 Any help on this would be great.

 

~|
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:286687
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Coldfusion Service

2007-08-21 Thread tripura k
Hello Vishnuprasad
 
I am new to cold fusion and I am not knowing from where I should start and how 
to learn and how to use java files in coldfusion..
can yo suggest me best link or best book or anything else 
 
 Subject: Coldfusion Service From: [EMAIL PROTECTED] To: 
 cf-talk@houseoffusion.com Date: Tue, 21 Aug 2007 03:24:38 -0500  Hi All  
 I need an help  we have done 2 project in coldfusion so far , I told about 
 the getting more coldfusion project in our company. But they are asking me 
 for some presentation or Fact that should tell Coldfusion will be better than 
 .Net or Java or PHP wrt Cost / Implemenation / Time taken to complete / 
 Learning time / Training cost etc..  Can anyone help me on this   If you 
 have any presentaion or document which will be used to sell or promote 
 coldfusion service   Thanks and regards Vishnuprasad 

~|
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:286688
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfimage resize running very slow

2007-08-21 Thread Brad Wood
According to what I have heard.  The cfimage tag is much more than just
the standard Java image manipulation libraries out there.  It also
incorporates a large amount of proprietary Adobe code which was
re-written in Java just for Scorpio.  (I'm thinking photoshop...)

Personally I think that kicks butt because this is one place where CF
can do stuff (or at least produce quality) that the standard Java stuff
can't.  

As far as the performance-- I dunno.  Are the file sizes very large?
Perhaps Disk I/O is bottlenecking.  

You should totally check out Ben Nadel's blog entry showing how to
easily use cfthread to asynchronously process multiple images.
http://www.bennadel.com/index.cfm?dax=blog:749.view

He's doing a cfhttp, but I'm sure the same could be used to crank
through your images 5 or 10 at a time.


~Brad



-Original Message-
From: Zaphod Beeblebrox [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 9:41 AM
To: CF-Talk
Subject: Re: cfimage resize running very slow

I'm curious what cfimage uses behind the scenes.  If it's the java
image libraries, I wouldn't be surprised with the speed issues as I
had trouble with them when used as a cfobject.



On 8/20/07, Steve Sequenzia [EMAIL PROTECTED] wrote:
 I am trying to figure out if it is normal for the cfimage resize to be
very slow. I am reading photos from a database then resizing them and
writing them to a directory. The the process works fine but it gets
through about 17 pictures and then errors out with this error The
request has exceeded the allowable time limit Tag: CFLOOP

 Am I missing something here? Here is some of the code:

 cfloop query=getPhotos

 cfimage source=#photoPath#/#photoName# name=ph

 cfif imageGetWidth(ph) GTE imageGetHeight(ph)

 cfset widthT = '150'
 cfset heightT = '112'

 cfset widthF = '600'
 cfset heightF = '450'

 cfelse

 cfset heightT = '150'
 cfset widthT = '112'

 cfset heightF = '600'
 cfset widthF = '450'

 cfimage action=resize height=#heightT# width=#widthT#
name=nImage source=#photoPath#/#photoName#
destination=#application.viewPhotoDir#/thumbnails/#photoName#
overwrite=yes

 cfimage action=resize height=#heightF# width=#widthF#
name=nImage2 source=#photoPath#/#photoName#
 destination=#application.viewPhotoDir#/full/#photoName#
overwrite=yes

 /cfloop

 Any help on this would be great.

 



~|
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:286689
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Creating a File Upload Web Service

2007-08-21 Thread Claude Schneegans
 So there is no other way to create a CF upload service without 
sending the file through HTTP as a multi-part request?

Not what I am aware of.

But what so evil about HTTP requests?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
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:286690
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFExchangeMail action=getattachments - MSX error code 501

2007-08-21 Thread [EMAIL PROTECTED] [EMAIL PROTECTED]
Am having problems getting attachments from Exchange inbox emails.  I can get 
the list of items in teh inbox with no problems, but when I then loop over that 
query to do an ACTION=GetAttachments CF throws an error:
   ERROR PERFORMING THE ACTION.  EXCHANGE ERROR CODE : 501
I've googled the error code and cannot come up with anything other than 
ActiveSync errors for that code.

Has anyone seen anything like this?  Here is my code (pretty simple):

cfexchangeconnection action = open connection = exchangeConnection 
protocol = https server = #msxserver# 
username = #msxuser# password = #msxpassword# / 

cfexchangemail action = get name = google connection = 
exchangeConnection /
cfdump var=#google#

cfloop query=google
HR
HAS ATTACHMENT=#google.hasattachment#  UID=#google.uid#
cfif google.HasAttachment IS yes
cfexchangemail action=getattachments
connection=exchangeConnection 
uid=#google.UID#
name=attachInfo
attachmentPath=C:\temp\Googleattachments
generateUniqueFilenames=true
BR
cfdump var=#attachinfo#
/cfif
/cfloop

cfexchangeconnection action = close connection = exchangeConnection / 



I'm baffled!
Thanks,
Reed


~|
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:286691
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: date UN-mask

2007-08-21 Thread Paul Hastings
Brad Wood wrote:
 Are you sure?
 
 The first line of the page says, It allows for formatting (date -
 text), parsing (text - date), and normalization.  The text - date
 is what looked promising.

as i said before, your text isn't in any locale formatting i know about (and i 
guess i shouldn't have used the phrase datetime object w/parsing). if you 
want 
to see for yourself, grab one of my i18n CFCs (i think the I18N calendar 
testbed on www.sustainableGIS.com/things.cfm is sort of up to date)  see how 
it's normally done (where normal is what i've learned from the java world). the 
campy batman tv references in the code should make it obvious.

~|
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:286692
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: date UN-mask

2007-08-21 Thread Brad Wood
Wait, I think I get what you might be saying... 

It ONLY does the text to date stuff IF your text happens to be formatted
properly to one of the locale formats?

So it's not really a free-for-all, you provide the mask and completely
random string of numbers conversion.  It's more like you provide a
string of text which conforms to a specific local formatting, and THEN
it can be formatted into a date object.

Is that correct?

~Brad

-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 10:16 AM
To: CF-Talk
Subject: Re: date UN-mask

Brad Wood wrote:
 Are you sure?
 
 The first line of the page says, It allows for formatting (date -
 text), parsing (text - date), and normalization.  The text - date
 is what looked promising.

as i said before, your text isn't in any locale formatting i know about
(and i 

~|
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:286693
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: date UN-mask

2007-08-21 Thread Paul Hastings
Brad Wood wrote:

 random string of numbers conversion.  It's more like you provide a
 string of text which conforms to a specific local formatting, and THEN
 it can be formatted into a date object.

more or less but look at the code...

~|
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:286695
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfimage resize running very slow

2007-08-21 Thread Raymond Camden
Something else to consider. If you use the imageResize function
instead of the cfimage tag, you are given options to control the
quality/speed of the transfer. ColdFusion defaults to best output,
slowest performance, which I think is a good choice, but you may want
to play with the options to see if a lower quality, faster output
option is acceptible for your needs.

On 8/21/07, Brad Wood [EMAIL PROTECTED] wrote:
 According to what I have heard.  The cfimage tag is much more than just
 the standard Java image manipulation libraries out there.  It also
 incorporates a large amount of proprietary Adobe code which was
 re-written in Java just for Scorpio.  (I'm thinking photoshop...)

 Personally I think that kicks butt because this is one place where CF
 can do stuff (or at least produce quality) that the standard Java stuff
 can't.

-- 
===
Raymond Camden, Camden Media

Email: [EMAIL PROTECTED]
Blog  : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

~|
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:286694
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Coldfusion 8 hosting

2007-08-21 Thread Andy Matthews
I spoke to the product manager and the QA manager for CF8 and they seemed to
indicate that they're certain enough of CF8 that they might not release an
update.

Just passing on their words.

-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 20, 2007 7:42 PM
To: CF-Talk
Subject: Re: Coldfusion 8 hosting

it can be hazardous to jump on the bandwagon too early.There are
always issues with a new version of system software, and it can be a
marketing advantage to be first to offer the new version. but it can also
bite you as well.

Most hosting companies will be testing CF8, have it running on dev servers
or beta boxes, maybe offer it to a select few clients, but be watching what
happens to the other companies and be ready to move once any issues have
emerged.

It's not a trivial issue - every other version of coldfusion has had a
service pack or updater pretty soon after release.It all depends
on what (if anything) emerges as an issue with hosting CF8.

I have a client at HostMySIte who was upgraded yesterday, and some of the
IIS settings were lost in the process, bringing his site down.
So it's not totally without flaws.

Upgrade with caution is my view.I have never been one to be first
to jump on the new bandwagon just because it's new.

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



On 8/21/07, Adrian Wagner [EMAIL PROTECTED] wrote:
 For the Aussies around: FastHit.com.au and hostingfuse.com.au (they 
 are partner companies here in Perth. FastHit has their servers in Oz, 
 while hostingfuse has them in the States and is therefore cheaper).

 Have to create a site in Switzerland at the moment and did some 
 research into hosting. These guys 
 http://www.computeroil.ch/index.tpl?lang=2 have
 CF8 installed and offered to set up a sand box for me.
 Otherwise, Swiss hosts don't seem to jump on the band wagon to early.

 A.




~|
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:286697
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SQL Reporting Services

2007-08-21 Thread Lee
OK I have done all my home work and searched the archives 
of this list and the Internet. I need to find a simple 
example of a CF page calling a SQL Server 2005 Reporting 
Services report. I'm fairly certain that it requires a Web 
service. Are there any examples out there? Is anyone doing 
this?

Lee Surma

~|
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:286696
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: date UN-mask

2007-08-21 Thread Janet MacKay
So it's not really a free-for-all, you provide the mask and completely random 
string of numbers conversion.  

No, its not completely free-for-all. IIRC you can supply a pattern, locale, 
etc. which gives you some flexibility. Using the correct settings you should be 
able to parse numeric date strings in formats such as

MMDD,MMDD, MMDD, d.M., etc.






~|
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:286698
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Coldfusion 8 hosting

2007-08-21 Thread Andy Matthews
I spoke to them at CFUnited by the way. Forgot to add that tidbit. 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 11:25 AM
To: CF-Talk
Subject: RE: Coldfusion 8 hosting

I spoke to the product manager and the QA manager for CF8 and they seemed to
indicate that they're certain enough of CF8 that they might not release an
update.

Just passing on their words.



~|
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:286699
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: date UN-mask

2007-08-21 Thread Paul Hastings
Janet MacKay wrote:
 
 No, its not completely free-for-all. IIRC you can supply a pattern, locale,
 etc. which gives you some flexibility. Using the correct settings you should
 be able to parse numeric date strings in formats such as
 
 MMDD,MMDD, MMDD, d.M., etc.

but you have to *know* all this before hand (and if you do, you can parse it 
yourself w/out resorting to java).

and to continue to belabor this point, it's why you should stick w/the standard 
date/time formats when you display datetimes to users especial in i18n apps.

~|
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:286700
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFIF Pissing me off

2007-08-21 Thread Bruce Sorge
Morning all.

I have this select list:

 

select name=Shift

cfif (GetScheduleInfoRet.Shift) IS B

option value=B
selected=selectedBreakfast/option

option value=LLunch/option

cfelseif (GetScheduleInfoRet.Shift) IS L

option value=BBreakfast/option

option value=L
selected=selectedLunch/option

cfelse

 option value=BBreakfast/option

 option value=LLunch/option

/cfif

/select

 

So when I open the form, the elseif portion kicks in because the item in the
database is L (and I added identifying letters at the end of each option).
However, breakfast is the option that I am seeing selected, not Lunch.  Not
sure why this is happening. Any ideas? This is a very basic deal that I have
done with success in the past but today it does not want to cooperate. 

 

Using CF8, Server 2003.

 

Bruce

 

 

 



~|
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:286701
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Please disregard CFIF issue

2007-08-21 Thread Bruce Sorge
Stupid browser was caching the results. Cleared the cache and it is working
fine now. 

 

Bruce

 

 



~|
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:286702
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFIF Pissing me off

2007-08-21 Thread Crow T. Robot
I think it is selected=true, or you can just use option value=B
selected.

Not sure if that is your problem, but that's what jumped out at me.

Also, be careful when you test in FF, as it tends to cache your form
selections even upon a ctrl-refresh.  That has gotten me quite a few times.
I usually test these things in IE just to be safe.

On 8/21/07, Bruce Sorge [EMAIL PROTECTED] wrote:

 Morning all.

 I have this select list:



 select name=Shift

 cfif (GetScheduleInfoRet.Shift) IS B

 option value=B
 selected=selectedBreakfast/option

 option value=LLunch/option

 cfelseif (GetScheduleInfoRet.Shift) IS L

 option value=BBreakfast/option

 option value=L
 selected=selectedLunch/option

 cfelse

  option value=BBreakfast/option

  option value=LLunch/option

 /cfif

 /select



 So when I open the form, the elseif portion kicks in because the item in
 the
 database is L (and I added identifying letters at the end of each option).
 However, breakfast is the option that I am seeing selected, not
 Lunch.  Not
 sure why this is happening. Any ideas? This is a very basic deal that I
 have
 done with success in the past but today it does not want to cooperate.



 Using CF8, Server 2003.



 Bruce









 

~|
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:286704
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Matthew Smith
I have modified my host file as follows: 
--

127.0.0.1   localhost
www_redhotkitties_com   localhost/www_redhotkitties_com

--

When I browse to http://www_redhotkitties_com/, I get Internet Explorer
cannot display the webpage.

If I go to http://localhost/www_redhotkitties_com/, I get an error that
it cannot find an included template, which should not be the case.

Do I have something configured wrong?

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 1:05 AM
To: CF-Talk
Subject: Re: multiple sites with cf 8 and iis

Assuming you are on windows (a safe bet if you're using IIS) it's
typically in c:\windows\system32\drivers\etc\hosts.

On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote:
 Where is etc/hosts?  Thanks for the help.

 -Original Message-
 From: James Holmes [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 20, 2007 10:37 PM
 To: CF-Talk
 Subject: Re: multiple sites with cf 8 and iis

 Set up entries in etc/hosts so you don't need to swap anything - make
 the IIS sites respond to the relevant host names.

 On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote:
  I just did a clean install of my development machine.  In the past,
I
 used coldfusion's built in web server, but had a problem configuring
it
 to use a different folder for it's root.
 
  This time around I think I'll give IIS a try.  I have five sites I
am
 responsible for.  I would like to be able to switch between them in as
 few steps as possible.  Do I need to create a virtual directory for
each
 one?  How would I switch between sites for http://localhost/ shows the
 proper site?  Or can I just change the mapping for / to the current
 site's folder?  If so, where should I locate the folder for each site?
 Do I set up a different site in IIS for each site?  If so, would I
have
 to manually apply coldfusion to each site?
 
  I'm not really sure what I need to do so any help would be
 appreciated.  Thanks!


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



 



~|
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:286703
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFIF Pissing me off

2007-08-21 Thread Gert Franz
You might just use the word selected instead of selected=selected. In 
both cases HTML finds the keyword selected so it takes the second one. 
Nothing to do with CFIF... :-)  

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

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



Bruce Sorge schrieb:
 Morning all.

 I have this select list:

  

 select name=Shift

 cfif (GetScheduleInfoRet.Shift) IS B

 option value=B
 selected=selectedBreakfast/option

 option value=LLunch/option

 cfelseif (GetScheduleInfoRet.Shift) IS L

 option value=BBreakfast/option

 option value=L
 selected=selectedLunch/option

 cfelse

  option value=BBreakfast/option

  option value=LLunch/option

 /cfif

 /select

  

 So when I open the form, the elseif portion kicks in because the item in the
 database is L (and I added identifying letters at the end of each option).
 However, breakfast is the option that I am seeing selected, not Lunch.  Not
 sure why this is happening. Any ideas? This is a very basic deal that I have
 done with success in the past but today it does not want to cooperate. 

  

 Using CF8, Server 2003.

  

 Bruce

  

  

  



 

~|
ColdFusion 8 - 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:286707
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFIF Pissing me off

2007-08-21 Thread Crow T. Robot
Also, what does the page source look like?  You can tell which block fired
by looking there, and determine if it is really a CF issue or just an html
issue.

On 8/21/07, Crow T. Robot [EMAIL PROTECTED] wrote:

 I think it is selected=true, or you can just use option value=B
 selected.

 Not sure if that is your problem, but that's what jumped out at me.

 Also, be careful when you test in FF, as it tends to cache your form
 selections even upon a ctrl-refresh.  That has gotten me quite a few times.
 I usually test these things in IE just to be safe.

 On 8/21/07, Bruce Sorge [EMAIL PROTECTED] wrote:
 
  Morning all.
 
  I have this select list:
 
 
 
  select name=Shift
 
  cfif (GetScheduleInfoRet.Shift) IS B
 
  option value=B
  selected=selectedBreakfast/option
 
  option value=LLunch/option
 
  cfelseif (GetScheduleInfoRet.Shift) IS L
 
  option value=BBreakfast/option
 
  option value=L
  selected=selectedLunch/option
 
  cfelse
 
   option value=BBreakfast/option
 
   option value=LLunch/option
 
  /cfif
 
  /select
 
 
 
  So when I open the form, the elseif portion kicks in because the item in
  the
  database is L (and I added identifying letters at the end of each
  option).
  However, breakfast is the option that I am seeing selected, not
  Lunch.  Not
  sure why this is happening. Any ideas? This is a very basic deal that I
  have
  done with success in the past but today it does not want to cooperate.
 
 
 
  Using CF8, Server 2003.
 
 
 
  Bruce
 
 
 
 
 
 
 
 
 
  

~|
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:286708
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfimage resize running very slow

2007-08-21 Thread Jim Wright
I had done some tests recently to try to determine if I wanted to move
some code over to using cfimage...here are some results.  I tried to
just run these tests with the defaults of each method.  This was run
on a shared host.  Not scientific, but I don't think I will move away
from Efflare quite yet for my bulk processing.  The table of times is
just a loop resizing the same image over and over.

http://www.wrightster.com/resize/testresults.html

In my testing, I also saw both cfimage and imagecfc spike up to 3 or 4
seconds (probably due to other processing on the shared host), and I
did not see that with Efflare.

~|
ColdFusion 8 - 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:286706
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Please disregard CFIF issue

2007-08-21 Thread Crow T. Robot
Ahhh.

On 8/21/07, Bruce Sorge [EMAIL PROTECTED] wrote:

 Stupid browser was caching the results. Cleared the cache and it is
 working
 fine now.



 Bruce







 

~|
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:286709
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFIF Pissing me off

2007-08-21 Thread Claude Schneegans
The problem is not with CFIF but with your HTML.
The SELECTED attribute in a SELECT takes no value:
option value=B selected

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


~|
ColdFusion 8 - 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:286705
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFIF Pissing me off

2007-08-21 Thread Mik Muller
BTW, Lots of code for just two options. Try this:

select name=Shift
cfloop list=Breakfast,Lunch,Dinner,Supper,Midnight Snack,Elevenses,Afternoon 
Snack,Purge index=ii
option value=#left(ii,1)# cfif GetScheduleInfoRet.Shift eq 
left(ii,1)selected=selected/cfif#ii#/option
/cfloop
/select



At 12:43 PM 8/21/2007, you wrote:
Morning all.

I have this select list:

 

select name=Shift
cfif (GetScheduleInfoRet.Shift) IS B
option value=B selected=selectedBreakfast/option
option value=LLunch/option
cfelseif (GetScheduleInfoRet.Shift) IS L
option value=BBreakfast/option
option value=L selected=selectedLunch/option
cfelse
option value=BBreakfast/option
option value=LLunch/option
/cfif
/select

 

So when I open the form, the elseif portion kicks in because the item in the
database is L (and I added identifying letters at the end of each option).
However, breakfast is the option that I am seeing selected, not Lunch.  Not
sure why this is happening. Any ideas? This is a very basic deal that I have
done with success in the past but today it does not want to cooperate. 

 

Using CF8, Server 2003.

 

Bruce

 

 

 





~|
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:286711
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFIF Pissing me off

2007-08-21 Thread Dan Blickensderfer
Bruce,

It seems a lot of work...   I have always used the following for selecting 
an option.

select name=Shift
 option value=B cfif (GetScheduleInfoRet.Shift) IS 
Bselected/cfifBreakfast/option
 option value=L cfif (GetScheduleInfoRet.Shift) IS 
Lselected/cfifLunch/option
/select


Thanks,
Dan


- Original Message - 
From: Bruce Sorge [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: August 21, 2007 12:43 PM
Subject: CFIF Pissing me off


 Morning all.

 I have this select list:



 select name=Shift

 cfif (GetScheduleInfoRet.Shift) IS B

option value=B
 selected=selectedBreakfast/option

option value=LLunch/option

cfelseif (GetScheduleInfoRet.Shift) IS L

 option value=BBreakfast/option

option value=L
 selected=selectedLunch/option

cfelse

 option value=BBreakfast/option

 option value=LLunch/option

/cfif

 /select



 So when I open the form, the elseif portion kicks in because the item in 
 the
 database is L (and I added identifying letters at the end of each option).
 However, breakfast is the option that I am seeing selected, not Lunch. 
 Not
 sure why this is happening. Any ideas? This is a very basic deal that I 
 have
 done with success in the past but today it does not want to cooperate.



 Using CF8, Server 2003.



 Bruce









 

~|
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:286710
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFIF Pissing me off

2007-08-21 Thread Mik Muller
At 12:51 PM 8/21/2007, Crow T. Robot wrote:

Also, be careful when you test in FF, as it tends to cache your form
selections even upon a ctrl-refresh.  That has gotten me quite a few times.
I usually test these things in IE just to be safe.


I noticed that too. I just click to another page and click the link to return. 
Keep it fresh.

Mik





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

Eschew Obfuscation




~|
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:286712
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: date UN-mask

2007-08-21 Thread Janet MacKay
but you have to *know* all this before hand (and if you do, you can parse it 
yourself w/out resorting to java).

Of course. I was simply talking about the usage of the class. Obviously, 
whichever method you use you must to know the string format, whether you prefer 
to parse it using string functions or using java. Though I agree java might be 
overkill here.

 and to continue to belabor this point, it's why you should stick w/the 
 standard 
 date/time formats when you display datetimes to users especial in i18n apps.

I agree 100%, but not everyone has the ability to define the format of the data 
they're working with. 


~|
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:286714
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFIF Pissing me off

2007-08-21 Thread Bruce Sorge
That is exactly what was happening. Using FF to view the work and I forgot
that FF does this.

Bruce

-Original Message-
From: Mik Muller Sent: Tuesday, August 21, 2007 10:04 AM
To: CF-Talk
Subject: Re: CFIF Pissing me off

At 12:51 PM 8/21/2007, Crow T. Robot wrote:

Also, be careful when you test in FF, as it tends to cache your form
selections even upon a ctrl-refresh.  That has gotten me quite a few times.
I usually test these things in IE just to be safe.


I noticed that too. I just click to another page and click the link to
return. Keep it fresh.

Mik





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

Eschew Obfuscation




~|
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:286715
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFIF Pissing me off

2007-08-21 Thread Charlie Griefer
On 8/21/07, Claude Schneegans [EMAIL PROTECTED] wrote:
 The problem is not with CFIF but with your HTML.
 The SELECTED attribute in a SELECT takes no value:
 option value=B selected

it does in XHTML.  selected=selected is valid XHTML.  the shorthand
selected is not.

-- 
Charlie Griefer


...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed.

~|
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:286713
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: multiple sites with cf 8 and iis

2007-08-21 Thread Zaphod Beeblebrox
unless you're using a server version of windows, IIS isn't going to
serve more than 1 site at a time.

BTW,  entries in the hosts file would take on this form:
127.0.0.1localhost
127.0.0.1redhotkitties.com

Then, in IIS you'd set up multiple sites and have them use the host
header to determine which site was being visited.  All of this is moot
though if you don't have a server version of windows



On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote:
 I have modified my host file as follows:
 --

 127.0.0.1   localhost
 www_redhotkitties_com   localhost/www_redhotkitties_com

 --

 When I browse to http://www_redhotkitties_com/, I get Internet Explorer
 cannot display the webpage.

 If I go to http://localhost/www_redhotkitties_com/, I get an error that
 it cannot find an included template, which should not be the case.

 Do I have something configured wrong?

 -Original Message-
 From: James Holmes [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 21, 2007 1:05 AM
 To: CF-Talk
 Subject: Re: multiple sites with cf 8 and iis

 Assuming you are on windows (a safe bet if you're using IIS) it's
 typically in c:\windows\system32\drivers\etc\hosts.

 On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote:
  Where is etc/hosts?  Thanks for the help.
 
  -Original Message-
  From: James Holmes [mailto:[EMAIL PROTECTED]
  Sent: Monday, August 20, 2007 10:37 PM
  To: CF-Talk
  Subject: Re: multiple sites with cf 8 and iis
 
  Set up entries in etc/hosts so you don't need to swap anything - make
  the IIS sites respond to the relevant host names.
 
  On 8/21/07, Matthew Smith [EMAIL PROTECTED] wrote:
   I just did a clean install of my development machine.  In the past,
 I
  used coldfusion's built in web server, but had a problem configuring
 it
  to use a different folder for it's root.
  
   This time around I think I'll give IIS a try.  I have five sites I
 am
  responsible for.  I would like to be able to switch between them in as
  few steps as possible.  Do I need to create a virtual directory for
 each
  one?  How would I switch between sites for http://localhost/ shows the
  proper site?  Or can I just change the mapping for / to the current
  site's folder?  If so, where should I locate the folder for each site?
  Do I set up a different site in IIS for each site?  If so, would I
 have
  to manually apply coldfusion to each site?
  
   I'm not really sure what I need to do so any help would be
  appreciated.  Thanks!
 
 
  --
  mxAjax / CFAjax docs and other useful articles:
  http://www.bifrost.com.au/blog/
 
 
 
 



 

~|
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:286717
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Dave Watts
 I have modified my host file as follows: 
 --
 
 127.0.0.1   localhost
 www_redhotkitties_com localhost/www_redhotkitties_com
 
 --
 
 When I browse to http://www_redhotkitties_com/, I get 
 Internet Explorer cannot display the webpage.
 
 If I go to http://localhost/www_redhotkitties_com/, I get an 
 error that it cannot find an included template, which should 
 not be the case.
 
 Do I have something configured wrong?

Yes. First, you should read the examples at the top of your HOSTS file, if
you have any. You might also look for HOSTS.SAM in the same directory for
guidance on how to write entries.

That said, you can only use HOSTS to do what a DNS server would do - map IP
addresses to hostnames. If you want to have multiple names for a single IP
address, however, you can't create aliases like you would in a DNS server;
you simply map the address multiple times:

127.0.0.1   localhost
127.0.0.1   www.redhotkitties.com
127.0.0.1   www.somethingelse.com


You can't create mappings to anything other than a hostname, either; there's
nothing that would let you map an IP address to a URL as you're doing with
localhost/www_redhotkitties_com.

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

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


~|
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:286716
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfimage resize running very slow

2007-08-21 Thread Raymond Camden
Again though Jim - you can't just look at speed - but quality of
output. Remember that Adobe erred on the side of quality over speed,
but lets you change the quality to speed up performance.

On 8/21/07, Jim Wright [EMAIL PROTECTED] wrote:
 I had done some tests recently to try to determine if I wanted to move
 some code over to using cfimage...here are some results.  I tried to
 just run these tests with the defaults of each method.  This was run
 on a shared host.  Not scientific, but I don't think I will move away
 from Efflare quite yet for my bulk processing.  The table of times is
 just a loop resizing the same image over and over.

 http://www.wrightster.com/resize/testresults.html

 In my testing, I also saw both cfimage and imagecfc spike up to 3 or 4
 seconds (probably due to other processing on the shared host), and I
 did not see that with Efflare.

 

~|
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:286718
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFIF Pissing me off

2007-08-21 Thread Dave Watts
 Yeah, that is the problem with using DWCS3. It installs shit 
 like Selected=Selected.

Look at the top line of your HTML document. If it's an XHTML document, then
you're getting the right shit. If you choose another DOCTYPE, Dreamweaver
will generate valid HTML for that DOCTYPE as well.

When you create new HTML documents in Dreamweaver, by default they are
XHTML, because XHTML is the shit.

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!


~|
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:286721
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Dave Watts
 unless you're using a server version of windows, IIS isn't 
 going to serve more than 1 site at a time.

 unless you're using Vista.

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!


~|
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:286722
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFIF Pissing me off

2007-08-21 Thread Bruce Sorge
Yeah, that is the problem with using DWCS3. It installs shit like
Selected=Selected. I have HS installed, but I cannot find my serial
number.
Went to the Adobe site to my account, and I guess my products that I bought
did not get migrated from when it was MM. Sent them an email and their
autobot POS (Piece Of Shit) system kicked out the standard Your serial
number can be located on the box of the item you bought, or you can log into
our site and go into your purchased items section blah blah blah.
Well, I guess the rocket scientists at Adobe do not understand that I did
not buy the physical media, but the download version and thus do NOT have a
box with a spiffy serial number on it, and I cannot find my email's with the
serials on there at all.

Oh well. Maybe my account information will be moved over eventually.

Bruce

-Original Message-
From: Claude Schneegans 
Sent: Tuesday, August 21, 2007 9:54 AM
To: CF-Talk
Subject: Re: CFIF Pissing me off

The problem is not with CFIF but with your HTML.
The SELECTED attribute in a SELECT takes no value:
option value=B selected



~|
ColdFusion 8 - 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:286719
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFIF Pissing me off

2007-08-21 Thread Paul Vernon
 
 The problem is not with CFIF but with your HTML.
 The SELECTED attribute in a SELECT takes no value:
 option value=B selected

It does with XHTML. Just like checkboxes have to be checked=checked :)

Paul



~|
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:286720
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: multiple sites with cf 8 and iis

2007-08-21 Thread Zaphod Beeblebrox
cool!  I had no idea that restriction was lifted for vista.

is there a top limit?

On 8/21/07, Dave Watts [EMAIL PROTECTED] wrote:
  unless you're using a server version of windows, IIS isn't
  going to serve more than 1 site at a time.

  unless you're using Vista.

 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!


 

~|
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:286723
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFIF Pissing me off

2007-08-21 Thread Bruce Sorge
Got-cha!. Thanks.

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 10:33 AM
To: CF-Talk
Subject: RE: CFIF Pissing me off

 Yeah, that is the problem with using DWCS3. It installs shit 
 like Selected=Selected.

Look at the top line of your HTML document. If it's an XHTML document, then
you're getting the right shit. If you choose another DOCTYPE, Dreamweaver
will generate valid HTML for that DOCTYPE as well.

When you create new HTML documents in Dreamweaver, by default they are
XHTML, because XHTML is the shit.

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!




~|
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:286724
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFIF Pissing me off

2007-08-21 Thread Claude Schneegans
 it does in XHTML.  selected=selected is valid XHTML.  the shorthand
selected is not.

One more reason I don't use XHTML ;-)

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


~|
ColdFusion 8 - 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:286726
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Matthew Smith
Thanks for the help, Dave.

What I'm trying to do is somehow be able to access different sites
locally.  Right now, I have to delete everything from wwwroot, then copy
over the files of the site I want to work on.  It can be a pain to work
on the different sites.  Also, Dreamweaver complains that the local site
root is the same for different sites.

Is there any way to have the different sites accessible under different
resources using mappings or virtual directories?  Or any other solution
to the problem? 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 12:16 PM
To: CF-Talk
Subject: RE: multiple sites with cf 8 and iis

 I have modified my host file as follows: 
 --
 
 127.0.0.1   localhost
 www_redhotkitties_com localhost/www_redhotkitties_com
 
 --
 
 When I browse to http://www_redhotkitties_com/, I get 
 Internet Explorer cannot display the webpage.
 
 If I go to http://localhost/www_redhotkitties_com/, I get an 
 error that it cannot find an included template, which should 
 not be the case.
 
 Do I have something configured wrong?

Yes. First, you should read the examples at the top of your HOSTS file,
if
you have any. You might also look for HOSTS.SAM in the same directory
for
guidance on how to write entries.

That said, you can only use HOSTS to do what a DNS server would do - map
IP
addresses to hostnames. If you want to have multiple names for a single
IP
address, however, you can't create aliases like you would in a DNS
server;
you simply map the address multiple times:

127.0.0.1   localhost
127.0.0.1   www.redhotkitties.com
127.0.0.1   www.somethingelse.com
.

You can't create mappings to anything other than a hostname, either;
there's
nothing that would let you map an IP address to a URL as you're doing
with
localhost/www_redhotkitties_com.

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

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




~|
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:286725
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Dave Watts
 is there a top limit?

Not to my knowledge. I haven't run into one yet.

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!


~|
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:286727
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: multiple sites with cf 8 and iis

2007-08-21 Thread Jochem van Dieten
Adrian Lynch wrote:
 On my machine it's in C:\WINDOWS\system32\drivers\etc.
 
 And talking of the hosts file. Does anyone have any ideas about setting up a
 hosts file like system for a LAN without running a DNS server?

Find somebody that has run servers for over 24 years and they will be 
able to tell you. (DNS replaced such a system in 1983.)

Jochem

~|
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:286729
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: multiple sites with cf 8 and iis

2007-08-21 Thread Jochem van Dieten
Matthew Smith wrote:
 I have modified my host file as follows: 
 --
 
 127.0.0.1   localhost
 www_redhotkitties_com localhost/www_redhotkitties_com

That is not a valid record for a hostfile. A host file performs the 
function of DNS, nothing more, nothing less. You probably want:
127.0.0.1   localhost
127.0.0.2   www_redhotkitties_com

All 127.0.0.x IP addresses end on the loopback interface so you van use 
them all.

Jochem

~|
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:286728
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Matthew Smith
Is there a way to use the differing ip addresses(127.0.0.2) so that IIS
will use a different root directory?

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 12:57 PM
To: CF-Talk
Subject: Re: multiple sites with cf 8 and iis

Matthew Smith wrote:
 I have modified my host file as follows: 
 --
 
 127.0.0.1   localhost
 www_redhotkitties_com localhost/www_redhotkitties_com

That is not a valid record for a hostfile. A host file performs the 
function of DNS, nothing more, nothing less. You probably want:
127.0.0.1   localhost
127.0.0.2   www_redhotkitties_com

All 127.0.0.x IP addresses end on the loopback interface so you van use 
them all.

Jochem



~|
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:286731
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfimage resize running very slow

2007-08-21 Thread Jim Wright
On 8/21/07, Raymond Camden [EMAIL PROTECTED] wrote:
 Again though Jim - you can't just look at speed - but quality of
 output. Remember that Adobe erred on the side of quality over speed,
 but lets you change the quality to speed up performance.


Very true, but if I change the interpolation on cfimage to
mediumPerformance, I'm still getting times in the 200-300 ms range and
my subjective opinion is that the Efflare thumbnail looks much better.
 If I change it to highestPerformance, the times are in the 30-40ms
range, but the thumbnail looks like crap.

As I said, this is non-scientific and specific to my setup and images.  YMMV.

~|
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:286730
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfimage resize running very slow

2007-08-21 Thread Raymond Camden
Fair enough - I just wanted to make sure you tried those options.

On 8/21/07, Jim Wright [EMAIL PROTECTED] wrote:
 On 8/21/07, Raymond Camden [EMAIL PROTECTED] wrote:
  Again though Jim - you can't just look at speed - but quality of
  output. Remember that Adobe erred on the side of quality over speed,
  but lets you change the quality to speed up performance.
 


-- 
===
Raymond Camden, Camden Media

Email: [EMAIL PROTECTED]
Blog  : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

~|
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:286732
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Creating a File Upload Web Service

2007-08-21 Thread Shane Trahan
Jedi;
  The idea of converting to Base64 seems to have worked beautifully.. In VB I 
have converted my .Wav files to Base64. Passed that string to the WebService 
then on the CF side I have converted the string tobinary and saved the file.

The actual code in CF looks like this
cffile action=write file=#CurrentDir##filename# 
output=#ToBinary(IViewFileObject)#

Thank you everyone for all your help... 

~|
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:286733
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Text to HTML?

2007-08-21 Thread Paul Vernon
Other than the perl txt2HTML code on sourceforge, I'm struggling to find any
code that does this... esp. ColdFusion based. Does anyone know of anything
that can do this in CF? 

It doesn't have to be as complex and full featured as txt2HTML but I'd like
it to have a few more features than the simple linefeed replacement type
things that I would currently have the time for given a tight deadline and a
new requirement.

Anything that can handle creating lists and headings would be perfect.

Paul



~|
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:286735
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Creating a File Upload Web Service

2007-08-21 Thread Shane Trahan
There is nothing wrong with the HTTP requests.. In other parts of the 
application that is being written HTTP requests are not used for web services 
so to stay consistant I wanted to try and figure out a different way to do 
this.. Hopefully this will work.. 

~|
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:286734
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Creating a File Upload Web Service

2007-08-21 Thread Dennis Powers
  So there is no other way to create a CF upload service without 
sending the file through HTTP as a multi-part request?

 Not what I am aware of.
 But what so evil about HTTP requests?

The only other solution I have found is to utilize an FTP applet to perform
the upload to an FTP server. FTP is much better suited for large file
transfers than is HTTP.  In one application we use a java applet to perform
the upload and once the upload is complete it calls a CF page to import
the file and information into the DB and website.  The down side is that
many (most) Internet Security programs block port 21 on the client's PC and
they don't know why or how to change it.

HTTP is fine for small to medium sized files like images but once files get
over 50-100meg in size you need a lot of resources on the server to accept
and process it via HTTP.



Best Regards,

Dennis Powers
UXB Internet - A website design and Hosting Company
690 Wolcott Road
P.O. Box 6029
Wolcott, CT  06716
Tel: (203)879-2844
http://www.uxbinternet.com/
http://www.uxb.net/ 




~|
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:286738
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Dave Watts
 What I'm trying to do is somehow be able to access different 
 sites locally.  Right now, I have to delete everything from 
 wwwroot, then copy over the files of the site I want to work 
 on.  It can be a pain to work on the different sites.  Also, 
 Dreamweaver complains that the local site root is the same 
 for different sites.

If you're using IIS in Windows 2000 Server, Windows Server 2003, or Vista,
you can define multiple virtual web servers. If you're using IIS in Windows
XP, you can't do that, as Zaphod pointed out.

If you need to run multiple virtual web servers in Windows XP, use Apache.
However, if you don't need to actually have multiple sites running
simultaneously, but can simply switch configuration to match the one you're
working on, you can simply configure IIS to point to a different physical
directory. You can do this with the default IIS management console utility,
or with something like this:

http://www.firstserved.net/help/downloads

 Is there any way to have the different sites accessible under 
 different resources using mappings or virtual directories?  

If you're satisfied having each project within a single web server
directory, just create subdirectories in your web root directory, then refer
to each in your URL:

http://localhost/someproject1
http://localhost/someproject2

No need for tinkering with IIS configuration or HOSTS files if you do that.
You could then simply create a Dreamweaver site for each directory. 

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!


~|
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:286736
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Creating a File Upload Web Service

2007-08-21 Thread Dave Watts
 There is nothing wrong with the HTTP requests.. In other 
 parts of the application that is being written HTTP requests 
 are not used for web services so to stay consistant I wanted 
 to try and figure out a different way to do this.. Hopefully 
 this will work..

By definition, HTTP requests are always used to invoke web services.

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!


~|
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:286739
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


OT: Javascript MouseOver

2007-08-21 Thread Steve LaBadie
I have created a mouse over effect and it works fine.  The only problem
I am having is that the top= in the below example does not work in
Firefox.  Are there any ideas to resolve this issue? The window stay at
the top instead of coming down 350px.

 

 

Code:

script type=text/javascript
!-- 
function openWindow(url, name) {
myWin = window.open(,, width=200,height=100,left=450 top=350);
myWin.document.write (bodyfont style='font-size: 11px; font-family:
verdana;'Blah Blah Blah./font);
myWin.document.write (/body/html);
myWin.document.close();
}
function closeIt() {
if (!myWin.closed)
myWin.self.close()
}
//--
/script

 

 

Calling Link:

a href=https://ssl.esu.edu/1card/; target=_blank
onMouseOver=openWindow() onMouseOut=closeIt() onClick=return
falseLink/a

 

 

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
http://www.esu.edu http://www3.esu.edu 

 



~|
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:286737
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Javascript MouseOver

2007-08-21 Thread Robert Harrison
There is a comma missing between left and top.

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 .
-Original Message-
From: Steve LaBadie [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 2:19 PM
To: CF-Talk
Subject: OT: Javascript MouseOver

I have created a mouse over effect and it works fine.  The only problem
I am having is that the top= in the below example does not work in
Firefox.  Are there any ideas to resolve this issue? The window stay at
the top instead of coming down 350px.

 

 

Code:

script type=text/javascript
!-- 
function openWindow(url, name) {
myWin = window.open(,, width=200,height=100,left=450 top=350);
myWin.document.write (bodyfont style='font-size: 11px; font-family:
verdana;'Blah Blah Blah./font);
myWin.document.write (/body/html);
myWin.document.close();
}
function closeIt() {
if (!myWin.closed)
myWin.self.close()
}
//--
/script

 

 

Calling Link:

a href=https://ssl.esu.edu/1card/; target=_blank
onMouseOver=openWindow() onMouseOut=closeIt() onClick=return
falseLink/a

 

 

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
http://www.esu.edu http://www3.esu.edu 

 





~|
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:286740
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Javascript MouseOver

2007-08-21 Thread Dave Watts
 I have created a mouse over effect and it works fine.  The 
 only problem I am having is that the top= in the below 
 example does not work in Firefox.  Are there any ideas to 
 resolve this issue? The window stay at the top instead of 
 coming down 350px.
 
 ...

 myWin = window.open(,, width=200,height=100,left=450 
 top=350);

You have a space between LEFT and TOP instead of a comma.

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!


~|
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:286741
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: fckeditor not under root and image connector

2007-08-21 Thread Matt Robertson
one thing I remember from monkeying with FCKEditor in my own cms... that
application.cfm in its folder structure can be safely removed and that
solves at least that part of your problem.

-- 
[EMAIL PROTECTED]
Janitor, The Robertson Team
mysecretbase.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:286745
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: OT: Javascript MouseOver

2007-08-21 Thread Matt Williams
missing a comma after left=450   ?

On 8/21/07, Steve LaBadie [EMAIL PROTECTED] wrote:
 I have created a mouse over effect and it works fine.  The only problem
 I am having is that the top= in the below example does not work in
 Firefox.  Are there any ideas to resolve this issue? The window stay at
 the top instead of coming down 350px.





 Code:

 script type=text/javascript
 !--
 function openWindow(url, name) {
 myWin = window.open(,, width=200,height=100,left=450 top=350);
 myWin.document.write (bodyfont style='font-size: 11px; font-family:
 verdana;'Blah Blah Blah./font);
 myWin.document.write (/body/html);
 myWin.document.close();
 }
 function closeIt() {
 if (!myWin.closed)
 myWin.self.close()
 }
 //--
 /script





 Calling Link:

 a href=https://ssl.esu.edu/1card/; target=_blank
 onMouseOver=openWindow() onMouseOut=closeIt() onClick=return
 falseLink/a





 Steve LaBadie, Web Manager
 East Stroudsburg University
 200 Prospect St.
 East Stroudsburg, Pa 18301
 570-422-3999
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 http://www.esu.edu http://www3.esu.edu





 

~|
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:286743
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Text to HTML?

2007-08-21 Thread Claude Schneegans
 I'm struggling to find any code that does this

Hmmm... this what?

-- 
___
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:286744
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: lt;CFExchangeMail action=quot;getattachmentsquot;gt; - MSX error code 501

2007-08-21 Thread [EMAIL PROTECTED] [EMAIL PROTECTED]
For grins and giggles I changed the HTTPS to be HTTP.  I still get the list of 
email messages back, but now the error when I try to get the first message's 
attachments has changed to:

Requested Exchange resource was not found on the server 

The LiveDocs for this tag have errors and inconsistencies in syntax, making 
this just a bit more fun to figure out. 

Do the Exchange UIDs actually include the  at the beginning and end, or am I 
supposed to strip them off (just grasping here...)?

thx,
Reed 

~|
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:286746
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Javascript MouseOver

2007-08-21 Thread Steve LaBadie
Duh

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
[EMAIL PROTECTED]
http://www.esu.edu

-Original Message-
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 2:40 PM
To: CF-Talk
Subject: RE: Javascript MouseOver

There is a comma missing between left and top.

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 .
-Original Message-
From: Steve LaBadie [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 2:19 PM
To: CF-Talk
Subject: OT: Javascript MouseOver

I have created a mouse over effect and it works fine.  The only problem
I am having is that the top= in the below example does not work in
Firefox.  Are there any ideas to resolve this issue? The window stay at
the top instead of coming down 350px.

 

 

Code:

script type=text/javascript
!-- 
function openWindow(url, name) {
myWin = window.open(,, width=200,height=100,left=450 top=350);
myWin.document.write (bodyfont style='font-size: 11px; font-family:
verdana;'Blah Blah Blah./font);
myWin.document.write (/body/html);
myWin.document.close();
}
function closeIt() {
if (!myWin.closed)
myWin.self.close()
}
//--
/script

 

 

Calling Link:

a href=https://ssl.esu.edu/1card/; target=_blank
onMouseOver=openWindow() onMouseOut=closeIt() onClick=return
falseLink/a

 

 

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
http://www.esu.edu http://www3.esu.edu 

 







~|
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:286742
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Text to HTML?

2007-08-21 Thread Paul Vernon
  I'm struggling to find any code that does this
 
 Hmmm... this what?

I'd have thought the subject said it all... Text to HTML... Anyway, I'm just
testing out http://sebduggan.com/CFX_Markdown/ which seems to do the trick
for the most part and covers smart quotes into the bargain!

Paul



~|
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:286747
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Matthew Smith
Do I need to uninstall IIS to run apache?

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 1:24 PM
To: CF-Talk
Subject: RE: multiple sites with cf 8 and iis

 What I'm trying to do is somehow be able to access different 
 sites locally.  Right now, I have to delete everything from 
 wwwroot, then copy over the files of the site I want to work 
 on.  It can be a pain to work on the different sites.  Also, 
 Dreamweaver complains that the local site root is the same 
 for different sites.

If you're using IIS in Windows 2000 Server, Windows Server 2003, or
Vista,
you can define multiple virtual web servers. If you're using IIS in
Windows
XP, you can't do that, as Zaphod pointed out.

If you need to run multiple virtual web servers in Windows XP, use
Apache.
However, if you don't need to actually have multiple sites running
simultaneously, but can simply switch configuration to match the one
you're
working on, you can simply configure IIS to point to a different
physical
directory. You can do this with the default IIS management console
utility,
or with something like this:

http://www.firstserved.net/help/downloads

 Is there any way to have the different sites accessible under 
 different resources using mappings or virtual directories?  

If you're satisfied having each project within a single web server
directory, just create subdirectories in your web root directory, then
refer
to each in your URL:

http://localhost/someproject1
http://localhost/someproject2

No need for tinkering with IIS configuration or HOSTS files if you do
that.
You could then simply create a Dreamweaver site for each directory. 

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!




~|
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:286748
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


error with ColdFusion 8 ODBC Agent

2007-08-21 Thread Matthew Smith
I am trying to add a datasource to my new install of CF8 developer
edition.  When I went to do so in cf admin, the admin said The
ColdFusion ODBC Server service is not running or has not been
installed.  So I figured the service wasn't set to automatic and went
into services to start it up.  When I tried to start the service, I got
this error:
Could not start the ColdFusion 8 Odbc Server service on Local computer.
Error 3 The system cannot find the path specified.
 
I did a clean install of windows and CF 8.
 



~|
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:286749
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Dave Watts
 Do I need to uninstall IIS to run apache?

No, but you will want to either configure each web server to listen on
different sockets, or turn IIS off when running Apache (and vice versa).

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!


~|
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:286750
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFIF Pissing me off

2007-08-21 Thread Dominic Watson

 One more reason I don't use XHTML ;-)


I don't see why that is a reason... is selected=selected so bad? With so
much wrong with the HTML format, or more precisely with browsers reading it,
why rile against a movement towards XML standards?

I realise this is off the question - just reading all the comments about
selected=selected baffled me.

Dom

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


~|
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:286751
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 Code Coverage

2007-08-21 Thread Jaime Metcher
Given that a step debugger is basically sitting there watching line numbers
fly by waiting for a break-point, it seems to me that if the debugger kept a
record of those line numbers you'd have a test coverage tool.  I did lodge a
feature request with the FusionDebug guys, but I have no notion of whether
this is a serious possibility for them.  Maybe if there's enough demand it'd
move up the priority list?

Jaime Metcher

 -Original Message-
 From: Rich [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, 22 August 2007 12:32 AM
 To: CF-Talk
 Subject: RE: Unit Testing  Code Coverage


 It looks as though I am going to have to develop a solution for our needs,
 but I will see if my company will allow me to release our efforts into the
 public domain.


 

~|
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:286752
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Text to HTML?

2007-08-21 Thread Nathan C. Smith
 

 -Original Message-
 From: Paul Vernon [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, August 21, 2007 2:22 PM
 To: CF-Talk
 Subject: RE: Text to HTML?
 
   I'm struggling to find any code that does this
  
  Hmmm... this what?
 
 I'd have thought the subject said it all... Text to HTML... 
 Anyway, I'm just
 testing out http://sebduggan.com/CFX_Markdown/ which seems to 
 do the trick
 for the most part and covers smart quotes into the bargain!
 
 Paul
 
 

There might be some stuff in a coldfusion wiki you could borrow.  Although
it isn't quite clear what it is you want to do.

-Nate

~|
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:286753
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: lt;CFExchangeMail action=quot;getattachmentsquot;gt; - MSX error code 501

2007-08-21 Thread Dawson, Michael
Yes, you need the  and  characters to form a complete message id.

Here is an example:

cfexchangefilter name=uid
value=[EMAIL PROTECTED]
du 

We don't use secured connection on our mail server, so I can't test this
problem.  However, I do know that it does work using a non-secured
connection.

M!ke

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 2:43 PM
To: CF-Talk
Subject: Re: lt;CFExchangeMail action=quot;getattachmentsquot;gt; -
MSX error code 501

For grins and giggles I changed the HTTPS to be HTTP.  I still get the
list of email messages back, but now the error when I try to get the
first message's attachments has changed to:

Requested Exchange resource was not found on the server 

The LiveDocs for this tag have errors and inconsistencies in syntax,
making this just a bit more fun to figure out. 

Do the Exchange UIDs actually include the  at the beginning and end,
or am I supposed to strip them off (just grasping here...)?

thx,
Reed 

~|
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:286754
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: multiple sites with cf 8 and iis

2007-08-21 Thread Matthew Smith
What service do I disable to turn off IIS?

Under Internet Information Services, it only allows a restart.  Under
Computer ManagementServices and ApplicationsServices, I only see IIS
Admin, nothing for IIS itself.

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 3:29 PM
To: CF-Talk
Subject: RE: multiple sites with cf 8 and iis

 Do I need to uninstall IIS to run apache?

No, but you will want to either configure each web server to listen on
different sockets, or turn IIS off when running Apache (and vice versa).

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!




~|
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:286755
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


  1   2   >