FarCry Core is More Than Just a CMS

2007-09-05 Thread Geoff Bowers
Folks,

I'm putting together a session on FarCry Core web application
framework for MAX Chicago.  Hoping that cf-talkers might be able to
offer some sage advice.  I've got an hour to inspire folks to have a
crack at using FarCry, so as someone who doesn't use the framework,
what would spark your interest?

Have got a little blog post where comments would be welcomed --
perhaps a more appropriate location for feedback than clogging
cf-talk.  Any thoughts much appreciated.

Inspire Session: FarCry Core is More Than Just a CMS

Been working on an entertaining demo of what FarCry Core is really all
about; building web applications. If you're at MAX be sure to check
out my Inspire session on Wednesday after lunch. I'll be around for
the week, talking up ColdFusion and the whole FarCry caper.
http://blog.daemon.com.au/go/blog-post/inspire-session-farcry-core-is-more-than-just-a-cms

Looking forward to seeing folks at MAX Chicago -- tell your friends :)

-- geoff bowers
Director
Daemon Internet Consultants
Sydney, Australia
w. http://www.daemon.com.au/

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

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


Re: PHP or .Net?

2007-09-05 Thread Sean Corfield
On 9/5/07, Michael E. Carluen <[EMAIL PROTECTED]> wrote:
> Any thoughts on Ruby and Python?

I keep trying Ruby but I just can't enjoy it - the syntax just annoys
me (I don't like Perl or PHP either) - and Rails relies so heavily on
conventions that I find it annoying as well. I can't get all the way
through most of the tutorials without getting frustrated at how many
times I have to keep switching between an editor and the command line
and back because of all the script/generate and rake stuff. Its all so
incredibly clunky... Maybe it's because I really don't like code
generation...

I don't like Python much either. I can't really point at anything
about the language that bothers me but it I just get bored working
through any of the tutorials and the language just makes me yawn :(

Programmers I respect seem to like Groovy and Grails so they're on my
list to look at.

Partly I'm a bit jaded about languages... I learned a lot of different
languages at university (I think I had just over a dozen languages
under my belt by the time I graduated in 1983) and so most of the
languages that have been created in the last ten years just don't
excite me...

As for FORTRAN (Dinner!), I love the fact that spaces are irrelevant
and you have to parse ahead an arbitrary amount to figure out what a
statement means:

do10i=1.3
do10i=1,3

The first statement is an assignment (of the value 1.3 to the variable
do10i) whereas the second statement is a loop (for i = 1 to 3 do
statements down to the label 10).
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

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

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

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


RE: Clear Object Variables

2007-09-05 Thread Jaime Metcher
It sounds like the cache is in a static variable in the Java class, hence in
the CF classloader.

However, a quick peruse of the documentation for java.awt.Toolkit reveals
that getImage will cache images indefinitely, but the underlying createImage
will not:

"Since the mechanism required to facilitate this sharing of Image objects
may continue to hold onto images that are no longer of use for an indefinite
period of time, developers are encouraged to implement their own caching of
images by using the createImage variant wherever available."

http://java.sun.com/j2se/1.4.2/docs/api/
http://www.google.com.au/search?hl=en&q=java.awt.toolkit+%22image+cache%22&b
tnG=Search&meta=

Jaime Metcher

> -Original Message-
> From: Robert Harrison [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 6 September 2007 4:48 AM
> To: CF-Talk
> Subject: RE: Clear Object Variables
>
>
> > Did you try my suggestion to re-run the constructor?
>
> Yes. That did not clear the cached data. I tried to init the entire
> structure but I don't really know the actual name of the img object CF is
> creating. I'm naming it "img", but CF is probably appending some
> longer name
> that has img as part of it.
>
> Wherever these are being cached they not in any of the CF variables I can
> find... although strangely enough they are clearing at the purge interval
> set in the CF administrator.
>
>
> Robert B. Harrison
> Director of Interactive services
> Austin & Williams
> 125 Kennedy Drive, Suite 100 Hauppauge NY 11788
> T : 631.231.6600 Ext. 119
> F : 631.434.7022
> www.austin-williams.com
>
> Great advertising can't be either/or... It must be &.
>
> -Original Message-
> From: Brian Kotek [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 05, 2007 2:10 PM
> To: CF-Talk
> Subject: Re: Clear Object Variables
>
> Did you try my suggestion to re-run the constructor?
>
> On 9/5/07, Robert Harrison <[EMAIL PROTECTED]> wrote:
> >
> > The code below is caching the results for each file. They stay
> persistent
> > until server reboot. I need to clear them on demand and have tried
> > everything to find them. I've dumped all the client, session,
> application,
> > and server variables. Cannot find them there.
> >
> >
> > Where are these being cached? If I can find them I should be
> able to clear
> > them.
> >
> >
> >
> >  > class="java.awt.Toolkit">
> >  > class="java.awt.Image">
> > 
> > img =
> > tk.getDefaultToolkit
> > ().getImage("#rootpath#\assets\banners\#gif_files.name#"
> > );
> > width = img.getWidth();
> > height = img.getHeight();
> > img.flush();
> > 
> >
> >
> > Thanks
> >
> > Robert
> >
> >
> >
>
>
>
> 

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

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


RE: Implications of no JVM loaded

2007-09-05 Thread Jaime Metcher
+1.  I'd have a close look at that SDC, it may be more far-reaching than you
think.  I've seen standard environments that exclude Flash, Java, ActiveX
controls, Javascript (!), cookies, and external links to all but an approved
list of sites.

Jaime Metcher

> -Original Message-
> From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 6 September 2007 4:07 AM
> To: CF-Talk
> Subject: Re: Implications of no JVM loaded
>
>
> I doubt it's a lack of a JVM. More likely it's a lack of a Flash Player...
>
> Steve "Cutter" Blades
> Adobe Certified Professional
> Advanced Macromedia ColdFusion MX 7 Developer
> _
> http://blog.cutterscrossing.com
>
> Howell, Craig H Civ WRALC/ITMS wrote:
> > This is a simple question that may have far reaching implications for
> > me.  The DoD pushes "Standard Desktop Configurations", SDC, to all
> > client machines so all the machines "look alike".  The newest SDC that
> > will be released soon will not have the JVM loaded and will have IE 7..
> >
> >
> > I was wondering what the implications will be for our apps.  I know the
> > CF code is converted to HTML before it reaches the desktop, but are
> > there other issues we need to be concerned with, especially in areas
> > like Flash Forms?
> > We have discovered that our Flash Forms don't appear to be working in IE
> > 7, but is it IE or the lack of a JVM?
> >
> > Any inputs/responses would be greatly appreciated.
> >
> >
>
> 

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

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


Re: Creating XML from RecordSet

2007-09-05 Thread C. Hatton Humphrey
> You don't even need to write it to a file. Point the Flash app at a CFM page
> that dynamically generates the XML (or returns a cached version of it if
> performance is an issue) and set the mime type of the response to XML. You
> have no orphan files, and the Flash app never knows (or cares) that the XML
> is actually being created on the fly.

That is a concept that I had not considered.  Thanks for the idea!

Hatton

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

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


RE: problems with the JRun server

2007-09-05 Thread mayo
Just tried that. Didn't help.

After reinstalling CFMX I get a "HTTP 500 Internal Server Error" when trying
to access CFIDE/administrator.

A website has mentioned that SP2 prevents port scanning so CF fails to
complete it's install. See

http://cfblog.co.uk/index.cfm/2006/12/14/Coldfusion-Installation-Problems

He provides a piece of code which will (or should) make the scan on port
2920 only.

C:\coldfusionmx7\runtime\jre\bin\java -DWSConfig.PortScanStartPort=2920
-DWSConfig.PortScanCount=1 -jar C:\coldfusionmx7\runtime\lib\wsconfig.jar

Not knowing diddly about this I asked a network guy if this made any sense.
He thought so. :-/

Now I hit another obstacle. A macromedia JRun Web Server Configuration
pop-up screen appears. It gave me an option to "Add" but then got an alert
message which said: "Could not connect to any JRun servers on host
localhost. Confirm that the JRun server is started." I hit OK and got the
screen "Add Web Server Configuration which asked for the JRun Server
Properties:

JRun Host and JRun Server.
Now what?

Thx,

Gil


-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 05, 2007 10:42 PM
To: CF-Talk
Subject: Re: problems with the JRun server

What happens if you turn off the firewall?

On 9/6/07, mayo <[EMAIL PROTECTED]> wrote:
> I'm having problems correctly installing CFMX 6 on Windows XP Pro SP 2.
>
> I get everything to work except the admin section. Not good if you need to
> set datasources.
>
>
>
> Apparently SP2 causes some problems. I'm kinda getting down to the core of
> the problem. The JRun server is not being accessed properly.
>
>
>
> The documentation I've read at Adobe hasn't helped me any.
>
>
>
> http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18532
>
 2> &sliceId=2
>
>
>
>
>
> Nor has anything else. I need some help here. I simply can't get
> administrator to work. The problems started when I wiped the computer
clean
> and reinstalled windows XP and SP2.  I've installed and uninstalled
> everything numerous times. Installing CFMX as a standalone on port 8500
> hasn't helped any.
>
>
>
> Thx for any help
>
>
>
> gil
>
>
>
> 



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

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


Re: problems with the JRun server

2007-09-05 Thread James Holmes
What happens if you turn off the firewall?

On 9/6/07, mayo <[EMAIL PROTECTED]> wrote:
> I'm having problems correctly installing CFMX 6 on Windows XP Pro SP 2.
>
> I get everything to work except the admin section. Not good if you need to
> set datasources.
>
>
>
> Apparently SP2 causes some problems. I'm kinda getting down to the core of
> the problem. The JRun server is not being accessed properly.
>
>
>
> The documentation I've read at Adobe hasn't helped me any.
>
>
>
> http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18532
>  2> &sliceId=2
>
>
>
>
>
> Nor has anything else. I need some help here. I simply can't get
> administrator to work. The problems started when I wiped the computer clean
> and reinstalled windows XP and SP2.  I've installed and uninstalled
> everything numerous times. Installing CFMX as a standalone on port 8500
> hasn't helped any.
>
>
>
> Thx for any help
>
>
>
> gil
>
>
>
> 

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

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


problems with the JRun server

2007-09-05 Thread mayo
I'm having problems correctly installing CFMX 6 on Windows XP Pro SP 2.

I get everything to work except the admin section. Not good if you need to
set datasources.

 

Apparently SP2 causes some problems. I'm kinda getting down to the core of
the problem. The JRun server is not being accessed properly.

 

The documentation I've read at Adobe hasn't helped me any.

  

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18532
 &sliceId=2

 

 

Nor has anything else. I need some help here. I simply can't get
administrator to work. The problems started when I wiped the computer clean
and reinstalled windows XP and SP2.  I've installed and uninstalled
everything numerous times. Installing CFMX as a standalone on port 8500
hasn't helped any.

 

Thx for any help

 

gil



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

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


Re: Creating XML from RecordSet

2007-09-05 Thread Brian Kotek
Flash doesn't do anything "server side", so I'm not sure what you're trying
to say.

On 9/5/07, C. Hatton Humphrey <[EMAIL PROTECTED]> wrote:
>
> Thinking about this a bit more, this may or may not work depending on
> how flash "reads" the XML.  If Flash is simply opening the text file
> server-side (as it appears it is) then this wouldn't work because CF
> won't have parsed the file.
>


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

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


Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Zaphod Beeblebrox
I tend more towards the REST type services so CFC's aren't the best
vehicle for me.  Since I'm doing that API, it usually doesn't make
sense for me to do another type of API strictly for Flex interfaces.
Also for debugging and troubleshooting, nothing beats a human readable
format.  Plus when it comes right down to it, how much data are you
transferring to the client?  If you're transferring enough data to
make a huge difference in speed across the wire, I think you're
probably transferring too much data for the users' needs

On 9/5/07, Brian Kotek <[EMAIL PROTECTED]> wrote:
> A CFC will respond to web service requests and AMF without you having to do
> anything. Further, if custom XML is being generated, it has to come from
> somewhere. So the XML generation could stay in place but the underlying CFC
> supplying the data could easily be exposed for AMF calls, allowing you to do
> AMF, raw XML, and web services. The bottom line is that however else you
> want to expose the data, there is no reason not to use AMF to feed a Flex
> app.
>
>
> On 9/5/07, Zaphod Beeblebrox <[EMAIL PROTECTED]> wrote:
> >
> >
> > portabilityyou could use any client technology to consume your
> > service if it uses xml versus amf.
> >
> >
>
>
> 

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

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


RE: PHP or .Net?

2007-09-05 Thread Eric Roberts
That is probably because most .NET shops use MS products exclusively.  That
is the only time .NET is useful in my eyes.  Then everything fits together
pretty seamlessly. Otherwise, I wouldn't touch it.  

Java is a great tool...especially when used with CF.  The 2 are very
complimentary and pretty much make both languages limitless.

Eric

-Original Message-
From: Aaron Rouse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 05, 2007 12:00 PM
To: CF-Talk
Subject: Re: PHP or .Net?

True but most .NET people I know, work solely with MSSQL.  Then again the
same thing could be said about most people I know doing CF work.

On 9/5/07, Bruce Sorge <[EMAIL PROTECTED]> wrote:
>
> This is not true. .NET can work with Oracle, MySql, Access, SQL Server and
> DB2.
>
> Bruce
>
> -Original Message-
> From: David Morgan
> Sent: Wednesday, September 05, 2007 8:51 AM
> To: CF-Talk
> Subject: re: PHP or .Net?
>
>
> With all of that said, I am a Mac guy...Visual Studio is a Windows app and
> even with an intel mac - I hate working in winndows unless I HAVE to and
> have only been workng with MySQL in my limited CF time. Creating ASP.Net
> apps, you can expect to have to become confortable working with the MS SQL
> DBs.
>
>
> David
>
>
>
> 



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

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


Re: UNIX/Apache .htaccess problem

2007-09-05 Thread Eric Haskins
http://www.webconfs.com/how-to-redirect-a-webpage.php

Neat little bookmark  I had look near the bottom

Eric




On 9/5/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
>
> I am trying to create an .htaccess to use a 301 redirect to direct users
> to a new directory structure of our site.  When I put the following code
> into a file named .htaccess our webserver blows up and returns a 500
> internal error.
>
> redirect 301 /old/old.cfm http://dprweb:222/new.cfm
>
> Am I missing something basic here?
>
>
>
> 

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

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


RE: How create results with an Outer Join using 2 different databases

2007-09-05 Thread Robert Harrison
You probably cannot do an outer join with two different data sources (I'm
not sure,,, but seems iffy)

You may be able to do a subquery with two data sources. A subquery could
work an outer join.

If that doesn't work you may be able to query on DB, the loop through the
records and run the second query on loop to pick up the extra data.


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

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



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

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


Re: UNIX/Apache .htaccess problem

2007-09-05 Thread James Holmes
Is mod_redirect enabled in the server config?

On 9/6/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
> I am trying to create an .htaccess to use a 301 redirect to direct users
> to a new directory structure of our site.  When I put the following code
> into a file named .htaccess our webserver blows up and returns a 500
> internal error.
>
> redirect 301 /old/old.cfm http://dprweb:222/new.cfm
>
> Am I missing something basic here?
>
>
>
> 

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

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


RE: PHP or .Net?

2007-09-05 Thread Randy Johnson
I don't think he was saying it wouldn't work with other DB's.  I think he
might have been implying that a lot of asp.net programming uses MSSQL
databases which makes sense considering it is a windows based programming
language.
 
-Randy 
 
---Original Message---
 
From: Bruce Sorge
Date: 09/05/07 12:53:52
To: CF-Talk
Subject: RE: PHP or .Net?
 
This is not true. .NET can work with Oracle, MySql, Access, SQL Server and
DB2.
 
Bruce
 
-Original Message-
From: David Morgan
Sent: Wednesday, September 05, 2007 8:51 AM
To: CF-Talk
Subject: re: PHP or .Net?
 
 
With all of that said, I am a Mac guy...Visual Studio is a Windows app and
even with an intel mac - I hate working in winndows unless I HAVE to and
have only been workng with MySQL in my limited CF time. Creating ASP.Net
apps, you can expect to have to become confortable working with the MS SQL
DBs.
 
 
David
 
 
 


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

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


Re: PHP or .Net?

2007-09-05 Thread Dinner
One addendum-   The IDE can make a huge difference, which I was
thinking to myself-  Wow, that's sorta funny.

I'd, of course, go with an Open Source one.  Now adays, that's not
such a silly idea.  Still a bit silly, maybe, but not for much longer.

Bah, the important bit I meant to get across was there's a whole
lot more to languages and whatnot than just the languages, and
um, whatnot.  Some people care, others don't- but let's do our
best to see the better technology propagate, right?
(Ha!  "better" )


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

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


Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Dinner
My main problem with flex is lack of players, people who can't
install the player, player security, etc..

I had a huge problem with JS for a long time too, but what the
hell- looks like someone decided to go ahead and use it, and
it comes with the browser...

That's why the laszlo runtimes intrigue me so much-  stuff like
that is where it's at.  Hell, look how many languages are sorta
"wrapping" themselves around other languages?  I was peeking
at Groovy, and man, you can output in like, whatever.

Looks like CF8 has leveraged some of these ideas as well-
why not, lots of them are done in JAVA...

On 9/5/07, Joeri B wrote:
>
> Recently I developed my first realworld Flex 2 application for a client,
> after months of playing with Flex 2. My conclusion so far:
>


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

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


Re: virtual directory cf8 using built in webserver?

2007-09-05 Thread Tony
you sure can!

you add a block like this:

  
/WEB-INF
C:/ColdFusion8/wwwroot/WEB-INF
  

to this file... (as it is on my box)

C:\Coldfusion8\wwwroot\WEB-INF\jrun-web.xml

:) nice.

aight, back to work now!

thanks anyway.

On 9/5/07, Tony <[EMAIL PROTECTED]> wrote:
> hello all...
>
> is it possible to have virtual directories using cf8 and its internal 
> webserver?
>
> thanks!
>
> thanks!
> tony
>
> --
> 'Never have anything in your life that you can't walk out on in thirty
> seconds flat, if you spot the heat coming around the corner'
>
> robert deniro - heat (1995)
>


-- 
'Never have anything in your life that you can't walk out on in thirty
seconds flat, if you spot the heat coming around the corner'

robert deniro - heat (1995)

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

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


Re: PHP or .Net?

2007-09-05 Thread Dinner
On 9/5/07, Sean Corfield wrote:...

> purist (I've designed a couple of languages and written compilers and
> interpreters so I probably have a different view of languages to most
> folks :)


My posts have been compared to another language.

Now to find out if the readers are parsing or compiling them...

better CF programmer!). Consequently, I recommend learning unusual
> stuff like Smalltalk, Prolog and Haskell...


Unusual!?!?!  What planet are you from, Sean?  Sheesh...

Fortran, man, all the way.  And Lisp, and then maybe one of those AI
type deals- "Make it so"- yeah, that's how one codes...  Naturally.

Groovy / Grails seem to be up-and-coming, or whatnot, but it doesn't
really matter-  Thanks to Murphy's Law, it's always the Other one. ;]

Of course those ones Sean talks about are ok too, I'm just messing.

I'm personally all about the cross-platform type stuff, when possible-
Not that you can't find just about anything for anything these days...

Well, almost anything [;


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

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


Re: webservice

2007-09-05 Thread Brian Kotek
Ok.

On 9/5/07, Chad Gray <[EMAIL PROTECTED]> wrote:
>
> I am trying to work with a web service and I am getting this error in CF.
>
>
> Error converting CFML arguments to Java classes for web service
> invocation.
> Unable to create web service argument class [
> Lcom.canto.www._2005.cumulus.ws.types.Record;. Error:
> java.lang.InstantiationException: [
> Lcom.canto.www._2005.cumulus.ws.types.Record;. Often this is because the
> web service defines an abstract complexType as an input to an operation. You
> must create an actual instance of this type in Java.
>
>
> 

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

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


virtual directory cf8 using built in webserver?

2007-09-05 Thread Tony
hello all...

is it possible to have virtual directories using cf8 and its internal webserver?

thanks!

thanks!
tony

-- 
'Never have anything in your life that you can't walk out on in thirty
seconds flat, if you spot the heat coming around the corner'

robert deniro - heat (1995)

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

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


Re: Creating XML from RecordSet

2007-09-05 Thread C. Hatton Humphrey
> You don't even need to write it to a file. Point the Flash app at a CFM page
> that dynamically generates the XML (or returns a cached version of it if
> performance is an issue) and set the mime type of the response to XML. You
> have no orphan files, and the Flash app never knows (or cares) that the XML
> is actually being created on the fly.

Thinking about this a bit more, this may or may not work depending on
how flash "reads" the XML.  If Flash is simply opening the text file
server-side (as it appears it is) then this wouldn't work because CF
won't have parsed the file.  If it is using an HTTP get then it would
indeed work.

Has anyone dealt with Flashrelief's ThumbGallery?  That's the product,
it has an attribute of "XMLPath" that points directly to the file.  I
don't know how the SWF file makes the call from there.

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

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


RE: Coldfusion wddx problem

2007-09-05 Thread Paul Vernon
This should do it...

Click
Here

Having said that, I totally 100% agree with Brian, passing the WDDX packet
on the URL is the last thing you should be doing. It's prone to failure and
a very fragile method of transferring data from one request to another. If
you could store the structure in a session and access it across requests
that way, you wouldn't need the overhead of serialization either.

Paul




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

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


Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Steve Sequenzia
Brian, thanks for the info. It makes more sense to me now. You control the 
format based on the invoke not necessarily in the CFC. For some reason I 
thought that you had to convert the data to XML in the CFC.

Thanks for clearing that up.

Sorry everyone for the double (I mean triple) posts.

>If you invoke the CFC as a web service (using ?wsdl on the URL), you get the
>result back as a SOAP response (XML). If you invoke a CFC method via a URL
>without specifying ?wsdl, you get the returned value as WDDX. If you invoke
>it from Flash, the response is in AMF.
>
>Also, in CF8 you can specify returnFormat on the URL with values for JSON,
>WDDX, and plain.
>
>
>> 

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

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


RE: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Dale Fraser
I have played with it extensively.

I like AS3 and Flex in general, but you are right ColdFusion is easier as
quicker.

Part of the problem is however that you need to become more familiar with
it, but it is a big learning curve. With that said ColdFusion probably was
at the start also.

Regards
Dale Fraser

http://dalefraser.blogspot.com

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 5 September 2007 11:44 PM
To: CF-Talk
Subject: RE: Am I the only one who thinks Flex 2 isn't

I also feel that Flex is suffering from the bandwagon effect. Too many
people think that it's "the business" which causes other people to jump on
it.

I do think it's cool, and that it has it's place. I'll say though that it
sounds like you're doing a few things wrong. If you're already a ColdFusion
developer, and have knowledge of writing CFCs then you should be using THOSE
to return data to Flex. It's FAR faster than using XML and you don't suffer
from the overhead of an XML doc. Also, 400k isn't that bad for an
app...you'd probably have something close to that for plain ColdFusion and
HTML.


andy

-Original Message-
From: Joeri B [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 05, 2007 9:19 AM
To: CF-Talk
Subject: Am I the only one who thinks Flex 2 isn't

Recently I developed my first realworld Flex 2 application for a client,
after months of playing with Flex 2. My conclusion so far:

1. Flex 2 AND developement: is slow, cause of the many posibilities. And
somewhat fixed layout. For ex. "client is saying he wants the item to resize
and fade out to the right, instead of ... " Making project times
extends

2. Flex 2 AND database: We have created an XML for the data, that's makes
the application sluggish as hell! XML data have much overhead ( I believe
something like 2/3 )

3. Flex 2 AND performance: On my machine it works ok, but older machines
it's has serious performance issues.

4. Flex 2 AND filesize: 400 KB for a shoplike application, product and
filtering!

Instead I would rather programmed it in old-style Coldfusion HTML with a
little javascript. But i searched google, and found many PRO Flex 2
articles, and exaclty 1 againts. 
Am I the only one?!?!?!






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

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


RE: PHP or .Net?

2007-09-05 Thread Dale Fraser
Well,

If it's between PHP and ASP.NET I would go ASP.NET with C# which will be
familiar with your C background.

Java is also good to learn, learning Java made me rethink how I write
ColdFusion code and knowing Java enables you to do some extra bits from
ColdFusion, thought CF8 has a .NET bridge so the same applies there.

Regards
Dale Fraser

http://dalefraser.blogspot.com


-Original Message-
From: Ali Majdzadeh [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 6 September 2007 6:36 AM
To: CF-Talk
Subject: Re: PHP or .Net?

>Sean, Michael, Andrew...
>
>Any thoughts on Ruby and Python?
>
>
>
>
>>
i read many good things about Ruby or Python but I never experienced coding
with them. Are they marketable as others?
Thanks
Benign 



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

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


Re: PHP or .Net?

2007-09-05 Thread Andrew Scott
Yuck for ruby, I would prefer groovy over ruby and grails of RoR.



On 9/6/07, Michael E. Carluen <[EMAIL PROTECTED]> wrote:
>
> Sean, Michael, Andrew...
>
> Any thoughts on Ruby and Python?
>
>
>
>
> > -Original Message-
> > From: Sean Corfield [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 05, 2007 8:57 AM
> > To: CF-Talk
> > Subject: Re: PHP or .Net?
> >
> > On 9/5/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote:
> > > For about 5 years I am using CF as my main devloping laguage but many
> > experienced programmers suggested I learn another programming language
> too
> > because CF is great but not as popular as PHP or .Net
> > > Which one do you suggest as the second language I learn? The only
> thing
> > I ever used is Coldfusion.
> >
> > I don't think you'll actually learn anything new from PHP but you may
> > find it easier to pick up if you've only done CF. I think PHP is a
> > *horrible* language but a lot of people think I'm a bit of a language
> > purist (I've designed a couple of languages and written compilers and
> > interpreters so I probably have a different view of languages to most
> > folks :)
> >
> > C# / .NET will be a good learning experience in terms of new concepts
> > and it's fairly marketable. Java would also be a similarly good
> > learning experience (and is also fairly marketable).
> >
> > I generally suggest that folks learn new languages for the concepts
> > they can teach rather than how marketable a specific language is - the
> > more languages you know, the easier it is to pick up the marketable
> > languages - and unusual languages teach you a lot more than mainstream
> > languages, in terms of techniques (many of which will make you a
> > better CF programmer!). Consequently, I recommend learning unusual
> > stuff like Smalltalk, Prolog and Haskell...
> > --
> > Sean A Corfield -- (904) 302-SEAN
> > An Architect's View -- http://corfield.org/
> >
> > "If you're not annoying somebody, you're not really alive."
> > -- Margaret Atwood
> >
> >
>
> 

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

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


Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Brian Kotek
If you invoke the CFC as a web service (using ?wsdl on the URL), you get the
result back as a SOAP response (XML). If you invoke a CFC method via a URL
without specifying ?wsdl, you get the returned value as WDDX. If you invoke
it from Flash, the response is in AMF.

Also, in CF8 you can specify returnFormat on the URL with values for JSON,
WDDX, and plain.

On 9/5/07, Steve Sequenzia <[EMAIL PROTECTED]> wrote:
>
> Hey Brian, quick question about this.
>
> If you use a CFC to create a web service and do not convert it to XML what
> data format does the CFC respond to requests in?
>
> I mean, if I have a backend in CF that uses CFC to access the database and
> feed it to the front end (or other users front ends) where is the data
> format specified?
>
>
> I might be asking this question wrong because my knowledge of web services
> is pretty limited but if you could give me an idea of how this works that
> would be great.
>
> Thanks!
>
> >A CFC will respond to web service requests and AMF without you having to
> do
> >anything. Further, if custom XML is being generated, it has to come from
> >somewhere. So the XML generation could stay in place but the underlying
> CFC
> >supplying the data could easily be exposed for AMF calls, allowing you to
> do
> >AMF, raw XML, and web services. The bottom line is that however else you
> >want to expose the data, there is no reason not to use AMF to feed a Flex
> >app.
> >
> >
> >
> >>
> >>
> >> portabilityyou could use any client technology to consume your
> >> service if it uses xml versus amf.
> >>
> >>
>
> 

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

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


How create results with an Outer Join using 2 different databases

2007-09-05 Thread Joy Holman
ISSUE:

I'm working with existing functionality, so I need to work this code in somehow 
or rewrite a significant amount of code.

I am using tables that come from different datasources.
I can't use the outer join with QofQ, right? I need to use an outer join to 
combine two result sets that don't have same 

number of matches. 
 
GOAL:

I want to end up with final results so that any record from qdocSourceSort with 
a fac_ID value has its sourceTitle field 

populated with the sourceTitle created in qqFacTitle.
(qdocSourceSort already has the fac_id NULL value records populated with 
SourceTitle values.)

My main objective is to sort all these records by SourceTitle!

CODE:

The two tables I need to combine are qdocSourceSort and qqFacTitle below. 
(qqSourceFacNo (below) is an intermediate step.)

I want all these records:

select *
from PEdocs, Sources
WHERE deleted IS NULL
and UPPER(docLetter) = 
and fk_sourceID = sourceID  


I want to combine the results above with the last query of the two below.


select sourceFacID
from qdocSourceSort
where sourceFacID IS NOT NULL   
  



select fac_ID, fac_Facility AS sourceTitle
from IHSFacility
where fac_ID IN (#ValueList(qqSourceFacNo.sourceFacID)#) 
 

qqFacTitle.fac_ID would match some of the qdocSourceSort.fac_ID values. The 
rest of the qdocSourceSort.fac_ID values would 

be NULL.

Also numerous qdocSourceSort.fac_ID values could be the same number, so each 
result from qqFacTitle.fac_ID needs to be 

matched as many times as it is referenced in qdocSourceSort.fac_ID values.

qdocSourceSort has a column SourceTitle, so each result of 
qqFacTitle.SourceTitle needs to be merged into the SourceTitle 

fields in a qdocSourceSort record wherever
qqFacTitle.fac_ID matches qdocSourceSort.fac_ID.

Can anybody help me?!?!?

Thanks. 

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

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


Re: Clear Object Variables

2007-09-05 Thread Brian Kotek
Are you resizing the image dynamically? Or are you actually resizing it and
then saving it over the old one? If you create an instance of these Java
objects based on an image of a given size, and then you change the image
size, the Java object has no idea that this happened. If you want the new
image's size, you'd have to call getImage() again and pass in the path to
the new image.

Maybe it would help if you explain exactly what you are doing as far as the
resizing goes.

On 9/5/07, Robert Harrison <[EMAIL PROTECTED]> wrote:
>
> > Did you try my suggestion to re-run the constructor?
>
> Yes. That did not clear the cached data. I tried to init the entire
> structure but I don't really know the actual name of the img object CF is
> creating. I'm naming it "img", but CF is probably appending some longer
> name
> that has img as part of it.
>
> Wherever these are being cached they not in any of the CF variables I can
> find... although strangely enough they are clearing at the purge interval
> set in the CF administrator.
>
>
> Robert B. Harrison
> Director of Interactive services
> Austin & Williams
> 125 Kennedy Drive, Suite 100 Hauppauge NY 11788
> T : 631.231.6600 Ext. 119
> F : 631.434.7022
> www.austin-williams.com
>
> Great advertising can't be either/or... It must be &.
>
> -Original Message-
> From: Brian Kotek [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 05, 2007 2:10 PM
> To: CF-Talk
> Subject: Re: Clear Object Variables
>
> Did you try my suggestion to re-run the constructor?
>
> On 9/5/07, Robert Harrison <[EMAIL PROTECTED]> wrote:
> >
> > The code below is caching the results for each file. They stay
> persistent
> > until server reboot. I need to clear them on demand and have tried
> > everything to find them. I've dumped all the client, session,
> application,
> > and server variables. Cannot find them there.
> >
> >
> > Where are these being cached? If I can find them I should be able to
> clear
> > them.
> >
> >
> >
> >  > class="java.awt.Toolkit">
> >  > class="java.awt.Image">
> > 
> > img =
> > tk.getDefaultToolkit
> > ().getImage("#rootpath#\assets\banners\#gif_files.name#"
> > );
> > width = img.getWidth();
> > height = img.getHeight();
> > img.flush();
> > 
> >
> >
> > Thanks
> >
> > Robert
> >
> >
> >
>
>
>
> 

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

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


Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Steve Sequenzia
Hey Brian, quick question about this.

If you use a CFC to create a web service and do not convert it to XML what data 
format does the CFC respond to requests in?

I mean, if I have a backend in CF that uses CFC to access the database and feed 
it to the front end (or other users front ends) where is the data format 
specified?


I might be asking this question wrong because my knowledge of web services is 
pretty limited but if you could give me an idea of how this works that would be 
great.

Thanks!


>A CFC will respond to web service requests and AMF without you having to do
>anything. Further, if custom XML is being generated, it has to come from
>somewhere. So the XML generation could stay in place but the underlying CFC
>supplying the data could easily be exposed for AMF calls, allowing you to do
>AMF, raw XML, and web services. The bottom line is that however else you
>want to expose the data, there is no reason not to use AMF to feed a Flex
>app.
>
>
>
>>
>>
>> portabilityyou could use any client technology to consume your
>> service if it uses xml versus amf.
>>
>> 

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

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


Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Steve Sequenzia
Hey Brian, quick question about this.

If you use a CFC to create a web service and do not convert it to XML what data 
format does the CFC respond to requests in?

I mean, if I have a backend in CF that uses CFC to access the database and feed 
it to the front end (or other users front ends) where is the data format 
specified?


I might be asking this question wrong because my knowledge of web services is 
pretty limited but if you could give me an idea of how this works that would be 
great.

Thanks!

>A CFC will respond to web service requests and AMF without you having to do
>anything. Further, if custom XML is being generated, it has to come from
>somewhere. So the XML generation could stay in place but the underlying CFC
>supplying the data could easily be exposed for AMF calls, allowing you to do
>AMF, raw XML, and web services. The bottom line is that however else you
>want to expose the data, there is no reason not to use AMF to feed a Flex
>app.
>
>
>
>>
>>
>> portabilityyou could use any client technology to consume your
>> service if it uses xml versus amf.
>>
>> 

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

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


Coldfusion wddx problem

2007-09-05 Thread Becky McDermott
Hello,
 
I have a coldfusion application which I have structured using Fusebox.  I have 
a template that does several queries and builds up a complex structure (many 
fields and an array of substructures).  I'm trying to serialize this structure 
(using wddx) and pass it to another template which needs access to the 
structure.
 
Here is a snippet of my code (dsp_ShowContacts.cfm)


 
 
  Click 
Here 

 
Then in index.cfm, I have:




Testing This Code

  
 
When I load the page and try clicking on the URL that says "Click Here", I get 
the following error message:  

WDDX packet parse error at line 1, column 1. Content is not allowed in prolog.. 

Inside dsp_ShowContacts.cfm, if I try adding code to deserialize the object 
right after it is serialized and then dump it, the structure is fine.  So all 
appears well inside dsp_ShowContacts.cfm.  It's when it gets passed over the 
URL that things go bad.  Could my structure be too complex?  Am I missing some 
small syntax that will make it work?

Thank You,

Becky


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

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


Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Steve Sequenzia
Hey Brian, quick question about this.

If you use a CFC to create a web service and do not convert it to XML what data 
format does the CFC respond to requests in?

I mean, if I have a backend in CF that uses CFC to access the database and feed 
it to the front end (or other users front ends) where is the data format 
specified?


I might be asking this question wrong because my knowledge of web services is 
pretty limited but if you could give me an idea of how this works that would be 
great.

Thanks!

>A CFC will respond to web service requests and AMF without you having to do
>anything. Further, if custom XML is being generated, it has to come from
>somewhere. So the XML generation could stay in place but the underlying CFC
>supplying the data could easily be exposed for AMF calls, allowing you to do
>AMF, raw XML, and web services. The bottom line is that however else you
>want to expose the data, there is no reason not to use AMF to feed a Flex
>app.
>
>
>
>>
>>
>> portabilityyou could use any client technology to consume your
>> service if it uses xml versus amf.
>>
>> 

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

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


RE: Clear Object Variables

2007-09-05 Thread Robert Harrison
> Did you try my suggestion to re-run the constructor?

Yes. That did not clear the cached data. I tried to init the entire
structure but I don't really know the actual name of the img object CF is
creating. I'm naming it "img", but CF is probably appending some longer name
that has img as part of it.

Wherever these are being cached they not in any of the CF variables I can
find... although strangely enough they are clearing at the purge interval
set in the CF administrator. 


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

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

-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 05, 2007 2:10 PM
To: CF-Talk
Subject: Re: Clear Object Variables

Did you try my suggestion to re-run the constructor?

On 9/5/07, Robert Harrison <[EMAIL PROTECTED]> wrote:
>
> The code below is caching the results for each file. They stay persistent
> until server reboot. I need to clear them on demand and have tried
> everything to find them. I've dumped all the client, session, application,
> and server variables. Cannot find them there.
>
>
> Where are these being cached? If I can find them I should be able to clear
> them.
>
>
>
>  class="java.awt.Toolkit">
>  class="java.awt.Image">
> 
> img =
> tk.getDefaultToolkit
> ().getImage("#rootpath#\assets\banners\#gif_files.name#"
> );
> width = img.getWidth();
> height = img.getHeight();
> img.flush();
> 
>
>
> Thanks
>
> Robert
>
>
> 



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

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


Re: CF8, visual cropping tools?

2007-09-05 Thread todd sharp
> Sorry I have not had the time to write some proper documentation yet - 
> it is on the short term to-do list I promise :) 

Tag is now documented:

http://cfsilence.com/blog/client/index.cfm/2007/9/4/cfImageCropper-Updated 

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

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


Re: How create results with an Outer Join using 2 different databases

2007-09-05 Thread Brian Kotek
If your RDBMS doesn't support the creation of some sort of database link
(which lets you query another database from within the RDBMS), you'll
probably have to loop over the results and build up a query result set
manually.

On 9/5/07, Joy Holman <[EMAIL PROTECTED]> wrote:
>
> ISSUE:
>
> I'm working with existing functionality, so I need to work this code in
> somehow or rewrite a significant amount of code.
>
> I am using tables that come from different datasources.
> I can't use the outer join with QofQ, right? I need to use an outer join
> to combine two result sets that don't have same
> number of matches.
>
> GOAL:
>
> I want to end up with final results so that any record from qdocSourceSort
> with a fac_ID value has its sourceTitle field
> populated with the sourceTitle created in qqFacTitle.
> (qdocSourceSort already has the fac_id NULL value records populated with
> SourceTitle values.)
>
> My main objective is to sort all these records by SourceTitle!
>
> CODE:
>
> The two tables I need to combine are qdocSourceSort and qqFacTitle below.
> (qqSourceFacNo (below) is an intermediate step.)
>
> I want all these records:
> 
> select *
> from PEdocs, Sources
> WHERE deleted IS NULL
> and UPPER(docLetter) =  cfsqltype="CF_SQL_CHAR" maxlength="1">
> and fk_sourceID = sourceID
> 
>
> I want to combine the results above with the last query of the two below.
>
> 
> select sourceFacID
> from qdocSourceSort
> where sourceFacID IS NOT NULL
> 
>
>
> 
> select fac_ID, fac_Facility AS sourceTitle
> from IHSFacility
> where fac_ID IN (#ValueList(qqSourceFacNo.sourceFacID)#)
> 
>
> qqFacTitle.fac_ID would match some of the qdocSourceSort.fac_ID values.
> The rest of the qdocSourceSort.fac_ID values would be NULL.
>
> Also numerous qdocSourceSort.fac_ID values could be the same number, so
> each result from qqFacTitle.fac_ID needs to be matched as many times as it
> is referenced in qdocSourceSort.fac_ID values.
>
> qdocSourceSort has a column SourceTitle, so each result of
> qqFacTitle.SourceTitle needs to be merged into the SourceTitle fields in a
> qdocSourceSort record wherever
> qqFacTitle.fac_ID matches qdocSourceSort.fac_ID.
>
> Can anybody help me?!?!?
>
> Thanks.
>
> 

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

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


How create results with an Outer Join using 2 different databases

2007-09-05 Thread Joy Holman
ISSUE:

I'm working with existing functionality, so I need to work this code in somehow 
or rewrite a significant amount of code.

I am using tables that come from different datasources.
I can't use the outer join with QofQ, right? I need to use an outer join to 
combine two result sets that don't have same 
number of matches. 
 
GOAL:

I want to end up with final results so that any record from qdocSourceSort with 
a fac_ID value has its sourceTitle field 
populated with the sourceTitle created in qqFacTitle.
(qdocSourceSort already has the fac_id NULL value records populated with 
SourceTitle values.)

My main objective is to sort all these records by SourceTitle!

CODE:

The two tables I need to combine are qdocSourceSort and qqFacTitle below. 
(qqSourceFacNo (below) is an intermediate step.)

I want all these records:

select *
from PEdocs, Sources
WHERE deleted IS NULL
and UPPER(docLetter) = 
and fk_sourceID = sourceID  


I want to combine the results above with the last query of the two below.


select sourceFacID
from qdocSourceSort
where sourceFacID IS NOT NULL   
  



select fac_ID, fac_Facility AS sourceTitle
from IHSFacility
where fac_ID IN (#ValueList(qqSourceFacNo.sourceFacID)#) 
 

qqFacTitle.fac_ID would match some of the qdocSourceSort.fac_ID values. The 
rest of the qdocSourceSort.fac_ID values would be NULL.

Also numerous qdocSourceSort.fac_ID values could be the same number, so each 
result from qqFacTitle.fac_ID needs to be matched as many times as it is 
referenced in qdocSourceSort.fac_ID values.

qdocSourceSort has a column SourceTitle, so each result of 
qqFacTitle.SourceTitle needs to be merged into the SourceTitle fields in a 
qdocSourceSort record wherever
qqFacTitle.fac_ID matches qdocSourceSort.fac_ID.

Can anybody help me?!?!?

Thanks. 

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

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


How create results with an Outer Join using 2 different databases

2007-09-05 Thread Joy Holman
ISSUE:

I'm working with existing functionality, so I need to work this code in somehow 
or rewrite a significant amount of code.

I am using tables that come from different datasources.
I can't use the outer join with QofQ, right? I need to use an outer join to 
combine two result sets that don't have same 

number of matches. 
 
GOAL:

I want to end up with final results so that any record from qdocSourceSort with 
a fac_ID value has its sourceTitle field 

populated with the sourceTitle created in qqFacTitle.
(qdocSourceSort already has the fac_id NULL value records populated with 
SourceTitle values.)

My main objective is to sort all these records by SourceTitle!

CODE:

The two tables I need to combine are qdocSourceSort and qqFacTitle below. 
(qqSourceFacNo (below) is an intermediate step.)

I want all these records:

select *
from PEdocs, Sources
WHERE deleted IS NULL
and UPPER(docLetter) = 
and fk_sourceID = sourceID  


I want to combine the results above with the last query of the two below.


select sourceFacID
from qdocSourceSort
where sourceFacID IS NOT NULL   
  



select fac_ID, fac_Facility AS sourceTitle
from IHSFacility
where fac_ID IN (#ValueList(qqSourceFacNo.sourceFacID)#) 
 

qqFacTitle.fac_ID would match some of the qdocSourceSort.fac_ID values. The 
rest of the qdocSourceSort.fac_ID values would 

be NULL.

Also numerous qdocSourceSort.fac_ID values could be the same number, so each 
result from qqFacTitle.fac_ID needs to be 

matched as many times as it is referenced in qdocSourceSort.fac_ID values.

qdocSourceSort has a column SourceTitle, so each result of 
qqFacTitle.SourceTitle needs to be merged into the SourceTitle 

fields in a qdocSourceSort record wherever
qqFacTitle.fac_ID matches qdocSourceSort.fac_ID.

Can anybody help me?!?!?

Thanks. 

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

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


Re: Coldfusion wddx problem

2007-09-05 Thread Barney Boisvert
First, I'd strongly recommend NOT passing WDDX on the URL.  There is a
limit on the size of a URL, though in most cases it's high enough to
ignore.  With a WDDX packet (which are not known for being small) it'd
be quite simple to eclipse that limit and end up with only a partial
packet on the other end.

Second, your actual problem is the single quotes you're putting in the
URL around the WDDX packet.

cheers,
barneyb

On 9/5/07, Becky McDermott <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a coldfusion application which I have structured using Fusebox.  I 
> have a template that does several queries and builds up a complex structure 
> (many fields and an array of substructures).  I'm trying to serialize this 
> structure (using wddx) and pass it to another template which needs access to 
> the structure.
>
> Here is a snippet of my code (dsp_ShowContacts.cfm)
> ---
> 
> 
>  
>  
>href="./index.cfm?fuseaction=AddContact&inputStruct='#urlSafePacket#'">Click 
> Here
> 
>
> Then in index.cfm, I have:
> --
> 
> 
> 
>  output="outputGranteeStruct">
> Testing This Code
> 
>   
>
> When I load the page and try clicking on the URL that says "Click Here", I 
> get the following error message:
>
> WDDX packet parse error at line 1, column 1. Content is not allowed in 
> prolog..
>
> Inside dsp_ShowContacts.cfm, if I try adding code to deserialize the object 
> right after it is serialized and then dump it, the structure is fine.  So all 
> appears well inside dsp_ShowContacts.cfm.  It's when it gets passed over the 
> URL that things go bad.  Could my structure be too complex?  Am I missing 
> some small syntax that will make it work?
>
> Thank You,
>
> Becky
>
>
> 

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

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


Re: Coldfusion wddx problem

2007-09-05 Thread Brian Kotek
Not sure if it is the cause of the error, but I would recommend agains doing
this. All browsers have a limitation on the length of the URL that they will
pass, which range from about 2000 up to 100,000. A WDDX string could easily
pass this length limit. I'd look at storing it in a cookie (though Cookies
also have length limits) or a session variable.

On 9/5/07, Becky McDermott <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a coldfusion application which I have structured using Fusebox.  I
> have a template that does several queries and builds up a complex structure
> (many fields and an array of substructures).  I'm trying to serialize this
> structure (using wddx) and pass it to another template which needs access to
> the structure.
>
> Here is a snippet of my code (dsp_ShowContacts.cfm)
> ---
> 
> 
>   output="aWDDXpacket">
>  
>href="./index.cfm?fuseaction=AddContact&inputStruct='#urlSafePacket#'">Click
> Here
> 
>
> Then in index.cfm, I have:
> --
> 
> 
> 
>  output="outputGranteeStruct">
> Testing This Code
> 
>   
>
> When I load the page and try clicking on the URL that says "Click Here", I
> get the following error message:
>
> WDDX packet parse error at line 1, column 1. Content is not allowed in
> prolog..
>
> Inside dsp_ShowContacts.cfm, if I try adding code to deserialize the
> object right after it is serialized and then dump it, the structure is
> fine.  So all appears well inside dsp_ShowContacts.cfm.  It's when it gets
> passed over the URL that things go bad.  Could my structure be too
> complex?  Am I missing some small syntax that will make it work?
>
> Thank You,
>
> Becky
>
>
> 

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

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


Coldfusion wddx problem

2007-09-05 Thread Becky McDermott
Hello,
 
I have a coldfusion application which I have structured using Fusebox.  I have 
a template that does several queries and builds up a complex structure (many 
fields and an array of substructures).  I'm trying to serialize this structure 
(using wddx) and pass it to another template which needs access to the 
structure.
 
Here is a snippet of my code (dsp_ShowContacts.cfm)
---


 
 
  Click 
Here 

 
Then in index.cfm, I have:
--




Testing This Code

  
 
When I load the page and try clicking on the URL that says "Click Here", I get 
the following error message:  

WDDX packet parse error at line 1, column 1. Content is not allowed in prolog.. 

Inside dsp_ShowContacts.cfm, if I try adding code to deserialize the object 
right after it is serialized and then dump it, the structure is fine.  So all 
appears well inside dsp_ShowContacts.cfm.  It's when it gets passed over the 
URL that things go bad.  Could my structure be too complex?  Am I missing some 
small syntax that will make it work?

Thank You,

Becky


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

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


Re: PHP or .Net?

2007-09-05 Thread Ali Majdzadeh
>Sean, Michael, Andrew...
>
>Any thoughts on Ruby and Python?
>
>
>
>
>>
i read many good things about Ruby or Python but I never experienced coding 
with them. Are they marketable as others?
Thanks
Benign 

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

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


Re: Creating XML from RecordSet

2007-09-05 Thread Brian Kotek
You don't even need to write it to a file. Point the Flash app at a CFM page
that dynamically generates the XML (or returns a cached version of it if
performance is an issue) and set the mime type of the response to XML. You
have no orphan files, and the Flash app never knows (or cares) that the XML
is actually being created on the fly.

On 9/5/07, Josh Nathanson <[EMAIL PROTECTED]> wrote:
>
> > I'm thinking of two different options:
> > 1. Create a regular variable and put the code directly in there.
> > 2. Make use of the XML functions to create the XML object in memory
> > and then figure out how to get it to the file.
>
>
> I would say option 1.  If you are writing to a file there's no need to
> convert to an XML object.
>
> 
> 
> 
> dynamic content here - use XMLFormat to clean out bad xml
> characters
> 
> 
>
> Then cffile to write the "myxml" string to a file.
>
> -- Josh
>
>
> 

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

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


webservice

2007-09-05 Thread Chad Gray
I am trying to work with a web service and I am getting this error in CF.


Error converting CFML arguments to Java classes for web service invocation.  
Unable to create web service argument class 
[Lcom.canto.www._2005.cumulus.ws.types.Record;. Error: 
java.lang.InstantiationException: 
[Lcom.canto.www._2005.cumulus.ws.types.Record;. Often this is because the web 
service defines an abstract complexType as an input to an operation. You must 
create an actual instance of this type in Java.  


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

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


Re: Creating XML from RecordSet

2007-09-05 Thread Josh Nathanson
> Go with one, but you don't even need cffile at the end.

I think he mentioned that he needs to write the file to the filesystem 
silently, so the pre-built Flash gallery can pick it up from there.

Also, what's the point of creating the xml object using cfxml, if you're 
just converting it back to string anyway.  It will work fine but it's not 
necessary.

-- Josh




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

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


Re: Creating XML from RecordSet

2007-09-05 Thread Casey Dougall
Go with one, but you don't even need cffile at the end.






Gallery Stuff.









#xmlString#


If that's all you had in your .cfm file it would display proper xml. when
you load it in the browser.


On 9/5/07, Josh Nathanson <[EMAIL PROTECTED]> wrote:
>
> > I'm thinking of two different options:
> > 1. Create a regular variable and put the code directly in there.
> > 2. Make use of the XML functions to create the XML object in memory
> > and then figure out how to get it to the file.
>
>
> I would say option 1.  If you are writing to a file there's no need to
> convert to an XML object.
>
> 
> 
> 
> dynamic content here - use XMLFormat to clean out bad xml
> characters
> 
> 
>
> Then cffile to write the "myxml" string to a file.
>
> -- Josh
>
>
> 

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

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


Accessing SOAP Methods Items

2007-09-05 Thread Shane Trahan
Hi,
  When trying to communicate with a webservice The following items are listed 
as arguments and the Method is called Track...


track.TrackRequest.AuthenticationDetail.UserCredential:   xs:string
track.TrackRequest.ClientDetail.AccountNumber:   xs:string
track.TrackRequest.ClientDetail.MeterNumber: xs:string
track.TrackRequest.ClientDetail.Localization.LanguageCode:   xs:string
track.TrackRequest.ClientDetail.Localization.LocaleCode: xs:string
track.TrackRequest.TransactionDetail.CustomerTransactionId:  xs:string
track.TrackRequest.TransactionDetail.Localization.LanguageCode:  xs:string
track.TrackRequest.TransactionDetail.Localization.LocaleCode:xs:string
track.TrackRequest.PackageIdentifier.Value:  xs:string
track.TrackRequest.PackageIdentifier.Type:   ns:TrackIdentifierType
track.TrackRequest.TrackingNumberUniqueIdentifier:   xs:string
track.TrackRequest.ShipDateRangeBegin:   xs:date
track.TrackRequest.ShipDateRangeEnd: xs:date
track.TrackRequest.ShipmentAccountNumber:xs:string
track.TrackRequest.Destination.City: xs:string
track.TrackRequest.Destination.StateOrProvinceCode:  xs:string
track.TrackRequest.Destination.PostalCode:   xs:string
track.TrackRequest.Destination.CountryCode:  xs:string
track.TrackRequest.IncludeDetailedScans: xs:boolean
track.TrackRequest.PagingToken:  xs:string



Is the TrackRequest Considered a structure? How do I reference each one of 
these in CF.. Do I use dot notation when using my CFINVOKEArgument tag? My code 
currently looks similar to the following but I get an error indicating that 

Web service operation "Track" with parameters ...(listing of parameters)... 
cannot be found


http://myurl.xxx?wsdl";



..
..

Thank you for any help







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

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


Re: Creating XML from RecordSet

2007-09-05 Thread Josh Nathanson
> I'm thinking of two different options:
> 1. Create a regular variable and put the code directly in there.
> 2. Make use of the XML functions to create the XML object in memory
> and then figure out how to get it to the file.


I would say option 1.  If you are writing to a file there's no need to 
convert to an XML object.




dynamic content here - use XMLFormat to clean out bad xml 
characters



Then cffile to write the "myxml" string to a file.

-- Josh


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

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


Re: Clear Object Variables

2007-09-05 Thread Brian Kotek
Did you try my suggestion to re-run the constructor?

On 9/5/07, Robert Harrison <[EMAIL PROTECTED]> wrote:
>
> The code below is caching the results for each file. They stay persistent
> until server reboot. I need to clear them on demand and have tried
> everything to find them. I've dumped all the client, session, application,
> and server variables. Cannot find them there.
>
>
> Where are these being cached? If I can find them I should be able to clear
> them.
>
>
>
>  class="java.awt.Toolkit">
>  class="java.awt.Image">
> 
> img =
> tk.getDefaultToolkit
> ().getImage("#rootpath#\assets\banners\#gif_files.name#"
> );
> width = img.getWidth();
> height = img.getHeight();
> img.flush();
> 
>
>
> Thanks
>
> Robert
>
>
> 

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

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


Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Brian Kotek
A CFC will respond to web service requests and AMF without you having to do
anything. Further, if custom XML is being generated, it has to come from
somewhere. So the XML generation could stay in place but the underlying CFC
supplying the data could easily be exposed for AMF calls, allowing you to do
AMF, raw XML, and web services. The bottom line is that however else you
want to expose the data, there is no reason not to use AMF to feed a Flex
app.


On 9/5/07, Zaphod Beeblebrox <[EMAIL PROTECTED]> wrote:
>
>
> portabilityyou could use any client technology to consume your
> service if it uses xml versus amf.
>
>


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

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


UNIX/Apache .htaccess problem

2007-09-05 Thread Ian Skinner
I am trying to create an .htaccess to use a 301 redirect to direct users 
to a new directory structure of our site.  When I put the following code 
into a file named .htaccess our webserver blows up and returns a 500 
internal error.

redirect 301 /old/old.cfm http://dprweb:222/new.cfm

Am I missing something basic here?



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

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


Re: structKeyExists() - Ok, this is freakin me out....

2007-09-05 Thread Joe Lakey
I always include in my forms a hidden field named "form_submitted":





Then in Application.cfm or onRequest(), I set a default:



This also allows me to self-submit multiple forms on the same page:


   
  
   
   
  
   
   



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

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


Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Zaphod Beeblebrox
On 9/5/07, Brian Kotek <[EMAIL PROTECTED]> wrote:
> On 9/5/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> >
> >
> > > 2. Flex 2 AND database: We have created an XML for the data, that's
> > makes
> > > the application sluggish as hell! XML data have much overhead ( I
> > believe
> > > something like 2/3 )
> >
> > Yes. And ?
> > There is a reason ColdFusion talks AMF3 to Flex, not XML REST-style.
>
>
> +1 here. If you're using CF as the back end, why would you use XML over AMF?
>
portabilityyou could use any client technology to consume your
service if it uses xml versus amf.

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

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


Re: PHP or .Net?

2007-09-05 Thread Brian Kotek
Learning the Java syntax is pretty straightforward. It's the same logical
ideas: conditionals, loops, invoking methods on objects, etc. The hard part
is learning the Java API, which is gigantic. You'll spend a lot of time with
the API reference to figure out what objects you have to call to do various
things.

On 9/5/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote:
>
> What do you think about JAVA? I read you mentioned it but isn't it hard to
> learn java? I know it is marktable big time but I really love to know if I
> can learn it easily while I have no experience in C.
> thanks
> Ali
>
> 

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

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


Re: Implications of no JVM loaded

2007-09-05 Thread Cutter (CFRelated)
I doubt it's a lack of a JVM. More likely it's a lack of a Flash Player...

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Howell, Craig H Civ WRALC/ITMS wrote:
> This is a simple question that may have far reaching implications for
> me.  The DoD pushes "Standard Desktop Configurations", SDC, to all
> client machines so all the machines "look alike".  The newest SDC that
> will be released soon will not have the JVM loaded and will have IE 7..
> 
> 
> I was wondering what the implications will be for our apps.  I know the
> CF code is converted to HTML before it reaches the desktop, but are
> there other issues we need to be concerned with, especially in areas
> like Flash Forms?
> We have discovered that our Flash Forms don't appear to be working in IE
> 7, but is it IE or the lack of a JVM?  
> 
> Any inputs/responses would be greatly appreciated.
> 
> 

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

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


Creating XML from RecordSet

2007-09-05 Thread C. Hatton Humphrey
Howdy folks... couldn't find this one searching so I figure I'll throw it out -

Environment is CF7, working with a pre-built Flash photo gallery that
reads configuration from an XML file.  I need to create this file on
the fly, what is the "best way" to do it.

I'm thinking of two different options:
1. Create a regular variable and put the code directly in there.
2. Make use of the XML functions to create the XML object in memory
and then figure out how to get it to the file.

I wish I could just pass the XML directly but that's not supported
using the method I'm working with.  Does anyone have any good ideas?
The XML file contains the settings for the gallery viewer which are
static based on the site (the setup element and it's properties) as
well as any number of image elements and their properties.  The user
can upload photos on the fly so I have to regenerate the XML on the
fly.

As far as managing the "orphaned XML" files, I'm basically making a
list of XML files and deleting those files with the OnSessionEnd
method of Application.cfc.

Thanks!
Hatton

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

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


RE: Clear Object Variables

2007-09-05 Thread Robert Harrison
The code below is caching the results for each file. They stay persistent
until server reboot. I need to clear them on demand and have tried
everything to find them. I've dumped all the client, session, application,
and server variables. Cannot find them there. 


Where are these being cached? If I can find them I should be able to clear
them.






img =
tk.getDefaultToolkit().getImage("#rootpath#\assets\banners\#gif_files.name#"
);
width = img.getWidth();
height = img.getHeight();
img.flush();



Thanks

Robert


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

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


RE: PHP or .Net?

2007-09-05 Thread Robert Rawlins - Think Blue
Yeah, 

I think my choice would defiantly be JAVA, I explored JAVA a little and I've
also done a substantial amount of work in Python and the odd smattering of
C. 

I think to be honest that JAVA is the natural progression from ColdFusion as
you'll take your new JAVA skills back to CF, and your CF skills to JAVA,
with matching terminology and also the benefit of similar frameworks like
spring and coldspring, you'll already have a firm basic knowledge.

I still vote JAVA, I would say that PHP is a bad move, and ASP is probably a
fair choice, but JAVA makes so much more sense.

Rob

-Original Message-
From: Ali Majdzadeh [mailto:[EMAIL PROTECTED] 
Sent: 05 September 2007 18:26
To: CF-Talk
Subject: Re: PHP or .Net?

What do you think about JAVA? I read you mentioned it but isn't it hard to
learn java? I know it is marktable big time but I really love to know if I
can learn it easily while I have no experience in C.
thanks
Ali 



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

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


Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Brian Kotek
On 9/5/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
>
>
> > 2. Flex 2 AND database: We have created an XML for the data, that's
> makes
> > the application sluggish as hell! XML data have much overhead ( I
> believe
> > something like 2/3 )
>
> Yes. And ?
> There is a reason ColdFusion talks AMF3 to Flex, not XML REST-style.


+1 here. If you're using CF as the back end, why would you use XML over AMF?

> 3. Flex 2 AND performance: On my machine it works ok, but older machines
> > it's has serious performance issues.
>
> Maybe. Cutting out effects if a lot of your client base is on older
> hardware
> helps.
>
> > 4. Flex 2 AND filesize: 400 KB for a shoplike application, product and
> > filtering!
>
> That's for the whole app, remember. How much HTML, JavaScript, CSS, images
> etc. etc. are there in a typical multi-stage web page ? More than 400K ? I
> think so.
>
> > Instead I would rather programmed it in old­style Coldfusion HTML with a
> > little javascript.
>
> For really quick things, just data entry for an admin. backend, this makes
> sense.
> You shouldn't do Flex just because lots of other people are doing it -
> maybe
> all your clients are using SmartPhones :-)


For these kinds of performance issues, look at using Modules. You don't have
to have one single, giant Flash file. Modules let you break things up and
then only pull in the parts you need at runtime. This makes a HUGE
difference in the performance of a Flex app, especially large ones.


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

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


Re: PHP or .Net?

2007-09-05 Thread Aaron Rouse
True but most .NET people I know, work solely with MSSQL.  Then again the
same thing could be said about most people I know doing CF work.

On 9/5/07, Bruce Sorge <[EMAIL PROTECTED]> wrote:
>
> This is not true. .NET can work with Oracle, MySql, Access, SQL Server and
> DB2.
>
> Bruce
>
> -Original Message-
> From: David Morgan
> Sent: Wednesday, September 05, 2007 8:51 AM
> To: CF-Talk
> Subject: re: PHP or .Net?
>
>
> With all of that said, I am a Mac guy...Visual Studio is a Windows app and
> even with an intel mac - I hate working in winndows unless I HAVE to and
> have only been workng with MySQL in my limited CF time. Creating ASP.Net
> apps, you can expect to have to become confortable working with the MS SQL
> DBs.
>
>
> David
>
>
>
> 

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

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


Re: PHP or .Net?

2007-09-05 Thread Brian Kotek
I'd even say SQL. SQL is probably the most underused tool out there. And
worse, everyone thinks they're "good" at it because they can write an inner
join. Until you start graping the power of indexes (for performance), solid
schema design, and powerful SQL capabilities like inline views, case
statements, complex joins, self-referenced tables, aggregate functions, and
more, you're just scratching the surface of this language. And the best part
is, good SQL skills apply to every language and platform, so the payoff of
really learning it is huge.


On 9/5/07, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
>
> I'd say go sideways. Hows your CSS skills? Javascript? XML? Ajax? These
> are
> all cross language skills that we should all have under our belts. After
> that the question of PHP vs. .Net can be asked.
>
>


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

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


Re: PHP or .Net?

2007-09-05 Thread Ali Majdzadeh
What do you think about JAVA? I read you mentioned it but isn't it hard to 
learn java? I know it is marktable big time but I really love to know if I can 
learn it easily while I have no experience in C.
thanks
Ali 

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

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


RE: PHP or .Net?

2007-09-05 Thread Michael E. Carluen
Sean, Michael, Andrew...

Any thoughts on Ruby and Python?




> -Original Message-
> From: Sean Corfield [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 05, 2007 8:57 AM
> To: CF-Talk
> Subject: Re: PHP or .Net?
> 
> On 9/5/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote:
> > For about 5 years I am using CF as my main devloping laguage but many
> experienced programmers suggested I learn another programming language too
> because CF is great but not as popular as PHP or .Net
> > Which one do you suggest as the second language I learn? The only thing
> I ever used is Coldfusion.
> 
> I don't think you'll actually learn anything new from PHP but you may
> find it easier to pick up if you've only done CF. I think PHP is a
> *horrible* language but a lot of people think I'm a bit of a language
> purist (I've designed a couple of languages and written compilers and
> interpreters so I probably have a different view of languages to most
> folks :)
> 
> C# / .NET will be a good learning experience in terms of new concepts
> and it's fairly marketable. Java would also be a similarly good
> learning experience (and is also fairly marketable).
> 
> I generally suggest that folks learn new languages for the concepts
> they can teach rather than how marketable a specific language is - the
> more languages you know, the easier it is to pick up the marketable
> languages - and unusual languages teach you a lot more than mainstream
> languages, in terms of techniques (many of which will make you a
> better CF programmer!). Consequently, I recommend learning unusual
> stuff like Smalltalk, Prolog and Haskell...
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> 
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
> 
> 

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

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


RE: & ffmpeg

2007-09-05 Thread Michael E. Carluen
Hi Mark, 
I am curious as to what doesn't work. I pretty much do the same method as
what you're doing.  In my experience however, I notice some latency
associated with the ffmpeg processing in the background even after cffile
and cfexecute completes. As an example, 10meg .avi can take a full minute
until it can be viewed completely as a flv.
Michael 



> -Original Message-
> From: Mark Lewis [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 05, 2007 2:46 AM
> To: CF-Talk
> Subject:  & ffmpeg
> 
> Hi Guys,
> 
> i've been trying to convert .avi videos to .flv using ffmpeg, I have it
> workng from the command line, however when I try it using  it
> only converts a small part of the file and the video doesn't work...
> 
> the arguments I am using are very basic as follows.
> 
>  timeout="0">
> 
> 
> 
> Thank You in advance
> 
> Mark
> 
> 
> 

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

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


Re: structKeyExists() - Ok, this is freakin me out....

2007-09-05 Thread Josh Nathanson
There is always...





-- Josh

- Original Message - 
From: "Dominic Watson" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Wednesday, September 05, 2007 8:33 AM
Subject: Re: structKeyExists() - Ok, this is freakin me out


> One possible answer and I believe it is an IE bug:
>
> If you hit return on the keyboard to submit a form in IE and your form
> action="" (submitting to the same page), the submit button does not get
> included in the post - thus the code will not work.
>
> Use StructKeyExists(form, 'fieldnames') and if you need more specific 
> info,
> check the names of the fields in the form but never the submit button!
>
> Dom
>
>
> On 05/09/07, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
>>
>> >I like to name my submit buttons (saveContact, vs. submit) to avoid that
>> > type of error, and to allow multiple submit buttons that do different
>> stuff.
>>
>> Ditto...much more explicit and flexible
>>
>> Bryan Stevenson B.Comm.
>> VP & Director of E-Commerce Development
>> Electric Edge Systems Group Inc.
>> phone: 250.480.0642
>> fax: 250.480.1264
>> cell: 250.920.8830
>> e-mail: [EMAIL PROTECTED]
>> web: www.electricedgesystems.com
>>
>> Notice:
>> This message, including any attachments, is confidential and may contain
>> information that is privileged or exempt from disclosure. It is intended
>> only for the person to whom it is addressed unless expressly authorized
>> otherwise by the sender. If you are not an authorized recipient, please
>> notify the sender immediately and permanently destroy all copies of this
>> message and attachments.
>>
>>
>>
>>
>
> 

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

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


Re: PHP or .Net?

2007-09-05 Thread Ali Majdzadeh
Infact I am doing that. I know JS and some XML, but I know I should learn more 
about them.
Thanks for the advice.
Ali 

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

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


RE: PHP or .Net?

2007-09-05 Thread Bruce Sorge
This is not true. .NET can work with Oracle, MySql, Access, SQL Server and
DB2.

Bruce

-Original Message-
From: David Morgan 
Sent: Wednesday, September 05, 2007 8:51 AM
To: CF-Talk
Subject: re: PHP or .Net?


With all of that said, I am a Mac guy...Visual Studio is a Windows app and
even with an intel mac - I hate working in winndows unless I HAVE to and
have only been workng with MySQL in my limited CF time. Creating ASP.Net
apps, you can expect to have to become confortable working with the MS SQL
DBs. 


David



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

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


Re: PHP or .Net?

2007-09-05 Thread John Paul Ashenfelter
On 9/5/07, Sean Corfield <[EMAIL PROTECTED]> wrote:
> On 9/5/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote:
> > For about 5 years I am using CF as my main devloping laguage but many 
> > experienced programmers suggested I learn another programming language too 
> > because CF is great but not as popular as PHP or .Net
> > Which one do you suggest as the second language I learn? The only thing I 
> > ever used is Coldfusion.
>
> I don't think you'll actually learn anything new from PHP but you may
> find it easier to pick up if you've only done CF. I think PHP is a
> *horrible* language but a lot of people think I'm a bit of a language
> purist (I've designed a couple of languages and written compilers and
> interpreters so I probably have a different view of languages to most
> folks :)

I agree with Sean. PHP is going to be same-old, same-old with slightly
different syntax. The only big pluses I see for you learning PHP is
being able to do some open source work and to learn one of the big PHP
apps like Drupal (there is MAD money in Drupal development, esp as the
political season kicks in) and the big CMSes like Joomla! and Mambo.

> C# / .NET will be a good learning experience in terms of new concepts
> and it's fairly marketable. Java would also be a similarly good
> learning experience (and is also fairly marketable).

I'd lean towards Java here since it dovetails nicely with ColdFusion
in a lot of ways. I know .NET does now with CF8 as well, but in a CF
shop, Java seems to be the next step in many cases. Of course if you
hate your current job, .NET might be a good choice to help get out :)

> I generally suggest that folks learn new languages for the concepts
> they can teach rather than how marketable a specific language is - the
> more languages you know, the easier it is to pick up the marketable
> languages - and unusual languages teach you a lot more than mainstream
> languages, in terms of techniques (many of which will make you a
> better CF programmer!). Consequently, I recommend learning unusual
> stuff like Smalltalk, Prolog and Haskell...

And of course I'd recommend taking a look at Ruby and Rails if you're
solidly in the web space. You get a lot of the object-orientation as
well as a lot of things you can apply back to CF (frameworks, testing,
mixins, etc). Plus its fun :)

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

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

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


Implications of no JVM loaded

2007-09-05 Thread Howell, Craig H Civ WRALC/ITMS
This is a simple question that may have far reaching implications for
me.  The DoD pushes "Standard Desktop Configurations", SDC, to all
client machines so all the machines "look alike".  The newest SDC that
will be released soon will not have the JVM loaded and will have IE 7..


I was wondering what the implications will be for our apps.  I know the
CF code is converted to HTML before it reaches the desktop, but are
there other issues we need to be concerned with, especially in areas
like Flash Forms?
We have discovered that our Flash Forms don't appear to be working in IE
7, but is it IE or the lack of a JVM?  

Any inputs/responses would be greatly appreciated.

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

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


Re: Clear Object Variables

2007-09-05 Thread Brian Kotek
You could try using CreateObject() to create the Java object, then call
init() (the Java constructor) before each use, which I would think should
clear the instance variables. Not sure though, that's just an idea.

On 9/5/07, Robert Harrison <[EMAIL PROTECTED]> wrote:
>
> I'm using the code below to get image height and width. It works the first
> time I use it to get the image size for a particular file, but after I've
> used it on an image the sizes are cached somewhere. If I change the image
> size the old sizes from the first read still show. How do I clear these?
>
>
>
>
>
>
>
>  class="java.awt.Toolkit">
>
>  class="java.awt.Image">
>
> 
>
> img =
> tk.getDefaultToolkit
> ().getImage("#rootpath#\assets\banners\#gif_files.name#"
> );
>
> width = img.getWidth();
>
> height = img.getHeight();
>
> img.flush();
>
> 
>
>
>
>
>
> Robert B. Harrison
> Director of Interactive services
> Austin & Williams
> 125 Kennedy Drive, Suite 100 Hauppauge NY 11788
> T : 631.231.6600 Ext. 119
>
> F : 631.434.7022
> www.austin-williams.com
>
> Great advertising can't be either/or... It must be &.
>
>
>
> 

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

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


re: PHP or .Net?

2007-09-05 Thread David Morgan
I looked at ASP as an alternate second developement environment as well. There 
are a lot of resuorces available and the Visual Studio development environment 
is solid.  If you chose ASP I would certainly reccomend C# as the language you 
chose as I have seen numerous referencecs to a C dedveloper making more money ( 
26%  more according to one report) over VB.net dedvelopers creating the same 
applications.

With all of that said, I am a Mac guy...Visual Studio is a Windows app and even 
with an intel mac - I hate working in winndows unless I HAVE to and have only 
been workng with MySQL in my limited CF time. Creating ASP.Net apps, you can 
expect to have to become confortable working with the MS SQL DBs. 

Where if you chose to work with PHP instead, its most comonly used in 
conjunction with MySQL in the LAMP or similar environments. As is open source, 
it too has tons of resources for learning and has a huge market. If its still a 
toss up, I would look at your prospective client base. If its companies heavy 
in Microsoft servers and applications, go with ASP, otherwise I think you will 
progress faster with PHP over learning C and then ASP and having to work in an 
all new development invironment ( Visual Studio). And finally - when going with 
ASP..I saw numerous suggestions that you really learn BOTH C and VB to be truly 
flexible in ASP. 

David



From: "Ali Majdzadeh" <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2007 11:38 AM
To: CF-Talk 
Subject: PHP or .Net? 

Hi:
For about 5 years I am using CF as my main devloping laguage but many 
experienced programmers suggested I learn another programming language too 
because CF is great but not as popular as PHP or .Net
Which one do you suggest as the second language I learn? The only thing I ever 
used is Coldfusion.
I have no experience in C or C++ or VB so I really don't know which one (which 
many says PHP is simillar to C and .Net needs C++ or C# or VB)is easier to 
learn and have a good market too.
Please help me choose.
Thanks
Ali 



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

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


Re: PHP or .Net?

2007-09-05 Thread Andrew Scott
Coldfusion is as popular as anything else..

But I would also maybe learn Java, that and Coldfusion would give you more
of an edge... Why, because instead of saying we write / develop in
Coldfusion you can then say we develop J2EE applications.

And you will not be lying.



On 9/6/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote:
>
> Hi:
> For about 5 years I am using CF as my main devloping laguage but many
> experienced programmers suggested I learn another programming language too
> because CF is great but not as popular as PHP or .Net
> Which one do you suggest as the second language I learn? The only thing I
> ever used is Coldfusion.
> I have no experience in C or C++ or VB so I really don't know which one
> (which many says PHP is simillar to C and .Net needs C++ or C# or VB)is
> easier to learn and have a good market too.
> Please help me choose.
> Thanks
> Ali
>
> 

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

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


RE: Clear Object Variables

2007-09-05 Thread Robert Harrison
Well, I've tested a bunch now and it appears the code below is creating a
server variable for each file it reads. After the first read the values are
not recreated until the server is reboot. If I change the file is shows the
old size. 

How can I clear just these variables or set some sort of timeout?






img =
tk.getDefaultToolkit().getImage("#rootpath#\assets\banners\#gif_files.name#"
);
width = img.getWidth();
height = img.getHeight();
img.flush();


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

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


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

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


Re: CF8 HTML CFGRID with checkbox possible with binding?

2007-09-05 Thread Chris Martin
Right...click on it three times...you'll see itunfortunately that's 
the way it works in the HTML grid.

Chris Martin
---
Gandy Ink Information Technology Department
[EMAIL PROTECTED]   (325) 949-7864 X-364
---
www.gandyink.com



Asim . wrote:
> AND if I use the real column name and use the use the parameter select="yes" 
> that doesn't even show the checkbox, it just display the column there..
>
>
>
>
>
>
>
>   
>> Thanks for your quick reply. This was the first thing I tried.
>> The error is 
>>
>> Query column invalid or missing.
>> You must specify the name of a column in the qryGetStuff query for the 
>> printThis attribute of the CFGRIDCOLUMN tag
>>
>> digging the documents but found nothing, google search didn't help 
>> either.
>>
>> I hope someone used it here who can help.
>>
>> Thanks,
>>
>>
>>
>>
>>
>>
>> 
>>> If you are calling the query from  tag, do this:
>>>
>>> >>   
>> select="yes" 
>> 
>>> type="boolean" display="yes">
>>>
>>> Chris Martin
>>>
>>>
>>>
>>>
>>> Asim . wrote:
>>>   
>
>
> 

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

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


Re: PHP or .Net?

2007-09-05 Thread Sean Corfield
On 9/5/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote:
> For about 5 years I am using CF as my main devloping laguage but many 
> experienced programmers suggested I learn another programming language too 
> because CF is great but not as popular as PHP or .Net
> Which one do you suggest as the second language I learn? The only thing I 
> ever used is Coldfusion.

I don't think you'll actually learn anything new from PHP but you may
find it easier to pick up if you've only done CF. I think PHP is a
*horrible* language but a lot of people think I'm a bit of a language
purist (I've designed a couple of languages and written compilers and
interpreters so I probably have a different view of languages to most
folks :)

C# / .NET will be a good learning experience in terms of new concepts
and it's fairly marketable. Java would also be a similarly good
learning experience (and is also fairly marketable).

I generally suggest that folks learn new languages for the concepts
they can teach rather than how marketable a specific language is - the
more languages you know, the easier it is to pick up the marketable
languages - and unusual languages teach you a lot more than mainstream
languages, in terms of techniques (many of which will make you a
better CF programmer!). Consequently, I recommend learning unusual
stuff like Smalltalk, Prolog and Haskell...
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

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

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

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


Re: Can CF run if it's configuration files are not owned by root on UNIX?

2007-09-05 Thread Barney Boisvert
Having someone delete your config files is a lot easier to recover
from deleting the whole installation.  You just check them out of SVN
again and you're done.  If the whole thing gets whacked (or even just
some unknown JAR gets hosed), you likely have to reinstall CF.

On 9/5/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> On Tuesday 04 Sep 2007, [EMAIL PROTECTED] wrote:
> > In general, you DON'T want the user that CF runs as to have write
> > access to itself.  If it does, then a malicious script could delete
> > the runtime.  Certain portions have to be accessible (like log files,
> > the Mail spool, etc.), but most of it should be read only.
>
> Unfortunely non-read only covers things cirtical things like the DataSources'
> config XML file.
>
> --
> Tom Chiverton

-- 
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

Got Gmail? I have 100 invites.

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

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


Re: PHP or .Net?

2007-09-05 Thread Michael Dinowitz
I'd say go sideways. Hows your CSS skills? Javascript? XML? Ajax? These are
all cross language skills that we should all have under our belts. After
that the question of PHP vs. .Net can be asked.

On 9/5/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote:
>
> Hi:
> For about 5 years I am using CF as my main devloping laguage but many
> experienced programmers suggested I learn another programming language too
> because CF is great but not as popular as PHP or .Net
> Which one do you suggest as the second language I learn? The only thing I
> ever used is Coldfusion.
> I have no experience in C or C++ or VB so I really don't know which one
> (which many says PHP is simillar to C and .Net needs C++ or C# or VB)is
> easier to learn and have a good market too.
> Please help me choose.
> Thanks
> Ali
>
> 

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

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


Re: CF8 HTML CFGRID with checkbox possible with binding?

2007-09-05 Thread Chris Martin
Yeah...You have to make the column in your table for that and i reset 
the values back to 0 each time the application is ran.


Chris Martin




Asim . wrote:
> Thanks for your quick reply. This was the first thing I tried.
> The error is 
>
> Query column invalid or missing.
> You must specify the name of a column in the qryGetStuff query for the 
> printThis attribute of the CFGRIDCOLUMN tag
>
> digging the documents but found nothing, google search didn't help either.
>
> I hope someone used it here who can help.
>
> Thanks,
>
>
>
>
>
>
>   
>> If you are calling the query from  tag, do this:
>>
>> > type="boolean" display="yes">
>>
>> Chris Martin
>>
>>
>>
>>
>> Asim . wrote:
>> 
>
> 

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

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


Re: CF8 HTML CFGRID with checkbox possible with binding?

2007-09-05 Thread Asim .
AND if I use the real column name and use the use the parameter select="yes" 
that doesn't even show the checkbox, it just display the column there..







> Thanks for your quick reply. This was the first thing I tried.
> The error is 
> 
> Query column invalid or missing.
> You must specify the name of a column in the qryGetStuff query for the 
> printThis attribute of the CFGRIDCOLUMN tag
> 
> digging the documents but found nothing, google search didn't help 
> either.
> 
> I hope someone used it here who can help.
> 
> Thanks,
> 
> 
> 
> 
> 
> 
> >If you are calling the query from  tag, do this:
> >
> > select="yes" 
> >type="boolean" display="yes">
> >
> >Chris Martin
> >
> >
> >
> >
> >Asim . wrote:
> >> 


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

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


Re: structKeyExists() - Ok, this is freakin me out....

2007-09-05 Thread Dominic Watson
One possible answer and I believe it is an IE bug:

If you hit return on the keyboard to submit a form in IE and your form
action="" (submitting to the same page), the submit button does not get
included in the post - thus the code will not work.

Use StructKeyExists(form, 'fieldnames') and if you need more specific info,
check the names of the fields in the form but never the submit button!

Dom


On 05/09/07, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
>
> >I like to name my submit buttons (saveContact, vs. submit) to avoid that
> > type of error, and to allow multiple submit buttons that do different
> stuff.
>
> Ditto...much more explicit and flexible
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com
>
> Notice:
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
>
>
>
> 

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

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


Clear Object Variables

2007-09-05 Thread Robert Harrison
I'm using the code below to get image height and width. It works the first
time I use it to get the image size for a particular file, but after I've
used it on an image the sizes are cached somewhere. If I change the image
size the old sizes from the first read still show. How do I clear these?

 

 

 







img =
tk.getDefaultToolkit().getImage("#rootpath#\assets\banners\#gif_files.name#"
);

width = img.getWidth();

height = img.getHeight();

img.flush();



 

 

Robert B. Harrison
Director of Interactive services
Austin & Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 

F : 631.434.7022
www.austin-williams.com

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



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

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


PHP or .Net?

2007-09-05 Thread Ali Majdzadeh
Hi:
For about 5 years I am using CF as my main devloping laguage but many 
experienced programmers suggested I learn another programming language too 
because CF is great but not as popular as PHP or .Net
Which one do you suggest as the second language I learn? The only thing I ever 
used is Coldfusion.
I have no experience in C or C++ or VB so I really don't know which one (which 
many says PHP is simillar to C and .Net needs C++ or C# or VB)is easier to 
learn and have a good market too.
Please help me choose.
Thanks
Ali 

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

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


Re: UI recommendations needed

2007-09-05 Thread Andy Chen
Basically for me I openned up a CFWINDOW with the following code (simplified a 
lot):





The iframe_upload.cfm page will have the UPLOAD code and the UUID will help the 
uploads be associated to the original form. I think Dan has an idea of using an 
IFRAME be the target for a form so my example might not be exactly what he 
meant. However using IFRAME will allow you to UPLOAD content within the AJAX UI 
layout. 

For me, the uploads will be saved in a temp directory (which will be cleared 
regularly) and will only be transferred to the final location once the main 
form is saved. 

Hope this helps.

>Andy,
>
>Can you share the code you used for the iframe?
>
>Thanks 

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

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


Re: CF8 HTML CFGRID with checkbox possible with binding?

2007-09-05 Thread Asim .
Thanks for your quick reply. This was the first thing I tried.
The error is 

Query column invalid or missing.
You must specify the name of a column in the qryGetStuff query for the 
printThis attribute of the CFGRIDCOLUMN tag

digging the documents but found nothing, google search didn't help either.

I hope someone used it here who can help.

Thanks,






>If you are calling the query from  tag, do this:
>
>type="boolean" display="yes">
>
>Chris Martin
>
>
>
>
>Asim . wrote:
>> 

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

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


Re: CF8 HTML CFGRID with checkbox possible with binding?

2007-09-05 Thread Chris Martin
If you are calling the query from  tag, do this:



Chris Martin




Asim . wrote:
> what code did u use to show the checkbox in cfgrid?
> when i use  inside the cfgrid it 
> just display the checkbox once.
>
> I am using cfgrid with query.
>
> Thanks,
>
>
>
>
>
>   
>> I did get the checkbox to showup, however, it initally shows a "true" or 
>> "false" in the column rather than a checkbox.  Upon clicking the cell 
>> three times, a checkbox finally appears, and can then be changed using 
>> ajax/cfc.
>>
>> I ended up doing a flash grid...i think this may be a bug with HTML 
>> bound grids. 
>>
>> Chris Martin
>>
>>
>>
>> Shy Boy wrote:
>> 
>
> 

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

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


Re: CF8 HTML CFGRID with checkbox possible with binding?

2007-09-05 Thread Asim .
what code did u use to show the checkbox in cfgrid?
when i use  inside the cfgrid it 
just display the checkbox once.

I am using cfgrid with query.

Thanks,





>I did get the checkbox to showup, however, it initally shows a "true" or 
>"false" in the column rather than a checkbox.  Upon clicking the cell 
>three times, a checkbox finally appears, and can then be changed using 
>ajax/cfc.
>
>I ended up doing a flash grid...i think this may be a bug with HTML 
>bound grids. 
>
>Chris Martin
>
>
>
>Shy Boy wrote:
>> 

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

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


Re: structKeyExists() - Ok, this is freakin me out....

2007-09-05 Thread Bryan Stevenson
>I like to name my submit buttons (saveContact, vs. submit) to avoid that
> type of error, and to allow multiple submit buttons that do different stuff.

Ditto...much more explicit and flexible

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

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



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

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


CFERROR causing problem?

2007-09-05 Thread James Edmunds
Dear all,

I have a site on shared hosting at CrystalTech that I just moved from a CF7
server to CF8 server, and suddenly there have been a few dozen being thrown
each day from various diverse scripts within the site when a cfquery makes a
call to the MySQL database. This is all the same code throughout that was
previously running with no problem on the CF7 server (there were perhaps one
or two error a week, typically timeouts in a cfquery call).

On those pages where the error was trapped by cfcatch, the error message is:
"A java.lang.NullPointerException exception occurred. "
The line number referred to in the cfcatch.tagcontext dump in every case was
the cfquery, and, when the query had a WHERE clause, the specific line
number of the WHERE clause

On those pages where the error was trapped by cferror, the
error.Diagnosticsreported this:

null null The error occurred on line 17.

The line number referred to  in every case was the cfquery, and, when the
query had a WHERE clause, the specific line number of the WHERE clause.

(I think there is known bug in cferror that returns null null when there is
a java Null Pointer Exception, which is of course another issue altogether).

I of course don't see the error exception log, but a CrystalTech support
staffer showed me one of the errors and the error was logged as jrpp-180,
which I believe is a timeout error.

However, one of the techs at CrystalTech is suggesting that the entire
problem may be CAUSED by the presence of the cferror system.

Has anyone ever heard of this? It would be very mysterious to me, because:

1. This is the same code that was working fine on the prior (CF7) server;

2. I have about 30 web sites at CrystalTech, all using cferror handling,
without any similar problems;

3. The above includes one other CF8 site that gets significant traffic, has
the same kind of cferror system, and is not throwing these errors.

Thanks in advance for any insights into this issue,

James Edmunds


-- 
James Edmunds
New Iberia, LA
http://jamesedmunds.com/poorclio


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

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


Re: CF8 HTML CFGRID with checkbox possible with binding?

2007-09-05 Thread Chris Martin
I did get the checkbox to showup, however, it initally shows a "true" or 
"false" in the column rather than a checkbox.  Upon clicking the cell 
three times, a checkbox finally appears, and can then be changed using 
ajax/cfc.

I ended up doing a flash grid...i think this may be a bug with HTML 
bound grids. 

Chris Martin



Shy Boy wrote:
> Did you every solve this?
>
>
>   
>> I've been banging my head against the wall and searching for the last 
>> couple of hours of how to add a column for a checkbox on a cfgrid in 
>> html that is using binding on CF8 (not beta).  Any help is greatly 
>> appreciated. 
>> 
>
>
> 

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

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


Re: Smart Parsing of E-mail Attachments...

2007-09-05 Thread Tom Chiverton
> ignore ...  ads but need to find attachments
> that might be embedded as screenshots/images.

If you find a way to reliably tell the difference between an attached screen 
shot and an attached image spam, do let the world know :-)

-- 
Tom Chiverton
Helping to enormously enhance professional developments
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


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

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


Re: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Tom Chiverton
> 1. Flex 2 AND developement: is slow, cause of the many posibilities. And
> somewhat fixed layout. For ex. "client is saying he wants the item to
> resize and fade out to the right, instead of ... " Making project times
> extends

We don't see this.
Sure, we jazz the application up with effects where they add value, but in 
general our clients are not that fussy.
I've found writing Flex front ends to be much faster than doing it in AJAX.

> 2. Flex 2 AND database: We have created an XML for the data, that's makes
> the application sluggish as hell! XML data have much overhead ( I believe
> something like 2/3 )

Yes. And ?
There is a reason ColdFusion talks AMF3 to Flex, not XML REST-style.

> 3. Flex 2 AND performance: On my machine it works ok, but older machines
> it's has serious performance issues.

Maybe. Cutting out effects if a lot of your client base is on older hardware 
helps.

> 4. Flex 2 AND filesize: 400 KB for a shoplike application, product and
> filtering!

That's for the whole app, remember. How much HTML, JavaScript, CSS, images 
etc. etc. are there in a typical multi-stage web page ? More than 400K ? I 
think so.

> Instead I would rather programmed it in old­style Coldfusion HTML with a
> little javascript. 

For really quick things, just data entry for an admin. backend, this makes 
sense.
You shouldn't do Flex just because lots of other people are doing it - maybe 
all your clients are using SmartPhones :-)

-- 
Tom Chiverton
Helping to augmentatively monetize fourth-generation infomediaries
on: http://thefalken.livejournal.com



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


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

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


Re: CF8 HTML CFGRID with checkbox possible with binding?

2007-09-05 Thread Shy Boy
Did you every solve this?


> I've been banging my head against the wall and searching for the last 
> couple of hours of how to add a column for a checkbox on a cfgrid in 
> html that is using binding on CF8 (not beta).  Any help is greatly 
> appreciated. 


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

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


RE: Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Andy Matthews
I also feel that Flex is suffering from the bandwagon effect. Too many
people think that it's "the business" which causes other people to jump on
it.

I do think it's cool, and that it has it's place. I'll say though that it
sounds like you're doing a few things wrong. If you're already a ColdFusion
developer, and have knowledge of writing CFCs then you should be using THOSE
to return data to Flex. It's FAR faster than using XML and you don't suffer
from the overhead of an XML doc. Also, 400k isn't that bad for an
app...you'd probably have something close to that for plain ColdFusion and
HTML.


andy

-Original Message-
From: Joeri B [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 05, 2007 9:19 AM
To: CF-Talk
Subject: Am I the only one who thinks Flex 2 isn't

Recently I developed my first realworld Flex 2 application for a client,
after months of playing with Flex 2. My conclusion so far:

1. Flex 2 AND developement: is slow, cause of the many posibilities. And
somewhat fixed layout. For ex. "client is saying he wants the item to resize
and fade out to the right, instead of ... " Making project times
extends

2. Flex 2 AND database: We have created an XML for the data, that's makes
the application sluggish as hell! XML data have much overhead ( I believe
something like 2/3 )

3. Flex 2 AND performance: On my machine it works ok, but older machines
it's has serious performance issues.

4. Flex 2 AND filesize: 400 KB for a shoplike application, product and
filtering!

Instead I would rather programmed it in old-style Coldfusion HTML with a
little javascript. But i searched google, and found many PRO Flex 2
articles, and exaclty 1 againts. 
Am I the only one?!?!?!




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

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


Am I the only one who thinks Flex 2 isn't

2007-09-05 Thread Joeri B
Recently I developed my first realworld Flex 2 application for a client, after 
months of playing with Flex 2. My conclusion so far:

1. Flex 2 AND developement: is slow, cause of the many posibilities. And 
somewhat fixed layout. For ex. "client is saying he wants the item to resize 
and fade out to the right, instead of ... " Making project times 
extends

2. Flex 2 AND database: We have created an XML for the data, that's makes the 
application sluggish as hell! XML data have much overhead ( I believe something 
like 2/3 )

3. Flex 2 AND performance: On my machine it works ok, but older machines it's 
has serious performance issues.

4. Flex 2 AND filesize: 400 KB for a shoplike application, product and 
filtering!

Instead I would rather programmed it in old-style Coldfusion HTML with a little 
javascript. But i searched google, and found many PRO Flex 2 articles, and 
exaclty 1 againts. 
Am I the only one?!?!?!


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

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


RE: charting solution for using with CF

2007-09-05 Thread Bill Betournay
Wow, Thanks Jim

I didn't know that was there. Makes life on Mars much easier to bare :-)

Bill

-Original Message-
From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: September 5, 2007 9:00 AM
To: CF-Talk
Subject: Re: charting solution for using with CF

On 9/5/07, Peter Tanswell <[EMAIL PROTECTED]> wrote:
> Hi there
>
> I'm trying to find a good charting tool to use with CF and also with a
MSSQL database to produce graphs and also dashboard style reports/graphs.
>
> Wondering what tools software people have used for doing this.
>

CFChart can be effective, especially if you use the webcharts app to create
your own styles.  Look in /charting for the webcharts.bat
file, which fires off the webcharts design app.



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

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


RE: structKeyExists() - Ok, this is freakin me out....

2007-09-05 Thread Andy Matthews
Just test for form.fieldnames. That's the simplest, and will always be
there.


do some stuff
 

-Original Message-
From: Dinner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 04, 2007 7:56 PM
To: CF-Talk
Subject: Re: structKeyExists() - Ok, this is freakin me out

I like to name my submit buttons (saveContact, vs. submit) to avoid that
type of error, and to allow multiple submit buttons that do different stuff.

Probably have a field named submit in there, or something, perhaps?

On 9/4/07, Will Tomlinson <[EMAIL PROTECTED]> wrote:
>
> CF8 - just buildin a simple cfform inside a div on a page. Nuthin special.
>
> So I do my usual routine of processing the form on the same page.
>
>
> 
>
> process form
>
> 
>
> ok, so why would the form processing execute when the page loads? 
> Cause that's what it's doin, and it's freakin me out a little.
>
> I know I can switch to a regular form, but wanted to know how CF8
> structKeyExists() knows that form item is on the page, and executes my
code.
>
> Thanks,
> Will
>
> 



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

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


Re: & ffmpeg

2007-09-05 Thread JediHomer
We had a similary problem, what we ended up doing was to write a C#
wrapper to it, then scheduled a cron job instead of having CF process
it.



On 05/09/07, Mark Lewis <[EMAIL PROTECTED]> wrote:
> Hi Guys,
>
> i've been trying to convert .avi videos to .flv using ffmpeg, I have it 
> workng from the command line, however when I try it using  it only 
> converts a small part of the file and the video doesn't work...
>
> the arguments I am using are very basic as follows.
>
> 
> 
>
>
> Thank You in advance
>
> Mark
>
>
> 

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

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


Re: charting solution for using with CF

2007-09-05 Thread Jim Wright
On 9/5/07, Peter Tanswell <[EMAIL PROTECTED]> wrote:
> Hi there
>
> I'm trying to find a good charting tool to use with CF and also with a MSSQL 
> database to produce graphs and also dashboard style reports/graphs.
>
> Wondering what tools software people have used for doing this.
>

CFChart can be effective, especially if you use the webcharts app to
create your own styles.  Look in /charting for the
webcharts.bat file, which fires off the webcharts design app.

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

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


charting solution for using with CF

2007-09-05 Thread Peter Tanswell
Hi there

I'm trying to find a good charting tool to use with CF and also with a MSSQL 
database to produce graphs and also dashboard style reports/graphs.

Wondering what tools software people have used for doing this.

Look forward to seeing replies.

Many thanks

Toby 

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

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


  1   2   >