This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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"
I agree. Here's the link:
subject: Preselect Radio Button (Default Value) - Struts2
It's not a secret anymore!