Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-08 Thread Yasser Zamani
On 11/8/2017 3:49 PM, albert kao wrote: > However, the same error occurred when my jsp page is changed to the > following. > Please help. Thanks. > > > > I think you want something like where myGoodList is a List If you want to simply show radio buttons list, radio tag can do

Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-08 Thread albert kao
Your suggestion is good! My problem is solved. However, the same error occurred when my jsp page is changed to the following. Please help. Thanks. On Mon, Nov 6, 2017 at 9:04 AM, Yasser Zamani wrote: > > > On 11/6/2017 4:37 PM, Yasser Zamani wrote: > > then define

Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-06 Thread Yasser Zamani
On 11/6/2017 4:37 PM, Yasser Zamani wrote: > then define myGoodList as List As you want to use inside an iterator, I think you want myGoodList as List.

Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-06 Thread Yasser Zamani
On 11/6/2017 2:53 PM, albert kao wrote: > listValue="value"/> I see that myGoodList is List 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.

Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-06 Thread albert kao
String display() { return NONE; } } jsp: <%@ taglib prefix="s" uri="/struts-tags" %> Struts 2 radio button & select example Struts 2 radio button & select example selectedId: *FreeMarker template error!* Error on line 25, column 9 in