Re: Fwd: Type conversion collection with interface type elements

2018-04-06 Thread Yasser Zamani
On 4/5/2018 6:52 PM, Nuno Oliveira wrote: > Your fix worked :) and I see why it did not work, thank you. > > Also yes, you are right, it should be Role instead of Roles but it is a > legacy class and the change implies a lot of fixes. It's on the "to do > list". > > Once more, thank you. You'

Re: Fwd: Type conversion collection with interface type elements

2018-04-05 Thread Nuno Oliveira
er Zamani wrote: > [copy with removed links to avoid detection as spam] > > > Forwarded Message ---- > Subject: Re: Type conversion collection with interface type elements > Date: Thu, 5 Apr 2018 13:02:01 + > From: Yasser Zamani > Reply-To: Struts Users Mai

Fwd: Type conversion collection with interface type elements

2018-04-05 Thread Yasser Zamani
[copy with removed links to avoid detection as spam] Forwarded Message Subject: Re: Type conversion collection with interface type elements Date: Thu, 5 Apr 2018 13:02:01 + From: Yasser Zamani Reply-To: Struts Users Mailing List To: user@struts.apache.org On 4/4/2018

Re: Type conversion collection with interface type elements

2018-04-05 Thread Yasser Zamani
On 4/4/2018 7:20 PM, Nuno Oliveira wrote: > Hi, > > I am having problems populating an action variable Set by request using > struts type conversion if the Set has the element type defined as an > interface. > I have a UserAction-conversion.properties file with the following > configuration usin

Type conversion collection with interface type elements

2018-04-04 Thread Nuno Oliveira
Hi, I am having problems populating an action variable Set by request using struts type conversion if the Set has the element type defined as an interface. I have a UserAction-conversion.properties file with the following configuration using the class implementation: KeyProperty_roles=id Element_