<%@ jet package="cruise.ui.jsf.templates.impl.GUI" imports="java.util.* cruise.umple.compiler.* cruise.ui.jsf.* cruise.model.abstractObjects.BackingObject" class="GridSelectMany" skeleton="../skeleton/IGenerator.skeleton" %> <% BackingObject bckObject = (BackingObject) argument; String voName= bckObject.getClassName()+"VO"; String preffix=JSFProvider.properties.getProperty(cruise.model.Constants.PACKAGE_PREFIX); String completeClassName=(bckObject.getPackageName()!=null?(bckObject.getPackageName()+"."):"") + bckObject.getClassName(); List assocList= new ArrayList(); assocList.addAll( bckObject.getConstructorOneAsociations()); assocList.addAll(bckObject.getZeroOrOneAsociations()); assocList.addAll(bckObject.getMandatoryToSingletonAssociations()); assocList.addAll(bckObject.getOptionalToSingletonAssociations()); %> Bean.edited<%=voName%>List}" var="reg" onRowMouseOver="this.style.backgroundColor='#F1F1F1'" onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'" rows="4" rowKeyVar="row" id="<%=bckObject.getClassName()%>GridList#{uniqueId}" > <% for (AttributeVariable attVar: bckObject.getKeysAttributes()) { %> <% String gridFmt=bckObject.getFragmentProvider().getGUIGridFragment(attVar, "reg" , "a"+bckObject.getClassName()); %> <% if (gridFmt.trim().length()>0){%> <%=gridFmt %> <% } %> <% } %> Type Bean.removeFromLinker}" reRender="<%=bckObject.getClassName()%>SelectionPanel#{uniqueId}" > Bean.selected<%=voName%>}" /> <% String collectionU= bckObject.getClassName()+"s"; String collection =collectionU.substring(0,1).toLowerCase() + collectionU.substring(1); %> Bean.<%=collection%>}" var="reg" onRowMouseOver="this.style.backgroundColor='#F1F1F1'" onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'" rows="6" rowKeyVar="row" id="<%=bckObject.getClassName()%>Grid#{uniqueId}" style="align:center; width:400px;"> <%@ include file="includes/gridColumns.jsfpart" %> Bean.bindCollection}" reRender="<%=bckObject.getClassName()%>SelectionPanel#{uniqueId}"> Bean.selected<%=voName%>}" />