Refactoring of Create Client/U_WebMenu in Posterita
This commit is contained in:
parent
f6c57ad49a
commit
ab9e9ecc3a
|
@ -73,7 +73,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<font class="title">
|
<font class="title">
|
||||||
Posterita Applications
|
Posterita POS Applications
|
||||||
</font>
|
</font>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
@ -97,57 +97,31 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="main">
|
<td class="main">
|
||||||
<table align="center">
|
<table align="center" width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td width="400px">
|
<td>
|
||||||
<Fieldset>
|
<Fieldset>
|
||||||
<legend><font class="title">POS</font></legend>
|
<legend><font class="title">POS</font></legend>
|
||||||
<table width="100%" border="0" class="display">
|
<table width="100%" border="0" class="display">
|
||||||
<logic:present name="<%=Constants.WEB_APPLICATIONS%>">
|
<logic:present name="<%=Constants.WEB_APPLICATIONS%>">
|
||||||
<logic:iterate id="app" name="<%=Constants.WEB_APPLICATIONS%>" indexId="count">
|
<logic:iterate id="store" name="<%=Constants.WEB_APPLICATIONS%>" indexId="count">
|
||||||
<logic:equal name="app" property="applicationType" value="<%= Constants.APP_POS%>">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="submenu">
|
<td class="submenu">
|
||||||
<li class="submenu">
|
<li class="submenu">
|
||||||
<html:link href="SetApplicationParametersAction.do?action=setApplicationParameters" paramName="app" paramId="applicationName" paramProperty="applicationWebContext" styleClass="submenu">
|
<html:link href="SetApplicationParametersAction.do?action=setApplicationParameters" paramName="store" paramId="storeId" paramProperty="storeId" styleClass="submenu">
|
||||||
<bean:write name="app" property="applicationName"/>
|
<bean:write name="store" property="applicationName"/>
|
||||||
</html:link>
|
</html:link>
|
||||||
</li>
|
</li>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</logic:equal>
|
|
||||||
</logic:iterate>
|
</logic:iterate>
|
||||||
</logic:present>
|
</logic:present>
|
||||||
</table>
|
</table>
|
||||||
</Fieldset>
|
</Fieldset>
|
||||||
</td>
|
</td>
|
||||||
<td width="400px" valign="top">
|
</tr>
|
||||||
<fieldset>
|
</table>
|
||||||
<legend><font class="title">Webstore</font></legend>
|
</td>
|
||||||
<table width="100%" border="0" class="display">
|
|
||||||
<logic:present name="<%=Constants.WEB_APPLICATIONS%>">
|
|
||||||
<logic:iterate id="app" name="<%=Constants.WEB_APPLICATIONS%>">
|
|
||||||
<logic:equal name="app" property="applicationType" value="<%= Constants.APP_WEBSTORE%>">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<li class="submenu">
|
|
||||||
<html:link href="SetApplicationParametersAction.do?action=setApplicationParameters" paramName="app" paramId="applicationName" paramProperty="applicationWebContext" styleClass="submenu">
|
|
||||||
<bean:write name="app" property="applicationName"/>
|
|
||||||
</html:link>
|
|
||||||
</li>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</logic:equal>
|
|
||||||
</logic:iterate>
|
|
||||||
</logic:present>
|
|
||||||
</table>
|
|
||||||
</fieldset>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@ String appName = (String) request.getSession().getServletContext().getAttribute(
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<%@ include file="/jsp/include/errors.jsp" %>
|
<%@ include file="/jsp/include/errors.jsp"%>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
<%@ page import="org.posterita.user.*" %>
|
<%@ page import="org.posterita.user.*" %>
|
||||||
<%@ page import="org.posterita.lib.UdiConstants" %>
|
<%@ page import="org.posterita.lib.UdiConstants" %>
|
||||||
<%@ page import="java.util.Properties"%>
|
<%@ page import="java.util.Properties"%>
|
||||||
<%@ page import="org.compiere.model.X_U_Menu" %>
|
<%@ page import="org.compiere.model.X_U_WebMenu" %>
|
||||||
<%@ page import="org.posterita.model.UDIU_Menu" %>
|
<%@ page import="org.posterita.model.U_WebMenu" %>
|
||||||
<%@ page import="java.util.HashMap" %>
|
<%@ page import="java.util.HashMap" %>
|
||||||
<%@ page import="java.util.ArrayList" %>
|
<%@ page import="java.util.ArrayList" %>
|
||||||
<%@ page import="org.posterita.core.MenuItem" %>
|
<%@ page import="org.posterita.core.MenuItem" %>
|
||||||
|
|
Loading…
Reference in New Issue