RE: formatting in textarea
When you insert the value as is in a memo field it whould retain the carriage return.. If you show the value of the memo field in a textarea you should see the carriage return.. The replace solution is to show the value as text in html not in a textarea.. But carriage return are preserve as is when you insert the value in a text or memo field Pat -Original Message- From: Roberto Perez [mailto:[EMAIL PROTECTED] Sent: November 5, 2004 03:15 To: CF-Talk Subject: RE: formatting in textarea At 06:16 PM 11/6/04, Pat wrote: Just do this : cfset locCarriageReturn=chr(13) chr(10) cfoutput #replace(your_variable,locCarriageReturn,BR,ALL)# /cfoutput Thanks for the several solutions proposed. However, here's my doubt: if the text in the Memo field in Access is being stored without carriage returns, that means that whatever code or tags I use would have to be employed as data is *sent* to the database, so that carriage returns are included in that text. Can any of these solutions (e.g., locCarriageReturn, ParagraphFormat, etc.) be used *before* the data is stored (i.e., as data is sent), so that carriage returns are preserved? Thanks in advance, Roberto Perez [EMAIL PROTECTED] ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183570 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: formatting in textarea
One other imprtant thing I've run into when using replace for this purpose is this: When you display the memo field in an edit form, those br's show up. I usually use another replace() when outputting to an edit form. Something like: Replace(string,br, ,ALL) It seems to work well. THE GAME! ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183571 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] Right Click Context Menu
Hi sorry by OT. Anyone has build applications with CF using right click context menu? It's possible to show howt to do that? Usability, client view, ... Thanx Marco ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183572 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
errors on cf5 but not cf6.1
The following code produces errors on CF 5, but not on 6.1 tr td bgcolor=dedede align=center width=33% style=height:50px; a href=###i# class=boxedText#i# - #session.arrQA[i][1]#/a /td td bgcolor=dedede align=center width=33% a href=###i+1# class=boxedText#i+1#- #session.arrQA[i+1][1]#/a /td td bgcolor=dedede align=center width=33% a href=###i+2# class=boxedText#i+2# - #session.arrQA[i+2][1]#/a /td /tr tr align=center tdinput type=Button value=Buy Chapter onclick=addCart(#i#); class=cartbuttons/td tdinput type=Button value=Buy Chapter onclick=addCart(#i+1#); class=cartbuttons/td tdinput type=Button value=Buy Chapter onclick=addCart(#i+2#); class=cartbuttons/td /tr ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183573 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: [cftalk] errors on cf5 but not cf6.1
Hi Daniel, This bit : addCart(#i+1#) on CF5 would have to be addCart(#evaluate(i+1)#) and anything similar. Regards, Dan. -Original Message- From: Daniel Farmer [mailto:[EMAIL PROTECTED] Sent: Sunday, November 07, 2004 15:08 To: CF-Talk Subject: [cftalk] errors on cf5 but not cf6.1 The following code produces errors on CF 5, but not on 6.1 tr td bgcolor=dedede align=center width=33% style=height:50px; a href=###i# class=boxedText#i# - #session.arrQA[i][1]#/a /td td bgcolor=dedede align=center width=33% a href=###i+1# class=boxedText#i+1#- #session.arrQA[i+1][1]#/a /td td bgcolor=dedede align=center width=33% a href=###i+2# class=boxedText#i+2# - #session.arrQA[i+2][1]#/a /td /tr tr align=center tdinput type=Button value=Buy Chapter onclick=addCart(#i#); class=cartbuttons/td tdinput type=Button value=Buy Chapter onclick=addCart(#i+1#); class=cartbuttons/td tdinput type=Button value=Buy Chapter onclick=addCart(#i+2#); class=cartbuttons/td /tr ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183574 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: formatting in textarea
NO, don't modify the text before it goes into the database filling it with html tags. Leave it exactly as they typed it. Only format it with the replace() when displaying it in html. It will show up exactly as it was in a textarea. If you do it like you're saying, all of the text will run together when you display it in a textarea and all the carriage returns would be lost on the first update since all of your line breaks get replaced with a space. -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Sunday, November 07, 2004 9:21 AM To: CF-Talk Subject: Re: formatting in textarea One other imprtant thing I've run into when using replace for this purpose is this: When you display the memo field in an edit form, those br's show up. I usually use another replace() when outputting to an edit form. Something like: Replace(string,br, ,ALL) It seems to work well. THE GAME! ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183575 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: [cftalk] errors on cf5 but not cf6.1
Thank you kind Sir. cheers Hi Daniel, This bit : addCart(#i+1#) on CF5 would have to be addCart(#evaluate(i+1)#) and anything similar. Regards, Dan. -Original Message- From: Daniel Farmer [mailto:[EMAIL PROTECTED] Sent: Sunday, November 07, 2004 15:08 To: CF-Talk Subject: [cftalk] errors on cf5 but not cf6.1 The following code produces errors on CF 5, but not on 6.1 tr td bgcolor=dedede align=center width=33% style=height:50px; a href=###i# class=boxedText#i# - #session.arrQA[i][1]#/a /td td bgcolor=dedede align=center width=33% a href=###i+1# class=boxedText#i+1#- #session.arrQA[i+1][1]#/a /td td bgcolor=dedede align=center width=33% a href=###i+2# class=boxedText#i+2# - #session.arrQA[i+2][1]#/a /td /tr tr align=center tdinput type=Button value=Buy Chapter onclick=addCart(#i#); class=cartbuttons/td tdinput type=Button value=Buy Chapter onclick=addCart(#i+1#); class=cartbuttons/td tdinput type=Button value=Buy Chapter onclick=addCart(#i+2#); class=cartbuttons/td /tr ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183576 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] Right Click Context Menu
Any kind of client-side functionality isn't going to have anything to do with CF, it's going to be JavaScript or something like that. soEditor (from siteobjects.com) and HTMLArea (from interactivetools.com) both have custom context menus. Shouldn't be too hard to reverse engineer, and HTMLArea is open source, so you can probably just steal their libraries (giving due credit, of course) and use them for your application. cheers, barneyb On Sun, 7 Nov 2004 13:36:55 -0200, Marco Antonio C. Santos [EMAIL PROTECTED] wrote: Hi sorry by OT. Anyone has build applications with CF using right click context menu? It's possible to show howt to do that? Usability, client view, ... Thanx Marco ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183577 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
Dreamweaver coding font
I usually used Courier New on Homesite/coldfusion studio at 8pt, Funny thing is that the same font at the same size in dreamweaver is significantly different. Why is this? Anyone recommend a good font that looks good in DW at 8pt? ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183578 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
MX not working on win2003
I installed CFMX 6.1 on win2003 and everything appeared to install fine. When I try to load the CF Admin I get a 404 error. I checked and the directory is mapped correctly but it wont load any cfm pages. It looked like the application mappings were not set during install so I added those and it still didn't help. Any ideas? -- Phillip B. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183579 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: Dreamweaver coding font
I like Andale Mono or the Lucida family. -Original Message- From: Daniel Farmer [mailto:[EMAIL PROTECTED] Sent: Sunday, November 07, 2004 12:46 PM To: CF-Talk Subject: Dreamweaver coding font I usually used Courier New on Homesite/coldfusion studio at 8pt, Funny thing is that the same font at the same size in dreamweaver is significantly different. Why is this? Anyone recommend a good font that looks good in DW at 8pt? ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183580 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: Dreamweaver coding font
I found some nice ones here... http://www.proggyfonts.com/index.php?menu=download ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183581 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: Dreamweaver coding font
Daniel Farmer wrote: I usually used Courier New on Homesite/coldfusion studio at 8pt, Funny thing is that the same font at the same size in dreamweaver is significantly different. Why is this? Anyone recommend a good font that looks good in DW at 8pt? Keith Devens has some good links on his site: http://keithdevens.com/wiki/ProgrammerFonts -- Keith Gaughan, Developer Digital Crew Ltd., Pembroke House, Pembroke Street, Cork, Ireland http://digital-crew.com/ ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183582 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] Right Click Context Menu
http://www.dopefly.com/projects/filesurfer.cfm Special right-click works on IE (just haven't X-browser'd it). -nathan Marco Antonio C. Santos wrote: Hi sorry by OT. Anyone has build applications with CF using right click context menu? It's possible to show howt to do that? Usability, client view, ... Thanx Marco ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183583 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
Linkpoint
I am integrating the linkpoint API today and am having a few issues. The instructions read: Copy ssleay32.dll AND libeay32.dll to the %ROOT%/system32 directory (C:\WINNT\system32\). Copy LPICOM_6_0.dll to the %ROOT%/system32 directory (C:\WINNT\system32\). Register the LPICOM_6_0.dll. (regsvr32 c:\winnt\system32\lpicom_6_0.dll). When I try to run regsvr32 c:\winnt\system32\lpicom_6_0.dll, I get a message saying LoadLibrary(c:\winnt\system32\lpicom_6_0.dll) failed - The specified module could not be found. Does anyone know why I would get this type of error? I also heard the linkpoint had a CFX tag but I could not find it. If anyone has it, can they please send it to me? Thanks! Brook D. logiforms.com ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183584 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: Dreamweaver coding font
profont http://www.tobias-jung.de/seekingprofont/ On Sun, 07 Nov 2004 20:46:39 +, Keith Gaughan [EMAIL PROTECTED] wrote: Daniel Farmer wrote: I usually used Courier New on Homesite/coldfusion studio at 8pt, Funny thing is that the same font at the same size in dreamweaver is significantly different. Why is this? Anyone recommend a good font that looks good in DW at 8pt? Keith Devens has some good links on his site: http://keithdevens.com/wiki/ProgrammerFonts -- Keith Gaughan, Developer Digital Crew Ltd., Pembroke House, Pembroke Street, Cork, Ireland http://digital-crew.com/ ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183585 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
XPATH and RDF XML
I'm trying to get all of the item elements in the XML doc pasted below using the following Xpath query but the returned array is empty. cffile action=READ file=c:\inetpub\wwwroot\pp\test.xml variable=news cfset XMLobj=XMLParse(news) cfset newsobj=XMLobj.rdf cfset newsitems= XmlSearch(newsobj, item) cfdump var=#newsitems# Surley this Xpath statement should get all the item elements as well?? cfset newsitems= XmlSearch(newsobj, //item) rdf:RDF xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; xmlns=http://purl.org/rss/1.0/; channel rdf:about=http://www.xml.com/xml/news.rss; titleXML.com/title linkhttp://xml.com/pub/link description XML.com features a rich mix of information and services for the XML community. /description image rdf:resource=http://xml.com/universal/images/xml_tiny.gif; / items rdf:Seq rdf:li resource=http://xml.com/pub/2000/08/09/xslt/xslt.html; / rdf:li resource=http://xml.com/pub/2000/08/09/rdfdb/index.html; / /rdf:Seq /items /channel image rdf:about=http://xml.com/universal/images/xml_tiny.gif; titleXML.com/title linkhttp://www.xml.com/link urlhttp://xml.com/universal/images/xml_tiny.gif/url /image item rdf:about=http://xml.com/pub/2000/08/09/xslt/xslt.html; titleProcessing Inclusions with XSLT/title linkhttp://xml.com/pub/2000/08/09/xslt/xslt.html/link description Processing document inclusions with general XML tools can be problematic. This article proposes a way of preserving inclusion information through SAX-based processing. /description /item item rdf:about=http://xml.com/pub/2000/08/09/rdfdb/index.html; titlePutting RDF to Work/title linkhttp://xml.com/pub/2000/08/09/rdfdb/index.html/link description Tool and API support for the Resource Description Framework is slowly coming of age. Edd Dumbill takes a look at RDFDB, one of the most exciting new RDF toolkits. /description /item /rdf:RDF Can any help me on this? Thanks ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183586 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
anyone seen this editor before?
http://nvu.com interesting could be good if there was some cfm support ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183587 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: Dreamweaver coding font
yup i use proggyclean, been my fav! -- Original Message -- From: Daniel Farmer [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Sun, 07 Nov 2004 15:40:33 -0400 I found some nice ones here... http://www.proggyfonts.com/index.php?menu=download ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183588 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: Dreamweaver coding font
Andale Mono is quite nice, it used to be available for free in the TrueType core font library from Microsoft http://www.eu.microsoft.com/truetype/fontpack/win.htm but if you look around you should be able to find it ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183589 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