> > > I'm using webclocks-stable (installed by clbuild) with clsql store in > Postgres. > > As an aside, if you are starting a new project, I would highly recommend using weblocks-dev. Also, have you checked out the postmodern work done by Phil Marneweck?
> When I try to add additional field to table view which populated via > ":reader" parameter then this field always requested from Postgres but > Postgres's table doesn't have these column. > > Similar problem described in "Autogenerated query for sorting in > datagrid widgets" topic except that I has these error always. > > Do you get the error while sorting columns? Have you set the :sort param in your grid? Is this problematic field the first in your view (if so, try moving it to the last item in defview). > One interesting moment: > > When I define view like: > (defview some-entity-view (:type table :inherit-from '(:scaffold some- > entity)) > (custom-reader :reader (lambda (obj) "Line"))) > > it works fine. > > When I try to hide one slot from some-entity (for example, id): > (defview some-entity-view (:type table :inherit-from '(:scaffold some- > entity)) > (id :hidep t) > (custom-reader :reader (lambda (obj) "Line"))) > it always fails. > There are ways to specify custom sorting, but first let's be sure that that's your problem! -- You received this message because you are subscribed to the Google Groups "weblocks" 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/weblocks?hl=en.
