Details
-
Improvement
-
Status: Closed
-
High
-
Resolution: Fixed
-
2.01.00m03
-
None
Description
It is not possible to create a property and leave it empty (not even "") with current template engine.
For example, I have
[hippo:facetselect] > nt:unstructured
- hippo:docbase (string) mandatory
- hippo:facets (string) mandatory multiple
- hippo:values (string) mandatory multiple
- hippo:modes (string) mandatory multiple < 'select', 'stick', 'clear'
+ * multiple
as nodetype for facetselect, BUT, I need to be able to create
node = node.addNode("n", HippoNodeType.NT_FACETSELECT);
node.setProperty(HippoNodeType.HIPPO_DOCBASE, "/test");
node.setProperty(HippoNodeType.HIPPO_FACETS, new String[] { });
node.setProperty(HippoNodeType.HIPPO_VALUES, new String[] { });
node.setProperty(HippoNodeType.HIPPO_MODES, new String[] { });
So, only adding the property, but have an empty string array
Attachments
Issue Links
- causes
-
CMS-497 Present and handle multiple mandatory fields without default value in templates
- Closed