Re: @StrutsParameter

2025-09-25 Thread Prasanth
Yeah, the code works. Even when it was a Boolean inside the Vector @StrutsParameter had to be used on getXXX method. So I assume that irrespective of the object type inside the Vector we have to annotate the getXXX method for Vectors. Thanks, Prasanth On 9/25/25 11:59 AM, Dave Newton wrote

Re: @StrutsParameter

2025-09-25 Thread Dave Newton
On Thu, Sep 25, 2025 at 11:24 Prasanth wrote: > public Vector getDistributionAmounts() … > public void setContacts(ArrayList contacts) > > As you can see above which method (getXXX/setXXX) has to be annotated is > changing between Vector and ArrayList. It also changes the generic type; did it

Re: @StrutsParameter

2025-09-25 Thread Prasanth
In the below code the get method is annotated with @StrutsParameter. This works.     @StrutsParameter (depth = 1)     public Vector getDistributionAmounts() {         return this.distributionAmounts;     } Here the set method is annotated with @StrutsParameter.     @StrutsParameter     public

Re: @StrutsParameter

2025-09-14 Thread Lukasz Lenart
czw., 21 sie 2025 o 19:18 Prasanth napisał(a): > Is the struts parameter tag supposed to be on setXXX method or getXXX method > for a check box list when the argument is Vector/ArrayList?. We have old code > that takes the data as a vector, for this we > have the parameter on the getXXX and it w

@StrutsParameter

2025-08-21 Thread Prasanth
Hi, Is the struts parameter tag supposed to be on setXXX method or getXXX method for a check box list when the argument is Vector/ArrayList?. We have old code that takes the data as a vector, for this we have the parameter on the getXXX and it works well. For another action that has ArrayList as