thanks to some assistance from the dazzling Daemonites Blair and Justin I
have sorted out the dbGateway side of the issue (
https://farcry.jira.com/browse/FC-2598 )

Now I have hit the UI side of the wall - how to have a list with a blank
value.
farcry/core/packages/formtools/list.cfc
for type "radio" has
<input type="radio" name="#arguments.fieldname#" id="#arguments.fieldname#"
 class="required #IIF(listLen(lData) eq tmpCount,DE("
#arguments.stMetadata.ftClass#"),DE(""))#" value="#optionValue#"<cfif
*listFindNoCase(arguments.stMetadata.value,
optionValue)*> checked="checked"</cfif> />

Is there a reason for the selected test to use listFindNoCase()?

I have changed it to a EQ test which has resolved my issue
<input type="radio" name="#arguments.fieldname#" id="#arguments.fieldname#"
 class="required #IIF(listLen(lData) eq tmpCount,DE("
#arguments.stMetadata.ftClass#"),DE(""))#" value="#optionValue#"<cfif
*arguments.stMetadata.value
EQ optionValue*> checked="checked"</cfif> />




On 16 December 2011 10:24, AJ Mercer <[email protected]> wrote:

> I have farcry 6.1.3 with ms sql server
> and I can not work out how to get a Boolean to default to NULL
>
>
> <cfproperty ftSeq="1122" ftwizardStep="Upload" ftFieldset="File Details"
>  name="bMembersOnly"    type="boolean" hint="only members can see."
> required="no" dbNullable="true" default="NULL" ftLabel="Members Only"
>             ftType="list" ftList=":Inherit,0:No,1:Yes" ftDefault=""
> ftRenderType="radio" ftMultipleLines="false"
> />
>
> --
>
> *AJ Mercer*
> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
> community="Open" /> <http://webonix.org>
> http://twitter.com/webonix
> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/>
>
>


-- 

*AJ Mercer*
<webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
community="Open" /> <http://webonix.org>
http://twitter.com/webonix
Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/>

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