Java Reference
In-Depth Information
glyphicon-remove input-group-feedback input-group-addon' :
''}" />
</div>
<h:message for="price"
errorClass="control-label has-error" />
</div>
<div class="form-group has-feedback
#{!quantity.valid and facesContext.validationFailed?
'has-error' : ''}">
<h:outputLabel for="quantity" value="Number of
Seats:"
styleClass="control-label" />
<h:inputText id="quantity"
value="#{newSeatType.quantity}"
class="form-control" p:placeholder="Enter
quantity"
binding="#{quantity}" />
<span class="#{!quantity.valid ? 'glyphicon
glyphicon-remove form-control-feedback' : ''}" />
<h:message for="quantity"
errorClass="control-label has-error" />
</div>
<div class="form-group">
<h:outputLabel for="position" value="Position:"
styleClass="control-label" />
<h:selectOneMenu
value="#{newSeatType.position}" id="position"
class="form-control">
<f:selectItems
value="#{theatreSetupService.positions}"
var="pos" itemValue="#{pos}"
itemLabel="#{pos.label}" />
</h:selectOneMenu>
</div>
<div class="form-group">
<h:commandButton id="Add" action = "#{theatreSetupService.
addNewSeats}" value="Add styleClass="btn btn-primary" />
</div>
Search WWH ::




Custom Search