Permalink
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (31 sloc) 1.47 KB
<?xml version="1.0" encoding="UTF-8"?>
<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:alloy="http://liferay.com/faces/alloy"
xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<h:head>
<h:outputStylesheet library="travel" name="travel.css" />
</h:head>
<h:body>
<h:form>
<h:messages globalOnly="true" />
<ui:param name="bookingTypeImage" value="travel:#{bookingFlowModelBean.bookingTypeName}.svg" />
<h:graphicImage styleClass="booking-type" value="#{resource[bookingTypeImage]}" />
<alloy:fieldset id="bookingTypeFieldSet">
<alloy:field id="bookingTypeIdField" label="#{i18n['booking-type']}">
<h:selectOneMenu id="bookingTypeId" value="#{bookingFlowModelBean.bookingTypeId}"
valueChangeListener="#{bookingFlowBackingBean.bookingTypeIdChanged}">
<f:selectItem itemLabel="#{i18n['select']}" itemValue="" />
<f:selectItems itemValue="#{bookingType.bookingTypeId}" itemLabel="#{i18n[bookingType.bookingTypeName]}"
value="#{bookingTypeService.bookingTypes}" var="bookingType" />
<f:ajax render="@form" />
</h:selectOneMenu>
<h:message for="titleId" />
</alloy:field>
<ui:include src="#{bookingFlowModelBean.bookingTypeName}.xhtml" />
<h:commandButton action="/WEB-INF/views/portletViewMode.xhtml" value="#{i18n['exit-booking-flow']}">
<f:ajax execute="@form" />
</h:commandButton>
</alloy:fieldset>
</h:form>
</h:body>
</f:view>