On Monday 26 November 2007 14:16:26 Dero wrote: > > What do you mean with not shown? Are the proper urls greated? And if so, > > where is the controller method to return the BLOBS for the urls? > > > > Diez > > Well, the data is returned correctly using this line > > return dict(data=Photo.select(orderBy='- > date'),list_widget=photos_field_form) > > The paginatedatagrid shows all the id and date rows ( all 1500 ) and > is correctly sortable on id and date column ,however, the thumbnail > column is blank. So something is wrong with my widget_getter > as the required image tag url is not created.
Ok. I had a second look - I think I see the problem now. Instead of using field as widget parameter in the template, use value The params you declare are static - one per instance. Overwriting these with display-keyword-args isn't supported in general (FormWidget does this, but then you'd have to implement it). so - how about losing the field= in the display, and in the template use tg.url(value) Diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

