struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasser Zamani <yasser.zam...@live.com>
Subject Re: Error on line 25, column 9 in template/simple/radiomap.ftl
Date Mon, 06 Nov 2017 13:07:57 GMT


On 11/6/2017 2:53 PM, albert kao wrote:
>      <s:radio key="selectedId" list="#some2" listKey="key"
> listValue="value"/><br/>

I see that myGoodList is List<String> and String does not have 
properties named key and value. Please try defining a class named MyGood 
which has getKey and getValue methods then define myGoodList as 
List<MyGood>.
Mime
View raw message