apparently it only takes asking on the mailing list to figure something out :) In case others might wonder the same thing, My solution was: String contentType = ""; try{ contentType = ((TextAreaClass) thisProperty .getObject() .getxWikiClass(context) .getField(thisProperty.getName()) ) .getContentType(); }catch(Exception e){} it might not be the best, but It seems to work. Caleb James DeLisle wrote:
hi, I'm stumped on this, I have an object property and I can't figure out how to get hold of the class to get the contenttype field for that property. Any help would be much appreciated.
Caleb James DeLisle
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users