Provide a mechanism to make it easier to override components in stripes without
editing web.xml
-----------------------------------------------------------------------------------------------
Key: STS-436
URL: http://mc4j.org/jira/browse/STS-436
Project: Stripes
Issue Type: New Feature
Reporter: Tim Fennell
Assigned To: Tim Fennell
It'd be nice to be able to override parts of Stripes (TypeConverterFactory,
TypeConverters, ActionResolver etc.) without having to write more and more
init-params in the web.xml. One way to do this would be to require the user to
specify a single option like:
stripes.extensions.package=com.myco.app.stripes.ext
We could then scan all the classes in this package and do "sensible" things
with them, e.g.
if they implement a configurable component, use it instead of the default one
(e.g. ActionResolver)
if they implement TypeConverter or Formatter then wire them in (have to
figure out how/when to use them, e.g. for which classes)
if they implement Interceptor then add them to the interceptor list
etc.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development