[opencms-dev] Default values in structured content XSD
Paul-Inge Flakstad
flakstad at npolar.no
Tue Jul 17 12:09:33 CEST 2012
Hi again,
Posted the question a bit too soon - I was able to find the cause of my problems. It was a typo in the "resourcebundle" node in my XSD.
Cheers,
Paul
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Paul-Inge Flakstad
Sent: 17. juli 2012 11:46
To: The OpenCms mailing list
Subject: [opencms-dev] Default values in structured content XSD
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/8e69f5da/attachment.htm>
More information about the opencms-dev
mailing list