RE: can't get html email to format properly

2010-05-31 Thread Sebastiaan GMC van Dijk
Hi Matthew, Maybe a container around it all with a certain width might do the trick? Or a full HTML-page with html-tag, body-tag, etc.? I cannot see anything wrong with your code either, but possibly there is some HTML somewhere (or CSS) that is screwing up the alignment of the two tables.

dynamic price range

2010-05-31 Thread Mike Little
hey guys, am looking to add a feature to my shopping cart much like magento's shop by price range. bascially for a particular category, the page will render a series of ranges for a user to choose based on the products in the db eg. $10-20, $20-30 etc. somehow, it will only show those ranges

Re: referencing #application.applicationname#

2010-05-31 Thread Dave Watts
Does this require a lock? I was reading through the CF WACK, and it has an example like so: cflock name=#application.applicationname#_whatever type=exclusive timeout=10 does reading the app scope require a lock?  Would I nest two locks?  Or is it not required because the application name

Re: dynamic price range

2010-05-31 Thread Raymond Camden
I'd say you want to do something like this - pseudo-code select distinct price from products This returns a list like 9.99, 12.99, 25, 69, 70, 120, 199.99 Then assuming you want to use ranges like 0-10, 10-20, etc, up to some end point, like 200+, you can loop use a query of query to see if a

Re: referencing #application.applicationname#

2010-05-31 Thread Raymond Camden
Do you remember what chapter that is? I'm 99% sure CFWACK makes it clear that locks aren't necessary for simple reads. I remember writing those updates myself a few revs back but I'd like to confirm the current text is clear. On Sun, May 30, 2010 at 4:29 PM, Matthew P. Smith

Re: referencing #application.applicationname#

2010-05-31 Thread Dave Watts
Are you and Barney speaking English? I suspect this is just a joke on your part, and I'm not really addressing this response to you specifically. But the reason I'm still on this list is mostly people like Barney and Sean. When I read their posts, I'm likely to learn something I didn't know

Re: Is there a way to replace the default HTTP header info with cfcontent?

2010-05-31 Thread Andrew Clarke
Thanks for your suggestion. I'm sure your solution would have worked but I started messing with getPageContext() and was able to use that to overwrite the existing headers. I found that by doing the following after cfcontent it corrected my problem. cfset

RE: referencing #application.applicationname#

2010-05-31 Thread andy matthews
Yes, it was a joke. And while I don't always learn specifics from Barney's or Sean's posts, I almost always find out about topics of which I've never heard. So keep it up Barney/Sean...you guys spur the rest of us onwards. andy -Original Message- From: Dave Watts

Re: Home Site+ and Windows 7

2010-05-31 Thread Sean Corfield
On Sun, May 30, 2010 at 7:38 PM, Pete Ruckelshaus pruckelsh...@gmail.com wrote: However, beg to differ on the CFBuilder example.  If you're not working in a project, go file new coldfusion page.  If you're not in a project, you can't do a thing.  Useless.  I realize that this is an Eclipse

Re: referencing #application.applicationname#

2010-05-31 Thread Sean Corfield
On Sun, May 30, 2010 at 7:41 PM, andy matthews li...@commadelimited.com wrote: Are you and Barney speaking English? Nanu nanu :) -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody,

cfheader/cfcontent/IIS/SSL/IE resolved all by itself

2010-05-31 Thread Andrew Clarke
Hi Asaf. Did you ever get this resolved? I am trying to download files to a user's browser via SSL. I too am having no problems in Firefox or Safari, but in IE 8 I just get the actual text of the document streamed to the browser instead of downloaded. Here's the code I'm using:

Re: referencing #application.applicationname#

2010-05-31 Thread Barney Boisvert
locks aren't necessary for simple reads to prevent memory corruption. They ARE necessary if you have a potential race condition. To put that another way, CF5 and before required locks to prevent memory corruption, but CF6+ does not. However, if you care about your application behaving

Re: Home Site+ and Windows 7

2010-05-31 Thread Jason Fisher
Can't speak for others, but it's a real challenge for me because I may be primarily working on one application at any given time, but I also support many other legacy applications. These are all, in fact, in one web root on the web server, but each is an entirely separate site and

Re: Home Site+ and Windows 7

2010-05-31 Thread Wil Genovese
I guess at this point I'd have to ask about working practices: How many folks think of a web site or a web application when they're editing / creating new files? Do folks really find it a stretch to go from that concept to an actual site/project in their IDE? I always work within a project.

Re: referencing #application.applicationname#

2010-05-31 Thread Sean Corfield
On Mon, May 31, 2010 at 11:56 AM, Barney Boisvert bboisv...@gmail.com wrote: locks aren't necessary for simple reads to prevent memory corruption.  They ARE necessary if you have a potential race condition. It's also worth noting that whether you need to lock or not depends on the type of

Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Les Mizzell
this to work? Some stupid way to count long words verses shorts words and come out with an average with would sorta be right every time? __ Information from ESET NOD32 Antivirus, version of virus signature database 5159 (20100531) __ The message was checked by ESET NOD32 Antivirus

Re: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Sean Corfield
If you know how many characters will fit in the box (which may be font dependent?), then start there and work back to the next space and truncate there. That way you'll always have complete words and the number of words will vary depending on the total number of characters. On Mon, May 31, 2010

Re: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Les Mizzell
by the client *before* sending to me and going see any issues here. __ Information from ESET NOD32 Antivirus, version of virus signature database 5159 (20100531) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: referencing ##application.applicationname##

2010-05-31 Thread Larry Lyons
Klaatu Verata Nicto ;) larry Are you and Barney speaking English? Nanu nanu :) -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood

Re: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Sean Corfield
On Mon, May 31, 2010 at 2:19 PM, Les Mizzell lesm...@bellsouth.net wrote: The graphic designers I work with need to get out of their print mode when doing layouts!!! ... and they get the darned designs approved by the client *before* sending to me and going see any issues here. I sympathize.

Re: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Azadi Saryev
designers I work with need to get out of their print mode when doing layouts!!! ... and they get the darned designs approved by the client *before* sending to me and going see any issues here. __ Information from ESET NOD32 Antivirus, version of virus signature database 5159 (20100531

Re: Comma delimited list

2010-05-31 Thread Bill Hartley
I cannot change the table or they way the data feeds into the database On Sat, May 29, 2010 at 1:29 PM, Leigh cfsearch...@yahoo.com wrote: Can you change the table structure, as others have suggested? ~| Order the

Re: Comma delimited list

2010-05-31 Thread Bill Hartley
Is there a way I can do it with in the CF code on the page itself and not in the select statement in the query? Something like cfset fullname=#MLS_AGENT_NAME# #gettoken(fullname,2,,)# #gettoken(fullname,1,,)# HRBR/CFOUTPUT cfset codelist=#FEATURE_CODES# cfloop index=code list=#codelist#

Re: Comma delimited list

2010-05-31 Thread Kevan Stannard
Hi Bill, this is the idea I was getting at: !--- Get the feature codes --- cfquery name=featureCodesQuery ... select feature_code, feature_description from featureCodes /cfquery !--- Put the feature codes into a struct --- cfset featureCodes = {} cfloop query=featureCodes cfset

Re: dynamic price range

2010-05-31 Thread Mike Little
hey thanks for that raymond. yes the idea of caching definitely appeals. i think i should be able to work with that. mike ~| Order the Adobe Coldfusion Anthology now!

RE: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Bobby Hartsfield
We have definitely all been there at one point or another. I couldn't tell you how many of those I've had to code for. There are so many variables to account for too... such a headache. Client configured fonts are a PAIN in these situations. Plus you have to account for HTML in your count.

REgarding SQL Server (express vs full)

2010-05-31 Thread Christopher Stowell
Sorry if this is the wrong place, but with the knowledge this list has I'm working on a project (intranet app) for a small business (15 to 20 users). So Cost of course is always a concern since this will be a full setup (hardware and software). What are the major differences people have

Re: REgarding SQL Server (express vs full)

2010-05-31 Thread Maureen
http://www.microsoft.com/sqlserver/2005/en/us/compare-features.aspx http://www.microsoft.com/sqlserver/2008/en/us/editions.aspx If they aren't married to microsoft and cost is an issue, I'd recommend MySQL instead. On Mon, May 31, 2010 at 6:42 PM, Christopher Stowell

Re: REgarding SQL Server (express vs full)

2010-05-31 Thread Dave Watts
I'm working on a project (intranet app) for a small business (15 to 20 users).  So Cost of course is always a concern since this will be a full setup (hardware and software). What are the major differences people have found here between using MS SQL Express and the full version of MS SQL?

Re: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Les Mizzell
to start with, then strip all the HTML on output for this particular box... __ Information from ESET NOD32 Antivirus, version of virus signature database 5160 (20100531) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: Comma delimited list

2010-05-31 Thread Bill Hartley
THIS IS REALLY CLOSE - THANK YOU SO FAR :-) The actual list inf feature codes come from a different query and for that matter a different table...here is the code for the first queryI almost had this working and then went through a block So it needs to read the list of feature_codes from the

Re: Comma delimited list

2010-05-31 Thread Bill Hartley
THIS IS REALLY CLOSE - THANK YOU SO FAR :-) The actual list inf feature codes come from a different query and for that matter a different table...here is the code for the first queryI almost had this working and then went through a block So it needs to read the list of feature_codes