RE: cfmail problem in cfc

2009-05-30 Thread Adrian Lynch
Is your mail server on the same machine as CF? Check it's running. It probably has nothing to do with being in a CFC. Create a simple cfm page to test it. Adrian -Original Message- From: arya krishnan [mailto:arun.b.shou...@gmail.com] Sent: 29 May 2009 19:17 To: cf-talk Subject:

Re ordering HTML tag attributes

2009-05-30 Thread Matthew Allen
Hi Is there anyway I can re-order HTML attributes? The problem I have is a weird one, I am comparing body of strings, so basically I have some HTML stored in xml, I extract the required xml using xpaths into a database, the stored HTML in the database is then edited by users using FCKEditor,

Maintaining the order of HTML tags atrributes.

2009-05-30 Thread Matthew Allen
Hi Is there anyway I can re-order HTML attributes? The problem I have is a weird one, I am comparing 2 body of strings, so basically I have some HTML stored in xml, I extract the required xml using xpaths into a database, the stored HTML in the database is then edited by users using

IUM Re: IUM Re: Google Map API

2009-05-30 Thread Jenny Gavin-Wear
Hi Ryan, I looked at the page again in firefox using the Javascript error console script src=http://maps.google.com/maps?file=apiamp;v=2amp;key=#session.GoogleKey # type=text/javascript/script script type=text/javascript //![CDATA[ function load() { if

Re: Maintaining the order of HTML tags atrributes.

2009-05-30 Thread Peter Boughton
I guess I'm asking 2 questions in one, how can stop FCKEditor from changing HTML attributes but if it's not possible (I've spent all week going down that road)? How can I maintain the order of attributes in the original string into the the edited chunk of text? Unfortunately, you can't -

Re: Maintaining the order of HTML tags atrributes.

2009-05-30 Thread Matthew Allen
Thanks Peter, I'll search for XStandard and see what I come up with. Alternatively, you could look for a WYSIWYG editor that works as a plugin (rather than relying on the browser) and see if that allows you to control order - search for XStandard and see if that will do what you want.

Re: Maintaining the order of HTML tags atrributes.

2009-05-30 Thread Jide Aliu
unfortunately FCKEditor changes the order of all HTML attributes from the xml file before insertion into database, so e.g. table border=1 cellpadding=2 cellspacing=2 class=lbits becomes table class=lbits border=1 cellspacing=2 cellpadding=2, same thing is done concerning image tags, tr,

Re: Maintaining the order of HTML tags atrributes.

2009-05-30 Thread Matthew Allen
So on database storage Replace(theString,table,tableplaceholder, ALL), then on output Replace(theStringFromDbase, tableplaceholder, table, ALL)something like that anyway..a bit of a hack but it might save you the hassle till you find something more suitable... Jide. Thanks Jide

Re: IUM Re: IUM Re: Google Map API

2009-05-30 Thread Ryan Letulle
This what I do. Hope it helps: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; xmlns:v=urn:schemas-microsoft-com:vml head meta http-equiv=content-type content=text/html; charset=UTF-8/

Re: SQLite, mySQL and MS SQL Express etc.

2009-05-30 Thread Don L
Gerald, embedded MSSQL is usually for direct sql coding from source, it's going to be headache to change the current code base, and how well it would work may also be a variable. Interesting idea about H2, the switch could be costly, but I don't know much about it, mySQL requires multiples

Need help with dynamic form fields

2009-05-30 Thread Torrent Girl
hello I have an issue that I am stuck on. I need to check the value of dynamic form fields with javascript and don't know how. Here is what the form fields look like: compensationType_userID (this is the field name) The userID will be the dynamic part. How do I check for the value in

Re: Need help with dynamic form fields

2009-05-30 Thread Ryan Letulle
Not sure of what you are trying to do, but I usually use getelementbyid when I need to work with form fields. Very straightforward and lots of examples, just Google. w3schools etc -- Ryan On Sat, May 30, 2009 at 8:02 PM, Torrent Girl torrentg...@gmail.com wrote: hello I have an issue

Re: Need help with dynamic form fields

2009-05-30 Thread Don L
If memory serves, loop over the whole form set e = eachFormElement // just the idea then use the substring method, something like if e.substring(0,16) == compensationType alert (e.value); something like that. hello I have an issue that I am stuck on. I need to check the value of dynamic form

Re: Need help with dynamic form fields

2009-05-30 Thread David McGuigan
A really easy way would be to just store it in a variable like so: script userID = #url.idUser#; /script and then in your form validation just do: document.getElementById( 'compensationType_' + userID ) to get a reference to the form control itself, and read and manipulate the value as you