Re: [xwiki-users] Using computed field in a class

2016-12-09 Thread Eduard Moraru
Hi, Normally, for a computed field, you can easily control both the script and the custom displayer. The content of the script meta property gets rendered the same for both view and edit modes, so that`s why asking explicitly for 'view' has no effect on the output. What you could do instead, is t

[xwiki-users] Using computed field in a class

2016-12-06 Thread Gerritjan Koekkoek
We use computed field in a class We would like that the sheet, that creates a xform for this class, displays these fields always in a 'disabled' mode (read-only) Using $doc.display('computedField') currently presents the field Editable when the user is creating a new object or edits the exist