OK. I'm a bit more confused with this now. I figured out that editing the ModelGlueConfiguration.xml file and adding <value>/ModelGlue/gesture/modules/scaffold/config/scaffolding.xml</value> to the requestPhases property gets the generateScaffolds() in the ScaffoldController.cfc going.
The trouble now, is that generateScaffolds() doesn't generate scaffolds. It looks the same as the generateEvent() function in GenerationController.cfc. It's starting to look like the feature hasn't been fully implemented. I'd appreciate it if someone can tell me how they got scaffolding working in MG3? I used the scaffolding extensively in my previous MG2 projects, as it saved me a lot of development time. I'd hoped to use them with MG3, but I'm running out of time trying to get this working. If there's still development to be done on scaffolding in MG3, I'll happily work on this, if someone can explain how it should be implmented. Thanks, Gareth -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Chris Blackwell Sent: 22 July 2009 14:03 To: [email protected] Cc: <[email protected]> Subject: [Model-Glue] Re: Scaffolding not working in MG3 is scaffolding now in trunk, or is it still just in the scaffold branch in svn? chris On 22 Jul 2009, at 13:46, "Gareth Cole" <[email protected]> wrote: > > I checked that and it's fine. > > I've been trying to dig into this, but it's a bit hard to figure out > what > should be happening. > > I know that the function generateScaffolds() isn't being called in > /ModelGlue/gesture/modules/scaffold/controller/ScaffoldController.cfc > This is despite it being set to listen for the > 'modelglue.modulesLoaded' > message in /ModelGlue/gesture/modules/scaffold/config/scaffolding.xml > > I know that the 'modelglue.modulesLoaded' message has been broadcast > from > the debug output. > > My guess is that the file > /ModelGlue/gesture/modules/scaffold/config/scaffolding.xml hasn't been > loaded, but I'm not sure where that should have been set. > > -----Original Message----- > From: [email protected] [mailto:model- > [email protected]] On > Behalf Of Sean Coyne > Sent: 22 July 2009 12:56 > To: model-glue > Subject: [Model-Glue] Re: Scaffolding not working in MG3 > > > make sure your <scaffold> tag is within the <event-handlers> block > > On Jul 22, 7:00 am, "Gareth Cole" <[email protected]> wrote: >> Hi, >> >> I'm not sure if I'm missing something obvious, but I can't get >> scaffolding >> to work in MG3. I add <scaffold object="MyObj" /> tags to my >> modelglue.xml >> file, but nothing gets generated. No error messages or anything else. >> >> I've got GDMs working fine and I've got the latest version of model- >> glue >> from svn. I can see that there's scaffolding code in there, but I >> can't >> figure out why nothing is generated. I've configured the scaffolding >> sections of coldspring.xml. Is there anything else I need to set? >> >> Thanks, >> >> Gareth > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "model-glue" 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/model-glue?hl=en For more about Model-Glue, check http://www.model-glue.com . -~----------~----~----~----~------~----~------~--~---
