Hi all, I'm trying to add a group_title field to groups directory. Then, the user should enter the group_title, and the group field (used as an id), could be computed. I've been trying to compute the group field from the title using computeId.py, but also using CPSUid. The only way working for me is to define a call to a counter as a default value in the group field. But this implies calling the counter even when searching, very ugly.
The main problem is that CPSDirectory.BaseDirectory.BaseDirectory.renderCreateEntryDetailed has no other way to receive an id that the datastructure. Is there any way to do what I'm trying ? If not, will be welcome a patch to BaseDirectory to receive a entry id as an optional parameter ? Thanks in advance -- Santi Camps Earcon S.L. - http://www.earcon.com - http://www.kmkey.com _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
