|
Created an attachment (id=14495)
Superclass for mappers to share common behavior. Created an attachment (id=14496)
Patch three *Mapper classes to extend AbstractMapper Since the mappers all work in about the same way, it makes sense to have an I used the basis of your solution Joe to resolve this - but modified the LookupCommand so that the "mapper" implementations could inherit directly from that.
Solution retains backwards compatibility with previous versions by checking for a catalog in the context under the catalogKey - but catalogKey (i.e. setCatalogKey/getCatalogKey methods) are now deprecated and LookupCommand "catalogName" should be used instead. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://thread.gmane.org/gmane.comp.jakarta.commons.devel/63264
I'm attaching a patch and a new class which I think deal with the main issue –
that the catalog is sometimes stored in the request scope instead of in the
context – but I would really prefer someone who is using this stuff to champion
this ticket, review the patches and such. I don't have time to build and test a
ChainProcessor servlet.