Hi Dan,

Thanks for offering to help. I suspect I've been looking at the wrong code
for scaffolds.

I was struggling to turn this on with an existing project yesterday, so I
downloaded the latest code from svn today, and tried a clean sample project.

I used the instructions from the wiki for setting up scaffolding, which seem
to the same as for MG2. Just nothing happens...

The GDMs work fine, and I've scaffolding turned on in coldspring.xml. I add
<scaffold> tags to the modelglue.xml file, but that's as far as it gets.

Thanks

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dan Wilson
Sent: 22 July 2009 16:59
To: [email protected]
Subject: [Model-Glue] Re: Scaffolding not working in MG3


Scaffolding is implemented in mg3. Do you have a recent version?

Have you enabled scaffolding in your coldspring.xml?


I'm on a client site right now and am typing this to you on my phone.
This means I can't be much direct help now, but i'll help you look
into this later.

In short, mg3 has scaffolding support and there have even been new
features added. I can give you more specifics later, but I don't think
the scaffolds controller is involved.


Dan

On 7/22/09, Gareth Cole <[email protected]> wrote:
>
> 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
>>
>>
>> >
>
>
>
> >
>


-- 
"Come to the edge, he said. They said: We are afraid. Come to the
edge, he said. They came. He pushed them and they flew."

 Guillaume Apollinaire quotes



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

Reply via email to