Wasn't this the origional purpose of the validation attribute added to
Beta1 class properties?
________________________________
From: Sergiu Dumitriu [mailto:sergiu.dumitriu@gmail.com]
Sent: 22 February 2007 10:04
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] title mandatory for documents
3 options:
1. Make a javascript that checks this. There is already one that checks
the document content, you can add there the title check.
2. Modify the com.xpn.xwiki.web.SaveAction to refuse documents without a
title. This should be configurable, as not all users want this. You can
then submit a patch, so that we can integrate it in the trunk.
3. Make a JIRA issue (
http://jira.xwiki.org/ ) requesting 2, if you
don't have the time to implement it. Maybe somebody else has some spare
time.
On 2/22/07, Lars Heller <l.heller(a)web.de> wrote:
Good morning everybody,
I would like the document's title to be a mandatory field. How
can
this be achieved?
Thanks for any ideas/advices/help,
Lars Heller
--
You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto: sympa(a)objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
http://purl.org/net/sergiu