[Zope3-Users] Needed help with zc.table selection column
Adam Groszer
adamg at fw.hu
Wed Nov 15 06:51:46 EST 2006
Hello Thierry,
Use something like this:
sels = self.columns[0].getSelected(self.list_data, self.request)
Then sels will contain your objects as a list.
Wednesday, November 15, 2006, 12:17:46 PM, you wrote:
TF> Hi,
TF> I'm using zc.table to handle simple lists of items to replace the
TF> standard "contents.html" container view.
TF> I use a SelectionColumn and a set of sortable columns, to display a
TF> checkbox in front of every item, and a set of custom actions to handle
TF> my selections.
TF> My question is trivial : as items names are base64 encoded into form
TF> widgets and form data, is there an already defined way to easilly get
TF> the list of selected keys, without decoding base64 input fields ?
TF> Thanks for any help,
TF> Thierry Florac
--
Best regards,
Groszer Adam
--
Quote of the day:
Sterilization is often justified
More information about the Zope3-users
mailing list