permaculture playing cards*
The moose likes Struts and the fly likes Preselect Radio Button (Default Value) - Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Preselect Radio Button (Default Value) - Struts2" Watch "Preselect Radio Button (Default Value) - Struts2" New topic

Preselect Radio Button (Default Value) - Struts2

Ceku Camli

Joined: Oct 16, 2010
Posts: 5
Hi everybody,

i can not understand the OGNL when using radio buttons for pre-selecting.


both works fine but the statemens below not

in the second case i can't preselect the default button but if the user selects and press OK, i can get the value "short".

so, how can i select a string key of a map
and can you explain what's the difference between the strings "1" and "short"
It is sorta covered in the JavaRanch Style Guide.
subject: Preselect Radio Button (Default Value) - Struts2
Similar Threads
how to invoke method based on radio button select
s:radio and display tag
Struts 2: radio tag doubt
Struts2 radio button query
How to make Struts radio button selected by default