Hi,
 i have class and in script i need real value. I mean, this script give me value of attribute hromadna
#set($class = $praceDok.getObject("XWiki.SemestralkaClass").xWikiClass)
#foreach($prop in $class.properties)
#if($prop.getName()=='hromadna')
#set($hromadna = $praceDok.display($prop.getName()))
#end
#end

but, hromadna is boolean and i need value which is in database. 1 or 0. Which method can i use for this?

thanks

Jan