jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Struts2 radio button query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 radio button query" Watch "Struts2 radio button query" New topic

Struts2 radio button query

swarna dasa
Ranch Hand

Joined: Mar 15, 2007
Posts: 108
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Struts2 radio button query
It's not a secret anymore!