Um

does that actually work?

thisTag.generatedContent isnt actually available untill the closing tag is
called, so for that to work it would need to be

<cfparam name="attributes.count" type="numeric">

<cfif Thistag.executionMode neq "End">
        <cfoutput>#RepeatString(thisTag.generatedContent,
attributes.count)#</cfoutput>
</cfif>

Also, havent tested it but you may have to cancel out the origianl
thisTag.generatedContent value cause it will end up outputing it and you
will end up with 1 too many outputs

Steve


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark
Mandel
Sent: Thursday, July 22, 2004 3:49 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Its a longshot.


<cfparam name="attributes.count" type="numeric">

<cfif Thistag.executionMode neq "start">
        <cfoutput>#RepeatString(thisTag.generatedContent,
attributes.count)#</cfoutput>
</cfif>

Is that what you wanted?

Mark

On Thu, 22 Jul 2004 15:38:26 +1000, Gareth Edwards
<[EMAIL PROTECTED]> wrote:
> is there ANY way of creating a custom repeater wrapper in coldfusion?
>
> ie.
>
> <CUST:cf_repeater type="simple" count="10">
>   content here to loop over.
> </CUST:cf_repeater>
>
> So far I've found it cant be done, please if someone knows a way without
doing it in java or c++.. let me know.
>
> Gareth.
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>


--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ: 3094740

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to