Previously Encolpe Degoute wrote:
> Hello,
> 
> I have the following usecase:
> When a member create a document under a certain location the document
> should have a new field with storing specific tags.
> For each member this location is different but computable.

If you are dealing with a selection type of field you can use a
vocabulary factory which takes the context into account.

> I see three solutions:
> 
> - subtyping every content type (I really don't want that)
> 
> - use a behavior of schemaextender that allow such things
> 
> - dynamically adapt documents during their creation
> 
> 
> Does schemaextender allow such behavior ?

schemaextender supports that: just look at the aq chain of the instance
that is passed in.

Wichert.

-- 
Wichert Akkerman <[email protected]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to