On Jun 25, 10:34 pm, Phil Kemp <[email protected]> wrote:
> In the FarCry core code, there is a clause which translates to "if the label
> field is emtpy, don't do workflow action". My type definition didn't have a
> label property and hence, no workflow actions.

I suspect this is some legacy code to prevent incomplete objects from
passing through to approved -- it might be more helpful if the code
actually through an error explaining the problem ;)

Please raise an issue at http://bugs.farcrycms.org/ and copy in the
offending code snippet (noting the filename and farcry core version)
-- and I'll see if I can't prioritise a fix for that.

On a related note, the label should always be filled in. The framework
looks for a bunch of likely candidates by default -- things like
title, name and so on.  But you can nominate any property or
combination of properties to be the label by simply using the
blabel="true" attribute for a cfproperty:
http://docs.farcrycms.org/display/FCDEV40/Form+Tool+Property+Metadata

-- geoff
http://www.daemon.com.au/
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to