cfcontent & quicktime movie

2006-02-11 Thread Andrew Grosset
I would like this movie to play (inline) as soon as its loaded the code below 
doesn't work unless I change the "inline" to "attachment" in which case a 
dialogue box pops up asking wether I want to "open with" or "save to disk" etc.
   I'm thinking that its not possible to do this with just cfcontent & 
cfheader, any suggestions?

Andrew.



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232057
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Decimal places

2006-02-11 Thread Barney Boisvert
I'm not sure what exactly you're asking.  1.078E+07 isn't an equation,
just scientific notation.  Are you saying your DB is returning numbers
of that format, and you want to display them through CF as "normal"
decimal numbers?  Or something else?

cheers,
barneyb

On 2/11/06, Snake <[EMAIL PROTECTED]> wrote:
> Greetings,
>
> I have a simple problem, but cf doesn't seem to want to comply.
>
> I have numbers stored in my database, some of which are very large and thus
> get stored as equations (1.078E+07), so I have to use numberformat() on them
> to get them to display the original number.
> My problem is that I need to display the original number in it's original
> format unchanged.
> Any combination of masks using numberformat() doesn't do this. I can either
> have decimal places or not, I can't seem to only display them if they exist.
> E.G.
>
> If I use numberFormat(data , '.99')
> 2 decimal places will be added to all numbers whether they have any or not.
> If I use numberFormat(data , '_99')
> No decimal points  are shown whether they exist or not. According to the
> docs, this should show an optional decimal point though.
> I have tried all the masks to no avail.
>
> I even tried
>
> 
> Display with decimal place
> 
> Don't
> 
>
> But that doesn't work either.
>
> I don't really want to have to do workarounds like converting numbers to
> strings, there must be an easy way to do what I want?
>
>
> --
> Russ


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

Got Gmail? I have 100 invites.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232056
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: ColdFusion and Flex

2006-02-11 Thread Sean Corfield
On 2/11/06, Aaron Rouse <[EMAIL PROTECTED]> wrote:
> Why not just post that paragraph on the current CFEclipse site.  I went to
> it early when I read Johns post and it does look kind of "stale" when you
> see last dates from back in the middle of 05

http://cfeclipse.org/go/project/roadmap
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

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

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232055
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: ColdFusion and Flex

2006-02-11 Thread Aaron Rouse
Why not just post that paragraph on the current CFEclipse site.  I went to
it early when I read Johns post and it does look kind of "stale" when you
see last dates from back in the middle of 05

On 2/11/06, Sean Corfield <[EMAIL PROTECTED]> wrote:
>
> On 2/11/06, John McKown <[EMAIL PROTECTED]> wrote:
> > There is mention on that site that MM is backing them now, but the
> > updates look stale on the
> > site, and once again there is the issue of momentum.
>
> A new, unified site will be rolled out soon. We have most of the
> infrastructure in place on a new host: content management, bug
> tracking, wiki, forums, subversion. We are ready to migrate the
> database content off the old site (which is proving the sticking
> point) and then we need to reskin the non-FarCry parts of the site,
> migrate the old wiki content and move the source code from the old CVS
> host to the new SVN repository. The intent is to have all CFEclipse
> content and source access in one place and to close down the Tigris
> site.
>
> Work is also progressing on RDS support, as has been mentioned once or
> twice on various blogs.
>
> So, sorry the content looks a little stale but we are working on
> things behind the scenes...
> --
> Sean A Corfield -- http://corfield.org/
> Got frameworks?
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232054
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Need Help Coding Database Interactions

2006-02-11 Thread James Holmes
The MAX(ID) technique only works 100% if you use a serializable
transaction in the cftransaction tag, which can impact performance.

On 2/12/06, Mike Soultanian <[EMAIL PROTECTED]> wrote:
> If you're sure about that, go with it.  However, from a previous
> conversation, it didn't seem that was the consensus... but I could very
> well be wrong...
>
> Mike
>
> Aaron Rouse wrote:
> > It does a transaction in the database itself, assuming the database being
> > used supports transactions.  This would ensure that you get back the ID that
> > you just inserted.

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232053
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New SQL Abstraction API

2006-02-11 Thread James Holmes
Does the API build the final query with cfqueryparam tags?

On 2/12/06, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> This is something I mentioned a little while ago on the Team
> Macromedia list (maybe on cf-community too), because I was really
> excited about it and felt like I had to share. :)
[snip]

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232052
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: ColdFusion and Flex

2006-02-11 Thread Sean Corfield
On 2/11/06, John McKown <[EMAIL PROTECTED]> wrote:
> There is mention on that site that MM is backing them now, but the
> updates look stale on the
> site, and once again there is the issue of momentum.

A new, unified site will be rolled out soon. We have most of the
infrastructure in place on a new host: content management, bug
tracking, wiki, forums, subversion. We are ready to migrate the
database content off the old site (which is proving the sticking
point) and then we need to reskin the non-FarCry parts of the site,
migrate the old wiki content and move the source code from the old CVS
host to the new SVN repository. The intent is to have all CFEclipse
content and source access in one place and to close down the Tigris
site.

Work is also progressing on RDS support, as has been mentioned once or
twice on various blogs.

So, sorry the content looks a little stale but we are working on
things behind the scenes...
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

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

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232051
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Create dynamic PDF in CFMX 6.1 Standard

2006-02-11 Thread Rick Root
Andy,

If HTML2PDF3 doesn't work out for you, check out ActivePDF. 
http://www.activepdf.com

Alternatively, some people use reporting software for quotes and such... 
  I was actually able to integrate jasperReports, a java reporting 
solution, into CFMX 6.1.  It wasn't particularly easy and the report 
designer was a b*tch, but it worked.  jasperReports is what the CFMX7 
reports are based on.

blogged about it here...

http://www.rickroot.com/blog/1/2004/05/Using-JasperReports-with-Coldfusion-MX-61.cfm


Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232050
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


New SQL Abstraction API

2006-02-11 Thread S . Isaac Dealey
This is something I mentioned a little while ago on the Team
Macromedia list (maybe on cf-community too), because I was really
excited about it and felt like I had to share. :)

I just recently released version 2.4 of the onTap framework after a
fair amount of refactoring to remove code that supported ColdFusion 5,
along with version 3.0 of the Members onTap plugin for member
management and application security.

What I'm probably most excited about currently however, in spite of
quite a bit of improvement in the member plugin (thanks to a new OO
encapsulated model layer) is a complete rewrite of the SQL-abstraction
API in the core framework. Unfortunately it wasn't really feasible to
maintain many of the existing tag and function-based tools for
SQL-abstraction due to a change in syntactical metaphor, so any
application(s) using the previous version will need to be updated (the
same is also true of the member plugin). I think however that in this
case the switch is well worth the effort.

The public site is updated with the latest documentation, and you can
see the sql-abstraction syntax at:

http://fusiontap.com/docs/index.cfm?netaction=quickstart/dba

This new syntax being entirely object-based has a number of advantages
in spite of being a little mechanically heavier. The most notable in
my opinion is that when compared to the previous tag and function
based syntaxes it's much more compact and much more legible
respectively (which I suspect is a really good thing given comments
about the framework being difficult to learn prior).

Previously a select statement would be generated via one of these
methods:


  
  


or



Either of these would have replaced this ad-hoc query:


  select * from mytable
  inner join alttable on (alttable.fk = mytable.pk)
  where alttable.x like '%#x#%'


The syntax may or may not have saved me any keystrokes, but it was
able to mitigate the differences between the big 4 databases (ms sql,
oracle, mysql, ms access), and that was enough for me at the time.

Now compare these to the new syntax:





This new metaphor for abstraction represents both fewer keystrokes and
much more powerful and flexible abstraction. For example:






(for fetching records which represent an overlapping period of time)


(for more powerful advanced search features)

Here's something that shows up on the CF-talk list a few times every
year: "is there a way I can get the sql syntax from a query I just
executed?"

And I believe there are ways to accomplish that with native CF via
some of the more potent and cryptic black-magic of the serviceFactory,
but none so simple as this:

#statement.getSyntax()#

One last thing, for folks like Matt Woodward :) who say "all this to
avoid a little SQL" ... The statement objects can have listeners
attached to them, and in the case of select statements, listeners can
filter the result set returned from the statement object. The beauty
of this is in things like the member search page and the log search
page of the member plugin, both of which allow you to search on or
sort by data which isn't accessible to the database server, and allow
you to do this without any need to know or understand that either
XML/XSLT or Java are being used to accomplish this when you execute
the statement.

In the case of member search, the resultant query can be sorted by
language, but the names of languages are locale specific, i.e. German
to an English speaker or Deutsch to a German speaker. The MemberSearch
object is retrieved from the MemberFactory
(request.tap.memberFactory.getSearchStatement()) which attaches a
listener to the returned statement. When you then specify
statement.sort("languagename").execute() the listener creates the
languagename column (from member locale) and resorts the query all
using Java and you didn't need to know any of it, just
sort().execute(). :) The log search filters the result query by member
name data stored in an XML packet using an XSLT transformation --
which is ultimately conceptually the same as the member search, all
you have to know is that when you specify a "membername" attribute to
fetch the log-search object, it will return only records with that
data in some portion of the member's name (or email address).

Anyway, that's enough hawking for the day. :)

I'm excited to know what everyone thinks.

(p.s. there's some new ajax-y stuff in the member plugin too -- check
out the member tab of the edit-role form, then log out, disable
javascript before logging in again and notice how section-508-ready
the whole thing is)

s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232049
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: 

RE: SmarterStats

2006-02-11 Thread Jennifer Gavin-Wear
Thought as much, thanks Russ.


>>-Original Message-
>>From: Snake [mailto:[EMAIL PROTECTED]
>>Sent: 11 February 2006 23:31
>>To: CF-Talk
>>Subject: RE: SmarterStats
>>
>>
>>This wouldn't really give you total server traffic, it will only tell you
>>HTTP traffic from web sites.
>>To get total server traffic you need to do this at switch or NIC level.
>>
>>Russ 
>>
>>-Original Message-
>>From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] 
>>Sent: 11 February 2006 23:13
>>To: CF-Talk
>>Subject: OT: SmarterStats
>>
>>Way OT .. does anyone know if there's a way to get reports across 
>>all sites
>>to find out the total server traffic, please?
>>
>>jenny
>>
>>
>>
>>
>>
>>

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232048
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SmarterStats

2006-02-11 Thread Snake
This wouldn't really give you total server traffic, it will only tell you
HTTP traffic from web sites.
To get total server traffic you need to do this at switch or NIC level.

Russ 

-Original Message-
From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] 
Sent: 11 February 2006 23:13
To: CF-Talk
Subject: OT: SmarterStats

Way OT .. does anyone know if there's a way to get reports across all sites
to find out the total server traffic, please?

jenny





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232047
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


OT: SmarterStats

2006-02-11 Thread Jennifer Gavin-Wear
Way OT .. does anyone know if there's a way to get reports across all sites
to find out the total server traffic, please?

jenny



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232046
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Create dynamic PDF in CFMX 6.1 Standard

2006-02-11 Thread Jennifer Gavin-Wear
Hi Bryan,

Seems that for iText a knowledge of Java is needed, do you know of anything
else, please?

Thanks,

Jenny


>>-Original Message-
>>From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
>>Sent: 11 January 2006 19:17
>>To: CF-Talk
>>Subject: Re: Create dynamic PDF in CFMX 6.1 Standard
>>
>>
>>> Actually, I just found out that one of my co-workers installed the
>>> HTMLtoPDF3 custom tag so I'm going to work with that.
>>
>>You may find that it is only as good as the HTML layout you can
>>create...iText
>>gives WAY more control if needed.
>>
>>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
>>
>>
>>

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232045
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Need Help Coding Database Interactions

2006-02-11 Thread Mike Soultanian
If you're sure about that, go with it.  However, from a previous 
conversation, it didn't seem that was the consensus... but I could very 
well be wrong...

Mike

Aaron Rouse wrote:
> It does a transaction in the database itself, assuming the database being
> used supports transactions.  This would ensure that you get back the ID that
> you just inserted.
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232044
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CF5 / W2K intermittent server stops

2006-02-11 Thread Steve Logan
Starting about a month ago, one of our CF5 / W2K servers would
intermittently stop responding to requests.  The server houses about 4
sites, 2 of which run off access dbs, and 2 run of MySQL 5 dbs (working on
converting the other two).  Session vars are stored in access dbs.

Looking at the windows performance monitor, graphing some Cold Fusion items,
the item db response time gets pinned at 100 when the server stops
responding.

Looking in the access log from the most recent incident, I'm seeing this:

The first error is expected - the category.cfm file did have a missing item
from a cfinclude, so that is now fixed.

"Error","4632","02/11/06","07:01:31",,"66.249.64.13, Googlebot/2.1
(+http://www.google.com/bot.html), Template file not found.
HTTP/1.0 404 Object Not FoundNote: If you wish to use an
absolute template path (e.g. TEMPLATE=""/mypath/index.cfm"") with CFINCLUDE
then you must create a mapping for the path using the ColdFusion
Administrator. Using relative paths (e.g. TEMPLATE=""index.cfm"" or
TEMPLATE=""../index.cfm"") does not require the creation of any special
mappings. It is therefore recommended that you use relative paths with
CFINCLUDE whenever possible.The error occurred while processing an
element with a general identifier of (CFINCLUDE), occupying document
position (66:4) to (66:38) in the template file
D:\MCAG\CATEGORY.CFM.Date/Time: 02/11/06 07:01:31Browser:
Googlebot/2.1 (+http://www.google.com/bot.html)Remote Address:
66.249.64.13Query String: pgid=category&cID=8"

However, 8 minutes later, these are the last 3 entries:

"Error","4632","02/11/06","07:09:55",,", , "
"Error","4632","02/11/06","07:10:00",,", , "
"Error","4632","02/11/06","07:10:08",,", , "

Scrolling back to the previous time it happened, I see the same thing:

"Error","4356","02/01/06","19:27:28",,"65.54.188.74, msnbot/1.0
(+http://search.msn.com/msnbot.htm), Template file not found.
HTTP/1.0 404 Object Not Found [snip]

"Error","3952","02/01/06","20:42:16",,", , "
"Error","4052","02/01/06","20:55:18",,", , "
"Error","4052","02/01/06","20:55:24",,", , "


IS there any way to diagnose this?  An IP isn't even logged so I can't tell
if it's a bot or something else.

In the server.log, I see some Windows 232 and 109 errors from the same time
- which would make sense since the site wasn't responding.

The cure is a quick stop and start of the CF Application Server.

Has anyone seen this before?  Any tips on where to start diagnosing it?

Steve





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232043
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Decimal places

2006-02-11 Thread Snake
Greetings,

I have a simple problem, but cf doesn't seem to want to comply.

I have numbers stored in my database, some of which are very large and thus
get stored as equations (1.078E+07), so I have to use numberformat() on them
to get them to display the original number.
My problem is that I need to display the original number in it's original
format unchanged.
Any combination of masks using numberformat() doesn't do this. I can either
have decimal places or not, I can't seem to only display them if they exist.
E.G.

If I use numberFormat(data , '.99')
2 decimal places will be added to all numbers whether they have any or not.
If I use numberFormat(data , '_99')
No decimal points  are shown whether they exist or not. According to the
docs, this should show an optional decimal point though.
I have tried all the masks to no avail.

I even tried


Display with decimal place

Don't


But that doesn't work either.

I don't really want to have to do workarounds like converting numbers to
strings, there must be an easy way to do what I want?


--
Russ



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232042
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: ColdFusion and Flex

2006-02-11 Thread John McKown
I can't speak for MM, but I think it obvious that they will endorse 
Eclipse for coders definitely.
We are all moving away from DW at our office and installing CFEclipse 
(www.cfeclipse.org).
There is mention on that site that MM is backing them now, but the 
updates look stale on the
site, and once again there is the issue of momentum.  Makes me worry 
that cfeclipse might lose
momentum if it is only managed by a few people.  There has to be more in 
the works there.
DW will be around for a while for those that use the automated MM code 
stuff, which we shun.

John McKown
President, Delaware.Net
ICQ: 1812513
We host Fusebox.org and all of our apps are Fusebox/ColdFusion/BlueDragon 
compliant.



Aaron Rouse wrote:

>I was wondering if it might mean we will eventually see them replace DW with
>something built on Eclipse, at least for CFM dev work.
>  
>
>  
>

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232041
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: ColdFusion and Flex

2006-02-11 Thread Aaron Rouse
I was wondering if it might mean we will eventually see them replace DW with
something built on Eclipse, at least for CFM dev work.

On 2/11/06, John McKown <[EMAIL PROTECTED]> wrote:
>
>
>
> Flex 2 is pretty exciting and so is the pricing model (what has been
> eluded to so far) and the use of open tools (Eclipse), is also good.  I
> wonder if endorsing Eclipse which will hurt Dreamweaver sales to coders.
>
>
>


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232040
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: ColdFusion and Flex

2006-02-11 Thread John McKown
I agree that the pricing needs to be more obvious.  Flex 1 was like 
Spectra.  The "call for a quote" on the MM web site just to get a price 
is a major turnoff.  It just kills the momentum of a platform before it 
even gets started.  And lets face it, MM has a track record of doing 
that (as man other large companies do). 

Flex 2 is pretty exciting and so is the pricing model (what has been 
eluded to so far) and the use of open tools (Eclipse), is also good.  I 
wonder if endorsing Eclipse which will hurt Dreamweaver sales to coders. 


John McKown
President, Delaware.Net
ICQ: 1812513
We host Fusebox.org and all of our apps are Fusebox, ColdFusion, and BlueDragon 
compliant.



John C. Bland II wrote:

>Ahh...I didn't know that. It isn't in the best position though. I have to
>read sentences to figure it out.
>
>Flex 2 + Flex Builder 2.0...$999.99
>Flex 2 Enterprise Services "Limited"...Free
>Flex 2 Enterprise Services "Full"$2.50 :-)
>(is this close to right?)
>
>Lists always work better than having to read because sentences require
>interpretation. These are simply my opinions and could totally be wrong.
>
>On 2/9/06, Sean Corfield <[EMAIL PROTECTED]> wrote:
>  
>
>>On 2/9/06, John C. Bland II <[EMAIL PROTECTED]> wrote:
>>
>>
>>>Put a (suggested or in stone) pricing page on Labs so folks looking to
>>>download can check it out.
>>>  
>>>
>>The pricing information is already on labs:
>>
>>http://labs.macromedia.com/technologies/flexbuilder2/ - Product Details:
>>
>>How much will Flex Builder 2.0 cost?
>>
>>Flex Builder 2.0, which includes a license for the Flex Framework,
>>will be licensed on a per seat basis, similar to other integrated
>>development environments. Final pricing is not yet available, but Flex
>>Builder 2.0 will be sold for less than $1000 per developer.
>>
>>Will existing Flex customers get Flex Builder 2.0?
>>
>>Starting with the Flex 2.0 releases, Flex Builder will be licensed
>>separately from Flex Enterprise Services. At that time, existing Flex
>>customers with current maintenance contracts will receive an
>>appropriate number of Flex Builder 2.0 licenses as part of their
>>agreement. For more details, please contact your sales representative.
>>
>>http://labs.macromedia.com/wiki/index.php/Flex:SDK_Announcement
>>
>>New - Free Flex Software Development Kit
>>
>>Free SDK
>>
>>Along with beta 1 we are announcing that the Flex Framework will be
>>made available free of charge through the Flex Software Development
>>Kit, which will include the command line compiler and documentation
>>required to develop, compile, and deploy Flex applications that
>>connect to XML and SOAP web services with no additional charges or
>>server licensing required. We also plan to make Flex Enterprise
>>Services 2.0 free of charge for use by a limited number of concurrent
>>users on a single, non-clustered server. Together, these free
>>offerings bring the industries most powerful cross-platform RIA
>>technology within reach of very every developer and every project.
>>
>>Here's how I found those paragraphs:
>>
>>http://www.google.com/search?q=site:labs.macromedia.com+pricing
>>--
>>Sean A Corfield -- http://corfield.org/
>>Got frameworks?
>>
>>"If you're not annoying somebody, you're not really alive."
>>-- Margaret Atwood
>>
>>
>>
>>
>
>

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232039
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Problems with mapping directories in CF 7 Developer

2006-02-11 Thread Casey Dougall
Doh,
i fould it,

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

Add the directory path and a name then restart CF service.



On 2/11/06, Casey Dougall <[EMAIL PROTECTED]> wrote:
> Has anyone had problems mapping directories in CF 7 using the
> Developer version with built in web server?
>
> The only Mapped directory that seems to work is CFIDE i cannot make a
> new one, all I receive are JRun Servlet Errors - 404 /directory name
>
> This is a clean install of windows xp sp2 / coldfusion developer
>
> Casey
>

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232038
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Remote Control

2006-02-11 Thread clark slater
Hey Folks,

I have a requirement to send commands to a machine from a web interface
via a serial port. Has anyone got any tips or advice on where to start or
possible approaches?

Thanks,

Clark


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232037
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Problems with mapping directories in CF 7 Developer

2006-02-11 Thread Casey Dougall
Has anyone had problems mapping directories in CF 7 using the
Developer version with built in web server?

The only Mapped directory that seems to work is CFIDE i cannot make a
new one, all I receive are JRun Servlet Errors - 404 /directory name

This is a clean install of windows xp sp2 / coldfusion developer

Casey

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232036
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Need Help Coding Database Interactions

2006-02-11 Thread Aaron Rouse
It does a transaction in the database itself, assuming the database being
used supports transactions.  This would ensure that you get back the ID that
you just inserted.

On 2/11/06, Mike Soultanian <[EMAIL PROTECTED]> wrote:
>
> Aaron Roberson wrote:
> > Mike,
> >
> > I will look into that. I thought as long as I wrapped the insert user
> > query and the select user query (with the max() function) in a
> > cftransaction tag that I would eliminate race conditions and therefore
> > would return the correct userID. Is that incorrect?
>
> I believe that cftransaction ensures that both queries will happen
> within that page call, but I don't think it ensures that other queries
> can't be made against the database.
>
> Mike
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232035
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Need Help Coding Database Interactions

2006-02-11 Thread Mike Soultanian
Aaron Roberson wrote:
> Mike,
> 
> I will look into that. I thought as long as I wrapped the insert user
> query and the select user query (with the max() function) in a
> cftransaction tag that I would eliminate race conditions and therefore
> would return the correct userID. Is that incorrect?

I believe that cftransaction ensures that both queries will happen 
within that page call, but I don't think it ensures that other queries 
can't be made against the database.

Mike

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232034
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


SLQ-Multile updates and inserts from single form

2006-02-11 Thread Michael Grove
Long story short, I have a page that lists all of the products in our database. 
We are trying to add contract pricing. Basically each product in the system may 
have a different price for each contract.

I have built a form that lists all of the products in the database (around 700) 
with a blank form field (contractprice) next to each row. in the row I also 
include the (product_id, hidden). I would like to be able to add pricing the 
rows and press a single submit button.

What i am not sure about is how to loop through the database to perform, 
INSERT, UPDATE and/or DELETE base on what the form passes.

When the data is passed their are 4 different scenerios (if) that would take 
place.

I am thinking that a call would need to be made to the database for each row 
passed.

1. if the form.product_id does not and the form.contractprice IS NULL, do 
nothing.

2. if the form.product_id does not exists and the form.contractprice IS NOT 
NULL, insert the row.

3. If form.product_id exists but form.contractprice IS NULL, delete row

4. if form.product_id exists and form.contractprice NOT NULL, update row.

My two major questions is one how would you right the loop to do this and two, 
is there a better way to do this. I do not have access to stored proc on the 
SQL server.

Thanks for the assist...

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232033
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Isolating DB CRUD in CFC objects

2006-02-11 Thread Andy
Fantastic.  Thanks. 

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 11, 2006 12:41 PM
To: CF-Talk
Subject: Re: Isolating DB CRUD in CFC objects

If they are in one CFTRANSACTION tag pair, they should be rolled back
together (in versions 6.1 and above, anyway).

>From the fixed issues list:

49705 - cfquery tags used in CFCs did not participate in cftransaction
operations of the code that called them.

http://www.macromedia.com/support/coldfusion/releasenotes/mx/mx61_fixed_bugs
..html

On 2/11/06, Andy <[EMAIL PROTECTED]> wrote:
> I am considering isolating all of my database CRUD in CFC objects.  
> From previous posts, I understand that if I put two calls to an Update 
> method inside of a , I failure of the second 
> transaction will not reverse the first transaction.  Is this correct?  
> If so, it seems that I need to have the CRUD operations at the Object 
> level, not the object component or table level.

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232032
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: OpenSource Business Services Call For Comments

2006-02-11 Thread Andy
 
No, no one else has commented.  And I am not sure that we should expect them
to.  From all outside appearances, we are making litte progress, and
therefore we are not going to get even a small part of everyone's busy day.
The only way to get momentum is to just dig in and get working.  As we/I
start showing usable results then I expect that more people will become
interested, even if only providing enhancements they want.

I am revising the design document this weekend and have started designing &
writing Object.cfc that will register the meta-data of an object.  I will
post updates on Monday morning to the web site.

Keep the faith!

Andy

-Original Message-
From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED]
Sent: Friday, February 10, 2006 3:43 PM
To: CF-Talk
Subject: Re: OpenSource Business Services Call For Comments

Has anyone responded to this besides me?

Cutter

Andy wrote:
> Call for comments.  This link is to a first cut at a design document 
> for the Open Source Business Services.
> http://www.omygoodness.com/osbsv1.doc
>  
> Any and all comments are appreciated, ranging from "you are missing 
> this whole section", to "that won't work because...", even "here is 
> something on this area that you can adapt".  Also, if anyone has a 
> block of design considerations that can provide some framework for use 
> of CSS, I'd really appreciate it.  I am especially clueless in this area.
>  
> Email me off list, on list, update the doc directly and send to me, 
> whatever technique works for you
>  
> Thanks.
>  
> Andy



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232031
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Isolating DB CRUD in CFC objects

2006-02-11 Thread James Holmes
If they are in one CFTRANSACTION tag pair, they should be rolled back
together (in versions 6.1 and above, anyway).

>From the fixed issues list:

49705 - cfquery tags used in CFCs did not participate in cftransaction
operations of the code that called them.

http://www.macromedia.com/support/coldfusion/releasenotes/mx/mx61_fixed_bugs.html

On 2/11/06, Andy <[EMAIL PROTECTED]> wrote:
> I am considering isolating all of my database CRUD in CFC objects.  From
> previous posts, I understand that if I put two calls to an Update method
> inside of a , I failure of the second transaction will not
> reverse the first transaction.  Is this correct?  If so, it seems that I
> need to have the CRUD operations at the Object level, not the object
> component or table level.

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232030
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Isolating DB CRUD in CFC objects

2006-02-11 Thread Andy
I am considering isolating all of my database CRUD in CFC objects.  From
previous posts, I understand that if I put two calls to an Update method
inside of a , I failure of the second transaction will not
reverse the first transaction.  Is this correct?  If so, it seems that I
need to have the CRUD operations at the Object level, not the object
component or table level.
 
Comments?



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232029
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Need Help Coding Database Interactions

2006-02-11 Thread James Holmes
I'd do it this way too. You can mix this with the UUID idea; you
create the user with a new UUID, get it into the DB etc and then
manage this user's newletters with the newsletter manager CFC. It
means the newsletter info becomes a property of the user, which makes
sense; users have newsletters and "have" is a giveaway that a property
is the way to go.

On 2/11/06, Aaron Roberson <[EMAIL PROTECTED]> wrote:
> Deanna Schneider  wrote:
> > Well, you could have some object aggregation. So, for example, the user CFC
> > could have an instance of the newsletterManager cfc. So, if a new user is
> > created, and they've requested access to certain newsletters, you'd just run
> > the functions from within the user cfc. Or, if you instantiate a user as an
> > object, there should be a "getId()" function that can be called once it's
> > been instantiated. Then, use that id in a separate call to the newsletter
> > cfc.
>
> I am learning Java at my local community college and I was thinking
> that instantiating an object of the user.cfc might help avoid
> potential race conditions, but this stuff, including what you have
> mentioned, is a bit over my head. I would definately need some help
> understanding all of this.

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232028
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Need Help Coding Database Interactions

2006-02-11 Thread James Holmes
Yes, that avoids the whole issue of autonumbers and also allows you
two merge separate databases later on if so desired.

On 2/11/06, Aaron Roberson <[EMAIL PROTECTED]> wrote:
> Could all of this be avoided if I just used the createUUID() function
> to insert a userID into my users table instead of using autonumber? I
> am starting this thing from scratch, so I could removed the
> auto_increment from the userID if I have to.
>
> I am assuming that I would then pass the UUID to both the insertUser
> method in the users component and the insertSubscriber method in the
> newsletter component. Is that correct? The waters are a little muddy
> for me...

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232027
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54