[opencms-dev] Default values in structured content XSD
Paul-Inge Flakstad
flakstad at npolar.no
Tue Jul 17 11:45:44 CEST 2012
Hi all,
I can't seem to get the default values inserted in my structured content. This is what I've used in my XSD:
...
<xsd:element name="ListText" type="OpenCmsHtml" />
...
<default element="ListText" value="%(key.form.list.text)" />
...
And in workplace.properties:
forms.list.text = This is the default value
But I only get ??? forms.list.text ??? inserted in my structured content.
I also tried updated the messages.properties file in my module .jar to contain the "forms.list.text" entry, but that didn't help.
What am I missing?
Thanks,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120717/a761de90/attachment.htm>
More information about the opencms-dev
mailing list