Re: [Product-Developers] invariant validator for add form has no context?

2012-01-19 Thread David Glick (GW)
On Jan 19, 2012, at 2:45 PM, zjs2k wrote: > Using action handler is the route I am taking right now. Just customize > add/edit form for my dexterity type and it works well. Since field validator > has context for add form, so I automatically assume the same for manager > validator. > > Thank you

Re: [Product-Developers] invariant validator for add form has no context?

2012-01-19 Thread zjs2k
Using action handler is the route I am taking right now. Just customize add/edit form for my dexterity type and it works well. Since field validator has context for add form, so I automatically assume the same for manager validator. Thank you for the tip on the request['PUBLISHED']. It also has a

[Product-Developers] plone.app.tiles : About permissions when traversing

2012-01-19 Thread Franco Pellegrini
Hi all, we are currently using plone.app.tiles for a project, and we came across an issue. For one of our tiles, we are using a z3c.relationfield.schema.RelationChoice field, which renders a nice pop-up with elements to add as related. The thing is, when you have a folder and want to expand it to

Re: [Product-Developers] invariant validator for add form has no context?

2012-01-19 Thread David Glick (GW)
On Jan 19, 2012, at 5:38 AM, zjs2k wrote: > Thanks for the quick reply and the explanation on getSite. I know it works > but didn't know how it works. > > For my purpose, I actually need the container and to confirm their is no > same content within that container. It is OK to have the same ones

Re: [Product-Developers] invariant validator for add form has no context?

2012-01-19 Thread zjs2k
Thanks for the quick reply and the explanation on getSite. I know it works but didn't know how it works. For my purpose, I actually need the container and to confirm their is no same content within that container. It is OK to have the same ones elsewhere. So the container context of an add form wi