This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set the defaule selection for selectOneRadio

 
deepan thiagu
Greenhorn
Posts: 18
  • 0
  • 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
  • 0
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic