Re: cross browser CSS

2009-04-03 Thread Mike Kear
Another thing that a lot of people dont realise is that if you're going to have different style sheets for different browsers, you dont need to have multiple complete sheets. It's called CASCADING style sheets because style rules are overwritten as the browser CASCADES down through the different

Re: cross browser CSS

2009-04-03 Thread Peter Boughton
> Heh, well, it *is* considered bad practice Of course, browser-specific treatment is bad, but if (for some reason) you can't avoid it, this seems cleaner and more readable than other methods? > user agents can be spoofed and often are, as well as hidden or stripped I'd argue that if (e.g. O

Re: cross browser CSS

2009-04-03 Thread Mark Henderson
Peter Boughton wrote: > Now that I've thought of it, it seems incredibly obvious - which makes me > wonder if I'm missing some fatal flaw preventing it from already being a > common technique. :S > Heh, well, it *is* considered bad practice (just post this idea to CSS-D and see what happen

RE: convert doc file to html file

2009-04-03 Thread Nathan Chen
Gerald, Thank you very much! The COM object example works really well for me. Nathan -Original Message- From: Gerald Guido [mailto:gerald.gu...@gmail.com] Sent: Wednesday, April 01, 2009 3:58 PM To: cf-talk Subject: Re: convert doc file to html file In theory you can use a COM object

RE: [EOF] error in CFMail

2009-04-03 Thread Nick Gleason
Dick, I think that may have been my post a few months back and we didn't get much more information on this issue then. We ended up doing the work around that you describe, which has been OK. But, it would be nice to learn more about EOF issue in general. Nick > -Original Message- > Fr

[EOF] error in CFMail

2009-04-03 Thread Dick Tuengel
Sporadically we have messages that are placed in the Undelivr folder with a maillog message like "Error","schedular-0","03/31/09","08:30:04",,"[EOF]". These messages can be moved into the Spool folder, and they are sent just fine. We have many messages that are very similar content: most pro

Re: cross browser CSS

2009-04-03 Thread Peter Boughton
>>>That's genius. :) > >Indeed. Well done Peter. Thanks both. :) Now that I've thought of it, it seems incredibly obvious - which makes me wonder if I'm missing some fatal flaw preventing it from already being a common technique. :S ~

Re: cross browser CSS

2009-04-03 Thread Gerald Guido
>>That's genius. :) Indeed. Well done Peter. Cross browser CSS layouts can be a nightmare. The devil is truly in the details with that ball of wax. Every bit helps and that naughty bit will help a lot. I've already forwarded it to several friends. G On Fri, Apr 3, 2009 at 3:51 PM, Phillip Vecto

Re: Query Retries

2009-04-03 Thread Nathan Strutz
Thanks for clarifying. So by "recoverable," do you mean a problem where the server is temporarily unavailable? If that's the case, eeek. That's a bad situation to be in. Generally, it just doesn't happen, so this isn't a problem you typically have to solve. What you may want to consider in this

Re: Simple text to image?

2009-04-03 Thread Paul Kukiel
Hmm I tried it and it dosn't seam to line wrap. The 220 and 300 are actually x and Y co-ords. It's been a long time since I had to use this. I'd follow up on Rays suggestion here: http://www.bennadel.com/resources/demo/imageutils/demos/index.cfm and http://www.bennadel.com/resources/demo/imageu

Re: cross browser CSS

2009-04-03 Thread Phillip Vector
That's genius. :) On Fri, Apr 3, 2009 at 1:42 PM, Peter Boughton wrote: > > Oh, and an idea for solving your current problem (assuming you can't just rip > the interface out and do it again): > > Set a class on a high-level container (ideally body) to identify the > browser/version/engine: > c

Re: cross browser CSS

2009-04-03 Thread Peter Boughton
Oh, and an idea for solving your current problem (assuming you can't just rip the interface out and do it again): Set a class on a high-level container (ideally body) to identify the browser/version/engine: class="msie 6" class="msie 7" class="firefox 3 mozilla" class="chrome 1 webkit" class="s

Re: cross browser CSS

2009-04-03 Thread Phillip Vector
*nods* That would work.. But I took your question to be more along the lines of loading specific parts of the CSS file only based on what browser is loaded (so only 1 body section with different textcolor attributes). On Fri, Apr 3, 2009 at 12:30 PM, Scott Stewart wrote: > > It's just repeating

Re: cross browser CSS

2009-04-03 Thread Peter Boughton
First, start by writing standards compliant HTML with a valid Strict DOCTYPE - this is the best way to avoid most of the browser bugs in the first place. (I recommend the HTML5 DOCTYPE for simplicity; is all there is to it.) Create one master stylesheet, and code it according to the CSS standa

Re: cross browser CSS

2009-04-03 Thread Phillip Vector
Any ideas how? I'd be interested in hearing this as well. :) On Fri, Apr 3, 2009 at 12:29 PM, Jake Churchill wrote: > > Yes, it's possible. > > Jake Churchill > CF Webtools > 11204 Davenport, Ste. 100 > Omaha, NE  68154 > http://www.cfwebtools.com > 402-408-3733 x103 > > -Original Message---

RE: cross browser CSS

2009-04-03 Thread Scott Stewart
It's just repeating the same selectors with the browser specific attributes isn't it? -- Scott Stewart ColdFusion Developer 4405 Oakshyre Way Raleigh, NC 27616 (h) 919.874.6229 (c) 703.220.2835 -Original Message- From: Jake Churchill [mailto:j...@cfwebtools.com] Sent: Friday, April 03, 2

RE: cross browser CSS

2009-04-03 Thread Jake Churchill
Yes, it's possible. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Scott Stewart [mailto:sstwebwo...@bellsouth.net] Sent: Friday, April 03, 2009 2:20 PM To: cf-talk Subject: cross browser CSS H

RE: encrypt database column

2009-04-03 Thread Mark Kruger
Keep in mind that a column rename is very expensive and I believe it changes the underlying dbid of that column (which can cause schema caching issues). What's going on under the hood is: Add new column copy column data Delete old column plus any indexing or FK stuff needed. -Mark

Re: POST variables not accessible with clean URL system in IIS 7

2009-04-03 Thread David McGuigan
Note sure if you got my original response to this. I got a failure message from Gmail. Dominic: You're my hero with that Microsoft link!!! Except that somehow, that perfectly, exactly applicable hotfix didn't fix the issue. It's still not handing over the POST variables. What. The. Crap. ... Mov

cross browser CSS

2009-04-03 Thread Scott Stewart
Hey all, Is it possible to combine Firefox, IE and Safari specific CSS into one stylesheet. The current assignment that I have has separate sheet sets for each browser. It's a pain in the neck to edit this. Thanks sas -- Scott Stewart ColdFusion Developer 4405 Oakshyre Way Raleigh

Re: encrypt database column

2009-04-03 Thread Tony Bentley
You can change the name of a column in TQL. In MSSQL there is a stored proc called sp_rename that would do it. For getting all fields from a column in a table, that is simply select colname from tablename. If you wanted to pass the encryptes string into the db, not sure that MSSQL or MYSQL can

Re: .net cookies transfer to CF Session Values?

2009-04-03 Thread Les Mizzell
James Holmes wrote: > So, basically, the username and password is written out in plain text > in the cookie for anyone to steal. Great security. I didn't write the .net part! But yup, I didn't like the way it looked either. But: a. I like my job b. they pay well and often c. the .net fo

Re: uml modelling tool

2009-04-03 Thread Larry Lyons
> hi > > Can anyone give suggestions on good UML Modelling tools for small to > medium sized projects. we don't mind cost as we dont really like open > source products > > thanks for your suggestions > > richard You might want to consider MyEclipse (http://www.myeclipseide.com/) while not

Re: uml modelling tool

2009-04-03 Thread Larry Lyons
> hi > > Can anyone give suggestions on good UML Modelling tools for small to > medium sized projects. we don't mind cost as we dont really like open > source products > > thanks for your suggestions > > richard Didn't see the objection to open source or costs. If costs are not the problem

Re: coldfusion (flash) form for users with low resoultion

2009-04-03 Thread Phillip Vector
Go to a HTML form. Then again, I dislike flash when HTML with a little ajax and javascript can handle the job. :) On Fri, Apr 3, 2009 at 11:24 AM, Vineetha Varghese wrote: > > I have a large coldfusion form (format="flash") with numerous tabs inside a > frame. Is there a way make sure that all

coldfusion (flash) form for users with low resoultion

2009-04-03 Thread Vineetha Varghese
I have a large coldfusion form (format="flash") with numerous tabs inside a frame. Is there a way make sure that all users regardless of their screen size or resolution are able to view the entire form? Trying to decide if I should go back to an html form. Thank you, ~

Re: uml modelling tool

2009-04-03 Thread Richard White
thanks for all your responses, very much appreciated richard > hi > > Can anyone give suggestions on good UML Modelling tools for small to > medium sized projects. we don't mind cost as we dont really like open > source products > > thanks for your suggestions > > richard ~

Re: uml modelling tool

2009-04-03 Thread Richard White
Hi Adam thanks for your detailed response. i like the way you think... we also just use white boards at the moment too!!! but it is the sharing part that we are trying to sort out... we will try myeclipse as we do use eclipse and will also try netbeans as you suggested thanks again richard

Re: cfhttp

2009-04-03 Thread Ben Nadel
Brian, Thanks man, always glad to help :) On Fri, Apr 3, 2009 at 1:06 PM, Brian Dumbledore wrote: > > Thanks Ben, > > btw, I love your kinky solutions :) > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dram

Re: uml modelling tool

2009-04-03 Thread Richard White
just to clarify i wasnt putting open source down, i didnt make it clear but I have used various open source uml modelling tools and personally not found them to suit our requirements so wanted to go down the "costed" route to see if we have any joy that way > Hmmm... just re-read that. > >

Re: uml modelling tool

2009-04-03 Thread Richard White
not taken as an insult at all peter, i appreciate your feedback, thanks > Hmmm... just re-read that. > > In case it might be mis-interpreted, please nobody take "ignorant" > there as an insult; wasn't intended to sound rude.

Re: Client Variables to Session Variables

2009-04-03 Thread Richard White
you have two input fields (3rd and 4th) where name attribute is "name3" and the first 2 input fields need to have id tags > Hi All, > > I am trying to merge three textfield values (month,day and year for > DOB)into one and trying to store in a session. Javascript is a client > side varia

Re: Simple text to image?

2009-04-03 Thread Don L
Paul, Thanks for the concept demo. It looks like if we edit the following lines with different Width and Height and then a block of text like " today: my topic is on walking, twisting, to cut the mid-section and here's detailed techniques: a) do this b) do that c) finish up have a good da

Re: Simple text to image?

2009-04-03 Thread Don L
Great, Ray, I'll check it out. Thanks, Don >You also want to check out imageUtils over at RIAForge. While CF8 >makes it easy to draw text on a image, this CFC makes it easy to >position and wrap text on an image. > > >On Thu, Apr 2, 2009 at 10:42 AM, Paul Kukiel wrote: >-- >===

encrypt database column

2009-04-03 Thread Richard White
Hi, I have looked around on the web for the answer to this question and haven't yet found exactly the answer i need basically, we are developing code that dynamically encrypts database columns (depending on what the user wants encrypted). we want to build one function that is responsible for

Re: cfhttp

2009-04-03 Thread Brian Dumbledore
Thanks Ben, btw, I love your kinky solutions :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www

Re: POST variables not accessible with clean URL system in IIS 7

2009-04-03 Thread David McGuigan
Nevermind got it you're my hero! I can't believe Microsoft has the nuts to not underline their hyperlinks!!! On Fri, Apr 3, 2009 at 10:03 AM, David McGuigan wrote: > Dominic: You're my hero with that Microsoft link!!! Except that none of > those downloads are available!! !! !! ! ! ! ! !!! !! ! !

Re: POST variables not accessible with clean URL system in IIS 7

2009-04-03 Thread David McGuigan
Dominic: You're my hero with that Microsoft link!!! Except that none of those downloads are available!! !! !! ! ! ! ! !!! !! ! ! ! ! ! ! ! ! ! At least now I know that it's actually IIS not handing off the POST data. Which doesn't make any sense though ( in fact the reason I stopped researching i

Re: cfhttp

2009-04-03 Thread Ben Nadel
Brian, You can loop over the struct using a CFLoop / item / collection and build the CFHttpParams dynamically. -Ben On Fri, Apr 3, 2009 at 12:33 PM, Brian Dumbledore wrote: > > Is there a way to somehow use a struct of parameters instead of doing > cfhttpparam multiple times? I tried putting a

cfhttp

2009-04-03 Thread Brian Dumbledore
Is there a way to somehow use a struct of parameters instead of doing cfhttpparam multiple times? I tried putting a cfhttpparam in a cfloop over params structure, it doesn't seem to work. Can someone confirm please confirm this.

Re: would you consider this a bug, CF8

2009-04-03 Thread JJ Cool
what if someone else wants the default behavior of adding only the month, no change in day? If the function worked the way you want it, I would have to program a kludge around getting the day to be the same. Why should it assume I want the last day of the month? I could understand if the functi

Re: CF 7 install...What can I delete to get more space?

2009-04-03 Thread Brian Yager
>> I have a government machine that an idiot > >The slserver54 directory contains the files used by the ODBC-JDBC >bridge (SequeLink) used by CF. * wouldn't delete anything in the CF >folder other than logs. > >I suggest you reinstall CF onto the other drive. If that's not an >option, you might be

Re: would you consider this a bug, CF8

2009-04-03 Thread Francois Levesque
I think the issue is just making sure the engine doesn't make the assumption for us. If I want it to add a month to the 30th, I want the default behavior be that it adds a month, and doesn't assume I want the end of the next month. Sure, another incrementer would be great for the couple of cases

UKCFUG Meeting with Ben Forta on 21 April

2009-04-03 Thread Niklas Richardson
Hi everyone! This is a message for any UK based CFers. Ben Forta will be in town on Tuesday 21 April presenting on CF9 and the future of CF. More details here: http://www.ukcfug.org/post.cfm/next-meeting-21-april-ben-forta-on-the-future-of-coldfusion Please register as spaces are limited. Re

Re: would you consider this a bug, CF8

2009-04-03 Thread Ras Tafari
im just saying, that BEGIN and END of month are KNOWN things... calculable things. constants if you will. why wouldnt a constant be available as a thing i can know, the java engine should know this... i realize i can code around it, hell i can code around ANYTHING but that does NOT mean its a goo

Re: Query Retries

2009-04-03 Thread Byte Me
> Is there a rule of thumb on how many times a query should be retried? Thank you for the info everyone. I'm using Mysql and I'm not getting any errors, I'm just trying to use good programming practices so the end user will not see any error messages, in the event that a recoverable error is g

Re: Button to support both IE and Firefox

2009-04-03 Thread Peter Boughton
> Amongst trying out your code I realized the target site no longer > available. I appreciate it very much though. No problem - hopefully there is some useful general advice in this thread anyway. :) ~| Adobe® ColdFusion® 8

Re: would you consider this a bug, CF8

2009-04-03 Thread Azadi Saryev
dateAdd('m', i, date1) returns same DATE i months away. NOT same weekday, or same 3rd Thursday, or even end of month date - just same DATE i months away. > so, with that, id say a new incrementer of precise calendar month would be > best. why, when you can easily get the desired result using o

Re: POST variables not accessible with clean URL system in IIS 7

2009-04-03 Thread Dominic Watson
Using asapi rewrite rules does not need to be extraneous. The config file can be contained within your app source and, depending on the urls you want, can be a very simple thing indeed, e.g. /foo/bar(*.) => index.cfm?action=foo.bar$ (not real code but you get the idea) Once you have the hang of

Re: Dynamic Renaming of uploaded file

2009-04-03 Thread Azadi Saryev
Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Fawzi Amadu wrote: > Hello, > I am trying to dynamically rename files that I am loading to my server. I > have found this piece of instructional code by Christian Cantrell, but it > only works for gif files. Is there a way to make it wo

Re: POST variables not accessible with clean URL system in IIS 7

2009-04-03 Thread Dominic Watson
Ok, here's a more helpful link (that I found after a few clicks from the other link): http://support.microsoft.com/kb/956578 HTH, Dominic 2009/4/2 Dominic Watson : > Here's the answer to the IIS & "CF" problem: > > http://tinyurl.com/dxggz2 > > ;) > > Dominic > > 2009/4/2 Jason Fisher : >> >>

Re: Query Retries

2009-04-03 Thread Nathan Strutz
Hah, that's cool. I'd say it depends on how long you expect your database to be down for, what DBMS you're using, how important the data is, how long the user will wait for their data, and so on and so on. In other words, it depends. Generally speaking, you should never have to retry a query. It

RE: Query Retries

2009-04-03 Thread Jaime Metcher
A transaction that has rolled back due to a deadlock should always be retried at least once. Unless your server is chronically ill or you use massively long transactions, the chances of getting the same deadlock twice in a row are pretty small. Jaime > -Original Message- > From: b...@b

Re: POST variables not accessible with clean URL system in IIS 7

2009-04-03 Thread Dominic Watson
Here's the answer to the IIS & "CF" problem: http://tinyurl.com/dxggz2 ;) Dominic 2009/4/2 Jason Fisher : > > Actually, I had forgotten that my local dev is probably still IIS 5, where > this works perfectly.  Reproducing the Custom 404 on IIS 6, however, works > splendidly *except* that it do