|
|
|
@ -17,11 +17,12 @@ |
|
|
|
|
.deDescl { |
|
|
|
|
width: 15em; |
|
|
|
|
text-align: left; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.deDescr { |
|
|
|
|
text-align: left; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.ingSel { |
|
|
|
|
width: 3em; |
|
|
|
|
text-align: center; |
|
|
|
@ -54,7 +55,9 @@ |
|
|
|
|
<p:tab id="overviewTab" |
|
|
|
|
title="Description" |
|
|
|
|
> |
|
|
|
|
<p:panelGrid columns="2" columnClasses="deDescl, deDescr"> |
|
|
|
|
<p:panelGrid columns="2" |
|
|
|
|
columnClasses="deDescl, deDescr" |
|
|
|
|
> |
|
|
|
|
<f:facet name="header">Description</f:facet> |
|
|
|
|
<p:outputLabel for="@next" |
|
|
|
|
value="Title" |
|
|
|
@ -155,7 +158,9 @@ |
|
|
|
|
src="/img/picture/?dt=#{recipeDetailBean.currentTime}" |
|
|
|
|
/> |
|
|
|
|
</p:panel> |
|
|
|
|
<p:panelGrid id="picButtonPanel" columns="2"> |
|
|
|
|
<p:panelGrid id="picButtonPanel" |
|
|
|
|
columns="2" |
|
|
|
|
> |
|
|
|
|
<p:fileUpload id="ctlUpload" |
|
|
|
|
label="Upload Image" |
|
|
|
|
listener="#{recipeDetailBean.ajaxUploadImage}" |
|
|
|
@ -396,23 +401,28 @@ |
|
|
|
|
action="recipeDetails.jsf" |
|
|
|
|
/> |
|
|
|
|
<p:commandButton id="doHome" value="Home" |
|
|
|
|
icon="ui-icon-home" |
|
|
|
|
ajax="false" immediate="true" |
|
|
|
|
action="main.jsf" |
|
|
|
|
icon="ui-icon-home" ajax="false" |
|
|
|
|
immediate="true" action="main.jsf" |
|
|
|
|
/> |
|
|
|
|
</h:form> |
|
|
|
|
</p:panel> |
|
|
|
|
<!-- --> |
|
|
|
|
<p:growl id="growl" showDetail="true" /> |
|
|
|
|
<!-- Note timeouts must be less than |
|
|
|
|
session timeout in application properties--> |
|
|
|
|
<p:growl id="growl" showDetail="true" sticky="true" /> |
|
|
|
|
<h:form id="frmTimeout"> |
|
|
|
|
<p:idleMonitor |
|
|
|
|
timeout="#{userSession.sessionTimeoutInterval}" |
|
|
|
|
> |
|
|
|
|
<p:idleMonitor timeout="1500000"> |
|
|
|
|
<p:ajax id="ajaxIdle" event="idle" |
|
|
|
|
listener="#{userSession.sessionIdleListener}" |
|
|
|
|
listener="#{cookieBean.sessionIdleListener}" |
|
|
|
|
update="growl" |
|
|
|
|
/> |
|
|
|
|
</p:idleMonitor> |
|
|
|
|
<p:idleMonitor timeout="1900000"> |
|
|
|
|
<p:ajax id="ajaxIdle" event="idle" |
|
|
|
|
listener="#{cookieBean.sessionTimeout}" |
|
|
|
|
update="growl" |
|
|
|
|
oncomplete="window.location='#{request.contextPath}/main.jsf'" |
|
|
|
|
/> |
|
|
|
|
</p:idleMonitor> |
|
|
|
|
</h:form> |
|
|
|
|
<!-- --> |
|
|
|
|
<p:dialog id="addGroupDlg" widgetVar="addGroupDlg"> |
|
|
|
@ -444,7 +454,9 @@ |
|
|
|
|
<p:dialog id="editShopcatDlg" |
|
|
|
|
widgetVar="editShopcatDlg" |
|
|
|
|
> |
|
|
|
|
<ui:include src="/WEB-INF/layout/dialog/editShopcat.xhtml" /> |
|
|
|
|
<ui:include |
|
|
|
|
src="/WEB-INF/layout/dialog/editShopcat.xhtml" |
|
|
|
|
/> |
|
|
|
|
</p:dialog> |
|
|
|
|
</ui:define> |
|
|
|
|
</ui:composition> |
|
|
|
|