genplaces.xhtml 2.19 KB
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:composite="http://java.sun.com/jsf/composite" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
>


<composite:interface>
</composite:interface>

<composite:implementation>

	<h:form id="productform">
		<h:panelGrid columns="2">
			<h:outputLabel value="#{i18n['map.tablesHorizontal']}:" />
			<h:selectBooleanCheckbox value="#{mapManageView.tablesHorizontal}" />

			<h:outputLabel value="#{i18n['map.oneRowTable']}:" />
			<h:selectBooleanCheckbox value="#{mapManageView.oneRowTable}" />

			<h:outputLabel value="#{i18n['map.width']}:" />
			<h:inputText value="#{mapManageView.width}" />

			<h:outputLabel value="#{i18n['map.height']}:" />
			<h:inputText value="#{mapManageView.height}" />

			<h:outputLabel value="#{i18n['map.startX']}:" />
			<h:inputText value="#{mapManageView.startX}" />

			<h:outputLabel value="#{i18n['map.startY']}:" />
			<h:inputText value="#{mapManageView.startY}" />

			<h:outputLabel value="#{i18n['map.placesInRow']}:" />
			<h:inputText value="#{mapManageView.placesInRow}" />

			<h:outputLabel value="#{i18n['map.tableCount']}:" />
			<h:inputText value="#{mapManageView.tableCount}" />

			<h:outputLabel value="#{i18n['map.tableXdiff']}:" />
			<h:inputText value="#{mapManageView.tableXdiff}" />

			<h:outputLabel value="#{i18n['map.tableYdiff']}:" />
			<h:inputText value="#{mapManageView.tableYdiff}" />


			<h:outputLabel value="#{i18n['map.namebase']}:" />
			<h:inputText value="#{mapManageView.namebase}" />

			<h:outputLabel value="#{i18n['map.product']}:" />
			<h:selectOneMenu converter="#{productConverter}" value="#{mapManageView.mapproduct}">
				<f:selectItems var="prod" itemLabel="#{prod.name}" value="#{mapManageView.productlist}" />
			</h:selectOneMenu>

			<h:commandButton id="commitbtn" action="#{mapManageView.generatePlaces()}" value="#{i18n['map.generate']}" />
		</h:panelGrid>
	</h:form>



</composite:implementation>
</html>