Coldfusion 9 standard license on Tomcat

2010-09-21 Thread Joeri B

Hi,
I have a question about Coldfusion 9 deployed on a Tomcat server. Is it 
possible to install Coldfusion 9 standard on a tomcat server? The installation 
can be done with the enterprise edition...

Many thanks in advance and regards,

Joeri 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337248
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Coldfusion 9 standard license on Tomcat

2010-09-21 Thread Matt Quackenbush

I am sure someone will correct me if I am wrong, but I am 99.999% sure that
you cannot deploy a CF Standard license on anything but JRun, since it is
installed as a standalone application server under the Std. license.

Now then, perhaps one could rip apart the installer and figure out how to
create a single EAR/WAR for deployment on Tomcat, Resin, Jetty, Glassfish,
etc., but I would venture a guess that that would be in severe violation of
the Standard license agreement.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337249
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Coldfusion 9 standard license on Tomcat

2010-09-21 Thread Andrew Scott

No this is very spot on, the problem is that a multi-server instance is a
J2EE application, and the license will not cover this in anyway shape or
form. So even trying to deploy an instance on JRun it has to be deployed as
an ear/war file, and this requires an enterprise license if you want to use
it outside of developer mode.

Regards,
Andrew Scott
http://www.andyscott.id.au/


 -Original Message-
 From: Matt Quackenbush [mailto:quackfu...@gmail.com]
 Sent: Tuesday, 21 September 2010 6:11 PM
 To: cf-talk
 Subject: Re: Coldfusion 9 standard license on Tomcat
 
 
 I am sure someone will correct me if I am wrong, but I am 99.999% sure
that
 you cannot deploy a CF Standard license on anything but JRun, since it is
 installed as a standalone application server under the Std. license.
 
 Now then, perhaps one could rip apart the installer and figure out how to
 create a single EAR/WAR for deployment on Tomcat, Resin, Jetty, Glassfish,
 etc., but I would venture a guess that that would be in severe violation
of the
 Standard license agreement.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337250
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: .NET DLL driving me nuts....

2010-09-21 Thread Michael Christensen

We were able to determine, that the calls to sample functions that don't work 
on our development server, does in fact work on our pre-production server.

So far so good I guess, but now I am facing a new problem - it seems that CF 
caches the functions in the DLLs, so that it doesn't reflect the changes when I 
change a function and (re)call it.


 Can you elaborate on goes awry ie What is the actual error message? 
 
 Example:
 cfset obj = createObject(.net, MyLibrary.TestClass, ExpandPath('.
 /MyLibrary.dll')) /
 cfset result = obj.getValue(Foo) /
 cfoutput#result#/cfoutput
 
 TestClass.cs
 =
 using System;
 using System.Collections.Generic;
 using System.Text;
 
 namespace MyLibrary
 {

 public class TestClass

 {
 

 public string getValue(string Value)

 {

 return You entered:  + Value;

 }

 }
 }
 
 
  


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337251
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Using a CSV as a datasource (CF8)

2010-09-21 Thread Hugo Ahlenius

Tim, 

Can you verify that the ODBC data source works using another client? Excel? MS 
Access?

I would do that first. It could be that you used a path when setting up the 
datasource that caused problems...

Cheers,
Hugo

Tim Claremont wrote onĀ 2010-09-20:
 
 I have a badge reader that hangs on the network. It collects magnetic
 stripe scans to a CSV file located on the server. I need to get this into
 a SQL Server db ideally.
 
 I created the ODBC text data source on the server.
 
 When I attempt to add the data source in the ColdFusion administrator, it
 tells me:
 
 Connection verification failed for data source: BadgeScanner
 java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC
 Socket][Microsoft][ODBC Text Driver] '(unknown)' is not a valid path. Make
 sure that the path name is spelled correctly and that you are connected to
 the server on which the file resides.
 The root cause was that: java.sql.SQLException: [Macromedia][SequeLink
 JDBC Driver][ODBC Socket][Microsoft][ODBC Text Driver] '(unknown)' is not
 a valid path. Make sure that the path name is spelled correctly and that
 you are connected to the server on which the file resides.
 
 I suspect my connection string for the data source in the administrator
 needs to be populated. Right now it is blank.
 
 Can anyone tell me what the connection string should look like... or any
 ideas on how to get these scans (occurring all day every day) into my
 database?
 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337252
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ORM and many to many relationships

2010-09-21 Thread Glyn Jackson

I have posted about this on my blog, but if anyone here could give their 
opinion I would very much like to hear it.

I am trying to understand if I am looking at ORM correctly in terms of a 
many-to-many relationship.

blog post is here 
http://www.cfcoffee.co.uk/index.cfm/2010/9/20/Head-Spin-Moment-ORM-manytomany-Help

for the sake of cftalk I have posted again below. thanks :)




Below I have two tables. Users and Monsters. A user can have many monsters, and 
a monster can have many users. Therefore I have a many-to-many relationship. 
Now I decide to include a join table called mostercollected to normalise the 
table somewhat. So below is what I come up with.

/**
* user
*/
component output=false persistent=true {

property name=user_id column=user_id type=numeric
ormtype=int fieldtype=id generator=increment;

property name=user_name column=user_name
type=string ormtype=string;

 /* link tables */
property name=monsters fieldtype=many-to-many
CFC=monsters FKColumn=user_id singularname=monsters
inversejoincolumn=monster_id linktable=monstersCollected;

users function init() output=false{
return this;
}

}




/**
* monsters
*/
component output=false persistent=true {

property name=monster_id column=monster_id type=numeric
ormtype=int fieldtype=id generator=increment;

property name=monster_name column=monster_name type=string
ormtype=string ;

/* link tables */
property name=users fieldtype=many-to-many CFC=users
FKColumn=monster_id singularname=monsters
 inversejoincolumn=user_id linktable=monstersCollected;

monsters function init() output=false{
return this;
}

}


/* Join table */



component entityname=UserMonster persistent=true accessors=true
table=monstersCollected
{
property name=user_id
fieldtype=id,many-to-one
cfc=users
cascade=all
fkcolumn=user_id;

property name=monster_id
fieldtype=id,many-to-one
cfc=monsters
cascade=all
fkcolumn=monster_id;

}


Now if I dump a user to screen, yes I can see all the monsters that each user 
has (cool), but the array continues down more, showing all monsters and all 
users that belong to that monster, effectively repeating data (bad, right?).


My concern is that of performance. If every time I want to get a user and I 
then get monsters + monster again and users that belong to that monster (head 
spin, moment), this seems like a lot of overhead (or is it?).

Is this the issue I am making it out to be? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337253
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ORM and many to many relationships

2010-09-21 Thread Dorioo

What you see in the cfdump is not what's actually called when you get a
user. When you cfdump an ORM entitiy, it tries to show _everything_. You can
control how many levels are displayed by using the top attribute.

PS. There is an CF ORM specific google group that you may find useful.
http://groups.google.com/group/cf-orm-dev?pli=1

- Gabriel

On Tue, Sep 21, 2010 at 5:48 AM, Glyn Jackson glyn.jack...@newebia.co.ukwrote:


 I have posted about this on my blog, but if anyone here could give their
 opinion I would very much like to hear it.

 I am trying to understand if I am looking at ORM correctly in terms of a
 many-to-many relationship.

 blog post is here

 http://www.cfcoffee.co.uk/index.cfm/2010/9/20/Head-Spin-Moment-ORM-manytomany-Help

 for the sake of cftalk I have posted again below. thanks :)


 

 Below I have two tables. Users and Monsters. A user can have many monsters,
 and a monster can have many users. Therefore I have a many-to-many
 relationship. Now I decide to include a join table called mostercollected to
 normalise the table somewhat. So below is what I come up with.

 /**
 * user
 */
 component output=false persistent=true {

 property name=user_id column=user_id type=numeric
 ormtype=int fieldtype=id generator=increment;

 property name=user_name column=user_name
 type=string ormtype=string;

 /* link tables */
 property name=monsters fieldtype=many-to-many
 CFC=monsters FKColumn=user_id singularname=monsters
 inversejoincolumn=monster_id linktable=monstersCollected;

 users function init() output=false{
 return this;
 }

 }




 /**
 * monsters
 */
 component output=false persistent=true {

 property name=monster_id column=monster_id type=numeric
 ormtype=int fieldtype=id generator=increment;

 property name=monster_name column=monster_name type=string
 ormtype=string ;

 /* link tables */
 property name=users fieldtype=many-to-many CFC=users
 FKColumn=monster_id singularname=monsters
 inversejoincolumn=user_id linktable=monstersCollected;

 monsters function init() output=false{
 return this;
 }

 }


 /* Join table */



 component entityname=UserMonster persistent=true accessors=true
 table=monstersCollected
 {
 property name=user_id
 fieldtype=id,many-to-one
 cfc=users
 cascade=all
 fkcolumn=user_id;

 property name=monster_id
 fieldtype=id,many-to-one
 cfc=monsters
 cascade=all
 fkcolumn=monster_id;

 }


 Now if I dump a user to screen, yes I can see all the monsters that each
 user has (cool), but the array continues down more, showing all monsters and
 all users that belong to that monster, effectively repeating data (bad,
 right?).


 My concern is that of performance. If every time I want to get a user and I
 then get monsters + monster again and users that belong to that monster
 (head spin, moment), this seems like a lot of overhead (or is it?).

 Is this the issue I am making it out to be?

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337254
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: The solution: (was: Re: Is there a way to force lock release on Access database? (CF9) )

2010-09-21 Thread Rick Faircloth

Nobody throws a dwarf... ;o)

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Tuesday, September 21, 2010 1:26 AM
To: cf-talk
Subject: Re: The solution: (was: Re: Is there a way to force lock release on
Access database? (CF9) )


throwing a dwarf may also help

On Tue, Sep 21, 2010 at 6:23 AM, James Holmes james.hol...@gmail.comwrote:


 Have you tried intentionally throwing an error?

 **runs away**

 :-P

 --
 WSS4CF - WS-Security framework for CF
 http://wss4cf.riaforge.org/



 On 21 September 2010 05:28, Russ Michaels r...@michaels.me.uk wrote:
 
  don't blame you, its a very long and repetitive thread.

 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337255
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ORM and many to many relationships

2010-09-21 Thread Glyn Jackson

Thanks Gabriel,

o, ok so data is not pre loaded so to speak? if I just wanted to get the data 
its treated as an array  which is what confused me, i.e. like the array is 
waiting...

cfloop array=#rc.userbean# index=user

cfloop array=#user.getMonsters()# index=monster
   get montser that belong to  a user
/cfloop
  
/cfloop 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337256
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ORM and many to many relationships

2010-09-21 Thread Glyn Jackson

PS thanks for the group link 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337257
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ORM and many to many relationships

2010-09-21 Thread Dorioo

Yes, it's not preloaded. By default, it's lazy loaded. So, it's only
loaded when you actually call it.

http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSE01EDE03-6E6B-4669-8C54-358460778450.html

- Gabriel

On Tue, Sep 21, 2010 at 7:08 AM, Glyn Jackson glyn.jack...@newebia.co.ukwrote:


 Thanks Gabriel,

 o, ok so data is not pre loaded so to speak? if I just wanted to get the
 data its treated as an array  which is what confused me, i.e. like the array
 is waiting...

cfloop array=#rc.userbean# index=user

cfloop array=#user.getMonsters()# index=monster
   get montser that belong to  a user
/cfloop

 /cfloop

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337258
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: The solution: (was: Re: Is there a way to force lock release on Access database? (CF9) )

2010-09-21 Thread Will Swain

At the risk of taking this off topic (it's too late I know)

But technically, one tosses a dwarf:

http://en.wikipedia.org/wiki/Dwarf_tossing

-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: 21 September 2010 11:44
To: cf-talk
Subject: RE: The solution: (was: Re: Is there a way to force lock release on
Access database? (CF9) )


Nobody throws a dwarf... ;o)

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Tuesday, September 21, 2010 1:26 AM
To: cf-talk
Subject: Re: The solution: (was: Re: Is there a way to force lock release on
Access database? (CF9) )


throwing a dwarf may also help

On Tue, Sep 21, 2010 at 6:23 AM, James Holmes james.hol...@gmail.comwrote:


 Have you tried intentionally throwing an error?

 **runs away**

 :-P

 --
 WSS4CF - WS-Security framework for CF
 http://wss4cf.riaforge.org/



 On 21 September 2010 05:28, Russ Michaels r...@michaels.me.uk wrote:
 
  don't blame you, its a very long and repetitive thread.

 





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337259
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: The solution: (was: Re: Is there a way to force lock release on Access database? (CF9) )

2010-09-21 Thread Rick Faircloth

Not in Middle Earth (unless it's necessary in battle :o)

-Original Message-
From: Will Swain [mailto:w...@hothorse.com] 
Sent: Tuesday, September 21, 2010 8:39 AM
To: cf-talk
Subject: RE: The solution: (was: Re: Is there a way to force lock release on
Access database? (CF9) )


At the risk of taking this off topic (it's too late I know)

But technically, one tosses a dwarf:

http://en.wikipedia.org/wiki/Dwarf_tossing

-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: 21 September 2010 11:44
To: cf-talk
Subject: RE: The solution: (was: Re: Is there a way to force lock release on
Access database? (CF9) )


Nobody throws a dwarf... ;o)

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Tuesday, September 21, 2010 1:26 AM
To: cf-talk
Subject: Re: The solution: (was: Re: Is there a way to force lock release on
Access database? (CF9) )


throwing a dwarf may also help

On Tue, Sep 21, 2010 at 6:23 AM, James Holmes james.hol...@gmail.comwrote:


 Have you tried intentionally throwing an error?

 **runs away**

 :-P

 --
 WSS4CF - WS-Security framework for CF
 http://wss4cf.riaforge.org/



 On 21 September 2010 05:28, Russ Michaels r...@michaels.me.uk wrote:
 
  don't blame you, its a very long and repetitive thread.

 







~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337260
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: .NET DLL driving me nuts....

2010-09-21 Thread Dave Watts

You'll need to restart CF and the .NET service.

Dave Watts, CTO, Fig Leaf Software

Sent from my Droid

On Sep 21, 2010 3:30 AM, Michael Christensen mich...@strib.dk wrote:

 We were able to determine, that the calls to sample functions that don't
work on our development server, does in fact work on our pre-production
server.

 So far so good I guess, but now I am facing a new problem - it seems that
CF caches the functions in the DLLs, so that it doesn't reflect the changes
when I change a function and (re)call it.


 Can you elaborate on goes awry ie What is the actual error message?

 Example:
 cfset obj = createObject(.net, MyLibrary.TestClass, ExpandPath('.
 /MyLibrary.dll')) /
 cfset result = obj.getValue(Foo) /
 cfoutput#result#/cfoutput

 TestClass.cs
 =
 using System;
 using System.Collections.Generic;
 using System.Text;

 namespace MyLibrary
 {

 public class TestClass

 {


 public string getValue(string Value)

 {

 return You entered:  + Value;

 }

 }
 }





 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337261
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Sessions persist after server restart.

2010-09-21 Thread Cutter (ColdFusion)

  Is it using the CLIENT scope, with vars in the db? Is it storing 
things in the COOKIE scope, and checking that scope on login for 
previously entered credentials?

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 9/20/2010 1:45 PM, Eric Cobb wrote:
 So, I was working locally on an application today and I needed to
 restart my CF services.  Much to my surprise, after I bounced CF I came
 back to my application and I was not forced back to the login screen as
 I would have expected.  Rather, all of my session info was still there.
 I then shut down CF, clicked around in my application to make sure
 everything was down, then brought CF back up and my session info was
 still alive in my application.

 So, I did a little research and came across this
 (http://livedocs.adobe.com/coldfusion/8/htmldocs/sharedVars_02.html)
 where it states:
 /If you use J2EE session management and configure the J2EE server to
 retain session data between server restarts, ColdFusion retains session
 variables between server restarts./

 Ok, I'm using J2EE sessions, so now I know what's going on.  Now, my
 question is, how do I turn it off?  Adobe hints that you can configure
 the J2EE server to retain session data, but gives no clue as to where or
 how.  All I've found is the checkbox to enable/disable J2EE sessions.

 Also, is this something that is turned ON or OFF by default?  I'm just
 wondering if I accidentally turned it on, or if it's always been on and
 I never noticed it.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337262
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: question about this error - The request has exceeded the allowable time limit Tag: cfmail

2010-09-21 Thread Matthew Friedman

btw a backup is to also have a CFERROR or default error template so u can
catch cfcatch errors





We have a cferror on the application page and that is catching it at the end.

what I did was I did not know that there was an option to set the timeout at 
the cfinvoke calls. ends up one of the webservice took forever!!! over 45 
seconds to process sometimes so the page was timing out based on the cfadmin 
setting of 60 seconds.

The issue I could not understand it the log always said it was due to a cfmail 
time out and that is what I think through me through a loop.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337263
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Shorter URLs - How?

2010-09-21 Thread Stefan Richter

Hi all,
I'm a Flex developer with just enough CF skills to be dangerous :-) and need 
some guidance here.
My website allows users to access specific pages via a unique id/parameter such 
as this:
http://www.scribblar.com/rooms/index.cfm?r=k3ns5

What's involved in terms of CF code to shorten this to 
http://www.scribblar.com/rooms/k3ns5 
or even better still
http://www.scribblar.com/k3ns5

I'm unsure as to how to achieve this. In case it makes a difference I am using 
a Windows box with IIS7.

Cheers 

Stefan





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337264
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Michael Grant

If you are bound, bent and determined to do this in CF simply have a url
parser in your app.cfc.
However this is really best left to URL rewriting via the webserver.


On Tue, Sep 21, 2010 at 11:04 AM, Stefan Richter ste...@flashcomguru.comwrote:


 Hi all,
 I'm a Flex developer with just enough CF skills to be dangerous :-) and
 need some guidance here.
 My website allows users to access specific pages via a unique id/parameter
 such as this:
 http://www.scribblar.com/rooms/index.cfm?r=k3ns5

 What's involved in terms of CF code to shorten this to
 http://www.scribblar.com/rooms/k3ns5
 or even better still
 http://www.scribblar.com/k3ns5

 I'm unsure as to how to achieve this. In case it makes a difference I am
 using a Windows box with IIS7.

 Cheers

 Stefan





 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337265
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Shorter URLs - How?

2010-09-21 Thread Andy Matthews

The best approach for this would be to use a URL rewriting tool such as
ISAPI_REWRITE. That's an IIS thing. Doing it with pure ColdFusion, the best
thing you could hope for is 

http://www.scribblar.com/index.cfm/k3ns5



andy

-Original Message-
From: Stefan Richter [mailto:ste...@flashcomguru.com] 
Sent: Tuesday, September 21, 2010 10:04 AM
To: cf-talk
Subject: Shorter URLs - How?


Hi all,
I'm a Flex developer with just enough CF skills to be dangerous :-) and need
some guidance here.
My website allows users to access specific pages via a unique id/parameter
such as this:
http://www.scribblar.com/rooms/index.cfm?r=k3ns5

What's involved in terms of CF code to shorten this to
http://www.scribblar.com/rooms/k3ns5
or even better still
http://www.scribblar.com/k3ns5

I'm unsure as to how to achieve this. In case it makes a difference I am
using a Windows box with IIS7.

Cheers 

Stefan







~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337266
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Michael Grant


 Doing it with pure ColdFusion, the best thing you could hope for is

 http://www.scribblar.com/index.cfm/k3ns5


Untrue. I myself have written a cf based url rewrite before I knew how to do
it via the webserver.
He can achieve exactly what he wants by using IIS (or whatever) to point to
a .cfm as the 404 handler and then having that cf page parse the url. It's
not ideal but very doable.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337267
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Russ Michaels

IIS7 has a built in url rewriter, so no need to isapi_rewriter. It works
very similar to the mod_rewrite for apache in that the rewrite rules are
store din a file within your website root called web.config, so it is
portable between servers running IIS7+
If you want it to be portable betweeen any server\OS then you should do it
in CFML.

more info: http://learn.iis.net/page.aspx/460/using-the-url-rewrite-module/

Russ

On Tue, Sep 21, 2010 at 4:32 PM, Michael Grant mgr...@modus.bz wrote:


 
  Doing it with pure ColdFusion, the best thing you could hope for is
 
  http://www.scribblar.com/index.cfm/k3ns5


 Untrue. I myself have written a cf based url rewrite before I knew how to
 do
 it via the webserver.
 He can achieve exactly what he wants by using IIS (or whatever) to point to
 a .cfm as the 404 handler and then having that cf page parse the url. It's
 not ideal but very doable.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337268
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Shorter URLs - How?

2010-09-21 Thread Jacob

With IIS 7, you can download the URL rewrite module for free from Microsoft.

-Original Message-
From: Andy Matthews [mailto:li...@commadelimited.com] 
Sent: Tuesday, September 21, 2010 8:22 AM
To: cf-talk
Subject: RE: Shorter URLs - How?


The best approach for this would be to use a URL rewriting tool such as
ISAPI_REWRITE. That's an IIS thing. Doing it with pure ColdFusion, the best
thing you could hope for is 

http://www.scribblar.com/index.cfm/k3ns5



andy

-Original Message-
From: Stefan Richter [mailto:ste...@flashcomguru.com]
Sent: Tuesday, September 21, 2010 10:04 AM
To: cf-talk
Subject: Shorter URLs - How?


Hi all,
I'm a Flex developer with just enough CF skills to be dangerous :-) and need
some guidance here.
My website allows users to access specific pages via a unique id/parameter
such as this:
http://www.scribblar.com/rooms/index.cfm?r=k3ns5

What's involved in terms of CF code to shorten this to
http://www.scribblar.com/rooms/k3ns5
or even better still
http://www.scribblar.com/k3ns5

I'm unsure as to how to achieve this. In case it makes a difference I am
using a Windows box with IIS7.

Cheers 

Stefan









~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337269
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Jacob Munson

Everybody else has given good advice, but I wanted to show you some code to
do what you originally asked for.  I searched for a small bit of code that
Sean Corfield posted to his blog, and I can't find it.  But he did add URL
rewriting to his FW/1 framework.  I'd wager it's close to the same code that
he had separately posted earlier.  You can download his framework and swipe
the URL rewriting code:
http://fw1.riaforge.org/

On Tue, Sep 21, 2010 at 9:04 AM, Stefan Richter ste...@flashcomguru.comwrote:


 Hi all,
 I'm a Flex developer with just enough CF skills to be dangerous :-) and
 need some guidance here.
 My website allows users to access specific pages via a unique id/parameter
 such as this:
 http://www.scribblar.com/rooms/index.cfm?r=k3ns5

 What's involved in terms of CF code to shorten this to
 http://www.scribblar.com/rooms/k3ns5
 or even better still
 http://www.scribblar.com/k3ns5

 I'm unsure as to how to achieve this. In case it makes a difference I am
 using a Windows box with IIS7.

 Cheers

 Stefan





 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337270
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Russ Michaels

here also is a tutorials.

http://tutorial557.easycfm.com/



On Tue, Sep 21, 2010 at 5:40 PM, Jacob Munson yacoub...@gmail.com wrote:


 Everybody else has given good advice, but I wanted to show you some code to
 do what you originally asked for.  I searched for a small bit of code that
 Sean Corfield posted to his blog, and I can't find it.  But he did add URL
 rewriting to his FW/1 framework.  I'd wager it's close to the same code
 that
 he had separately posted earlier.  You can download his framework and swipe
 the URL rewriting code:
 http://fw1.riaforge.org/

 On Tue, Sep 21, 2010 at 9:04 AM, Stefan Richter ste...@flashcomguru.com
 wrote:

 
  Hi all,
  I'm a Flex developer with just enough CF skills to be dangerous :-) and
  need some guidance here.
  My website allows users to access specific pages via a unique
 id/parameter
  such as this:
  http://www.scribblar.com/rooms/index.cfm?r=k3ns5
 
  What's involved in terms of CF code to shorten this to
  http://www.scribblar.com/rooms/k3ns5
  or even better still
  http://www.scribblar.com/k3ns5
 
  I'm unsure as to how to achieve this. In case it makes a difference I am
  using a Windows box with IIS7.
 
  Cheers
 
  Stefan
 
 
 
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337271
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ORM and many to many relationships

2010-09-21 Thread Mary Jo Sminkey

When you cfdump an ORM entitiy, it tries to show _everything_. You can
control how many levels are displayed by using the top attribute.

I agree that writedump really can be problematic when working with ORM 
objects...but I've not seen that the top attribute helps. According to the 
docs, it sets levels for structures...not objects. And that's been my 
experience as well, it doesn't do anything for ORM objects if you are trying to 
dump them without converting to something else first (some of my objects just 
crash the server if I try to dump them due to this). I think there's a feature 
request or two to this regard in the CF bug database. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337272
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Jacob Munson


 However this is really best left to URL rewriting via the webserver.


I would also argue that it's not really bad to do URL rewriting within CF
instead of in the web server.  Sure, there may be high traffic situations
where you're trimming miliseconds, but for most cases CF URL rewriting is a
perfectly valid option.  And many people would prefer to have all of their
application configuration in one place, instead of needing to go to multiple
places to maintain app level settings.

Also, say you need to move the app to a different server or host.  If you
use web server URL rewriting, you'll need to set that up again on the new
server.  If you do it in CF you just need to drop your code on the server
and your done.  Personally I think it's a personal preference thing, not a
This is the written in stone way that you should do it.  :)


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337273
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ORM and many to many relationships

2010-09-21 Thread Dorioo

I can't speak for writedump's behavior but there is a difference between
what's outputted by using the top attribute when using CFDUMP on an ORM
object. I've experienced myself. Example:

http://www.coldfusionjedi.com/index.cfm/2009/12/7/Using-DUMPTOP-with-ORM-CFCs

- Gabriel

On Tue, Sep 21, 2010 at 12:53 PM, Mary Jo Sminkey mary...@cfwebstore.comwrote:


 When you cfdump an ORM entitiy, it tries to show _everything_. You can
 control how many levels are displayed by using the top attribute.

 I agree that writedump really can be problematic when working with ORM
 objects...but I've not seen that the top attribute helps. According to the
 docs, it sets levels for structures...not objects. And that's been my
 experience as well, it doesn't do anything for ORM objects if you are trying
 to dump them without converting to something else first (some of my objects
 just crash the server if I try to dump them due to this). I think there's a
 feature request or two to this regard in the CF bug database.


 --- Mary Jo



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337274
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Michael Grant

Meh, the syntax is nearly identical between the different options. It would
take anyone with half a brain all of about an hour to switch the rewrite
rules over from apache to IIS or vice versa.
Sure it's personal preference I guess but I generally try to use the right
tool for the job. Data processing is best left to databases. URL rewriting
is best left to the server. And ColdFusion server can be left to serve out
ColdFusion pages.

In a pinch you can use a pair of pantyhose to keep your alternator working.
Then you go buy a serpentine belt the first chance you get.



On Tue, Sep 21, 2010 at 1:07 PM, Jacob Munson yacoub...@gmail.com wrote:


 
  However this is really best left to URL rewriting via the webserver.


 I would also argue that it's not really bad to do URL rewriting within CF
 instead of in the web server.  Sure, there may be high traffic situations
 where you're trimming miliseconds, but for most cases CF URL rewriting is a
 perfectly valid option.  And many people would prefer to have all of their
 application configuration in one place, instead of needing to go to
 multiple
 places to maintain app level settings.

 Also, say you need to move the app to a different server or host.  If you
 use web server URL rewriting, you'll need to set that up again on the new
 server.  If you do it in CF you just need to drop your code on the server
 and your done.  Personally I think it's a personal preference thing, not a
 This is the written in stone way that you should do it.  :)


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337275
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Jacob Munson


 Sure it's personal preference I guess but I generally try to use the right
 tool for the job. Data processing is best left to databases. URL rewriting
 is best left to the server. And ColdFusion server can be left to serve out
 ColdFusion pages.


I won't disagree.  I just think that there are cases where it makes sense to
do URL rewriting in CF.  And especially in this case, where we have a Flex
developer that is learning CF...maybe it's not the best idea for him to go
try to learn yet another technology when he can just use CF?  Also, his app
might be on a shared host which would make using web server URL rewriting
difficult if not impossible.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337276
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Jason Fisher

Assuming your pages are in a database-driven system, then the custom 404 is 
largely just an extension of ColdFusion serving pages:  which page? dunno, 
lemme check the aliases, ah, there it is ... this page.  Web server rewrite 
is fine, too, but if the code is already running in CF to determine what 
gets served, as it is in any front-side controller framework, then it's not 
much different to have a custom 404 as a simpler version of the controller.


Just my 2c.



From: Jacob Munson yacoub...@gmail.com
Sent: Tuesday, September 21, 2010 2:48 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: Shorter URLs - How?


 Sure it's personal preference I guess but I generally try to use the 
right
 tool for the job. Data processing is best left to databases. URL 
rewriting
 is best left to the server. And ColdFusion server can be left to serve 
out
 ColdFusion pages.


I won't disagree.  I just think that there are cases where it makes sense 
to
do URL rewriting in CF.  And especially in this case, where we have a Flex
developer that is learning CF...maybe it's not the best idea for him to go
try to learn yet another technology when he can just use CF?  Also, his 
app
might be on a shared host which would make using web server URL rewriting
difficult if not impossible.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337277
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Michael Grant

Not to argue, because you make good points, but just about every shared host
I've ever used gives you a mechanism for url rewrite. In fact most offer
really well documented steps on how to do it too. I think it's probably
equally as hard for a new dev to understand url rewriting as it is to
understand how to set up a custom 404 handler and then a url parser based
off of the cgi scoped vars etc etc. Further I think you'd find that Google
will return many many more walk throughs on web server url rewriting vs
coldfusion rewriting.

Six of one, half dozen of the other. I guess we'll just have to agree to
disagree.



On Tue, Sep 21, 2010 at 2:47 PM, Jacob Munson yacoub...@gmail.com wrote:


 
  Sure it's personal preference I guess but I generally try to use the
 right
  tool for the job. Data processing is best left to databases. URL
 rewriting
  is best left to the server. And ColdFusion server can be left to serve
 out
  ColdFusion pages.
 

 I won't disagree.  I just think that there are cases where it makes sense
 to
 do URL rewriting in CF.  And especially in this case, where we have a Flex
 developer that is learning CF...maybe it's not the best idea for him to go
 try to learn yet another technology when he can just use CF?  Also, his app
 might be on a shared host which would make using web server URL rewriting
 difficult if not impossible.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337278
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Using CF to manage ads shown on Blogger

2010-09-21 Thread Richard Steele

I want to rotate custom ads (not from adsense) on our Blogger blog and need to 
manage that. Each ad needs to be viewed an equal amount of impressions while 
they are active.

I can place the img src=http://mywebsite.com/ads/queue.jpg; code in our html 
code for the ad in our blog. Then, when then ad is requested, its stats would 
be updated in a sql ads table. The system would then get the next ad ready to 
be shown by copying it over the queue.jpg image. 

How can I trigger a Coldfusion program to work each time the queue.jpg is 
requested? If I need to view the file last used datetime stamp, then how do I 
use a low overhead way to watch that changed stamp? 

Thanks in advance. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337279
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looping through arrays with structures

2010-09-21 Thread Richard Steele

Thanks all. That was very helpful. Here's the code I ended up using. 


cfloop from=1 to=#arrayLen(keyword_results)# index=x 
cfloop from=1 to=#arrayLen(keyword_results[x].images)# index=y 
cfoutput#keyword_results[x].images[y]#/cfoutput 
/cfloop 
/cfloop 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337280
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Using CF to manage ads shown on Blogger

2010-09-21 Thread Russ Michaels

you actually call a cfm file not a jpg file and deliver the image using
cfcontent.
There are plenty of good open source/free banner ad scripts out there that
you could use and you are not restricted to using CF for this as the banner
is loaded on the client side.
have a look at www.openx.org which is a very popular php solution.

For cf solutions try this
http://www.adobe.com/cfusion/exchange/index.cfm?searchfield=bannersearch_exchange=1search_category=-1search_license=search_rating=search_platform=0search_pubdate=num=25startnum=1event=searchsticky=truesort=0rnav_dummy_tmpfield=Submit=



--
Russ Michaels
www.cfmldeveloper.com - Supporting the CF community since 1999
FREE ColdFusion/Railo hosting for developers.

blog: www.michaels.me.uk


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337281
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Using CF to manage ads shown on Blogger

2010-09-21 Thread Raymond Camden

The exchange? Really? :) Why not search RIAForge instead. ;)

I know Harlan does what you want - but it is a bit dated - and I
apologize for the Flash Forms.


On Tue, Sep 21, 2010 at 4:26 PM, Russ Michaels r...@michaels.me.uk wrote:

 you actually call a cfm file not a jpg file and deliver the image using
 cfcontent.
 There are plenty of good open source/free banner ad scripts out there that
 you could use and you are not restricted to using CF for this as the banner
 is loaded on the client side.
 have a look at www.openx.org which is a very popular php solution.

 For cf solutions try this
 http://www.adobe.com/cfusion/exchange/index.cfm?searchfield=bannersearch_exchange=1search_category=-1search_license=search_rating=search_platform=0search_pubdate=num=25startnum=1event=searchsticky=truesort=0rnav_dummy_tmpfield=Submit=



 --
 Russ Michaels
 www.cfmldeveloper.com - Supporting the CF community since 1999
 FREE ColdFusion/Railo hosting for developers.

 blog: www.michaels.me.uk


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337282
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Docusign

2010-09-21 Thread Dave Hatz

We have a client that wants us to integrate with Docusign, but we can't seem to 
find any support on their forums for CF development.  

As anyone built a CF interface to DocuSign? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337283
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Les Mizzell

 I just think that there are cases where it makes sense to
 do URL rewriting in CF.

Getting off topic, how does this affect SEO? What does googlebot or 
another search engine bot see when it's done this way?

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337284
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Using CF to manage ads shown on Blogger

2010-09-21 Thread Richard Steele

 you actually call a cfm file not a jpg file and deliver the image 
 using
 cfcontent.
 There are plenty of good open source/free banner ad scripts out there 
 that
 you could use and you are not restricted to using CF for this as the 
 banner
 is loaded on the client side.
 have a look at www.openx.org which is a very popular php solution.
 
 For cf solutions try this
 http://www.adobe.com/cfusion/exchange/index.
cfm?searchfield=bannersearch_exchange=1search_category=-1search_license=search_rating=search_platform=0search_pubdate=num=25st
 artnum=1event=searchsticky=truesort=0rnav_dummy_tmpfield=Submit=
 
 
 
 --
 Russ Michaels
 www.cfmldeveloper.com - Supporting the CF community since 1999
 FREE ColdFusion/Railo hosting for developers.
 
 blog: www.michaels.me.uk


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337285
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Using CF to manage ads shown on Blogger

2010-09-21 Thread Richard Steele

Hi Russ, Thanks! That worked. I thought google would parse the html code to 
make sure it was a legitimate jpg. But, the cfm file with cfcontent worked 
fine. Thanks again. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337286
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Jacob Munson

They see the rewritten URL.

Sent with my Android phone

On Sep 21, 2010 4:21 PM, Les Mizzell lesm...@bellsouth.net wrote:

 I just think that there are cases where it makes sense to
 do URL rewriting in CF.

 Getting off topic, how does this affect SEO? What does googlebot or
 another search engine bot see when it's done this way?

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337287
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Michael Grant

If you are doing it in cf then that means you are using IIS (or *nix equiv)
to return a cf page for processing when it determines the file is not there.
If you do it right you return the proper response in the cfheader for the
url (mydomain.com/tinyurl). If you don't do it right the spider gets the
content of the url that it hit but gets 404 as the response from the server.
That's bad.

If you rewrite using the webserver you get the same result as the 'right'
approach above.

At least that's my understanding.

On Tue, Sep 21, 2010 at 7:06 PM, Jacob Munson yacoub...@gmail.com wrote:


 They see the rewritten URL.

 Sent with my Android phone

 On Sep 21, 2010 4:21 PM, Les Mizzell lesm...@bellsouth.net wrote:
 
  I just think that there are cases where it makes sense to
  do URL rewriting in CF.
 
  Getting off topic, how does this affect SEO? What does googlebot or
  another search engine bot see when it's done this way?
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337288
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looping through arrays with structures

2010-09-21 Thread Michael Grant

I thought images was a structure containing an array?


On Tue, Sep 21, 2010 at 5:15 PM, Richard Steele r...@photoeye.com wrote:


 Thanks all. That was very helpful. Here's the code I ended up using.


 cfloop from=1 to=#arrayLen(keyword_results)# index=x
cfloop from=1 to=#arrayLen(keyword_results[x].images)# index=y
cfoutput#keyword_results[x].images[y]#/cfoutput
/cfloop
 /cfloop

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337289
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Coldfusion 9 standard license on Tomcat

2010-09-21 Thread Sean Corfield

On Tue, Sep 21, 2010 at 12:00 AM, Joeri B joerib...@hotmail.com wrote:
 I have a question about Coldfusion 9 deployed on a Tomcat server. Is it 
 possible to install Coldfusion 9 standard on a tomcat server? The 
 installation can be done with the enterprise edition...

In addition to the licensing concerns other have mentioned, it's worth
noting that Tomcat is not a supported platform for Adobe ColdFusion. I
believe it was considered supported-for-development-only for some
earlier versions of CFMX (but I just checked the CFMX7 and CF8 system
requirements and it's not listed on either of those).

What is the reason for your choice of Tomcat?
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

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

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337290
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Dan Baughman

Well not to get to technical but cf actually sees the rewritten URL.  The bots 
see the seo URL before it is rewritten 


Dan Baughman


On Sep 21, 2010, at 5:06 PM, Jacob Munson yacoub...@gmail.com wrote:

 
 They see the rewritten URL.
 
 Sent with my Android phone
 
 On Sep 21, 2010 4:21 PM, Les Mizzell lesm...@bellsouth.net wrote:
 
 I just think that there are cases where it makes sense to
 do URL rewriting in CF.
 
 Getting off topic, how does this affect SEO? What does googlebot or
 another search engine bot see when it's done this way?
 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337291
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Shorter URLs - How?

2010-09-21 Thread Jacob Munson


 Well not to get to technical but cf actually sees the rewritten URL.  The
 bots see the seo URL before it is rewritten


You're right, I was thinking the wrong direction.  :)


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337292
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Using CF to manage ads shown on Blogger

2010-09-21 Thread Dave Watts

Strictly speaking, a CF page that returns a JPG via CFCONTENT is a JPG from
the client's perspective.

Dave Watts, CTO, Fig Leaf Software

Sent from my Droid

On Sep 21, 2010 4:37 PM, Richard Steele r...@photoeye.com wrote:

 Hi Russ, Thanks! That worked. I thought google would parse the html code
to make sure it was a legitimate jpg. But, the cfm file with cfcontent
worked fine. Thanks again.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337293
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Struct for Applicaton Datasource setting

2010-09-21 Thread Mary Jo Sminkey

I posted this over on the CF-ORM list on google, but not much luck, so thought 
I'd see if any of you smart HOF folks know. ;-) 

According to the CF 9.01 release notes, you can now use a structure
for setting the application.datasource setting. I really would like to
do this for an ORM application I'm doing, as we use a single Oracle
database for our servers, and each application has its own
schemaso typically we just have one db and each application
has a specific username/password to connect to its own schema.  But there 
doesn't seem to be any documentation or example anywhere on how to do this, and 
I'm not having much luck trying to figure it out. I tried this:

this.datasource = {datasource = 'oracle_db', username='schema',
password='password' } ;

And all I got was an error from ColdFusion that it couldn't cast a
struct to a string. So clearly that's not the way to do it. 

So any idea how to do this? 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337294
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ColdFusion Report Builder and Cyrillic fonts

2010-09-21 Thread Paul Kukiel

I'm really stuck on this issue:

I am trying to output, using a coldfusion report builder report, text in
Japanese/Russian to a PDF. They always come out with   I tried the
Press F8 in CFRB and change the PDF encoding to UTF-8 and many other with
no lucck  All I get is ??? or Blank where there should be text.  In Flash
paper I see the correct text.

http://forums.adobe.com/message/3152665#3152665

Regards,

Paul


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337295
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion Report Builder and Cyrillic fonts

2010-09-21 Thread Andrew Scott

This is a known bug with PDF's and the Report Builder, and is identified by
Adobe as a bug.

Bug #82295

The bug entered on Monday, March 01, 2010 has been marked verified by Adobe
ColdFusion Team.

This means Adobe ColdFusion Team has verified the behavior you've observed.

(If this email is addressed to you directly, you've logged this bug.
Otherwise, you've subscribed to this bug through the Adobe beta site and are
receiving a BCC.)

Targeted for: ColdFusion 10.0, Alpha 1

Note:  Any targeting information included above is an estimate.  Targeting
can change during the course of bug triage.

Product Area:  Report Designer
Severity: 4 - Important (Easy workaround, should be fixed)
Description:  When creating a report to be displayed in PDF format, we had
used the LSCurrencyFormat to display the amount in that currency. Everyone
we tried seemed to work except Japanese.While displaying it as a PDF the Yen
is displayed as a question mark, however flash paper, HTML and all other
format types display the YEN correctly.


Regards,
Andrew Scott
http://www.andyscott.id.au/


 -Original Message-
 From: Paul Kukiel [mailto:pkuk...@gmail.com]
 Sent: Wednesday, 22 September 2010 3:11 PM
 To: cf-talk
 Subject: ColdFusion Report Builder and Cyrillic fonts
 
 
 I'm really stuck on this issue:
 
 I am trying to output, using a coldfusion report builder report, text in
 Japanese/Russian to a PDF. They always come out with   I tried the
 Press F8 in CFRB and change the PDF encoding to UTF-8 and many other
 with no lucck  All I get is ??? or Blank where there should be text.  In
Flash
 paper I see the correct text.
 
 http://forums.adobe.com/message/3152665#3152665
 
 Regards,
 
 Paul
 
 
 ~~
 ~~~|
 Order the Adobe Coldfusion Anthology now!
 http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-
 Dinowitz/dp/1430272155/?tag=houseoffusion
 Archive: http://www.houseoffusion.com/groups/cf-
 talk/message.cfm/messageid:337295
 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
 Unsubscribe: http://www.houseoffusion.com/groups/cf-
 talk/unsubscribe.cfm


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337296
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Report Builder and Cyrillic fonts

2010-09-21 Thread Paul Kukiel

Seams there is no work around then.  I'd encourage people to vote for this
issue in the mean time:

http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=82295

Paul.

On Wed, Sep 22, 2010 at 3:54 PM, Andrew Scott andr...@andyscott.id.auwrote:


 This is a known bug with PDF's and the Report Builder, and is identified by
 Adobe as a bug.

 Bug #82295

 The bug entered on Monday, March 01, 2010 has been marked verified by Adobe
 ColdFusion Team.

 This means Adobe ColdFusion Team has verified the behavior you've observed.

 (If this email is addressed to you directly, you've logged this bug.
 Otherwise, you've subscribed to this bug through the Adobe beta site and
 are
 receiving a BCC.)

 Targeted for: ColdFusion 10.0, Alpha 1

 Note:  Any targeting information included above is an estimate.  Targeting
 can change during the course of bug triage.

 Product Area:  Report Designer
 Severity: 4 - Important (Easy workaround, should be fixed)
 Description:  When creating a report to be displayed in PDF format, we had
 used the LSCurrencyFormat to display the amount in that currency. Everyone
 we tried seemed to work except Japanese.While displaying it as a PDF the
 Yen
 is displayed as a question mark, however flash paper, HTML and all other
 format types display the YEN correctly.


 Regards,
 Andrew Scott
 http://www.andyscott.id.au/


  -Original Message-
  From: Paul Kukiel [mailto:pkuk...@gmail.com]
  Sent: Wednesday, 22 September 2010 3:11 PM
  To: cf-talk
  Subject: ColdFusion Report Builder and Cyrillic fonts
 
 
  I'm really stuck on this issue:
 
  I am trying to output, using a coldfusion report builder report, text in
  Japanese/Russian to a PDF. They always come out with   I tried the
  Press F8 in CFRB and change the PDF encoding to UTF-8 and many other
  with no lucck  All I get is ??? or Blank where there should be text.  In
 Flash
  paper I see the correct text.
 
  http://forums.adobe.com/message/3152665#3152665
 
  Regards,
 
  Paul
 
 
  ~~
  ~~~|
  Order the Adobe Coldfusion Anthology now!
  http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-
  Dinowitz/dp/1430272155/?tag=houseoffusion
  Archive: http://www.houseoffusion.com/groups/cf-
  talk/message.cfm/messageid:337295
  Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
  Unsubscribe: http://www.houseoffusion.com/groups/cf-
  talk/unsubscribe.cfm


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337297
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm