Re: [xwiki-users] help how to inherit a class from another

2014-01-05 Thread Valdis Vītoliņš
If you mean these classes defined in class editor defined
in .../xwiki/bin/view/XWiki/XWikiClasses
AFAIK these doesn't support extension.

So, you need to use composition instead. Add object with type of the
common class, and for few other documents add another object with type
of extended class.

You will need to adjust class sheet object to display fields of other
tyepe of objects also (look at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Sheet+Module )

Valdis

 hi,
 
 the Class I mean is XClass, which is used in Wiki pages.
 
 thanks,
 B.R./ZZH
 
 
 2014/1/5 Zhihua Zheng zhihu...@gmail.com
 
  hi all,
 
  I have couple of classes they are similar, most of them are the same, but
  some small parts are different. So that I want to use a arch that there is
  a common class holds all the common properties, and the real classes are
  inherited from the common.
  But how to achieve that?
 
  thanks!
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Adding a custom field to a page

2014-01-05 Thread Sunil Khiatani
Hi,

Is it possible to change the value of a page's 'version summary' after it 
saved?  How can I do this using the UI?


Regards,

Sunil
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users