[xwiki-devs] XWiki - Property field in disable state.
Hi, I have created a property in the class. And i want that property in disable state in the document add page. Can any one know how set this option.? -- Prathap
Disabling a class property is not possible yet (I have been working on that recently and have proposed a solution... look at the thread about object/class editor)... but you could change you ClassSheet and add something like: foreach(prop in $class.properties) ... if(prop.name!="myname") displayIt ... #end not nice anyway :) Pascal On Tue, Jul 15, 2008 at 1:56 PM, Prathap Pandian <[email protected]> wrote:
Hi,
I have created a property in the class. And i want that property in disable state in the document add page.
Can any one know how set this option.?
-- Prathap _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Thanks.. for your information.. -- Prathap On Tue, Jul 15, 2008 at 5:35 PM, Pascal Voitot <[email protected]> wrote:
Disabling a class property is not possible yet (I have been working on that recently and have proposed a solution... look at the thread about object/class editor)...
but you could change you ClassSheet and add something like: foreach(prop in $class.properties) ... if(prop.name!="myname") displayIt ... #end
not nice anyway :)
Pascal
On Tue, Jul 15, 2008 at 1:56 PM, Prathap Pandian <[email protected]
wrote:
Hi,
I have created a property in the class. And i want that property in disable state in the document add page.
Can any one know how set this option.?
-- Prathap _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Bill Cosby - "Advertising is the most fun you can have with your clothes on."
participants (2)
-
Pascal Voitot -
Prathap Pandian