|
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
Henri Yandell made changes - 16/May/06 09:52 AM
Henri Yandell made changes - 16/May/06 11:10 AM
Henri Yandell made changes - 16/May/06 12:15 PM
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.
Niall Pemberton made changes - 27/Apr/07 04:06 AM
Henri Yandell made changes - 02/Jan/08 07:01 AM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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.