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

Reply via email to