Aaron Cripps a écrit :
I need a custom widget that I can use to display/get an IP for a
"Computer object" that I've written. I've tried looking at
zope.schema.TextLine as a starting point to making a widget that can
store each octet of the IP address separately, but to no avail. The
#zope chann
I need a custom widget that I can use to display/get an IP for a
"Computer object" that I've written. I've tried looking at
zope.schema.TextLine as a starting point to making a widget that can
store each octet of the IP address separately, but to no avail. The
#zope channel on irc.freenode.net i
Hi,
I'm using Zope3 catalog (with it's "zc.catalog" extensions and indexes).
What I'd like is to get a list of indexed values for a given index but
in a given context ; for that, I have :
- a SetIndex which indexes content's path elements
- a ValueIndex which indexes the content property that
On 5/2/07, Hermann Himmelbauer <[EMAIL PROTECTED]> wrote:
Moreover I wonder if it's possible to customize the attributes "size"
and "maxlength" of HTML input fields via the zope schema. Schemas offer the
attribute "max_length", however this does not affect the rendered HTML - size
seems to be alw
For me it was a problem with my vocabulary which works in this form...
class ClipboardVocabFactory(object):
implements(IVocabularyFactory)
def __call__(self, context):
terms = [(x.title, x) for x in \
Session().query(ArchiveObject).select()]
voc = SimpleVocabulary.fromIte
Hi,
I'd like to know how to arrange (e.g. group) widgets in a form with formlib.
One way would be to create a custom template file, where each widget is placed
via HTML. However, this is quite some work.
Another way would be to place the fields via CSS.
How do you deal with form layout?
More