Re: the tutorial

"Shash Chatterjee" <[email protected]> Mon, 17 May 2004 10:52:43 -0600
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
As it happens, I debugged this issue this weekend, and fixed in CVS.
If you look in the system.xconf for app-navigate, the createdb model is
defined for the "Keel" menu, but "Keel" is allowed only for users in the
"root" group, which means that you'll only see the Keel menu after logging in,
which will only happen after the tables are created.  Nice chicken-'n-egg
situation!  (The part about protecting the Keel menu for "root" users happened
  between the writing of the tutorial and Keel 2.0 release some time).

So, solutions:

- Access URL directly as suggested by Steve
- Take out "<groups><group>root</group></groups>" from the Keel menu config
- Add a new top-level menu item that allows unrestricted access to createdb
- For Keel-2.1-dev I chose to move the createdb model under the "Data" menu

HTH,
Shash

> Hi John.
> 
> That is why I sent you the URL, to bypass the menu.
> Point your browser to the following address;
> 
> http://<replace with keel system>:8080/struts/model.do?model=createdb
> 
> For example;
> http://localhost:8080/struts/model.do?model=createdb.
> 
> Regards,
> Steve
> 
> John Quinn wrote:
> 
> >Thank you for your response.
> >The problem is, I cannot get to the menu item to
> >create the database. The menu item to create the
> >database does not appear for me. Do you know another
> >way to create the database, other than through the
> >non-existent menu item? 
> >Thank you.
> >--- Stephen Davidson <[email protected]> wrote:
> >  
> >
> >>John Quinn wrote:
> >>
> >>    
> >>
> >>>I am following the tutorial. When I run the sample,
> >>>      
> >>>
> >>my
> >>    
> >>
> >>>main menu does not match what is in the tutorial.
> >>>      
> >>>
> >>My
> >>    
> >>
> >>>main menu consists of:
> >>>
> >>>User - HOJ - Data
> >>>
> >>>There is no Keel menu. Hence, I cannot Create
> >>>      
> >>>
> >>Database
> >>>from it. I tried downloading app-hoj-1.0-src.zip
> >>and
> >>    
> >>
> >>>using the build file in it, but I get the same
> >>>results.
> >>>
> >>>Have you seen this problem and do you have any
> >>>suggestions? Thank you.
> >>> 
> >>>
> >>>      
> >>>
> >>Hi John.
> >>
> >>You do not get the "Keel" menu until after you have
> >>logged in.
> >>You can not log in until after you have created the
> >>database.
> >>
> >>http://<replace with keel
> >>system>:8080/struts/model.do?model=createdb
> >>
> >>Regards,
> >>Steve
> >>
> >>-- 
> >>Java/J2EE Developer/Integrator
> >>Chair, Dallas/FortWorth J2EE Sig
> >>214-724-7741
> >>
> >>
> >>_______________________________________________
> >>User mailing list
> >>[email protected]
> >>
> >>    
> >>
> >http://lists.keelframework.org/listinfo.cgi/user-keelframework.org
> >
> >
> >
> >	
> >		
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Movies - Buy advance tickets for 'Shrek 2'
> >http://movies.yahoo.com/showtimes/movie?mid=1808405861 
> >_______________________________________________
> >User mailing list
> >[email protected]
> >http://lists.keelframework.org/listinfo.cgi/user-keelframework.org
> >
> >  
> >
> 
> -- 
> Java/J2EE Developer/Integrator
> Chair, Dallas/FortWorth J2EE Sig
> 214-724-7741