Dear Peter,

You should be able to modify the custom displayer to change the way the
property is displayed in each mode.  Maybe this snippet [1] of code
could help you?

Hope this helps,

Sincerely,

[1]
http://extensions.xwiki.org/xwiki/bin/view/Extension/User+Property+Custom+Display

On 28/01/2016 12:25, Peter Huisman wrote:
> Hi,
> 
> I have an object on a page. Once in edit mode, I want certain properties of 
> the object not to be editable. This in itself is not an issue since I can 
> display the value using $object.getValue(‘propertyname’). I have however a 
> custom displayer in place for this property which is activated using 
> $doc.display($propertyname.getName()). Is it possible to use this displayer 
> in edit mode?
> 
> With kind regards,
> 
> Peter
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 

-- 
Jean Simard
jean.sim...@xwiki.com
Research engineer at XWiki SAS
http://www.xwiki.com
Committer on the XWiki.org project
http://www.xwiki.org
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to