Re: @StrutsParameter

Prasanth <[email protected]> Thu, 25 Sep 2025 12:09:21 -0500
Newsgroups gmane.comp.jakarta.struts.user
Message-ID <[email protected]>
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:
> On Thu, Sep 25, 2025 at 11:24 Prasanth <[email protected]> wrote:
>
>> public Vector<String> getDistributionAmounts()
> …
>
>> public void setContacts(ArrayList<Long> 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 work with strings?
>
> d
>