Hello there!
I am @stefan.platon project mate. i`ll atach
this is the CLASS PAGE where we got some properties. we created some “pages” as well; i think they are like some objects of my created class. Now i am trying to reach those properties from a page i created using this code :
{{velocity}}
## Retrieve the first object (index [0]) among all objects attached to this page and of a certain class
#set($obj = $doc.getObject('XWiki.ProiectIPModul1v1Class'))
## Retrieve the raw value of the propertty "field1" for this object, provided
## a property called "field1" is actually defined in the class of this object
#set($rawValue = $obj.getProperty('Nume').value)
XWiki.ProiectIPModul1v1Class : Nume= "$rawValue"
## or value displayed (supports l10n or key-value properties)
#set($ValueDisplayed = $obj.Nume)
#set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass
## return the property type: String, TextAreaDate, Boolean, ...
$class.get('Nume').classType
{{/velocity}}