Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 radio button query

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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic