<%@ include file="imports.jsp"%> <% org.openxava.controller.ModuleManager manager = (org.openxava.controller.ModuleManager) context.get(request, "manager"); org.openxava.view.View view = (org.openxava.view.View) context.get(request, "xava_view"); boolean buttonBar = !"false".equalsIgnoreCase(request.getParameter("buttonBar")); String focusPropertyId = manager.isListMode()?org.openxava.web.Lists.FOCUS_PROPERTY_ID:view.getFocusPropertyId(); %>
<%=manager.getFormAction(request)%> style="display: inline;" onsubmit="return false"> <%-- Here, and not at bottom of form, because if there are some erroneous markup inside the view, then maybe these hidden fields are not found by javascript. Concretely, if you put this hidden fields on bottom then InvoiceAmounts (from OpenXavaTest) with Firefox 3 and Liferay 5.1.1, 5.1.2 and 5.2.2 produces a JavaScript error. --%> "/> "/> <% String listModeClass=manager.isListMode()?"class='" + style.getListMode() + "'":""; %>
<%=style.getModuleSpacing()%>> <% if (buttonBar) { %>
<% } %>
<% if (style.isShowModuleDescription() && !manager.isListMode()) { %>
<%=manager.getModuleDescription()%>
<% } %>
style='padding-top: 2px;'>
<%@include file="viewExt.jsp"%>
<% if (style.isSeparatorBeforeBottomButtons()) { %>
<% } %>