wood burning stoves 2.0*
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
Author

Preselect Radio Button (Default Value) - Struts2

Ceku Camli
Greenhorn

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

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


and

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"
 
 
subject: Preselect Radio Button (Default Value) - Struts2