File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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"
Consider Paul's rocket mass heater.
subject: Preselect Radio Button (Default Value) - Struts2