Re: [xwiki-users] Variable is shown in input field when other document is inline mode

2010-02-08 Thread Vincent Massol
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

[xwiki-users] Variable is shown in input field when other document is inline mode

2010-02-08 Thread Valdis Vītoliņš
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