Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set the defaule selection for selectOneRadio

 
deepan thiagu
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai every one
i dont know how to set defaule selection, for selectOneRadio. please any one give me the right solution
i give my sample code here


here i want to set male as a default selected one
 
Franz van Betteraey
Greenhorn
Posts: 20
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

try to define the default value in your managed-bean configuration (faces-config.xml)



Regards
Klaus
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic