[opencms-dev] Fwd: Issue with default values in the content type
Schliemann, Kai
K.Schliemann at comundus.com
Wed Jul 15 15:05:12 CEST 2015
Hi,
did you remove the defaults definition from your nested xsd (address.xsd) when you defined the defaults in your main xsd (abc.xsd)?
HTH
Best regards
Kai
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Ashish Shekhar
Gesendet: Mittwoch, 15. Juli 2015 14:49
An: The OpenCms mailing list
Betreff: [opencms-dev] Fwd: Issue with default values in the content type
Hi.
Does anyone have idea how to set the default value for nested content type? I tried all the approaches suggested but doesn't make any difference.
-Ashish
---------- Forwarded message ----------
From: Ashish Shekhar <ashish.shekharcsc at gmail.com<mailto:ashish.shekharcsc at gmail.com>>
Date: Mon, Jul 13, 2015 at 2:57 PM
Subject: Issue with default values in the content type
To: The OpenCms mailing list <opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>>
Hi,
I have created content type for which I have configure xsd as per my need.
The default value which is coming fine for simple xml content type but when I used nested content type the default value is not coming.
I want the default value should come to every nested items when ever I add new instance + but its not coming to a single instance.
I am attaching my xsd. Does anyone have idea what is missing here?
Thanks
Ashish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20150715/463b10f2/attachment.htm>
More information about the opencms-dev
mailing list