opensubscriber
   Find in this group all groups
 
Unknown more information…

d : dev@struts.apache.org 13 March 2009 • 2:33AM -0400

Re: JSON plugin 0.33 and Struts 2.1.6 (integrated with Spring 2.5)
by Dale Newfield

REPLY TO AUTHOR
 
REPLY TO GROUP




Gregory Slonim wrote:
>         <interceptor-ref name="json">
>             <param name="enableSMD">true</param>
>         </interceptor-ref>

Is this a stack defined elsewhere or just a single interceptor?  If the
latter, you're not *adding* this interceptor, you're using *just* this
interceptor.

>     public final List<String> getPayPlanTypes()
>     {
>         return payPlanTypes;
>     }
>
>     public final void setPayPlanTypes(List<String> payPlanTypes)
>     {
>         this.payPlanTypes = payPlanTypes;
>     }

I recognize that "final" for methods is an attempt to make this
not-over-ridable, but I wonder if that's not causing grief.  (Maybe the
compiler is in-lining them, but that means it's not visible in the
reflection api that's used to find the appropriate attributes?)

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@stru...
For additional commands, e-mail: dev-help@stru...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.