Please ask this question on the struts-user mailing list. The struts-dev
list is for the development of Struts itself.
http://struts.apache.org/mail.html
Thanks,
Dave
Gadbury wrote:
Hi all,
Does anyone have a solution to this? I have exactly the same problem. For
example:
My apologies. For a Collection of objects, one must state which members of
the object in the list to include. For example, to retrieve every attribute
of the Product object:
products.*, productsTotal
...and one can select which attributes to include like so:
products.name, products.descriptio
Hi all,
Does anyone have a solution to this? I have exactly the same problem. For
example:
/customer/products/list_ext.jsp
products, productsTotal
Dale Newfield wrote:
I have no idea. I was just throwing out random theories of what might
have been causing this guy grief. Since he was getting a valid value
for this attribute ("[]" although he was expecting "['TEST1', 'TEST2']")
I think I'm wrong here. Sounds like you *know* that I'm wro
Dave Newton wrote:
Dale Newfield wrote:
public final List getPayPlanTypes() {
return payPlanTypes;
}
public final void setPayPlanTypes(List payPlanTypes) {
this.payPlanTypes = payPlanTypes;
}
I recognize that "final" for methods is an attempt to make this
not-over-ridable, but I wonder
I don't think that is right. But if you are using AOP that "final"
there could cause problems, depending on the implementation.
musahcy
On Thu, Mar 12, 2009 at 2:42 PM, Dave Newton wrote:
> Dale Newfield wrote:
>>>
>>> public final List getPayPlanTypes() {
>>> return payPlanTypes;
>>> }
>>>
>
Dale Newfield wrote:
public final List getPayPlanTypes() {
return payPlanTypes;
}
public final void setPayPlanTypes(List 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 causi
Gregory Slonim wrote:
true
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 getPayPlanTypes()
{
return payPlanTypes;
All,
I am having a problem returning collections (or arrays) from struts
action as JSON. All collection-type data comes back empty (map, array,
etc).
Setup:
struts.xml
true