From Documentation
Revision as of 08:41, 30 January 2020 by Matthieu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property: preserve-all-blank

Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: true
[Since 8.0.0]

This property control how the zul parser interpret whitespaces (such as line breaks and spaces) between zul elements.

Considering this source:

          <label value="text" />

If preserve-all-blank is true, the result will be:

text link

If preserve-all-blank is false, the result will be:


Note: the same element will not cause whitespace if no whitespace exists in the source.

Considering the following source:

          <label value="text" /><a>link</a>

will always return: textlink, since no whitespace exists between the label and the link element.


Last Update : 2020/01/30

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.