Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts2 s:doubleselect with FreeMarker template error

 
garrick chen
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I am still interested in the tag s:doubleselect
when i open the jsp page then
the tag s:select displays ok
the tag s:doubleselect displays list="freights" ok
but doubleList="sitestylepricemap.get(top.freightid)" shows FreeMarker template error
Is the code below right ?

jsp





Action


 
garrick chen
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
finally, i know what caused the problem form occurring
one of the list contain a null data

the correct Action is below
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic