[Zope3-Users] using storm with Zope3

2008-07-06 Thread DULMANDAKH Sukhbaatar
Hello all. I'm new to Zope and Zope3, and also to storm. I've used storm in plain python application, it worked fine. After that we need to create web interface to our database using Zope3 and storm. Google-ing I found that it is possible to connect and register storm in Zope3, but not how to

[Zope3-Users] A slew of z3c.form questions

2008-07-06 Thread Martin Aspeli
Hi, I'm using z3c.form in Plone via plone.z3cform. The z3c.form documentation is very good and very detailed, but I must admit to getting a bit lost in all of it. :) To that end, I have a few questions. I'm creating a pair of add- and edit forms for a content item: - I've created a few

Re: [Zope3-Users] A slew of z3c.form questions

2008-07-06 Thread Paul Carduner
On Sun, Jul 6, 2008 at 12:46 PM, Martin Aspeli [EMAIL PROTECTED] wrote: Hi, I'm using z3c.form in Plone via plone.z3cform. The z3c.form documentation is very good and very detailed, but I must admit to getting a bit lost in all of it. :) To that end, I have a few questions. I'm creating a

[Zope3-Users] Re: [storm] using storm with Zope3

2008-07-06 Thread Leonardo Rochael Almeida
Sorry, this was also supposed to go to the lists On Sun, Jul 6, 2008 at 18:04, Leonardo Rochael Almeida [EMAIL PROTECTED] wrote: Hi Dulmandakh, The page below documents steps for using grok with storm through a package called stormcontainer. The code in that package is simple enough that you

[Zope3-Users] Re: A slew of z3c.form questions

2008-07-06 Thread Martin Aspeli
Hi Paul, Thanks a lot for this! You can override the updateActions method and modify the css after the buttons are created. As you may have read, buttons are like schema fields, and actions are like the widgets for a schema field. So to modify the appearance of a button, you have to actually

[Zope3-Users] zope.schema Question

2008-07-06 Thread Tim Cook
I have a class attribute defined in an interface as such: description=Object( title=_(uDescription), description=_(uDescription of the activity.), required=True, ) I used Object because this attribute can be one of several different class instances. But I get

[Zope3-Users] Re: zope.schema Question

2008-07-06 Thread Philipp von Weitershausen
Tim Cook wrote: I have a class attribute defined in an interface as such: description=Object( title=_(uDescription), description=_(uDescription of the activity.), required=True, ) I used Object because this attribute can be one of several different class

[Zope3-Users] z3c.form version of a 'lines' widget

2008-07-06 Thread Martin Aspeli
Hi, Is there a z3c.form input widget that can work on zope.schema.Set with a value_type of zope.schema.TextLine. That is, a widget that lets the user build a list of values (e.g. one per line)? I see the selection widget, but that assumes that there's a vocabulary. Cheers, Martin

Re: [Zope3-Users] Re: A slew of z3c.form questions

2008-07-06 Thread Stephan Richter
On Sunday 06 July 2008, Martin Aspeli wrote: I'm guessing z3c.form groups do that, of course, but it's not clear to me whether it's appropriate to use them for this kind of thing, especially since the logical groupings and field ordering will only be calculable at runtime. Groups were written