Re: Does ORM scale?

2010-10-22 Thread Joe Rinehart
The rule of thumb we (myself, Brian Kotek, Marc Esher, and Scott Stroz) are using on our first large CF ORM project is: 1. If a service is working with changing data, use ORM. 2. If an operation largely works with one item (e.g. a form or detail page), use ORM. 3. If we're going to show a

Re: Is it time for Adobe to Rebrand Cold Fusion?

2010-06-22 Thread Joe Rinehart
Do we really want Livecycle Application Server? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive:

Re: SOT: most important CFML framework

2010-05-16 Thread Joe Rinehart
Coldspring is easily the most important ;). Most good Fusebox, Model-Glue, Mach-ii, ColdBox, and FW/1 apps use it, and Model-Glue even uses it internally. -Joe ~| Order the Adobe Coldfusion Anthology now!

Re: ColdFusion Builder Released!

2010-03-30 Thread Joe Rinehart
they are forcing the product into peoples faces. Holy crap. 250+ replies? Vote with your wallet: either buy the dang thing, contribute to CFEclipse, or plod forward with Notepad. But please, let this well-beaten horse of a thread move on to a proper burial. -Joe

Re: SVN in Production

2008-08-19 Thread Joe Rinehart
Took me to literal.. too literally ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive:

Re: SVN in Production

2008-08-19 Thread Joe Rinehart
Andrew, A statement like this means you are not very good at your job. Brian's quite good at his job. I work with him. its a manual process to update and merge changes. Manual within the development branch - there shouldn't be any outstanding conflicts in anything tagged for QA, staging,

Re: Returning multiple recordsets in a single component

2008-07-29 Thread Joe Rinehart
Hi Scott, I'd probably go Mark's route and make each a method of the cfc: cfcomponent cffunction name=getPeople returntype=query !--- query one --- /cffunction cffunction name=getPlaces returntype=query !--- query two--- /cffunction cffunction name=getCompanies

Re: Multiple queries from a CFC? Drop in Array?

2008-07-16 Thread Joe Rinehart
Why? It will almost certainly be a much better solution than anything else you're considering. Dave - Not sure it's better than 'anything else.' Why stick with a query that'd need constant grouping when what he's got in the DB is a set representing a hierarchical data structure? Instead

Re: CF 7 and mySql connection proble

2008-07-07 Thread Joe Rinehart
That sounds like you've got a connection / driver in place properly, but the database/schema you're referencing (MyDataSource) doesn't exist, or the user you're connecting as doesn't have rights to it. Given that you're connecting as root, I'd doubt it's the latter. If you start up MySQL

Re: easy one! : comma separated list from cfoutput

2008-05-13 Thread Joe Rinehart
cfoutput#valueList(getProd.specs_partnum)#/cfoutput -Joe On Tue, May 13, 2008 at 11:26 AM, morchella [EMAIL PROTECTED] wrote: ok. i am having a serious brain fart... i know there is a beter way to ooutput a list the is comma seperated then this.. cfloop query=getProd cfset

Re: ColdFusion array problem

2008-04-03 Thread Joe Rinehart
This must be one of those fancy in-memory databases I've been hearing about. (Couldn't resist.) !--- Setup Course Descriptions --- cfset arryCourses = ArrayNew(2) !--- display name [i][1] --- cfset arryCourses[1][1] = Federal Conditions of

Re: CFC and datasource

2007-10-16 Thread Joe Rinehart
Is it possible to invoke the whole component with the database information and then call that instance without the dns?? Yep - it's exactly what you should be doing! This example is simplified (normally, I'd use a CFC to represent a datasource instead of using the raw string datasource

Re: webservice

2007-09-21 Thread Joe Rinehart
Who died and made you forum master of questions asking? I think it was Matt Liotta. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now

Re: xml closing an empty tag

2007-08-23 Thread Joe Rinehart
Hey Dan, An XML document needs to have a single root node...this is valid XML: contact address2 / foo1 / foo2 / /contact While this is not: address2 / foo1 / foo2 / If that's not the issue, can you reply and post an example invalid file? Thanks, Joe On Aug 23, 2007, at

Re: Project Time Tracking Software?

2007-05-22 Thread Joe Rinehart
Adam, I'd be interested, but that's an odd licensing scheme: I need something where I could pay per user and have them access it from anywhere. Is that an option? -Joe On May 22, 2007, at 8:20 AM, Adam Churvis wrote: Aaron, We haven't released it yet, but our new project time tracking

SOT: Re: Licensing on frameworks for Re-sale?

2007-05-12 Thread Joe Rinehart
Which makes in an absolute thrill to automatically apply to a project containing .cfm, .as, .xml, .html, and other file formats all requiring their own commenting formats. If anyone needs an Ant script to do so, let me know. -Joe On May 12, 2007, at 7:24 PM, Sean Corfield wrote: On

Re: MG + Transfer for multiple sites from same code folder

2007-05-11 Thread Joe Rinehart
and design work so far. Are there any production sites out there running unity under high traffic? Chris -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 9:36 AM To: CF-Talk Subject: Re: MG + Transfer for multiple sites from same code folder

Re: get code prior to commit

2007-05-10 Thread Joe Rinehart
Hey Richard, cfsavecontent variable=myContent cfset myoutput=hello world / pcfoutput#myoutput#/cfoutput/p /cfsavecontent !--- not to be morbid, first thing i thought of --- cfset replace(myContent, hello, goodbye, cruel) / cfoutput#myContent#/cfoutput -Joe On May 10, 2007, at 7:39 AM,

Re: ormAdapter / ormService in MG:U

2007-05-10 Thread Joe Rinehart
Yes - each app's ColdSpring.xml file chooses which one to use. -Joe On May 10, 2007, at 7:13 AM, Robertson-Ravo, Neil (RX) wrote: Hi, With regards the new ormAdapter/ormService beans, I gather I can only every have these pointing to either Transfer/Reactor at any one point in time?

Re: MG + Transfer for multiple sites from same code folder

2007-05-10 Thread Joe Rinehart
Hey Chris, If you're on the MG 2.0 code base (Unity), use two different ColdSpring.xml files to configure the application for the context - just edit index.cfm to switch which one to use based on host, etc. -Joe On May 10, 2007, at 8:44 AM, Peterson, Chris wrote: I am writing my first

Re: setters/getters - scalability issues?

2007-04-11 Thread Joe Rinehart
Hey Joe, I'm not entirely up to speed on the internal mechanics of CFCs, but I seriously doubt a reference for each method of each CFC instance is created. Because they're basically a procedure, the method classes as only needed in a static manner - no actual instances should have to be

Re: Access my SessionService from Gateway (MG, CS, Reactor)

2007-04-10 Thread Joe Rinehart
Robert, Why should a data access component (gateway) be interested in the current session? Basically, how did you wind up in this situation? I think we can find a more elegant way of solving it. -Joe On Apr 10, 2007, at 9:35 AM, Robert Rawlins - Think Blue wrote: Hello Guys, this should

Re: HELP CFIF

2007-04-05 Thread Joe Rinehart
Steve, To make sure I understand the problem, do you want the UserID and Password inputs to appear and disappear when the user changes the selected value in the select? If that's the case, you'll need to use client-side javascript (not server-side scripting like ColdFusion) to control

Re: SQL question

2007-04-03 Thread Joe Rinehart
DATEADD(YEAR, 1, @someDate) http://www.databasejournal.com/features/mssql/article.php/2216011 has a good primer on date manip for SQL server. -Joe On Apr 3, 2007, at 10:41 AM, Chad Gray wrote: On the (@date + 1) how do you know it is adding one day? Out of curiosity how do you add one

Re: SQL question

2007-04-03 Thread Joe Rinehart
Chad, Try WHERE dateCreated = @someDate AND dateCreated DATEADD(DAY, 1, @someDate) -Joe On Apr 3, 2007, at 10:45 AM, Chad Gray wrote: I just tried this and I get no records. dateCreated = 04/02/2007 AND dateCreated (04/02/2007 + 1) Is this method compatible with MS SQL?

Re: Good blog post on the frameworks debate

2006-07-10 Thread Joe Rinehart
Side note: neither Model-Glue, Mach-II, nor Fusebox 5 will run on CF 4.5 or 5.0. On 7/2/06, Claude Schneegans [EMAIL PROTECTED] wrote: I'm interested to hear what you would consider a feature of FB, M2 or MG that a project won't need. Just an example: support for CF 4.5 or 5 if your server

Re: Framework suggestions

2006-07-07 Thread Joe Rinehart
Anyways, all to say this: The XML syntax isn't necessarily easier or better than CFML, but for what this, or other XML-based frameworks do for you, the extra brain space is worth using these frameworks. Comparing XML to CFML is an excercise in futility - it's apples and oranges, and I just

Re: Framework suggestions

2006-07-02 Thread Joe Rinehart
Actually, there's no hit on performance. The FB5 core is basically a compiler that transforms the XML into vanilla CFML. Once it's compiled, it's therefore faster than the other frameworks (MG, M2) that have dynamic execution paths. -Joe On 7/1/06, Snake [EMAIL PROTECTED] wrote: I have had a

Re: Model Glue Unity - Reactor

2006-06-18 Thread Joe Rinehart
Weird, it's up here. If you get mg:u from model-glue.com, reactor is in the .zip. -Joe On 6/17/06, Alan Rother [EMAIL PROTECTED] wrote: Hey, does anyone have a copy of reactor? I tried going and getting one but the reactor site is down. -- Alan Rother Macromedia Certified Advanced

Re: ColdFusion and Model-Glue eseminar

2006-06-17 Thread Joe Rinehart
It was recorded, and Adobe is supposed to e-mail me the URL as soon as its available publicly, at which point I'll blog it. Cheers, Joe On 6/16/06, Nick Tong - TalkWebSolutions.co.uk [EMAIL PROTECTED] wrote: Hi all, Does anyone know if the Adobe eseminar 06/15/2006 on ColdFusion and

Re: Model-Glue:Unity Public Beta 1 is Available

2006-06-15 Thread Joe Rinehart
on this. Any chance that the documentation can be available offline? As i do a lot of my RnD stuff commuting? On 15/06/06, Joe Rinehart [EMAIL PROTECTED] wrote: I'm proud to announce that I've applied the Public Beta 1 label to revision 161 of Model-Glue:Unity. This version introduces

Re: Model-Glue:Unity Public Beta 1 is Available

2006-06-15 Thread Joe Rinehart
Yup - learn either. On an API level, there's not much difference between the two other than the scaffold tag and the generic database messages (see MG2 docs for explanations of each: http://docs.model-glue.com). The main difference is that the config block in MG1 ModelGlue.xml files is now in a

Re: Model-Glue:Unity Public Beta 1 is Available

2006-06-15 Thread Joe Rinehart
Yep, working on it :) On 6/15/06, Damien McKenna [EMAIL PROTECTED] wrote: Hotdiggedydog. Awesome! Now that MG has such lofty features, care to do a comparison between it and Ruby on Rails? I'm think a short comparison listing features they have in common and things that separates them

Model-Glue:Unity Public Beta 1 is Available

2006-06-14 Thread Joe Rinehart
I'm proud to announce that I've applied the Public Beta 1 label to revision 161 of Model-Glue:Unity. This version introduces automatically generated Models, codeless data access, and scaffolding. It is still very easy to learn and use. Feel free to learn more and download at

Re: model-glue editor

2006-06-13 Thread Joe Rinehart
Hey Dave, Try XMLBuddy - the free version makes it easy to associate a given XML file with a given DTD, and it'll close things for you, etc. On 6/13/06, dave [EMAIL PROTECTED] wrote: well i'll be damned! I wished it closed them tho but thats a good start :) ~Dave - formerly known as the

Re: Querying for MAX of join table

2006-06-05 Thread Joe Rinehart
Hey Ben, Why wouldn't WHERE sort = 1 work? -Joe On 6/5/06, Ben Nadel [EMAIL PROTECTED] wrote: I have a table that is something like : + id + sort + contact_id + office_id This is a many-to-many join table joining contacts and office. What I would like to do is get a query of that that

Re: Fetching last record

2006-06-02 Thread Joe Rinehart
Hey folks, On MSSQL, using @@IDENTITY is a bad idea. Use SCOPE_IDENTITY() instead. Google @@IDENTITY and you'll get plenty of details as to why. -Joe On 6/2/06, Nick Tong - TalkWebSolutions.co.uk [EMAIL PROTECTED] wrote: Ken, cfquery datasource=yourdsn name=myInsert INSERT INTO myable

Re: OOD/Design Patterns and ColdFusion.

2006-05-16 Thread Joe Rinehart
Aw man, that's gonna get flagged in my corporate firewall logs for sure! -Joe On 5/16/06, Crow T. Robot [EMAIL PROTECTED] wrote: Heh - this has prolly been mentioned before, but the girl on this cover must be leading a double life http://tinyurl.com/89lue :) Andy Matthews wrote:

Re: Frameworks

2006-05-15 Thread Joe Rinehart
Hey Dave, I think you're 100% on the money with if you build a crap model or view all three will suck - a lot of people spend a lot of time getting hung up on what framework to use and don't see that it's really not all that important in the overall picture. I've done some Ajax work with MG, and

Re: Can't reset password

2006-04-17 Thread Joe Rinehart
AFAIK, Mach-II has no relevance to security - I'd look in the directory that contains their model code and not the framework. I'd probably just search for whatever file creates that message. -Joe On 4/17/06, Michael Dinowitz [EMAIL PROTECTED] wrote: I just started on someone else's site (in

Re: Can't reset password

2006-04-17 Thread Joe Rinehart
Ohhh, ok. Sorry, I don't know where to begin, I've never had that fail! On 4/17/06, Michael Dinowitz [EMAIL PROTECTED] wrote: Let me be a little more specific. I'm in the CF admin, not any Mach II admin. I reset the system using the neo-security.xml reset but when I try to turn it back on

Re: Mach II maxing out

2006-04-17 Thread Joe Rinehart
I spent some time today in the bowels of both the Mach-II and Model-Glue frameworks, and Mach-II itself is really, really lean and mean. It's what some developers do with it that's bloated... -Joe On 4/17/06, Tony [EMAIL PROTECTED] wrote: its struggling with the fact that its overweight,

Re: Group - but with no order specified

2006-04-11 Thread Joe Rinehart
If I add a ORDER to the query, it obviously works - but, the client doesn't WANT them in any order. He just wants the groups together. I'm not trying to sound like a wiseass, but just point out a perspective: if the client doesn't care what order they're in, what's the harm in ordering them?

Re: Newbie Model Glue Questions

2006-04-08 Thread Joe Rinehart
On 4/7/06, Snake [EMAIL PROTECTED] wrote: Model-glue and similar frameworks is great if you want to obfuscate your code and keep your client bound to you for any ongoing work, as only developers who already understand the framework and OO will be able to understand it, which will cut most

Re: Newbie Model Glue Questions

2006-04-08 Thread Joe Rinehart
...everyone else can have the scraps that are left over after developers who've taken the time to stretch themselves have taken all the best jobs. It's really that simple. *applause* ~| Message:

Re: Newbie Model Glue Questions

2006-04-08 Thread Joe Rinehart
Frankly, I'd say that not using a decent framework is like continuing to rely on your mother to buy tightie-whities, when the rest of the development world has blown past you into boxers (or boxer briefs). That's not to say there aren't good developers who are an exception to the rule and go

Re: Flex 2 and Ben Forta

2006-03-01 Thread Joe Rinehart
Hey Rick, Flex Builder 2.0 is a WYSIWYG environment built on top of the Eclipse platform, so it can act as a plugin alongside CFEclipse, meaning you only need one IDE open to do both. Pretty cool stuff...! -Joe On 3/1/06, Rick Faircloth [EMAIL PROTECTED] wrote: So...what combination of

Re: Flex 2 and Ben Forta

2006-03-01 Thread Joe Rinehart
Hey Rick, After using Flex Builder 2.0, I can't believe it's only $1,000. That's pretty dirt cheap in the world of enterprise software, much less development software - heck, one seat of Visual Studio 2005 Team Suite can be like $3.5k, and that's *cheap* compared to the price of some of the

Re: Upgraded to MX7, SQL Server datasources no longer work

2006-02-28 Thread Joe Rinehart
Hey Brian, I've encountered this before, and got things working after installing the latest SQL server update (should be available at http://www.microsoft.com/technet/prodtechnol/sql/2000/downloads/default.mspx) - if that doesn't help, could you post the entire error message (minus any private

Re: Easy CFC question

2006-02-16 Thread Joe Rinehart
Hey Bob, Nope. Silly example follows: cfcomponent cffunction name=add cfargument name=numOne cfargument name=numTwo cfreturn numOne + numTwo / /cffunction cffunction name=addTax cfargument name=amount cfargument name=rate cfreturn add(amount, amount * rate) / /cffunction

Re: SOT: Ajax and server-side errors

2006-02-13 Thread Joe Rinehart
I don't use CFAjax (or any other Ajax framework), but I do have a stock library of Javascript functions I use to help with Ajax and DOM. This library implements methods like httpGet and httpPost where I pass a URL - I have a line in each that's commented out that I'll uncomment to debug that

Re: Suggestions For dedicated Server hosting

2006-01-30 Thread Joe Rinehart
I've had really good luck w/ Serverbeach. -Joe On 1/30/06, applemicro [EMAIL PROTECTED] wrote: Does anyone have any suggestions for a dedicated hosting provider? Thanks ~| Message:

Re: My Politics

2006-01-24 Thread Joe Rinehart
CF-Community, please. -Joe -- Get Glued! The Model-Glue ColdFusion Framework http://www.model-glue.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230308 Archives:

Re: Where should the cftransaction tags go when using CFC's?

2006-01-20 Thread Joe Rinehart
Hey all, I've generally approached this by applying transactions at the business level (usually in a Service or Manager component) that wrap multiple calls to persistence methods across multiple persistence objects. A third option that I haven't tried would be to use a service method

Re: cf open shopping cart

2006-01-10 Thread Joe Rinehart
or so. These folks are working for me on a HUGE federal government project which is an equally HUGE change in the way they do business. To top it off this project has spurred on some much needed house cleaning from a data standpointcreating a bunch of spin-off projects. These are CF

Re: cf open shopping cart

2006-01-10 Thread Joe Rinehart
A, you lucky Canadians and your common-sense approach to self-governance! I took my first trip to Canada last spring, and thought it was an absolutely great country. -Joe On 1/10/06, Bryan Stevenson [EMAIL PROTECTED] wrote: Careful with that AJAX stuff and the Feds, they'll go all 508 on

Re: Avoiding copying by value

2006-01-05 Thread Joe Rinehart
Hey Terry, Queries are references types in CF, so it's not an issue. Example: cfset qry1 = queryNew(column) / cfset queryAddRow(qry1) / cfset querySetCell(qry1, column, foo) / cfset qry2 = qry1 / cfset querySetCell(qry2, column, bar) / cfdump var=#qry1# / cfdump var=#qry2# / -Joe On

Re: Avoiding copying by value

2006-01-05 Thread Joe Rinehart
Hey Terry, That's not quite how reference types work...trust me, it's passed by reference. Here's a long explanation: Doing this: cfset qry1 = queryNew(column) / Creates two things: [query instance] - somewhere in memory qry1 - a reference to the instance you can use in your code Doing

Re: CF and the Stored Procedure Newbie - First in an irregular series of Eureka! moments.

2006-01-04 Thread Joe Rinehart
I think this is an old discussion, and that there's really no clear winner. Adrian was very clear that, in the end, he uses both storedprocs and cfquery, and there's a lot of reasons to use both. Your biggest bottleneck in your application is going to be getting data to and from the database.

Re: How can I use a .Net DLL with CFMX?

2005-12-14 Thread Joe Rinehart
Hey Charlie, I didn't mean to infer compatibility issues. I think BD is an amazingly compatible product; when I've switched to it, I've barely noticed a difference. What I was referring to is that if they've already payed a few grand for their ColdFusion licenses, it may not go so well with

Re: Are arrays really passed by value? Practice shows otherwise.

2005-12-14 Thread Joe Rinehart
Wild, it looks like it's going to custom tags by reference, but UDFs by value. Here's a test I wrote: !--- Index.cfm --- cfset myArray = arrayNew(1) / cfset myArray[1] = unchanged / cffunction name=arrayTest returntype=array cfargument name=array type=array required=true /

Re: Design Patterns book for OOP newbies?

2005-12-13 Thread Joe Rinehart
Head First is a great series! I'd also recommend reading The Object Oriented Thought Process before going to a design patterns book...it not only covers the OOP principles (probably a review in this situation), but shows the need for patterns in the first place by illustrating problems that OOP

Re: How can I use a .Net DLL with CFMX?

2005-12-13 Thread Joe Rinehart
I'd have him wrap the existing one in something that exposes its functionality as a web service instead of re-creating it. You could also use BlueDragon.net, a CF server that runs on .NET (see newatlanta.com). -Joe On 12/13/05, Kevin Aebig [EMAIL PROTECTED] wrote: Depending on what it does,

Re: How can I use a .Net DLL with CFMX?

2005-12-13 Thread Joe Rinehart
Easy depends on how much existing infrastructure and investment in Macr...err..Adobe CF products they have -Joe On 12/13/05, Snake [EMAIL PROTECTED] wrote: Using BlueDragon would be the easiest way. Russ -Original Message- From: blists [mailto:[EMAIL PROTECTED] Sent: 13

Re: How can I use a .Net DLL with CFMX?

2005-12-13 Thread Joe Rinehart
You know what I ment... =P Sorry, didn't mean to sound like a smartass. :) Just wanted to make sure the poster knew what ya meant. -joe -- Get Glued! The Model-Glue ColdFusion Framework http://www.model-glue.com ~| Logware

Re: Open source forum

2005-12-12 Thread Joe Rinehart
I think Ray's is spot-on for something that is widely applicable. It may not have all of the features someone could want, but it makes up for that by providing an excellent foundation on which to build those features. In a professional environment where I may need to add forum capabilities, I

Re: Recover lost cfadmin password?

2005-12-08 Thread Joe Rinehart
Hey Will, I believe you can just open /web-inf/cfusion/lib/neo-security.xml and change: var name=admin.security.enabled boolean value=true/ /var To: var name=admin.security.enabled boolean value=false/ /var Cheers, Joe On 12/8/05, Will Tomlinson [EMAIL PROTECTED] wrote: I hadda

Re: Recover lost cfadmin password?

2005-12-08 Thread Joe Rinehart
Forgot: You'll need to restart CF. Then you should be able to browse into the admin console, change the password, and then turn security back on. -Joe On 12/8/05, Joe Rinehart [EMAIL PROTECTED] wrote: Hey Will, I believe you can just open /web-inf/cfusion/lib/neo-security.xml and change

Re: Get low and high values from list

2005-12-06 Thread Joe Rinehart
ListToArray(), ArrayMin(), ArrayMax() or ListSort(), ListMin(),ListMax() I'd probably go with the array. -Joe On 12/6/05, Will Tomlinson [EMAIL PROTECTED] wrote: If i have a Value list of prices for an item like... 4.00,6.00,9.00 How would I pull out the low and the high one only?

Re: ARF!

2005-12-06 Thread Joe Rinehart
http://projects.simb.net/arf/trac.cgi/ :) -Joe On 12/5/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hi all, I have just been playing around with ARF! - anyone else been playing with it? Despite having to alter some code to get it to work (expected in an alpha!). I have noticed

Re: ARF!

2005-12-06 Thread Joe Rinehart
Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: 06 December 2005 13:00 To: CF-Talk Subject: Re: ARF! http://projects.simb.net/arf/trac.cgi/ :) -Joe On 12/5/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hi all, I have just been playing around with ARF! - anyone

Re: Love 2 Eat Turrrrrrkeyyyyyyyyy

2005-11-24 Thread Joe Rinehart
Well Happy Thursday :) Thanks Will, and I hope everyone has a great day, be it thanksgiving, Thursday, or on the other side of the date line. -Joe On 11/24/05, Mark Drew [EMAIL PROTECTED] wrote: yeah... a big happy wotsit to you americans... to us its.. thursday :( MD On 24/11/05, Will

Re: Question regarding closing tags

2005-11-22 Thread Joe Rinehart
Personally I don't do it for XHTML purposes...I've noticed a lot of us that come from ECMA (C/Java/Actionscript) background tend to use it. For me, I'm used to spotting blocks of code surrounded by braces ( { and } ). Using the / helps to show me what's a statement and what's a block. -Joe On

Re: Multiple Row Insert Into SQL from another database

2005-11-21 Thread Joe Rinehart
Hi Michael, I'd probably avoid using ColdFusion altogether to import the data. Instead, look into creating a DTS package through the MS SQL enterprise manager; DTS exists exactly for this type of situation. -Joe On 11/18/05, Michael Grove [EMAIL PROTECTED] wrote: I need to insert multiple

Re: 100% height and css

2005-11-10 Thread Joe Rinehart
Hey Ray, I'd google for faux columns and use the A List Apart results that come back, they describe a simple hack to get this working... -Joe On 11/10/05, Ray Champagne [EMAIL PROTECTED] wrote: Okay, I've looked all over the place, and can't find my answers. I am going forward with my

Re: what do you use instead of cfx_openimage?

2005-11-04 Thread Joe Rinehart
Alagad Imaging Component. No custom tag to install, no Java to explore, just a CFC to drop in. And it works. It does a lot, and I think it's well worth the price - I think it's like $75. On 11/3/05, Sebastian Mork [EMAIL PROTECTED] wrote: is nobody using cfx_openimage? is there another

Re: cf code doesn't work inside the custom tag's calling tag?

2005-10-26 Thread Joe Rinehart
Johnny, You can't embed CF code inside of tags (CF or imported custom)...try this: cfif structKeyExists(attribute, view) my:tag view=#attributes.view# cfelse my:tag /cfif On 10/26/05, Johnny Le [EMAIL PROTECTED] wrote: Hi, If you call custom tag using cfimport, you don't seem to be able to

Re: ColdFusion Bug :- functions return additional spaces(!)

2005-10-26 Thread Joe Rinehart
This isn't a bug...add output=false to your cffunction tag (and your cfcomponent tag) to suppress output inside of them. Cheers, Joe On 10/26/05, Peter Coppinger [EMAIL PROTECTED] wrote: When a function is called and the result outputted directly, an extra space is prepended! For Example:

Re: About Flex 2

2005-10-26 Thread Joe Rinehart
I would download and install the Flex Builder 2 alpha from labs.macromedia.com. It comes with a good set of tutorials, etc. -Joe On 10/26/05, Hassan Arteaga [EMAIL PROTECTED] wrote: Hi all: I'd like to start my first steps in Flex.. Simple question: What I need to install in order to

Re: OT: Question: How Much of an Interest is there in AJAX?

2005-10-24 Thread Joe Rinehart
I think the anyone moving towards AJAX implementations or towards publishing a book on it should move with caution. I think a _great_ idea would be to publish different ways of producing the same rich application, along with the pros and cons of each: AJAX, Flex, that open-souce Flex alternative

Re: Question: How Much of an Interest is there in AJAX?

2005-10-24 Thread Joe Rinehart
Right - you just have to use a clumsy workaround for testing which browser people are on, hoping ActiveX is enabled on IE, and that any new browsing stuff people use supports it, and that they're not on a mobile (hi, Flash Lite!). -Joe On 10/24/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]

Re: When will Dave Watts finally blog?

2005-10-20 Thread Joe Rinehart
Fred - First, Dave's one of the most known authorities around here. Second, if someone _doesn't_ get fairly drunk at MAX, that's worth noting. On 10/20/05, Fred Urban [EMAIL PROTECTED] wrote: I don't think Dave can stop drinking long enough to blog. I hear he got extremely drunk at MAX this

Re: OT: Unit testing sucks?

2005-10-19 Thread Joe Rinehart
Well, that's not really what he's saying... his real objection is that unit testing *tools* suck and that developers just don't know how to write automated tests. I agree with that - but do you think it's the developer's fault? In the end, I think they must be at least partially accountable,

Re: Cross - Site Scripting

2005-10-18 Thread Joe Rinehart
I think the short of it is to htmlEditFormat() user-provided input instead of trying to parse out all threatening content by hand while selectively letting other things through. -Joe On 10/18/05, Matt Robertson [EMAIL PROTECTED] wrote: Can we Readers-Digest this saga and spill to the masses

Re: Cross - Site Scripting

2005-10-18 Thread Joe Rinehart
Right - in that case, I'd htmlEditFormat() then reverse in the things I'd want to allow. The old firewall routine of default deny vs. default allow. -Joe On 10/18/05, Dave Watts [EMAIL PROTECTED] wrote: I think the short of it is to htmlEditFormat() user-provided input instead of trying to

Re: Problems Making a CF DSN to SQL Server

2005-10-18 Thread Joe Rinehart
Hi Mickael, Have you made sure that the most recent SQL server updates are installed? I've had this exact problem after installing recent CF JDBC drivers. -Joe On 10/18/05, Mickael Elmalem [EMAIL PROTECTED] wrote: Hello All, I need to do some work on a clients site locally on my machine.

Re: CFC Lifecycle

2005-10-13 Thread Joe Rinehart
Hey Andy, If I create an instance of a CFC on my page, carry out some processing and then do cflocate to another page am I correct in assuming that my CFC instance is now gone and if I wish to re-use it I must create another instance of it? Exactly! A CFC instance is just a variable like

Re: CFSavecontent vs. multiple CFSets

2005-10-11 Thread Joe Rinehart
Hi Michael, Is this one of the opinion questions you ask where you already know your own answer? :) I'd use the CFSaveContent method, but using CFXml instead of CFSaveContent - works the same, but validates the XML and created an XMLDocument object that can by turned into a string via

Re: Rounding...

2005-10-11 Thread Joe Rinehart
Hey Jeff, Try: cfset foo = 155 / cfset bar = ceiling(foo / 10) * 10 / cfoutput#bar#/cfoutput -Joe On 10/11/05, J W [EMAIL PROTECTED] wrote: I have a whole number rounding problem that I am not sure how solve most efficiently. I'd like to take any number and round to the nearest whole 10.

Re: image manipulation in coldfusion?

2005-10-04 Thread Joe Rinehart
I'd check out the Alagad Image Component at www.alagad.com - it's native CF. While it's not free, it's so cheap that you'll make back the dough the first time you use it in terms of time saved. -Joe On 10/4/05, Andy Matthews [EMAIL PROTECTED] wrote: So I'm wondering what some of you use to

Re: Make a loop repeat and control timing?

2005-10-04 Thread Joe Rinehart
Hi Les, I use a new Java thread and sleep it: cfset thread = CreateObject(java, java.lang.Thread) cfloop cfset thread.sleep(2) /cfloop Hope that helps, Joe On 10/4/05, Les Mizzell [EMAIL PROTECTED] wrote: Is there any way to force CFLOOP into an endless loop, using cfsleep to control

MySQL - Odd INT values returned when cfqueryparam is used

2005-10-04 Thread Joe Rinehart
I'm having an odd MySQL issue and was wondering if anyone knew what it's up to. If I run (some code obviously omitted): cfquery SELECT someIntField WHERE someField = cfqueryparam / /cfquery I get odd values (like 43234534 instead of 2) for someIntField. If I run the same qry w/o

Re: restricting cfoutput character length

2005-09-28 Thread Joe Rinehart
cfoutput cfif len(myTitle) gt 15 #left(myTitle, 15)#... cfelse #myTitle# /cfif /cfoutput -Joe On 9/28/05, Stuart Kidd Saturday [EMAIL PROTECTED] wrote: Hi, I'm trying to do something which i can imagine is very simple but can't find the function. When i display a title

Re: Is my site working in the US?

2005-09-21 Thread Joe Rinehart
Yup, it's up, how can a Yank get his hands on a Fremont Jersey?? -Joe On 9/20/05, Mike | NZSolutions Ltd [EMAIL PROTECTED] wrote: sorry to be a pain, can any USA'ers have a quick check that http://www.solocc.com is live at the moment. regards mike (i have a very paranoid client !!)

Re: funky strings in CFCs?

2005-09-08 Thread Joe Rinehart
Hey Paul, That's weird...I'd make sure the getAccount() (and all other getters) have output=false appliedotherwise, you may get a line break in the value if you do INSERT cfqueryparam...value=#foo.getXXX()# Cheers, Joe On 9/8/05, Paul [EMAIL PROTECTED] wrote: I'm getting results from

Re: funky strings in CFCs?

2005-09-08 Thread Joe Rinehart
Hey Paul, That's weird...I'd make sure the getAccount() (and all other getters) have output=false appliedotherwise, you may get a line break in the value if you do INSERT cfqueryparam...value=#foo.getXXX()# Cheers, Joe

Re: Calling php class / function from a cfc

2005-09-06 Thread Joe Rinehart
Bram, If you want to do away with PHP altogether, there are a couple implementations of resizing images in CF floating around. Doug Hughes (www.alagad.com) has a great one (alagad image component) that's pretty cheap. You can also write your own in Java for free. -Joe On 9/5/05, Bram Plessers

Re: Printing with Coldfusion

2005-08-31 Thread Joe Rinehart
If you just need the file, why not skip the printer driver? You can use CFDocument in CF7 to generate a PDF file, then do whatever you want with it (CFMail it, CFFtp it, etc.). -Joe On 8/31/05, Rick Root [EMAIL PROTECTED] wrote: I have a need for a coldfusion application to generate a document

Re: Tapestry

2005-08-30 Thread Joe Rinehart
http://jakarta.apache.org/tapestry/downloads.html On 8/30/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Can you get a download anywhere or do you have to pay? This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division

Re: Tapestry

2005-08-30 Thread Joe Rinehart
lol. Sorry about that. Do you mean the OnTap framework? -Joe On 8/30/05, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Nah, I mean Isaac's tool ;-) -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: 30 August 2005 12:13 To: CF-Talk Subject: Re

  1   2   3   4   5   6   >