Hi Joe,
On Tue, Dec 1, 2009 at 6:00 PM, Joe Shuster <joseph.shuster(a)gmail.com>wrote;wrote:
I have created a class that will be used to display
SOPs (standard
operating
procedures). I have assigned the class its required properties (mostly of
data types String and TextArea) and generated the class sheet and class
template. When I create new documents/instances of the SOPClass, the
documents look like the SOPTemplate.
I've tried populating the constant properties in the SOPTemplate and
creating a new document. The new document looks like the SOPTemplate in
structure but does not have any values associated with its properties.
Do you mean you edited the SOPTemplate page with the object editor and added
your constant properties in the relevant object fields?
If you did so, when creating a new SOP those values should be copied from
the template.
Is
there a way that the SOPTemplate can propagate it's property values to new
instances of the SOPClass? That is, I want some (but not all) of the
properties of SOPClass to be the same for every new document/instantiation
of the SOPClass. Is this possible? Similarly, if these constant
properties
are modified in the future, I'd like the changes to be distributed across
all instances of SOPClass.
Is this value supposed to be user-editable? If it is, it's gonna be hard to
propagate if it gets changed. On the other hand if it's not user-editable,
there's not much of a point in using an object to store it.
Guillaume
Any and all help is greatly appreciated.
Joe
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/