[ZPT] idea for repeats

Jason Byron jason_zope@yahoo.com
Fri, 22 Jun 2001 11:29:23 -0700 (PDT)


Here's my idea:

Create a solution that allows designers to make tal:repeats look
like the results of the output during editing without changing
the actual output during excution.  

confused? here's and example:

during edit:

<td tal:repeat>repeat stuff to produce 1,2,3</td>
<td tal:sample>row2</td>
<td tal:sample>row3</td>

after render:

<td>row 1</td>
<td>row 2</td>
<td>row 3</td>


tal:sample stuff is simply ignored.  It's kinda like a comment
where the entire attached tag is removed.

Maybe this could act like slots and replicate info from 
the associated repeat?  Such as redering duplicate content for 
the samples?


Does this seem crazy, already available, or what?



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/