Re: One more question on nav-app
"Sasvata (Shash) Chatterjee" <[email protected]> Sat, 07 Aug 2004 15:03:55 -0500
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <[email protected]> |
Carlos, > Howdy Y'All (Texan for Hello! ;-) > I'm not only Texan, but an Aggie as well...so means a lot to me :-) > One more question, I am having trouble understanding the app-nav (from > the doco). > > is this a sample to illustrate that I can define page navigation rules > among various web clients (struts,jsf,ww)? > > and, also to illustrate the creation of piece-parts of a single UI > page in different frameworks/tag libs? > app-nav is an enhanced menu system. It allows each Keel app to contribute pieces of the menu. It then takes the logged-in user's authorization levels into account to display only those items that are permitted for the user. It knows nothing about the particular web-clients, it just hands a series of (menu level, menu title, URL) combinations to a Javascript menu-generator. > if none of the above, is there a way in keel to have a shared > navigation rules (shared controller) among web-ui-frameworks? > Keel's business objects (models) know nothing about the client framework. Navigation between models are done using generic "Command" objects which contain the next model to navigate to, and the parameters to apply. On the client side, based on the UI framework, use techniques documented on the following pages: http://66.105.113.115/vqwiki-2.3.5/jsp/Wiki?UserInterfaces http://66.105.113.115/vqwiki-2.3.5/jsp/Wiki?UserInterfaceHOWTO HTH, Shash