users@jersey.java.net

Some module view control issues fixed

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 25 Feb 2009 18:04:02 +0100

Hi,

The following fixes for the model view controller support may be of
interest to people:

   - Fixed issue 221
     https://jersey.dev.java.net/issues/show_bug.cgi?id=226
     When resolving an absolute template name to a fully qualified
template name
     that has a template processor associated with it, then the class
hiararchy is
     trasversed such that if the absolute template name cannot be
resolved from
     a declared resolving class, then resolution is attempted with the
super class
     etc. until the Object class is reached, which if so means that
resolution
     failed. This means views work correctly with cglib proxied
resource classes.

   - Fixed issue 226
     https://jersey.dev.java.net/issues/show_bug.cgi?id=226
     Viewable instances with absolute template names may be set as the
response
     entity no matching resource available. Thus filters and exception
mappers
     can use the model/view/control mechanism.
     In addition it is possible to declare the resolving class
explicitly on
     a Viewable if required.

I plan to tidy up some the JavaDoc tomorrow.

Paul.