I swear I have done this before, but its not working for me now.  How
do I display multiple date picker widgets on the same page with totally
different field ids?  I have tried this:

In my controller:

     @expose(...)
     def action(self, ...):
         ...
         return dict(
             date_picker=CalendarDatePicker()
         )

In my template:

     <ul>
       <li py:for="item in items">
         ${date_picker.display(field_id='picker_%s' % item.id)}
       </li>
     </ul>

... but I still get the same id on every single widget.  What am I
doing wrong?

--
Jonathan LaCour
http://cleverdevil.org




--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to