Absolutely right! It's first time I use this CRUD manager. Since it's lack of doc I don't know how to use it for multiple tables (e.g. combine tables).
On 25/05/07, Andrew Scott <[EMAIL PROTECTED]> wrote: > > Ok, > > > > I did a quick research into it. And the docs aren't very clear. So I will > assume that when the component is initialised it reads the DB for the > fields? If this is the case and you are placing this in a persistant scope > like application, then use something like > > > > <cfif not IsDefined("application.datamgr") or url.reinit eq true> > > <cfset application.datamgr = .... /> > > </cfif> > > > > That way you can reinit it at the application level. > > > > Andrew Scott > Senior Coldfusion Developer > Aegeon Pty. Ltd. > www.aegeon.com.au > Phone: +613 8676 4223 > Mobile: 0404 998 273 > > > > > > *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *George Lu > *Sent:* Friday, 25 May 2007 4:34 PM > *To:* cfaussie@googlegroups.com > *Subject:* [cfaussie] Re: Reset Object > > > > Andrew, this is not mine it's from RIAforge. And it works as you said. > > On 25/05/07, *Andrew Scott* <[EMAIL PROTECTED] > wrote: > > Yes but that means nothing to me, is this something you wrote? Is it an > ORM? > > > > The main point is that unless it is an ORM then changes to the DB will not > be reflected back to that component. The question that I would ask is does > that fit into your situation, and if it does there just maybe a > url.reinitattribute to reload the component back into ram. > > > > But it looks like by your question that this is not the case, so that > leave me to believe that this component is something you wrote. And if that > is the case then the changes to your DataMgr.cfc will not automatically > pick up the database changes. > > > > So a little more info on that might help, unless someone else has more > info on this if it a package that someone else has used? > > > > But on a side note, I would maybe seriously look into an ORM, like reactor > or Mark Mandel's transfer. > > > > > > Andrew Scott > 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 "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---