Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts2 radio button query  RSS feed

swarna dasa
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to render a radio button, such that they appear one below the other (top-down). [Using a static map]

<s:radio name="serverGroup" value="Single Server" list="#{'singleServer':'Single Server','redundantServer':'Redundant Server'}"/>

We have an attribute requiredposition which takes values right or left, how do i display them one below the other?

Also, i am trying to preselect the first option but am not able to

Also a colon is displayed (If i have a label then that label is displayed before the colon)

Required output

Any help would be appreciated.
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!