Re: Editing MS Word Documents with ColdFusion

2012-06-04 Thread Claude Schneegans
require me to replicate the rows many times depending on the amount of records in the database. Not trivial, but feasible. I have done some work where I generate congress badges with many fields and even images like logo and photographs. Open Office is definitely not a solution. I've never

RE: ColdFusion as a Service

2012-06-04 Thread Eric Roberts
I believe they are all running as a service. If you don't see it under ColdFusion, look under macromedia or Jrun depending on the setup. -Original Message- From: Gerald Guido [mailto:gerald.gu...@gmail.com] Sent: Sunday, June 03, 2012 10:51 PM To: cf-talk Subject: ColdFusion as a

Re: ColdFusion as a Service

2012-06-04 Thread Andrew Scott
Eric I think he refers to the new feature SaaS in ColdFusion and not the services that run ColdFusion. Gerald I think it is available in standalone. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Mon, Jun 4, 2012 at

RE: ColdFusion as a Service

2012-06-04 Thread Eric Roberts
Ah...OK...I haven't delved into the new features yet...one of my tasks this week :-D -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Monday, June 04, 2012 4:00 AM To: cf-talk Subject: Re: ColdFusion as a Service Eric I think he refers to the new feature

Re: ColdFusion as a Service

2012-06-04 Thread Raymond Camden
Some posts that may help: http://www.raymondcamden.com/search.cfm?search=as+a+service On Mon, Jun 4, 2012 at 6:46 AM, Eric Roberts ow...@threeravensconsulting.com wrote: Ah...OK...I haven't delved into the new features yet...one of my tasks this week :-D -Original Message- From:

CF 9 Server restart

2012-06-04 Thread Brook Davies
Hey guys, My Brand new CF9 Server (64 bit), for a site I just launched on Friday restarted itself 3 times in a row this morning while logging only: Potentially fatal error in generated byte array length: 63 AWT blocker activation interrupted:06/04 05:55:59 user CFInternalServlet: destroy

Get First Paragraph

2012-06-04 Thread Robert Harrison
Trying to write a function to get the first paragraph in a string. My test string is: h2Remove the a header/h2pThis is the marigold following the header. This is more./ppThis is another paragraph./p The idea is two steps: Get everything to the LEFT of the /p (this works),

Re: Get First Paragraph

2012-06-04 Thread Raymond Camden
A few ways. Here are some examples. Note - these assume good HTML Given: cfsavecontent variable=str h2TItle/h2 p THis is para one /p p This is part two /p /cfsavecontent First example: cfset p = reFind(p(.*?)/p,

Re: Get First Paragraph

2012-06-04 Thread Cameron Childress
Don't forget to check CFLib for things like this... http://www.cflib.org/udf/firstParagraph -Cameron On Mon, Jun 4, 2012 at 11:19 AM, Robert Harrison rob...@austin-williams.com wrote: Trying to write a function to get the first paragraph in a string. My test string is:

Auth 2.0

2012-06-04 Thread Brian Thornton
Can I ask if there's an auth 2.0 framework anyone has got to work with cf 9 or 10? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

RE: Get First Paragraph

2012-06-04 Thread Robert Harrison
Don't forget to check CFLib for things like this... http://www.cflib.org/udf/firstParagraph That was my starting point. That does not work if the string starts with something other than a paragraph. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I 

Re: Get First Paragraph

2012-06-04 Thread Russ Michaels
A regex should be what you need. Try This /p(.*)\/p/ For plain text try this http://www.exampledepot.com/egs/java.util.regex/ReadPara.html On Jun 4, 2012 4:19 PM, Robert Harrison rob...@austin-williams.com wrote: Trying to write a function to get the first paragraph in a string. My test

RE: Get First Paragraph: Remove Empty Paragraphs

2012-06-04 Thread Robert Harrison
Getting close, no I'm trying to consider any empty paragraphs. Tried this: cfset ExtractionString=ReplaceList(comment,p/p,p /p,pnbsp;/p, , , ) But it does not work completely. How could I remove all paragraphs that are empty, or contain only blanks or non-breaking spaces? Robert

RE: Get First Paragraph: Remove Empty Paragraphs

2012-06-04 Thread Robert Harrison
? No one know a method to strip empty paragraphs from a string? I'd like to remove all occurrences of paragraphs that have no content - stuff like: , p/p OR p /p OR pnbsp;/p Any ideas? Thanks Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I 

Re: ColdFusion as a Service

2012-06-04 Thread Gerald Guido
Thanx. Much appreciated. And thanx to Ray for the resources. G!! On Mon, Jun 4, 2012 at 4:59 AM, Andrew Scott andr...@andyscott.id.auwrote: Eric I think he refers to the new feature SaaS in ColdFusion and not the services that run ColdFusion. Gerald I think it is available in standalone.

Re: Get First Paragraph: Remove Empty Paragraphs

2012-06-04 Thread Matt Quackenbush
cfsavecontent variable=myString pThis is the opening paragraph./p p/p pnbsp;/p p /p p /p pThis is the closing paragraph./p /cfsavecontent cfdump var=#reReplaceNoCase( myString, 'p([\s]|\nbsp;)*/p', '', 'all' )# / On Mon, Jun 4, 2012 at 11:50 AM, Robert Harrison

CF8 AdminApi throws errors.

2012-06-04 Thread Bobby Hartsfield
I've been using the admin API for years to list and create datasources so I am pretty familiar with it (which isn't to say I'm not doing something dumb and just missing it). We recently created two new CF8.0.1 machines (clones of a existing machines that work fine). There are hundreds of

RE: CF8 AdminApi throws errors.

2012-06-04 Thread Bobby Hartsfield
I set the CF Admin to no authentication (just to test) and it appears to work. There server will be public facing once it is setup so I sure can't leave it that way. it is interesting though... .:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original

RE: Get First Paragraph: Remove Empty Paragraphs

2012-06-04 Thread Robert Harrison
Matt, I tried your solutions and it works 100%, except when it's my variable from the form. It's a tiny MCE field and it seems it must be inserting some non-printable character. I changed the statement From this: #reReplaceNoCase(myString, 'p([\s]|\nbsp;)*/p', '', 'all' )#

Re: Get First Paragraph: Remove Empty Paragraphs

2012-06-04 Thread Matt Quackenbush
I don't recall the exact characters, but \w will include some other characters. Maybe this will also work for you? reReplaceNoCase( myString, 'p([\s]|\nbsp;|[^[:print]])*/p', '', 'all' ) I think that's more clear as to intent. I prefer to be more explicit, but it's really just personal

Re: Get First Paragraph: Remove Empty Paragraphs

2012-06-04 Thread Matt Quackenbush
Hmm. I just tried a couple of non-printable character insertions, and [^[:print]] does not catch them. Mayhaps [\w] is better after all. ;-) (BTW, I went and looked up \w for a refresher: Any alphanumeric character, or the underscore (_), similar to [[:word]] ) On Mon, Jun 4, 2012 at 1:49 PM,

RE: Get First Paragraph: SOLVED

2012-06-04 Thread Robert Harrison
Well, this seems to be solved so I should share it. Thanks to those who helped. This function takes an HTML text string and extracts the first paragraph (i.e., the first displayable text string wrapped in P tags). It ignores any images, headers, empty P tags, etc., and returns only the first

Re: Editing MS Word Documents with ColdFusion

2012-06-04 Thread Richard White
OK thanks Claude, will have a play around with this require me to replicate the rows many times depending on the amount of records in the database. Not trivial, but feasible. I have done some work where I generate congress badges with many fields and even images like logo and