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