[xwiki-users] Class Sheet - different presentations for the viewing and for the editing modes.
Hi everybody! I started to try xwiki classes creation. And I have a question. At a page of each classes, existing "Class sheet" and "Class template". And for the "Class sheet" existing description "...You can also choose different presentations for the viewing and for the editing modes...". How I can do this? I need, that viewing presentation contain not only class properties fields and also some other things (text, links, etc) and these additional things should present ONLY in a viewing mode. How I can do this? Unfortunately, it is not clearly for me ... Thanks beforehand! Eugen -- View this message in context: http://xwiki.475771.n2.nabble.com/Class-Sheet-different-presentations-for-th... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Eugen, On May 10, 2010, at 9:13 PM, Colesnicov Eugen wrote:
Hi everybody!
I started to try xwiki classes creation. And I have a question.
At a page of each classes, existing "Class sheet" and "Class template". And for the "Class sheet" existing description "...You can also choose different presentations for the viewing and for the editing modes...". How I can do this? I need, that viewing presentation contain not only class properties fields and also some other things (text, links, etc) and these additional things should present ONLY in a viewing mode. How I can do this? Unfortunately, it is not clearly for me ...
You can test the action like this: #if ($context.action == "view") ... #end Thanks -Vincent
Definitely what I need! Big thanks! -- View this message in context: http://xwiki.475771.n2.nabble.com/Class-Sheet-different-presentations-for-th... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
Colesnicov Eugen -
Vincent Massol