views:

8

answers:

0

Hi everyone.

I'am on a JSF problem using Nuxeo :

I would like to get a predicate label (like "label.relation.predicate.inverse.Requires") out of this very predicate inside a JSF.

I tried to do many things and all the objects I have are "statement" and "node".

I tried to figure the label from the "#{statement.predicate.uri}" and wether it is incoming or not but : First I don't know how to get the information that it is InComming or OnGoing (well I know in Java but since there are no getters on this I am lost in JSF). Second I need this method to be generic, if someone adds a new predicate, it must be recognized.

I am using Nuxeo 5.3.1 and I am not sure that other details would be relevant but I can post them on demand.