Hey, a question I know ;)
$xcontext.getAction()
'view' for view
'edit' for wiki or wysiwyg editor
'inline' for inline form editing.
Caleb
xManish wrote:
Hello All,
Through Velocity, is it possible to find whether we are in the "Edit" mode
of the document or "View" mode ?
Actually, I wanted to make few changes in the content of the document when
its in View mode. So if I could know the mode of the document, I could just
use some if/else statement.
Thanks in advance for the help.
Manish