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
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
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
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
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:
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
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),
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,
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:
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:
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
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
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
? 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
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.
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
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
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
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' )#
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
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,
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
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
23 matches
Mail list logo