Jake,

 

Again cheers will look into this as soon as I get a chance, but on quick
inspection I would have thought that I would not need to overwrite any
methods to have the Create Navigation appear in the list on the right. Is
this just a bug in the custom content types that I need to do what you are
suggesting?

 



Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jake Churchill
Sent: Monday, 30 April 2007 1:16 PM
To: [email protected]
Subject: [farcry-dev] Re: dmNavigation

 

http://jake.cfwebtools.com/index.cfm/2006/11/13/Farcry-Extend-a-Type-dmNavig
ation

This might help you out

On 4/29/07, Andrew Scott <[EMAIL PROTECTED]> wrote:

Scott,

 

1) That works for the left but not the right.

 

2) I can't modify the core code, and that is where that code is.



 

On 4/30/07, Scott Talsma <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote: 


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>  http://www.aegeon.com.au>
> Phone: +613  8676 4223
> Mobile: 0404 998 273
>
> >









-- 



Senior Coldfusion Developer 
Aegeon Pty. Ltd.
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