Steve:
Can't we do this now with a sequence almost as easily? Granted we need a bit more
config, but I'm not sure about the tight coupling here...
Mike
On Thu, 30 Oct 2003 12:02:07 -0600
Stephen Davidson <[EMAIL PROTECTED]> wrote:
> Greetings.
>
> I was wondering about the feasibility of making the following change to the Keel
> base Model, to allow for the ready inclusion of the Keel Menu in all applications....
>
> Add;
>
> public ModelResponse execute(ModelRequest req) throws ModelException{
>
> ModelResponse res;
> if (MENU_NOT_SUPPRESSED)
> res = ((Model)req.getService(ROLE,"nav.navigate")).execute(req);
> else
> res = req.createResponse();
>
> return(res);
> }
>
> This would automatically add the Keel Navigation Menu to the response by any class
> that called super.execute to create its response object. The MENU_NOT_SUPPRESSED
> could be a final static set by a config parameter read at
> load time (default = false).
>
> Then all developers would have to do would be to include the appropriate page
> fragements in their JSPs.
>
> Suggestions?
>
> Regards,
> Steve
>
> --
> Java/J2EE Developer/Integrator
> Co-Chair, Dallas/FortWorth J2EE Sig
> 214-724-7741
>
>
> http://keelframework.org/documentation
> Keelgroup mailing list
> [EMAIL PROTECTED]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
Michael Nash
JGlobal Ltd
Next-Generation Web Application Development and Open Source Support
http://www.jglobal.com
Bahamas Commerce and Trade
Offshore eCommerce Hosting and Business Services
http://www.bahamascommerce.com
http://keelframework.org/documentation
Keelgroup mailing list
[EMAIL PROTECTED]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com