Jake,

I do not have the bFriendly... And I can tell you that when I follow the
instructions on the wiki, the options on the right DO NOT contain the option
for create navigation. However it does appear on the tree on the left.

I might try the bFriendly when I get a chance and see if that is the key to
getting it on the right.



On 5/2/07, Jake Churchill <[EMAIL PROTECTED]> wrote:
>
>  Are you saying that when you click on a node in the tree, create
> Navigation doesn't show up in the list of links on the right?  If so, adding
> bUseInTree="1" to the component declaration fixes the problem.  I just
> tested it on one of my sites and removing bUseInTree="1" made the create
> navigation disappear from the right click on the left and the menu links on
> the right.  Adding it back fixed the problem.  Here's my component
> declaration:
>
>
>
> <cfcomponent name="dmNavigation" displayname="Navigation" extends="
> farcry.farcry_core.packages.types.dmNavigation" bUseInTree="1"
> bFriendly="1">
>
>
>
> _____
>
>
>
> Jake Churchill
>
> CF Webtools
>
> 11204 Davenport, Ste. 200b
>
> Omaha, NE  68154
>
> http://www.cfwebtools.com
>
> 402-408-3733 x103
>  ------------------------------
>
> *From:* [email protected] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Scott Talsma
> *Sent:* Tuesday, May 01, 2007 8:07 AM
> *To:* [email protected]
> *Subject:* [farcry-dev] Re: dmNavigation
>
>
>
> I guess I am not sure where your issue is then....
>
>
>
> Scott Talsma
>
> CTO
>
> *echo•eleven*
>
> 404.845.3458
>
>
>
>
>  ------------------------------
>
> *From:* [email protected] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Andrew Scott
> *Sent:* Monday, April 30, 2007 6:41 PM
> *To:* [email protected]
> *Subject:* [farcry-dev] Re: dmNavigation
>
> Scott,
>
>
>
> Yes I know that, but that doesn't solve my problem with checkboxes.
>
>
>
>
>
> On 5/1/07, *Scott Talsma* <[EMAIL PROTECTED]> wrote:
>
> The actual saving is handled by the core (setData()).  However, it takes a
> parameter (a struct) w/ keys that match the properties of the object.  So
> even though you added a new property, you can still use the default
> implementation of setData(), which is in the core.
>
>
>
> So you override the edit presentation layer (the form), but you still use
> the core's setData().
>
>
>
> Scott Talsma
>
> CTO
>
> *echo•eleven*
>
> 404.845.3458
>
>
>
>
>  ------------------------------
>
> *From:* [email protected] [mailto: [EMAIL PROTECTED]
> *On Behalf Of *Andrew Scott
> *Sent:* Monday, April 30, 2007 8:06 AM
> *To:* [email protected]
> *Subject:* [farcry-dev] Re: dmNavigation
>
>
>
> Scott Issue #2, or did you forget what you wrote.
>
>
>
> When saving data that is handled by the core code, is it not?
>
>
>
>
>
> On 4/30/07, *Scott Talsma* < [EMAIL PROTECTED]> wrote:
>
>
> Not sure about it not appearing on the right.  Maybe a permissions issue?
>
> Regarding modifying core code, what is not the solution.  You
> essentially need to reimplement the edit functionality that was done in
> the core.  Basically, copy the dmNav folder out of core into your
> directory,  customize it, and override the edit function.
>
> Andrew Scott 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 <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
>
> Aegeon Pty. Ltd.
> www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273 <BR
>
>
> >
>


-- 



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