[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/wfmc/ Added
loading of XPDL process definitions from ZCML.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Jan 20 17:45:11 EST 2005
Hi Benji,
you did some mistakes in the schema below:
On Thursday 20 January 2005 17:36, Benji York wrote:
> +class IdefineXpdl(zope.interface.Interface):
> +
> + file = zope.configuration.fields.MessageID(
> + title=u"File Name",
> + description=u"The name of the xpdl file to read.",
> + )
I think we have a file field for this. It will automatically return the
absolute path for you.
> + process = zope.configuration.fields.MessageID(
> + title=u"Process Name",
> + description=u"The name of the process to read.",
> + )
> +
> + id = zope.configuration.fields.MessageID(
> + title=u"ID",
> + description=(u"The identifier to use for the process. "
> + u"Defaults to the process name."),
> + required=False,
> + )
The id is usually not a message id; you do not want to translate it. Use
TextLine or something more restrictive instead.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-Checkins
mailing list