[xwiki-devs] Set Mandatory field with AbstractMandatoryDocumentInitializer
Hello, i use AbstractMandatoryDocumentInitializer for creation of some classes and i want to set some fields mandatory. Is that possible? Regards, Matthias -- View this message in context: http://xwiki.475771.n2.nabble.com/Set-Mandatory-field-with-AbstractMandatory... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hello. What do you mean by "mandatory"? You can see an example of code there: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwik... or https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwik... I hope it helps, Thanks, Louis-Marie 2013/11/19 Matthias Wegner <[email protected]>
Hello,
i use AbstractMandatoryDocumentInitializer for creation of some classes and i want to set some fields mandatory. Is that possible?
Regards, Matthias
-- View this message in context: http://xwiki.475771.n2.nabble.com/Set-Mandatory-field-with-AbstractMandatory... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
See http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+valid... . Hope this helps, Marius On Tue, Nov 19, 2013 at 10:24 PM, Matthias Wegner <[email protected]> wrote:
Hello,
i use AbstractMandatoryDocumentInitializer for creation of some classes and i want to set some fields mandatory. Is that possible?
Regards, Matthias
-- View this message in context: http://xwiki.475771.n2.nabble.com/Set-Mandatory-field-with-AbstractMandatory... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (3)
-
Guillaume "Louis-Marie" Delhumeau -
Marius Dumitru Florea -
Matthias Wegner