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
