Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

JSF Radio Buttons Form

Mon Jul 02, 2007 1:08 pm

JSF Radio Buttons Form Example
Code:
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <f:view>
           
            
<h:form >
<
h:selectOneRadio >
<
f:selectItem itemLabel="Apple" itemValue="Apple" />
<
f:selectItem itemLabel="Orange" itemValue="Orange" />
<
f:selectItem itemLabel="Banana" itemValue="Banana" />
</
h:selectOneRadio>
<
h:commandButton value="Select Fruit"
  />
</
h:form>
        </f:view>
        
    
</body>
</
html> 




Post a reply
  Related Posts  to : JSF Radio Buttons Form
 form-Radio-buttons-checkBoxs-actions-HTML-Tags     -  
 Radio Button list validation ASP     -  
 php login form (sign-in form)     -  
 flash buttons     -  
 redirect page based on user selection radio button     -  
 GridLayout-window with buttons     -  
 Creating Glass Buttons     -  
 Skymiles v1.1 Menu buttons     -  
 FlowLayout with window-Buttons Layout Example     -  

Topic Tags

Java JSF