Hi,
I was looking at formlib and I found that If i want to customize widgets per
skin, I just have to register their view to a different type, e.g.:
where "zope.app.skins.colskin" comes from:
However I found no such way of customizing the render_submit_button adapter
per-skin. All exa
Fred Drake wrote:
>
> On 4/19/07, Christian Theune <[EMAIL PROTECTED]> wrote:
>> Do you consider it a bug? Is it tracked somewhere already?
>
> Not a bug, but missing a useful feature. I may have filed an issue
> about it at some point, but really don't remember.
>
I've added this issue to
Hi Alex,
Alek Kowalczyk wrote:
>
> I have a schema with the List field defined:
>
> from zope.interface import Interface
> from zope.schema import List, TextLine
> class IMyObject(Interface):
>myList = List(title=u'mylist', value_type=TextLine(title=u'item'))
>
> Then I implement this usi
Fred Drake wrote:
>
> [...]
> You probably want to check the results of the edit widgets; they might
> produce list values instead of PersistentList values. Widgets are not
> expected to edit the value in place, but to produce a new value.
>
They seem to do the right thing (I fixed one of th
You are probably experiencing a ValidationError in the .validate() method of
your "language" field. This is probably because TextLine expect the values
to be unicode whereas the vocabulary in your widget has (8-bit) string
values ("voc = SimpleVocabulary.fromItems([('de','German'),
('en','English
cts.
In usual Object Oriented modeling, an n:m relationship is usually
modeled as a collection of relationship objects each one keeping one
direct reference to each side of the relationship. Of course, using
these systems that already try to model relationships helps you not to
reinvent anothe
What you describe sounds perfectly fine.
You might want to consider exposing the actual IArticleProjectRelation
object eventually if you decide to hang other attributes to it, say a
'start date'.
Cheers, Leo
Em Qua, 2006-07-12 às 00:40 +0200, Achim Domma escreveu:
> Leonardo Ro
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 tha