Re: [Webwork-devel] RE: Refactorings... Again
Brought to you by:
baldree,
rickardoberg
From: Philipp M. <me...@me...> - 2002-03-01 15:36:03
|
On Fri, Mar 01, 2002 at 09:51:16AM -0500, Jim...@do... wrote: > My opinion is we should have one configuration file for core WebWork > settings, and one configuration per view technology incorporated. > > For example, if I choose to use WebWork-Velocity, I should have 2 > configuration files. I don't like that becauce if I like to use more than one view technology. Therefor I suggest seperating the core webwork settings and the view mapping. The webwork settings should be set via the interface that the servlet spec provides: web.xml and deployment settings. The view mapping should be configurable to be either property file based or database based and so on. That means we need an interface which provides the action name to action class mapping and an action name to view mapping. Should be easy to do IMHO. -billy. -- Meisterbohne Söflinger Straße 100 Tel: +49-731-399 499-0 eLösungen 89077 Ulm Fax: +49-731-399 499-0 |