Marco, I think this may be what you're looking for:
What you would want to look at for those general functions is probably in farcry/core/fourq/fourq.cfc. That's what the basic types is extended from, and hence most of the other types. That said, you can also look at http://www.farcrycore.org/cfcdoc/. I found this some other time, and although it's only FC5.0.0 (updated Aug 8), it's still useful I think. There you can browse by components (it doesn't have *all* of the code base) and search for fourq -> fourq. If you're putting things on an execute page, I would probably use getData to get all of the current values, and then replace the ones you need, and then setData. setData is available to all content types, and you can put in any combination of proporties to update. createData is used for doing things the right way. Once you find a suitable function, you might want to go back into your own code to make sure it works the same. Best, Tomek On Mon, Oct 20, 2008 at 8:41 AM, Marco van den Oever < [EMAIL PROTECTED]> wrote: > > Geoff thanks, so you can use the framework to insert and update, but > also select? Where can i find info about how to work with that? > And what about when you need all kinds of functions that you normally > would put in to a functions component, this means that you have to > place all that kind of functions on the execute page? > > Tomek thanks, that is also my thought but understanding what Geoff > says it's possible to insert and update with the framework directly on > the execute page, that probably means that those default values as > "createdby" will be filled in automatically and correct. > > It's just a lack of understanding all the possibilities of the > framework etc that make me code more difficult then needed, but, we're > getting there :) > > On Oct 20, 4:03 am, "Tomek Kott" <[EMAIL PROTECTED]> wrote: > > My first brute force thought would be to simply go into the base type > (such > > as farcry.core.packages.types.type) and change the default value there to > > something like a space or something. > > Maybe I'm not quite understanding you though... > > > > Although, you could always just create your own > > farcry.projects.packages.types.types and it would overwrite the default I > > believe. Maybe I'm wrong though, never know these days. > > > > Tomek > > > > On Sun, Oct 19, 2008 at 10:28 AM, Marco van den Oever < > > > > [EMAIL PROTECTED]> wrote: > > > > > I made i custom type that is not displayed on the site but purely used > > > as db structure generation through the deploy function. > > > > > Automatically all kinds of default fields as "createdby" are > > > generated, i know that that is just the way it is and that is just > > > fine, but how can i provide these fields with default (dummy) values > > > from a insert query statement? > > > > > Anyone has any insight in this? Is it just a manner of providing > > > correct corresponding data type values (dummy) and thereby bypass the > > > errors that are generated when no values are provided. > > > > > Or am i thinking to difficult? > > > > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to farcry-dev@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---