Re: Array formtool - some types create some pick only?
Jeff Coughlin <[email protected]>
| Newsgroups | gmane.comp.cms.farcry.devel |
|---|---|
| Message-ID | <[email protected]> |
Usually what I do in these cases is just create another cfproperty tag and reference a second variable as well. It's not ideal, but it works. It would be cool if we were able to assign individual metadata per related array item. Maybe something like ftJoin="dmEvent[allowCreate=true],dmFacts[allowCreate=false]". But that's just not an option currently. Maybe add a feature request in Jira and see what others think. -- Jeff Coughlin On Aug 15, 2013, at 7:48 AM, Colin Jones <[email protected]> wrote: > In the formtool array interface you can join multiple types using ftJoin eg: > > <cfproperty ftSeq="2" > name="aRelatedIDs" > type="array" > ftJoin="dmEvent,dmFacts,dmFlash,dmNavigation,dmHTML" > ftLabel="Related Content"> > > > > You can also specify an attribute ftAllowCreate="false", which prevents the user creating new items, just pick from the list (http://docs.farcrycore.org/trunk/formtool-array.html). > > In the list above however we want some of the items to be creatable, but not others. i.e. The user can select from the library for all the types, but can only create new itemse for dmEvent, dmFact and dmFlash but not for dmNavigation and dmHTML. > > Is there a way to achieve this or is ftAllowCreate an all or nothing option? > > Cheers, > Colin. -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: farcry-dev-/[email protected] To unsubscribe, email: farcry-dev+unsubscribe-/[email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry --- You received this message because you are subscribed to the Google Groups "farcry-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] For more options, visit https://groups.google.com/groups/opt_out.