I saw this tag, and it reminded me of an old question of mine.  I know that
you can nest and open/close tags (<cf_tag></cf_tag>) via ExecutionMode,
CF_associate and all that.  All good.  Is anyone aware if CF 4.5.1 and
beyond let you do that with CFXs?  I could not do it in the past, and
putting long data in attributes is kind of tricky.

Maybe it is possible all together, but I just don't know how to do it...

<Jaime/>


> -----Original Message-----
> From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 24, 2000 2:55 AM
> To: CF-Talk
> Subject: RE: An Idea about access and paragraphs
>
>
> This is the CF_ParagraphFormat tag I wrote cause I hated the way
> ParagraphFormat() outputs code.
>
> Basically you get the user to enter their text in a TEXTAREA, save it as a
> memo field and then wrap CF_ParagraphFormat around the variable. It finds
> double carriage return/line feeds, formats them with P tags with whatever
> style info you supplied and reformats single carriage return/line
> feeds with
> BRs.
>
>
> Usage
> =======================
> <CF_ParagraphFormat Style="font-size: 11pt; font-weight: bold;
> ">#YourMemoFieldHere#</CF_ParagraphFormat>
>
>
> CF_ParagraphFormat
> =======================
> <CFPARAM NAME="attributes.Style" DEFAULT="">
>
> <CFSET variables.Style="">
>
> <CFIF Len(attributes.Style)>
>    <CFSET variables.Style = " STYLE=""" & attributes.Style & """">
> </CFIF>
>
> <CFIF ThisTag.ExecutionMode is "end">
>    <CFSET ThisTag.GeneratedContent = "<P" & variables.Style & ">" &
> Replace(Replace(ThisTag.GeneratedContent, Chr(13) & Chr(10) & Chr(13) &
> Chr(10), "</P><P" & variables.Style & ">", "ALL"), Chr(13) & Chr(10),
> "<BR>", "ALL") & "</P>">
> </CFIF>
>
>

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to