Gabriel,

The scaffold tag must indeed be within the <event-handlers> tag.

As to case sensitivity, I know this matters with Oracle databases, I
would not be suprised if it applied to other DBs as well.

I can not post any files since I am at work and away from all of my
personal code.


dw



On 10/6/06, g davis <[EMAIL PROTECTED]> wrote:
Dan,

yes I do have data... no the scaffold tag is not in an event handler tag...
from the video joe rinehart also did not put the scaffold tag inside an
event handler... however i looked on the mg site message board (Getting
Started) and now i am seeing other users who say

Re: scaffolding help
scaffolds apparently must be within the <event_handlers> tag.

Case sensitive
And apparently are case sensitive. Must match exactly what is in the
reactor.xml object.

Do you agree with both of those comments?

can you please post a sample modelGlue.xml with scaffolding that works?

thanks
Gabriel


>From: "Dan Wilson" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: Re: [Reactor for CF] adding a scaffold
>Date: Fri, 6 Oct 2006 08:05:14 -0400
>
>Do you have any data in your table?
>
>Is the Scaffold tag inside the event handlers tag?
>
>
>dw
>
>
>
>On 10/6/06, g davis <[EMAIL PROTECTED]> wrote:
>>hi,
>>
>>I am trying to use scaffolds..
>>
>>I believe I have set up at least some things correctly because when i hit
>>my
>>page I see in the debugging
>>
>>Using ORM Adapter: ModelGlue.unity.orm.ReactorAdapter...
>>
>>anyway, I created a user table with a userid as a primary key and cf
>>datasource "dsn" that points to the db where the user table resides, then
>>
>>I added this line to my modelGlue.xml
>>
>>         <scaffold object="user">
>>
>>         </scaffold>
>>
>>and in my reactor.xml file I added
>>
>><reactor>
>>   <config>
>>        <project value="newApp" />
>>        <dsn value="dsn" />
>>        <type value="mssql" />
>>        <mapping value="/MyApplicationData" />
>>        <mode value="development" />
>>   </config>
>>
>>   <objects>
>>            <object name="User">
>>                 <field name="userId" sequence="User_userId" />
>>           </object>
>>    </objects>
>></reactor>
>>
>>however when I try to hit the page with
>>
>>http://localhost/newApp/?event=user.list
>>
>>I get :
>>
>>Model-Glue: There is no known event handler for "user.list".
>>
>>From joe rinehart's 9 minute MG:Unity video blog I was under the
>>impression
>>I was supposed to see a generated page
>>
>>can anyone tell me what I am doing wrong?
>>
>>thanks
>>gabriel
>>
>>
>>
>>
>>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>-- --
>>Reactor for ColdFusion Mailing List
>>[email protected]
>>Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
>>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>-- --
>>
>>
>
>
>--
>"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
>
>
>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>-- --
>Reactor for ColdFusion Mailing List
>[email protected]
>Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>-- --
>




-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --




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


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to