Hi,
 
Can not find a bridge example of setting pos in a posrel relation. And so I tried:
 
RelationManager category2category = cloud.getRelationManager( "categories" , "categories" , "posrel" );
category2category.createRelation( superNode , node );
category2category.setIntValue( "pos" , nextPos );
category2category.commit();
but that gives me:
 org.mmbase.bridge.NotFoundException: Field 'pos' does not exist in NodeManager 'typerel'.
Do I need another RelationManager?
 
tia,
Paul van Beukering
 

Reply via email to