Jonathan LaCour wrote:

> 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?

Just a quick note on this.  I got it to work by not sharing the widget
instance, like so:

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

Although, this goes against my original understanding of widgets, that
any widget could have any parameter overridden by passing a keyword
argument to display().

Just thought someone might like to know how to do this.

--
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