aspose file tools*
The moose likes JSF and the fly likes The form Values are not getting set to the Backing bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "The form Values are not getting set to the Backing bean" Watch "The form Values are not getting set to the Backing bean" New topic
Author

The form Values are not getting set to the Backing bean

Ravikiran Sarangu
Greenhorn

Joined: Oct 13, 2011
Posts: 6
Hi,

I have written a jsp that has one textbox and i wanted to maipulate the value of that textbox but the value is not being set to the backing bean.
I am getting a warning saying "WARNING: There should always be a submitted value for an input if it is rendered, its form is submitted, and it was not originally rendered disabled or read-only. You cannot submit a form after disabling an input element via javascript. Consider setting read-only to true instead or resetting the disabled value back to false prior to form submission. Component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /CourseSelection.jsp][Class: javax.faces.component.html.HtmlInputText,Id: uhId]}"

Can anyone help me out

Thanks in advance
Marcos Silvestri
Ranch Hand

Joined: Dec 06, 2009
Posts: 62

TIP:

Share your code (View and Bean) so that we can properly see what's going on... and I think you wanted to say JSF instead of JSP

Regards!


DJ aspirant, Engineering undergraduate, Tokusatsus addicted, fond of English language and Asia's, Buddhist, blogger, etc. I'll need to insert all these attributes in a Java class and manage to create methods for handling my overwhelming life
Ravikiran Sarangu
Greenhorn

Joined: Oct 13, 2011
Posts: 6
This is my bean

package backingBeans;

import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.component.html.HtmlInputText;
import javax.faces.component.html.HtmlSelectBooleanCheckbox;
import javax.faces.context.FacesContext;

import javax.faces.validator.ValidatorException;




public class Course {

private HtmlSelectBooleanCheckbox constructionMgmt1;
private int uhId;
private HtmlInputText uhIdComp;
private HtmlSelectBooleanCheckbox graphics1;
private HtmlSelectBooleanCheckbox projDrawingsGraphics;
private HtmlSelectBooleanCheckbox freshmanComposition1;
private HtmlSelectBooleanCheckbox theUSto1877;
private HtmlSelectBooleanCheckbox finiteMath;
private HtmlSelectBooleanCheckbox consMaterialsMethods;
private HtmlSelectBooleanCheckbox processAndIndustrialConstruction;
private HtmlSelectBooleanCheckbox usAndTxConst;
private HtmlSelectBooleanCheckbox freshmanComposition2;
private HtmlSelectBooleanCheckbox theUSSince;
private HtmlSelectBooleanCheckbox preCalc;
private HtmlSelectBooleanCheckbox mechAndElectricSys;
private HtmlSelectBooleanCheckbox processAndIndustrialSubsys;
private HtmlSelectBooleanCheckbox usGov;
private HtmlSelectBooleanCheckbox visualArt;
private HtmlSelectBooleanCheckbox physics1;
private HtmlSelectBooleanCheckbox calc1;
private HtmlSelectBooleanCheckbox constuctionDocuments;
private HtmlSelectBooleanCheckbox contractDocForCapitalProjects;
private HtmlSelectBooleanCheckbox constructionEstimating1;
private HtmlSelectBooleanCheckbox fundamentalsOfPublicSpeaking;
private HtmlSelectBooleanCheckbox physics2;
private HtmlSelectBooleanCheckbox microEconomics;
private HtmlSelectBooleanCheckbox consEquipAndMethods;
private HtmlSelectBooleanCheckbox constructionEstimating2;
private HtmlSelectBooleanCheckbox costEstimationForCapitalProj;
private HtmlSelectBooleanCheckbox consExperience;
private HtmlSelectBooleanCheckbox strengthOfConsMaterials;
private HtmlSelectBooleanCheckbox consMaterialsAndTesting;
private HtmlSelectBooleanCheckbox acctPrinciples1;
private HtmlSelectBooleanCheckbox constSafetyMgmt;
private HtmlSelectBooleanCheckbox safetyForIndustrialProj;
private HtmlSelectBooleanCheckbox consPlanningAndScheduling;
private HtmlSelectBooleanCheckbox soilMechanicsAndFoundations;
private HtmlSelectBooleanCheckbox busElective;
private HtmlSelectBooleanCheckbox techCommunication;
private HtmlSelectBooleanCheckbox acctPrinciples2;
private HtmlSelectBooleanCheckbox constLawAndEthics;
private HtmlSelectBooleanCheckbox constructionMgmt2;
private HtmlSelectBooleanCheckbox capitalProjectsDev;
private HtmlSelectBooleanCheckbox reInfConcreteAndBldgCodes;
private HtmlSelectBooleanCheckbox reInfConcreteStructure;
private HtmlSelectBooleanCheckbox busLawAndEthics;
private HtmlSelectBooleanCheckbox projControls;
private HtmlSelectBooleanCheckbox fieldOperationsForCapitalProj;
private HtmlSelectBooleanCheckbox structSteelAndTimberConstr;
private HtmlSelectBooleanCheckbox steelConstr;
private HtmlSelectBooleanCheckbox constrLayoutAndSiteDevelop;
private HtmlSelectBooleanCheckbox humanity;

public HtmlSelectBooleanCheckbox getConstructionMgmt1() {
return constructionMgmt1;
}
public void setConstructionMgmt1(HtmlSelectBooleanCheckbox constructionMgmt1) {
this.constructionMgmt1 = constructionMgmt1;
}
public HtmlSelectBooleanCheckbox getGraphics1() {
return graphics1;
}
public void setGraphics1(HtmlSelectBooleanCheckbox graphics1) {
this.graphics1 = graphics1;
}
public HtmlSelectBooleanCheckbox getProjDrawingsGraphics() {
return projDrawingsGraphics;
}
public void setProjDrawingsGraphics(HtmlSelectBooleanCheckbox projDrawingsGraphics) {
this.projDrawingsGraphics = projDrawingsGraphics;
}
public HtmlSelectBooleanCheckbox getFreshmanComposition1() {
return freshmanComposition1;
}
public void setFreshmanComposition1(HtmlSelectBooleanCheckbox freshmanComposition1) {
this.freshmanComposition1 = freshmanComposition1;
}
public HtmlSelectBooleanCheckbox getTheUSto1877() {
return theUSto1877;
}
public void setTheUSto1877(HtmlSelectBooleanCheckbox theUSto1877) {
this.theUSto1877 = theUSto1877;
}
public HtmlSelectBooleanCheckbox getFiniteMath() {
return finiteMath;
}
public void setFiniteMath(HtmlSelectBooleanCheckbox finiteMath) {
this.finiteMath = finiteMath;
}
public HtmlSelectBooleanCheckbox getConsMaterialsMethods() {
return consMaterialsMethods;
}
public void setConsMaterialsMethods(HtmlSelectBooleanCheckbox consMaterialsMethods) {
this.consMaterialsMethods = consMaterialsMethods;
}
public HtmlSelectBooleanCheckbox getProcessAndIndustrialConstruction() {
return processAndIndustrialConstruction;
}
public void setProcessAndIndustrialConstruction(
HtmlSelectBooleanCheckbox processAndIndustrialConstruction) {
this.processAndIndustrialConstruction = processAndIndustrialConstruction;
}
public HtmlSelectBooleanCheckbox getUsAndTxConst() {
return usAndTxConst;
}
public void setUsAndTxConst(HtmlSelectBooleanCheckbox usAndTxConst) {
this.usAndTxConst = usAndTxConst;
}
public HtmlSelectBooleanCheckbox getFreshmanComposition2() {
return freshmanComposition2;
}
public void setFreshmanComposition2(HtmlSelectBooleanCheckbox freshmanComposition2) {
this.freshmanComposition2 = freshmanComposition2;
}
public HtmlSelectBooleanCheckbox getTheUSSince() {
return theUSSince;
}
public void setTheUSSince(HtmlSelectBooleanCheckbox theUSSince) {
this.theUSSince = theUSSince;
}
public HtmlSelectBooleanCheckbox getPreCalc() {
return preCalc;
}
public void setPreCalc(HtmlSelectBooleanCheckbox preCalc) {
this.preCalc = preCalc;
}
public HtmlSelectBooleanCheckbox getMechAndElectricSys() {
return mechAndElectricSys;
}
public void setMechAndElectricSys(HtmlSelectBooleanCheckbox mechAndElectricSys) {
this.mechAndElectricSys = mechAndElectricSys;
}
public HtmlSelectBooleanCheckbox getProcessAndIndustrialSubsys() {
return processAndIndustrialSubsys;
}
public void setProcessAndIndustrialSubsys(HtmlSelectBooleanCheckbox processAndIndustrialSubsys) {
this.processAndIndustrialSubsys = processAndIndustrialSubsys;
}
public HtmlSelectBooleanCheckbox getUsGov() {
return usGov;
}
public void setUsGov(HtmlSelectBooleanCheckbox usGov) {
this.usGov = usGov;
}
public HtmlSelectBooleanCheckbox getVisualArt() {
return visualArt;
}
public void setVisualArt(HtmlSelectBooleanCheckbox visualArt) {
this.visualArt = visualArt;
}
public HtmlSelectBooleanCheckbox getPhysics1() {
return physics1;
}
public void setPhysics1(HtmlSelectBooleanCheckbox physics1) {
this.physics1 = physics1;
}
public HtmlSelectBooleanCheckbox getCalc1() {
return calc1;
}
public void setCalc1(HtmlSelectBooleanCheckbox calc1) {
this.calc1 = calc1;
}
public HtmlSelectBooleanCheckbox getConstuctionDocuments() {
return constuctionDocuments;
}
public void setConstuctionDocuments(HtmlSelectBooleanCheckbox constuctionDocuments) {
this.constuctionDocuments = constuctionDocuments;
}
public HtmlSelectBooleanCheckbox getContractDocForCapitalProjects() {
return contractDocForCapitalProjects;
}
public void setContractDocForCapitalProjects(
HtmlSelectBooleanCheckbox contractDocForCapitalProjects) {
this.contractDocForCapitalProjects = contractDocForCapitalProjects;
}
public HtmlSelectBooleanCheckbox getConstructionEstimating1() {
return constructionEstimating1;
}
public void setConstructionEstimating1(HtmlSelectBooleanCheckbox constructionEstimating1) {
this.constructionEstimating1 = constructionEstimating1;
}
public HtmlSelectBooleanCheckbox getFundamentalsOfPublicSpeaking() {
return fundamentalsOfPublicSpeaking;
}
public void setFundamentalsOfPublicSpeaking(HtmlSelectBooleanCheckbox fundamentalsOfPublicSpeaking) {
this.fundamentalsOfPublicSpeaking = fundamentalsOfPublicSpeaking;
}
public HtmlSelectBooleanCheckbox getPhysics2() {
return physics2;
}
public void setPhysics2(HtmlSelectBooleanCheckbox physics2) {
this.physics2 = physics2;
}
public HtmlSelectBooleanCheckbox getMicroEconomics() {
return microEconomics;
}
public void setMicroEconomics(HtmlSelectBooleanCheckbox microEconomics) {
this.microEconomics = microEconomics;
}
public HtmlSelectBooleanCheckbox getConsEquipAndMethods() {
return consEquipAndMethods;
}
public void setConsEquipAndMethods(HtmlSelectBooleanCheckbox consEquipAndMethods) {
this.consEquipAndMethods = consEquipAndMethods;
}
public HtmlSelectBooleanCheckbox getConstructionEstimating2() {
return constructionEstimating2;
}
public void setConstructionEstimating2(HtmlSelectBooleanCheckbox constructionEstimating2) {
this.constructionEstimating2 = constructionEstimating2;
}
public HtmlSelectBooleanCheckbox getCostEstimationForCapitalProj() {
return costEstimationForCapitalProj;
}
public void setCostEstimationForCapitalProj(HtmlSelectBooleanCheckbox costEstimationForCapitalProj) {
this.costEstimationForCapitalProj = costEstimationForCapitalProj;
}
public HtmlSelectBooleanCheckbox getConsExperience() {
return consExperience;
}
public void setConsExperience(HtmlSelectBooleanCheckbox consExperience) {
this.consExperience = consExperience;
}
public HtmlSelectBooleanCheckbox getStrengthOfConsMaterials() {
return strengthOfConsMaterials;
}
public void setStrengthOfConsMaterials(HtmlSelectBooleanCheckbox strengthOfConsMaterials) {
this.strengthOfConsMaterials = strengthOfConsMaterials;
}
public HtmlSelectBooleanCheckbox getConsMaterialsAndTesting() {
return consMaterialsAndTesting;
}
public void setConsMaterialsAndTesting(HtmlSelectBooleanCheckbox consMaterialsAndTesting) {
this.consMaterialsAndTesting = consMaterialsAndTesting;
}
public HtmlSelectBooleanCheckbox getAcctPrinciples1() {
return acctPrinciples1;
}
public void setAcctPrinciples1(HtmlSelectBooleanCheckbox acctPrinciples1) {
this.acctPrinciples1 = acctPrinciples1;
}
public HtmlSelectBooleanCheckbox getConstSafetyMgmt() {
return constSafetyMgmt;
}
public void setConstSafetyMgmt(HtmlSelectBooleanCheckbox constSafetyMgmt) {
this.constSafetyMgmt = constSafetyMgmt;
}
public HtmlSelectBooleanCheckbox getSafetyForIndustrialProj() {
return safetyForIndustrialProj;
}
public void setSafetyForIndustrialProj(HtmlSelectBooleanCheckbox safetyForIndustrialProj) {
this.safetyForIndustrialProj = safetyForIndustrialProj;
}
public HtmlSelectBooleanCheckbox getConsPlanningAndScheduling() {
return consPlanningAndScheduling;
}
public void setConsPlanningAndScheduling(HtmlSelectBooleanCheckbox consPlanningAndScheduling) {
this.consPlanningAndScheduling = consPlanningAndScheduling;
}
public HtmlSelectBooleanCheckbox getSoilMechanicsAndFoundations() {
return soilMechanicsAndFoundations;
}
public void setSoilMechanicsAndFoundations(HtmlSelectBooleanCheckbox soilMechanicsAndFoundations) {
this.soilMechanicsAndFoundations = soilMechanicsAndFoundations;
}
public HtmlSelectBooleanCheckbox getBusElective() {
return busElective;
}
public void setBusElective(HtmlSelectBooleanCheckbox busElective) {
this.busElective = busElective;
}
public HtmlSelectBooleanCheckbox getTechCommunication() {
return techCommunication;
}
public void setTechCommunication(HtmlSelectBooleanCheckbox techCommunication) {
this.techCommunication = techCommunication;
}
public HtmlSelectBooleanCheckbox getAcctPrinciples2() {
return acctPrinciples2;
}
public void setAcctPrinciples2(HtmlSelectBooleanCheckbox acctPrinciples2) {
this.acctPrinciples2 = acctPrinciples2;
}
public HtmlSelectBooleanCheckbox getConstLawAndEthics() {
return constLawAndEthics;
}
public void setConstLawAndEthics(HtmlSelectBooleanCheckbox constLawAndEthics) {
this.constLawAndEthics = constLawAndEthics;
}
public HtmlSelectBooleanCheckbox getConstructionMgmt2() {
return constructionMgmt2;
}
public void setConstructionMgmt2(HtmlSelectBooleanCheckbox constructionMgmt2) {
this.constructionMgmt2 = constructionMgmt2;
}
public HtmlSelectBooleanCheckbox getCapitalProjectsDev() {
return capitalProjectsDev;
}
public void setCapitalProjectsDev(HtmlSelectBooleanCheckbox capitalProjectsDev) {
this.capitalProjectsDev = capitalProjectsDev;
}
public HtmlSelectBooleanCheckbox getReInfConcreteAndBldgCodes() {
return reInfConcreteAndBldgCodes;
}
public void setReInfConcreteAndBldgCodes(HtmlSelectBooleanCheckbox reInfConcreteAndBldgCodes) {
this.reInfConcreteAndBldgCodes = reInfConcreteAndBldgCodes;
}
public HtmlSelectBooleanCheckbox getReInfConcreteStructure() {
return reInfConcreteStructure;
}
public void setReInfConcreteStructure(HtmlSelectBooleanCheckbox reInfConcreteStructure) {
this.reInfConcreteStructure = reInfConcreteStructure;
}
public HtmlSelectBooleanCheckbox getBusLawAndEthics() {
return busLawAndEthics;
}
public void setBusLawAndEthics(HtmlSelectBooleanCheckbox busLawAndEthics) {
this.busLawAndEthics = busLawAndEthics;
}
public HtmlSelectBooleanCheckbox getProjControls() {
return projControls;
}
public void setProjControls(HtmlSelectBooleanCheckbox projControls) {
this.projControls = projControls;
}
public HtmlSelectBooleanCheckbox getFieldOperationsForCapitalProj() {
return fieldOperationsForCapitalProj;
}
public void setFieldOperationsForCapitalProj(
HtmlSelectBooleanCheckbox fieldOperationsForCapitalProj) {
this.fieldOperationsForCapitalProj = fieldOperationsForCapitalProj;
}
public HtmlSelectBooleanCheckbox getStructSteelAndTimberConstr() {
return structSteelAndTimberConstr;
}
public void setStructSteelAndTimberConstr(HtmlSelectBooleanCheckbox structSteelAndTimberConstr) {
this.structSteelAndTimberConstr = structSteelAndTimberConstr;
}
public HtmlSelectBooleanCheckbox getSteelConstr() {
return steelConstr;
}
public void setSteelConstr(HtmlSelectBooleanCheckbox steelConstr) {
this.steelConstr = steelConstr;
}
public HtmlSelectBooleanCheckbox getConstrLayoutAndSiteDevelop() {
return constrLayoutAndSiteDevelop;
}
public void setConstrLayoutAndSiteDevelop(HtmlSelectBooleanCheckbox constrLayoutAndSiteDevelop) {
this.constrLayoutAndSiteDevelop = constrLayoutAndSiteDevelop;
}
public HtmlSelectBooleanCheckbox getHumanity() {
return humanity;
}
public void setHumanity(HtmlSelectBooleanCheckbox humanity) {
this.humanity = humanity;
}
public int getUhId() {
return uhId;
}
public void setUhId(int uhId) {
this.uhId = uhId;
}

public HtmlInputText getUhIdComp() {
return uhIdComp;
}
public void setUhIdComp(HtmlInputText uhIdComp) {
this.uhIdComp = uhIdComp;
}
public void uhidValidation(FacesContext con,UIComponent comp,Object value){
System.out.println("fdgdggdfgfgfd");
FacesContext context = FacesContext.getCurrentInstance();
if(value.toString().trim().matches("[A-Z][a-z]*")){
context.getApplication();
FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR,"Invalid UHID", "UHID should contain only numbers");
throw new ValidatorException(message);

}


}


}


And my jsp is


<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body bgcolor="grey">
<f:view>
<img src="UniversityofHouston_font.gif" height="40" width="100%">
<img src="cot_logo.jpg" height="80" width="100%"><br>
<form>
<br>
<br>
<hutputText value="UHID : "></hutputText>
<h:inputText id="uhId" value="#{course.uhIdComp}" validator="#{course.uhidValidation}" required="true" maxlength="7" disabled="false">


</h:inputText>
<h:message for="uhId" styleClass="errorMessages"></h:message>
</form>
<br>
<hutputLabel
value="Please select the courses that are already taken from the following list of courses:"></hutputLabel>
<br>
<br>
<br>
<table id="courses" width="1350px"><tr><td colspan="4" align="center"><font face="Arial" size="+2" color="#FF2222">First Year</font></td>
<td colspan="4" align="center"><font face="Arial" size="+2" color="#FF2222">Second Year</font></td>
<td colspan="4" align="center"><font face="Arial" size="+2" color="#FF2222">Third Year</font></td>
<td colspan="4" align="center"><font face="Arial" size="+2" color="#FF2222">Fourth Year</font></td>
</tr>
<tr><td colspan="2" align="center"><font face="Arial" size="+1" color="#FF2222">First Semester</font></td>
<td colspan="2" align="center"><font face="Arial" size="+1" color="#FF2222">Second Semester</font></td>
<td colspan="2" align="center"><font face="Arial" size="+1" color="#FF2222">Third Semester</font></td>
<td colspan="2" align="center"><font face="Arial" size="+1" color="#FF2222">Fourth Semester</font></td>
<td colspan="2" align="center"><font face="Arial" size="+1" color="#FF2222">Fifth Semester</font></td>
<td colspan="2" align="center"><font face="Arial" size="+1" color="#FF2222">Sixth Semester</font></td>
<td colspan="2" align="center"><font face="Arial" size="+1" color="#FF2222">Seventh Semester</font></td>
<td colspan="2" align="center"><font face="Arial" size="+1" color="#FF2222">Eighth Semester</font></td>
</tr>
<tr><td colspan="1" align="center"><form>

<h:form>
<h:selectBooleanCheckbox id="constructionMgmt1" binding="#{course.constructionMgmt1}"></h:selectBooleanCheckbox>
</h:form></form></td>
<td colspan="1">Construction Management 1</td>
<td colspan="1" align="center"></td>
<td colspan="1"></td>
<td colspan="1" align="center"><form>

<h:form>
<h:selectBooleanCheckbox id="mechAndElectricSys" binding="#{course.mechAndElectricSys}"></h:selectBooleanCheckbox>
</h:form></form></td>
<td colspan="1">Mech. & Elect.(MEP) Systems</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="constuctionDocuments" binding="#{course.constuctionDocuments}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Construction Documents</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="consEquipAndMethods" binding="#{course.consEquipAndMethods}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Constr. Equip. & Methods</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="constSafetyMgmt" binding="#{course.constSafetyMgmt}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Constr. Safety Management</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="constLawAndEthics" binding="#{course.constLawAndEthics}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Constr. Law & Ethics</td>
<td colspan="1" align="center"></td>
<td colspan="1"></td>
</tr>
<tr><td colspan="2" align="center"></td>
<td colspan="2" align="center"></td>
<td colspan="2" align="center">OR</td>
<td colspan="2" align="center">OR</td>
<td colspan="2" align="center"></td>
<td colspan="2" align="center">OR</td>
<td colspan="2" align="center"></td>
<td colspan="2" align="center"></td>
</tr>
<tr><td colspan="1" align="center"></td>
<td colspan="1"></td>
<td colspan="1" align="center"></td>
<td colspan="1"></td>
<td colspan="1" align="center"><h:form>
<h:selectBooleanCheckbox id="processAndIndustrialSubsys" binding="#{course.processAndIndustrialSubsys}"></h:selectBooleanCheckbox>
</h:form></td>
<td colspan="1">Process & Industrial Subsys.</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="contractDocForCapitalProjects" binding="#{course.contractDocForCapitalProjects}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Contract Doc. For Capital Projects</td>
<td colspan="1" align="center"></td><td colspan="1"></td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="safetyForIndustrialProj" binding="#{course.safetyForIndustrialProj}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Safety for Industrial Projects</td>
<td colspan="1" align="center"></td>
<td colspan="1"></td>
<td colspan="1" align="center"></td>
<td colspan="1"></td>
</tr>
<tr><td colspan="16"></td></tr><tr></tr>
<tr><td colspan="1" align="center"><form>

<h:selectBooleanCheckbox id="graphics1" binding="#{course.graphics1}"></h:selectBooleanCheckbox></form></td>
<td colspan="1">Graphics-I</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="consMaterialsMethods" binding="#{course.consMaterialsMethods}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Cons. Materials Methods</td>
<td colspan="1" align="center"></td>
<td colspan="1"></td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="constructionEstimating1" binding="#{course.constructionEstimating1}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Construction Estimating - I</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="constructionEstimating2" binding="#{course.constructionEstimating2}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Construction Estimating - II</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="consPlanningAndScheduling" binding="#{course.consPlanningAndScheduling}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Cons. Planning & Scheduling</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="constructionMgmt2" binding="#{course.constructionMgmt2}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Construction Management II</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="projControls" binding="#{course.projControls}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Project Controls</td>
</tr>
<tr><td colspan="2" align="center">OR</td>
<td colspan="2" align="center">OR</td>
<td colspan="2" align="center"></td>
<td colspan="2" align="center"></td>
<td colspan="2" align="center">OR</td>
<td colspan="2" align="center"></td>
<td colspan="2" align="center">OR</td>
<td colspan="2" align="center">OR</td>
</tr>
<tr><td colspan="1" align="center"><form>

<h:selectBooleanCheckbox id="projDrawingsGraphics" binding="#{course.projDrawingsGraphics}"></h:selectBooleanCheckbox></form></td>
<td colspan="1">Proj Drawing Graphics</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="processAndIndustrialConstruction" binding="#{course.processAndIndustrialConstruction}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Process & Industrial Const.</td>
<td colspan="1" align="center"></td>
<td colspan="1"></td>
<td colspan="1" align="center"></td>
<td colspan="1"></td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="costEstimationForCapitalProj" binding="#{course.costEstimationForCapitalProj}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Cost Estimating for Capital Projects</td>
<td colspan="1" align="center"></td>
<td colspan="1"></td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="capitalProjectsDev" binding="#{course.capitalProjectsDev}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Capital Projects Development</td>
<td colspan="1" align="center"><form>
<h:selectBooleanCheckbox id="fieldOperationsForCapitalProj" binding="#{course.fieldOperationsForCapitalProj}"></h:selectBooleanCheckbox>
</form></td>
<td colspan="1">Field Operations for Capital Proj.</td>
</tr>
</table>
<br>

<h:form>
<h:commandButton value="Submit" action="success" ></h:commandButton>
</h:form>
</f:view>
</body>
</html>

Glisic Slavko
Greenhorn

Joined: May 17, 2008
Posts: 5
Try to remove disabled="false" from your input.

Regards
 
 
subject: The form Values are not getting set to the Backing bean