Re: emailing a cfchart?

2012-02-21 Thread Raymond Camden

CF10's charting support has both the "old" way and the new hot way, so
you can still do server side charting.


On Tue, Feb 21, 2012 at 11:08 AM, Dave Watts  wrote:
>
>> I haven't had a chance to check this, but does CF10 no longer provide the
>> ability to generate static images for charts?
>>
>> It looks like everything is canvas or Flash-based, which is going to be
>> problematic for emailing or using in a PDF--both of which I use.
>
> I don't know, honestly, but I suspect you could capture the output
> generated by either of those, using CFHTTP for example.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or onsite.
>
> 

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


Re: CFScript Book

2012-02-21 Thread Aaron Rouse

The people I was referring to I am certain do not know how to write
anything or much of anything in JavaScript.  So it is not a matter of
CFScript confusing them into thinking it is JavaScript.

On Tue, Feb 21, 2012 at 6:55 PM, Scott Brady  wrote:

>
> My main issue with cfscript is that it's easy to confuse at first glance
> between that and javascript (for cases when you have JS mixed in with CF
> code, as the legacy app I work on at work has).  So, it's not really
> cfscript's fault as much as a personal bugaboo.
>
> Scott
>
> On Tue, Feb 21, 2012 at 11:35 AM, Aaron Rouse 
> wrote:
>
> >
> > I have worked with CF developers who "scoff at" any CFScript usage but
> for
> > reasons most would not assume.  They did it because they flat out did not
> > understand the syntax and I am not referring to some abundant overuse of
> > CFScript here.  It can sometimes be a balancing act of coding how you
> want
> > and/or think you should v. staying employed and making some adjustments
> so
> > others stay "happy".
> >
> > --
> -
> Scott Brady
> http://www.scottbrady.net/
>
>
> 

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


Re: CFScript Book

2012-02-21 Thread James Holmes

Well, nobody's better off writing in Java, but C# would be an alternative.

On Wednesday, February 22, 2012, Russ Michaels wrote:

>
> cfscript to many defeats the who point of why they chose cf in the first
> place, because it was a html like easy to learn tag based language.
> When you go down the route of doing all your code in script, using OOP
> style coding, then surely you would just be better off writing directly in
> JAVA ?
>
>
>
>

-- 
--
Shu Ha Ri: Agile and .NET blog
http://www.bifrost.com.au/


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


Re: CFScript Book

2012-02-21 Thread Russ Michaels

cfscript to many defeats the who point of why they chose cf in the first
place, because it was a html like easy to learn tag based language.
When you go down the route of doing all your code in script, using OOP
style coding, then surely you would just be better off writing directly in
JAVA ?


On Wed, Feb 22, 2012 at 12:55 AM, Scott Brady  wrote:

>
> My main issue with cfscript is that it's easy to confuse at first glance
> between that and javascript (for cases when you have JS mixed in with CF
> code, as the legacy app I work on at work has).  So, it's not really
> cfscript's fault as much as a personal bugaboo.
>
> Scott
>
> On Tue, Feb 21, 2012 at 11:35 AM, Aaron Rouse 
> wrote:
>
> >
> > I have worked with CF developers who "scoff at" any CFScript usage but
> for
> > reasons most would not assume.  They did it because they flat out did not
> > understand the syntax and I am not referring to some abundant overuse of
> > CFScript here.  It can sometimes be a balancing act of coding how you
> want
> > and/or think you should v. staying employed and making some adjustments
> so
> > others stay "happy".
> >
> > --
> -
> Scott Brady
> http://www.scottbrady.net/
>
>
> 

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


Re: CFScript Book

2012-02-21 Thread Scott Brady

My main issue with cfscript is that it's easy to confuse at first glance
between that and javascript (for cases when you have JS mixed in with CF
code, as the legacy app I work on at work has).  So, it's not really
cfscript's fault as much as a personal bugaboo.

Scott

On Tue, Feb 21, 2012 at 11:35 AM, Aaron Rouse  wrote:

>
> I have worked with CF developers who "scoff at" any CFScript usage but for
> reasons most would not assume.  They did it because they flat out did not
> understand the syntax and I am not referring to some abundant overuse of
> CFScript here.  It can sometimes be a balancing act of coding how you want
> and/or think you should v. staying employed and making some adjustments so
> others stay "happy".
>
> --
-
Scott Brady
http://www.scottbrady.net/


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


Re: CFScript Book

2012-02-21 Thread Billy Cravens

This "publisher" releases something like 10,000+ titles a year: they scrape 
Wikipedia content and sell it.

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


Billy Cravens
bdcrav...@gmail.com



On Feb 21, 2012, at 1:19 PM, Carl Von Stetten wrote:

> 
> Yeah, or how about the red seal on the cover that says "High Quality 
> Content by WIKIPEDIA articles!"? LOL :-D
> 
> On 2/21/2012 11:04 AM, Steve 'Cutter' Blades wrote:
>> You mean I should write a book on CFScript? Fantastic?
>> 
>> "Betascript Publishing" hhhm...
>> 
>> Anyone notice the tagline states:
>> ColdFusion Markup Language, JavaScript, BlogCFC
>> 
>> Now THAT is interesting...
>> 
>> Steve 'Cutter' Blades
>> Adobe Community Professional
>> Adobe Certified Expert
>> Advanced Macromedia ColdFusion MX 7 Developer
>> 
>> http://cutterscrossing.com
>> 
>> 
>> Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
>> https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book
>> 
>> "The best way to predict the future is to help create it"
>> 
>> 
>> On 2/20/2012 10:48 AM, Robert Rhodes wrote:
>>> Hello to all.
>>> 
>>> Are there any CFScript books out there?  I ordered this onw but it was a
>>> complete joke.  A total waste of money:
>>> http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099.
>>> 
>>> All suggestions welcome.
>>> 
>>> -RR
>>> 
>>> 
>>> 
>> 
> 
> 

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


Re: JQuery .ajax() call posts back to invoking page only on Production

2012-02-21 Thread Cameron Childress

For these sorts of this, I usually will turn on the Developer Tools panel
in Chrome and watch the back/forth communication int he browser via the
"network" tab. you can then click on any request's headers, response, etc.

-Cameron

On Tue, Feb 21, 2012 at 5:02 PM, Brent Shaub  wrote:

>
> Hello, thank you for any assistance with this puzzler.
>
> On my local Windows Vista development machine, I'm using CF 9.  Here I
> have a JavaScript call JQuery's $.ajax() method to write some text to a
> database using a web service in a CFC.  On my machine, it works as
> expected: writes the values, screen stays put.
>
> On production, a leased webserver with Hostek.com, something different
> happens.  The .ajax() call accesses the CFC which writes to the database,
> then after about five seconds, refreshes the screen with the data passed
> into the CFC as querystring parameters.  This page refresh is mucking up
> the purpose of using ajax.
>
> I haven't a clue why this behavior is server-specific nor if the area of
> research is Cold Fusion or the CF Admin settings or something else related
> to JQuery.  I have debugging IPs turned off on both environments.  Why does
> an ajax post turn into a get and refresh the URL after it's successful on
> production and not development?
>
> Thanks and hope it's an easy one
> Brent
>
> 

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


JQuery .ajax() call posts back to invoking page only on Production

2012-02-21 Thread Brent Shaub

Hello, thank you for any assistance with this puzzler.

On my local Windows Vista development machine, I'm using CF 9.  Here I have a 
JavaScript call JQuery's $.ajax() method to write some text to a database using 
a web service in a CFC.  On my machine, it works as expected: writes the 
values, screen stays put.

On production, a leased webserver with Hostek.com, something different happens. 
 The .ajax() call accesses the CFC which writes to the database, then after 
about five seconds, refreshes the screen with the data passed into the CFC as 
querystring parameters.  This page refresh is mucking up the purpose of using 
ajax.

I haven't a clue why this behavior is server-specific nor if the area of 
research is Cold Fusion or the CF Admin settings or something else related to 
JQuery.  I have debugging IPs turned off on both environments.  Why does an 
ajax post turn into a get and refresh the URL after it's successful on 
production and not development?

Thanks and hope it's an easy one
Brent 

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


Re: Adding a border to text using CFImage

2012-02-21 Thread Leigh

Terry - Sorry, I have no clue about a cause. But the error sounds vaguely 
familiar.  Check the CF bug database. 

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


Re: Adding a border to text using CFImage

2012-02-21 Thread Terry Troxel

Leigh it went from better to worse.
I said it worked when I put the 3 files in a folder off wwwroot called
wordart in my laptop with CF 9.
It works perfectly.
I then uploaded it to my windows 2003 server with CF 9 into a sub folder
called wordart in my website.
It worked PERFECTLY ONCE. now if I go back there I get this error:

Variable ___IMPLICITARRYSTRUCTVAR0 is undefined.
Why does it run without errors on my local machine and not the server.
I googled the error and Ben Nadel has a post on it, but I can't decipher
the reason it's happening on one and not the other.

Terry


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


Re: CFScript Book

2012-02-21 Thread Carl Von Stetten

Yeah, or how about the red seal on the cover that says "High Quality 
Content by WIKIPEDIA articles!"? LOL :-D

On 2/21/2012 11:04 AM, Steve 'Cutter' Blades wrote:
> You mean I should write a book on CFScript? Fantastic?
>
> "Betascript Publishing" hhhm...
>
> Anyone notice the tagline states:
> ColdFusion Markup Language, JavaScript, BlogCFC
>
> Now THAT is interesting...
>
> Steve 'Cutter' Blades
> Adobe Community Professional
> Adobe Certified Expert
> Advanced Macromedia ColdFusion MX 7 Developer
> 
> http://cutterscrossing.com
>
>
> Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
> https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book
>
> "The best way to predict the future is to help create it"
>
>
> On 2/20/2012 10:48 AM, Robert Rhodes wrote:
>> Hello to all.
>>
>> Are there any CFScript books out there?  I ordered this onw but it was a
>> complete joke.  A total waste of money:
>> http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099.
>>
>> All suggestions welcome.
>>
>> -RR
>>
>>
>>
> 

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


Re: (ot) SEO

2012-02-21 Thread Steve 'Cutter' Blades

The search engine must hit the page directly. So, if you want to index 
your listing of toyota trucks, the /trucks/toyota had better show your 
listing, not a button to get to the listing. A better option might be to 
go by make, then by bodystyle (/toyota/trucks or /toyota/suv). This 
allows you to list by make (/toyota), by bodystyle (/toyota/sedan), by 
model (/toyota/camry), by trimand so on and so forth. Consistency helps.

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

http://cutterscrossing.com


Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

"The best way to predict the future is to help create it"


On 2/21/2012 10:45 AM, Dave Hatz wrote:
> Question about SEO page hits.  If we have a button on web page that displays 
> search results, will the search results page count towards a Page Hit for SEO?
>
> We have a page for example http://www.mycars.com/trucks/toyota and on this 
> page we have a button to display search results for dealers that sell toyota 
> trucks.  The results page will be something like 
> http://www.mycars.com/trucks/toyota/results.cfm
>
> Does the Search Engines register a page hit on our results page?
>
> 

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


Re: CFScript Book

2012-02-21 Thread Steve 'Cutter' Blades

You mean I should write a book on CFScript? Fantastic?

"Betascript Publishing" hhhm...

Anyone notice the tagline states:
ColdFusion Markup Language, JavaScript, BlogCFC

Now THAT is interesting...

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

http://cutterscrossing.com


Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

"The best way to predict the future is to help create it"


On 2/20/2012 10:48 AM, Robert Rhodes wrote:
> Hello to all.
>
> Are there any CFScript books out there?  I ordered this onw but it was a
> complete joke.  A total waste of money:
> http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099.
>
> All suggestions welcome.
>
> -RR
>
>
> 

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


Re: CFScript Book

2012-02-21 Thread Aaron Rouse

I have worked with CF developers who "scoff at" any CFScript usage but for
reasons most would not assume.  They did it because they flat out did not
understand the syntax and I am not referring to some abundant overuse of
CFScript here.  It can sometimes be a balancing act of coding how you want
and/or think you should v. staying employed and making some adjustments so
others stay "happy".

On Tue, Feb 21, 2012 at 9:28 AM, Cameron Childress wrote:

>
> On Mon, Feb 20, 2012 at 7:50 PM, Robert Rhodes 
> wrote:
>
> > I do wish Adobe would fill out CF so that one could write mostly in
> > cfscript and avoid cf tags altogether, if desired.  It would also help
> when
> > I end up around small-minded coders who scoff at CF merely because of the
> > tags.
>
>
> I've never changed my coding style to make a non-CF developer happy, seems
> a waste of time. If you prefer it, that's one thing, but you should never
> measure your own self worth by comments made by someone ignorant of the
> language.
>
> -Cameron
>
> --
> Cameron Childress
> --
> p:   678.637.5072
> im: cameroncf
> facebook  |
> twitter |
> google+ 
>
>
> 

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


RE: Editing the http info before it goes to the browser. [SOLVED]!

2012-02-21 Thread DURETTE, STEVEN J

Dave and everyone else, I actually solved this one!

I couldn't view the headers, but with a little bump from Ben Nadel's blog 

http://www.bennadel.com/blog/758-ColdFusion-GetPageContext-Massive-Exploration.htm

I was able to come up with this:  (I'm using Pragma as an example but can be 
used for any header created with CFHeader):



The first part of the setHeader is a string that has the header name, the 
second is a string with a value. By using blank ("") it actually removed the 
header from being passed.

I tested this with Firefox & firedebug. The header was actually gone. I was 
also able to do things like:

 
which sent Steve! Instead of the file date.

However, this didn't work exactly:
 it 
didn't work exactly as expected because the X-Powered-By was actually set by 
IIS. So instead of Steve I got X-Powered-By: Steve, ColdFusion8. Which when you 
look at how headers are supposed to work it did what it is supposed to.

Just have to remember that you can only "change" things that existed before and 
during the request, the webserver can still add stuff!

Steve


-Original Message-
From: DURETTE, STEVEN J 
Sent: Tuesday, February 21, 2012 12:12 PM
To: 'cf-talk@houseoffusion.com'
Subject: RE: Editing the http info before it goes to the browser.

Dave,

How would I do that? I have to include the Application.cfm from the higher 
level (part of the requirements) and in that file is a cfheader (actually  a 
lot of them) but I'm only concerned with the one.

Steve


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, February 21, 2012 12:08 PM
To: cf-talk
Subject: Re: Editing the http info before it goes to the browser.

You can't really do anything about that directly. But you could create
your own Application.cfc/cfm and override whatever's being done at
that higher level.

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

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


RE: Editing the http info before it goes to the browser.

2012-02-21 Thread DURETTE, STEVEN J

Dave,

How would I do that? I have to include the Application.cfm from the higher 
level (part of the requirements) and in that file is a cfheader (actually  a 
lot of them) but I'm only concerned with the one.

Steve


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, February 21, 2012 12:08 PM
To: cf-talk
Subject: Re: Editing the http info before it goes to the browser.

You can't really do anything about that directly. But you could create
your own Application.cfc/cfm and override whatever's being done at
that higher level.

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

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


Re: emailing a cfchart?

2012-02-21 Thread Dave Watts

> I haven't had a chance to check this, but does CF10 no longer provide the
> ability to generate static images for charts?
>
> It looks like everything is canvas or Flash-based, which is going to be
> problematic for emailing or using in a PDF--both of which I use.

I don't know, honestly, but I suspect you could capture the output
generated by either of those, using CFHTTP for example.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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


Re: Editing the http info before it goes to the browser.

2012-02-21 Thread Dave Watts

> I'm working on an application where I am not allowed to do anything to the 
> settings created at an upper layer of the app. In those upper layers
> there is a CFHEADER tag that is causing problems for my part of the 
> application. I need to remove it before it gets sent to the browser.
>
> Does anyone know how to remove that before it gets sent? I've tried 
> GetHttpRequestData() and GetPageContext() but neither of those show the
> header tags that I'm trying to remove.

You can't really do anything about that directly. But you could create
your own Application.cfc/cfm and override whatever's being done at
that higher level.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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


Re: Adding a border to text using CFImage

2012-02-21 Thread Leigh

> and the png images with superlong filenames are there.

> I then hand typed the url to the images and they displayed perfectly. 

The url in the generated image tags is probably pointing to the wrong location. 
You can change the defaults for the various paths in the init() function: ie  
init( urlPath, artDir, fontDir)

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


Re: Adding a border to text using CFImage

2012-02-21 Thread Leigh

No worries. It was a fun question .. and I learned something new myself. While 
perusing the cfc source I figured out how to create the "outer" stroke effect :)


> So this cfc will not work using CF8 

I think it should work if you get rid of the CF9 specific syntax. But you would 
have to try it to be sure. 


Since CF8 does not allow the implicit syntax within function calls, just 
declare the options structure separately. 

    
     #wordart.getArt(text='Start',options=attr )#

-L

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


RE: Adding a border to text using CFImage

2012-02-21 Thread Terry Troxel

LEIGH,
This is crazy again.
I uploaded the folder with the test.cfm and the cfc to a CF9 server and as I
said it worked.
I sent you my last reply stating that.
Went back and reran the file and I get red x's where the demo images were
but the plain text is there net to the red x.
I deleted the folder, reuploaded and red x's again.
I looked at the directory structure and it has created a tree of new folders
and the png images with superlong filenames are there.
I then hand typed the url to the images and they displayed perfectly. 
Terry


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


Editing the http info before it goes to the browser.

2012-02-21 Thread DURETTE, STEVEN J

Ok, I have a situation that I'm not sure how to handle.

I'm working on an application where I am not allowed to do anything to the 
settings created at an upper layer of the app. In those upper layers there is a 
CFHEADER tag that is causing problems for my part of the application. I need to 
remove it before it gets sent to the browser.

Does anyone know how to remove that before it gets sent? I've tried 
GetHttpRequestData() and GetPageContext() but neither of those show the header 
tags that I'm trying to remove.

Thanks,
Steve



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


(ot) SEO

2012-02-21 Thread Dave Hatz

Question about SEO page hits.  If we have a button on web page that displays 
search results, will the search results page count towards a Page Hit for SEO?

We have a page for example http://www.mycars.com/trucks/toyota and on this page 
we have a button to display search results for dealers that sell toyota trucks. 
 The results page will be something like 
http://www.mycars.com/trucks/toyota/results.cfm

Does the Search Engines register a page hit on our results page? 

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


RE: Adding a border to text using CFImage

2012-02-21 Thread Terry Troxel

Yes, I thought I stated that somewhere in the original thread.
I tried it in CF9 and it works, thank you a bunch leigh for putting up with
my lack of knowledge.
So this cfc will not work using CF8 or could you show me a way to call it in
there?
Terry




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


Re: CFScript Book

2012-02-21 Thread Cameron Childress

On Mon, Feb 20, 2012 at 7:50 PM, Robert Rhodes  wrote:

> I do wish Adobe would fill out CF so that one could write mostly in
> cfscript and avoid cf tags altogether, if desired.  It would also help when
> I end up around small-minded coders who scoff at CF merely because of the
> tags.


I've never changed my coding style to make a non-CF developer happy, seems
a waste of time. If you prefer it, that's one thing, but you should never
measure your own self worth by comments made by someone ignorant of the
language.

-Cameron

-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook  |
twitter |
google+ 


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


Re: CFScript Book

2012-02-21 Thread Aaron Rouse

Agreed and someone could always write themselves some custom functions as
wrappers to CF tags for prior versions CF or perhaps even what is missing
in the current.  To a point at least.  I have been a CFScript Nazi for well
over a decade now but fully recognize a place for it and a place for when
to use the tags. I very rarely use it for outputting things and can't say I
really have had a need for much of the added tags-to-functions introduced
in CF9.  We though have many pre-CF9 servers so also does not make too much
sense for me to write anything specific to CF9.


On Tue, Feb 21, 2012 at 5:05 AM, Scott Brady  wrote:

>
> As of CF9, the vast majority of CF can be written in script, if you
> desire.  Almost every tag has a cfscript equivalent (I believe there were a
> few that didn't make the cut, but I can't recall which ones off-hand).  Of
> course, some things are a bit more tedious doing them in script (such as
> outputting content and running queries).
>
> Scott
>
>
> On Mon, Feb 20, 2012 at 5:50 PM, Robert Rhodes 
> wrote:
>
> >
> > I do wish Adobe would fill out CF so that one could write mostly in
> > cfscript and avoid cf tags altogether, if desired.  It would also help
> when
> > I end up around small-minded coders who scoff at CF merely because of the
> > tags.On Mon, Feb 20, 2012 at 12:25 PM, Cameron Childress <
> >
> >
>
> --
> -
> Scott Brady
> http://www.scottbrady.net/
>
>
> 

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


Re: Arabic / Other languages POI Excel Writing

2012-02-21 Thread Leigh

Are you using POI directly or through some kind of wrapper (ie cfspreadsheet, 
poiUtility.cfc, etcetera..)?  

Can you post your code? 

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


Re: Adding a border to text using CFImage

2012-02-21 Thread Leigh

>   {font="LinLibertine", fontstyle="bolditalic", fontSize=30}

Terry - Works perfectly with CF9. Any chance you are using CF8? I do not think 
implicit structures were supported in function calls until CF9.

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


RE: emailing a cfchart?

2012-02-21 Thread DURETTE, STEVEN J

Actually in a way you can. Generate the charts as files, then use cfmailparam 
to include the files. 

Create a variable that holds the fileinformation:


Generate your chart as a variable and then save it:
...


The cfmailparam code looks like this:


Then in your html code for the email have:


It will include it inline.

Steve


-Original Message-
From: Les Irvin [mailto:les.cft...@gmail.com] 
Sent: Monday, February 20, 2012 7:30 PM
To: cf-talk
Subject: emailing a cfchart?


Is it possible to have cfchart code (format="png" or "jpg") within a
cfmail tag and have the graphic actually show up in the email? I can't
seem to manage it...
Thanks in advance for any help,
Les



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


RE: Adding a border to text using CFImage

2012-02-21 Thread Terry Troxel

Leigh,

Here is my test page using the Basic Example as you said:



Untitled



 
#wordart.getArt("CFWheels is the future and the future is written in
ColdFusion", 
{font="LinLibertine", fontstyle="bolditalic", fontSize=30})#

#wordart.getArt("The future is written in ColdFusion")# 



It is running in c:\inetpub\wwwroot\wordart\
The 2 files, test.cfm, wordart.cfc are in that folder with no subfolders.

Here is the error:
The CFML compiler was processing:

An expression beginning with wordart.getArt, on line 9, column 10.This
message is usually caused by a problem in the expressions structure.
The body of a cfoutput tag beginning on line 8, column 2.
 
  
The error occurred in C:\inetpub\wwwroot\1wordart\test.cfm: line 9
 
7 : 
8 :  
9 : #wordart.getArt("CFWheels is the future and the future is
written in ColdFusion", 
10 : {font="arial", fontstyle="bolditalic", fontSize=30})# 
11 : #wordart.getArt("The future is written in ColdFusion")#



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


Re: Adding a border to text using CFImage

2012-02-21 Thread Leigh

Terry,

The examples on the website say if you are using it with CFWheels you "just 
[call the] getArt() function since it is made available to your controllers and 
views.". Otherwise, you need to create an instance of the component first and 
call init(). Then use yourInstance.getArt() instead of just getArt(). Try the 
code in the "Basic Example" section. That should work for you.


http://www.codecurry.com/2009/12/introducing-wordart-for-coldfusion.html

 
-Leigh-

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


Re: CFScript Book

2012-02-21 Thread Scott Brady

As of CF9, the vast majority of CF can be written in script, if you
desire.  Almost every tag has a cfscript equivalent (I believe there were a
few that didn't make the cut, but I can't recall which ones off-hand).  Of
course, some things are a bit more tedious doing them in script (such as
outputting content and running queries).

Scott


On Mon, Feb 20, 2012 at 5:50 PM, Robert Rhodes  wrote:

>
> I do wish Adobe would fill out CF so that one could write mostly in
> cfscript and avoid cf tags altogether, if desired.  It would also help when
> I end up around small-minded coders who scoff at CF merely because of the
> tags.On Mon, Feb 20, 2012 at 12:25 PM, Cameron Childress <
>
>

-- 
-
Scott Brady
http://www.scottbrady.net/


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