The problem might be the way FarCry is handling the field before the DB
update. It may be type checking the data even if it doesn't get saved. Does
the same thing happen if it's a string property?

Blair

On Sat, Dec 19, 2009 at 5:41 AM, Chris Roth <[email protected]> wrote:

> ugh.
>
> I am trying to add object permissions to my verity collections
> (modified farverity) but I can't seem to get the edit handler to
> ignore the bummy viewpermissions properry added to the collection
> type.
>
> In my collection type I have:
>
> <cfproperty ftSeq="10" ftFieldset="Secutity Details"
> name="viewPermission" type="boolean" hint="Dummy field to control view
> permissions"  required="no" ftLabel="Access" ftType="permissions"
> ftPermissions="View" bSave="false" />
>
> on the edit.cfm page I am trying:
>
>    <ft:object legend="Secutity Options" lfields="viewPermission"
> stobject="#stObj#" format="edit" intable="false" bSave="false" />
>
> when I try to create a new object I get:
>
> cannot convert the value " " to a boolean
>
> I cant seem to get this field ignored on setdata()
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: 
> [email protected]<farcry-dev%[email protected]>
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry

-- 
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