Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to get Set / Map from a Object in html:optionsCollection

 
Joshua Emerson
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm having an object in request called group. group is having a map and a set inside it. I need to get the set and map using htmlptionsCollections. Here is the below code for reference

group.getGroupSpecificNamesMap()
group.getGroupSpecificEmployeeDetailsSet()

<htmlptionsCollection name = "group.getGroupSpecificNamesMap()" label="employeeName" value="employeeId"/>

What modification is needed in the above struts code.

Environment : Struts1.x and Hibernate

Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic