I suppose you're using the {{html}} macro so first make sure your HTML
is valid (or use {{html clean=false}} instead). For instance, make
sure you don't output inline HTML elements (e.g. any form field)
directly inside the form tag because it must have block-level elements
as direct children. Wrap
In fact, I have same behaviour (no output) if I replace displayHidden by
displayView or displayEdit ...
I must be doing something wrong but couldn't find it ... :/
--
View this message in context:
http://xwiki.475771.n2.nabble.com/How-to-use-doc-displayHidden-tp7020234p7031174.html
Sent from
Hello,
I'm trying to create a form on a page, and would like to use displayHidden
but I couldn't make it work as I expected ...
This is what I do (in groovy, for a class Space.Class, and for its field
field) :
As output, viewing the html source reveals that I get the form but nothing
inside