Is n't it that the editwizards checks for the presence of a matching typerel, and according to the matching typerel, automagically creating a relation in de direction of the existing typerel? I don't know for sure , but you could try that.Hi,
I use the following create statement in the editwizards for articles:
<action type="create"> <object type="articles"> <relation destination="$origin" role="posrel"/> </object> </action>
the outcome is that newly created article is the source of the relation and that the page with id $origin is the destination.
Question: is there a way to reverse the direction, so let the article be the destination of the relation and the page be the source?
I don't know how to manage it when you happen to have two typerels in different directions for the same two related objects :-(
Regards,
Mark _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
