On Feb 8, 2010, at 9:34 PM, Valdis Vītoliņš wrote:
> I'd like to show different links in panel depending on Xwiki user's
> Company field.
> Following code does this
> #set($myCompany='')
> #set($obj=$xcontext.getUser())
> #set($objdoc = $xwiki.getDocument($obj))
> #set($myCompany = $objdoc.compan
I'd like to show different links in panel depending on Xwiki user's
Company field.
Following code does this
#set($myCompany='')
#set($obj=$xcontext.getUser())
#set($objdoc = $xwiki.getDocument($obj))
#set($myCompany = $objdoc.company)
$myCompany
Though when wiki document is opened in inline editi