1) You need to add the attribute bShowInTree="1" to your component def'n.

2) In the code that parses the form variables and packs them into your 
db, you should probably add something like this:
<cfif Isdefined("form.AllowLink")>
    <cfset stObj.bAllowLink = true />
<cfelse>
    <cfset stObj.bAllowLink = false />
</cfif>

HTH,
Scott

Andrew Scott wrote:
>  
> I have a couple of questions regarding extending dmNavigation type.
>  
> 1) When extending this, I seem to have lost the ability to create a 
> Navigation in the webtop. Question how and why does this happen?
>  
> Code is simple this is all I have in the webapp/packages/dmNavigation.cfc
>
> <cfcomponent
>
> name="dmNavigation" 
> extends="farcry.farcry_core.packages.types.dmNavigation">
>
> </cfcomponent>
>
> 2) I want to add a checkbox in the extended dmNavigation, yet when I 
> do no matter what I do I get errors. I tried doing this in the 
> dmNavigation.cfc
>  
> <cfproperty
> name="bAllowLink"
> type="boolean"
> hint="Allow links in Navigation" >
>  
> And this in the edit.cfm
>  
> <label for="propertyname"><b>property name label:</b>
>  <inpuit type="checkbox" name="AllowLink" id="AllowLink" 
> value="#AllowLink#" />
> </label>
>  
> Sort of works, but will not save the state of the checbox.
>  
> And also
> <label for="propertyname"><b>property name label:</b>
>  <inpuit type="checkbox" name="AllowLink" id="AllowLink" <cfif 
> bAllowLink>checked</cfif> />
> </label>
>
> Errors with can not convert type from "'", or can not convert type 
> from "on"
>
> I can't seem to find any code to handle checkboxes at all.
>
>
>
> -- 
>
>
>
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
> www.aegeon.com.au <http://www.aegeon.com.au>
> Phone: +613  8676 4223
> Mobile: 0404 998 273
>
> >



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to