The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: "Cecil Westerhof" <cldwester...@gmail.com>
Date: Tue, 13 May 2008 04:02:34 +0200
Local: Mon, May 12 2008 10:02 pm
Subject: Sorted list with options for use with SingleSelectField
I defined the folowing function:
##### def getOptions(label, table): return [(-1, 'Select %s' % (label))] +\ sorted([(entry.id, str(entry)) for entry in table.select()], key = operator.itemgetter(1)) ##### I can be used with: In this way the select field starts with an entry that tells to select -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||