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
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
Leigh,
Here is my test page using the Basic Example as you said:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
titleUntitled/title
/head
body
cfset wordart = createObject(component, wordart).init() /
cfoutput
#wordart.getArt(CFWheels is the future and the
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:
cfset LocationAndFileName = getTempFile(getTempDirectory()) .png /
Generate your chart as a variable and then save it:
cfchart format=png
{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
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!
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
On Mon, Feb 20, 2012 at 7:50 PM, Robert Rhodes rrhode...@gmail.com 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
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
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
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
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
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
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(
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
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
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]
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
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
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
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
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:
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
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!
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,
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 brent_sh...@yahoo.com
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
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
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 ?
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
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 dsbr...@gmail.com wrote:
My main issue with cfscript
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 dwa...@figleaf.com wrote:
I haven't had a chance to check this, but does CF10 no longer provide the
ability to generate static images for
32 matches
Mail list logo