<%@ include file="imports.jsp"%> <%@ page import="org.openxava.web.WebEditors"%> <%@ page import="org.openxava.view.View" %> <%@ page import="org.openxava.tab.Tab" %> <%@ page import="org.openxava.util.XavaPreferences" %> <%@ page import="org.openxava.util.XavaResources" %> <%@ page import="org.openxava.model.meta.MetaProperty" %> <%@ page import="org.openxava.web.Ids" %> <%@ page import="org.openxava.web.Collections" %> <% String collectionName = request.getParameter("collectionName"); String viewObject = request.getParameter("viewObject"); View view = (View) context.get(request, viewObject); View collectionView = view.getSubview(collectionName); String viewName = viewObject + "_" + collectionName; String frameId = Ids.decorate(request, "frame_" + view.getPropertyPrefix() + collectionName); String hiddenStyle = view.isFrameClosed(frameId)?"":"style='display: none'"; if (!collectionView.isCollectionFromModel()) { Tab tab = collectionView.getCollectionTab(); if (request.getAttribute(Tab.TAB_RESETED_PREFIX + tab) == null) { String collectionId = Collections.id(request, collectionName); String tabObject = Collections.tabObject(collectionId); tab.setTabObject(tabObject); tab.setRequest(request); tab.setConditionParameters(); tab.reset(); request.setAttribute(Tab.TAB_RESETED_PREFIX + tab, Boolean.TRUE); } } %> > (<%=collectionView.getCollectionSize()%>) <% if (collectionView.isCollectionEditable()) { %> <% } %> > <% int totalRows = collectionView.getCollectionTotalsCount(); int totalColumns = collectionView.getMetaPropertiesList().size(); for (int row=0; row    <%=collectionView.getCollectionTotalLabel(row, column)%>: <%=ftotal%> <% } } } if (!collectionView.isCollectionFromModel() && XavaPreferences.getInstance().isSummationInList()) { Tab tab = collectionView.getCollectionTab(); int totalTabColumns = tab.getMetaProperties().size(); for (int column=0; column    <%=label%>: <%=ftotal%> <% } } } %>