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
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to