1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
| <logic:notEmpty name="searchIdentForm" property="resultList" scope="session">
<logic:notEqual name="searchIdentForm" property="nbResult" value="0">
<div style="width: 720px; height: 29px; margin-left: 0px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left">
<span class="titreModule"><fmt:message key="atelio.doc.ident.search.result.text"/></span>
</td>
</tr>
<tr>
<td>
<div style="width: 720px; background-image: url('<fmt:message key="atelio.doc.acceuil.bnd.search.trait.rouge.img" bundle="${ApplicationImages}"/>'); background-repeat: repeat-x; height: 10px;"></div>
</td>
</tr>
</table>
</div>
<div style="overflow: auto; width: 720px; height: 485px;" >
<logic:iterate name="searchIdentForm" id="item" property="resultList" type="com.etai.atelio.doc.ident.service.common.ResultDisplayBean" indexId="cptMod">
<div class="resultTab" >
<div class="header">
<!-- IMAGE-NOM -->
<a href="#" onmouseout="document.getElementById('divImg_<bean:write name="cptMod"/>').style.visibility='hidden';"
onmouseover="document.getElementById('divImg_<bean:write name="cptMod"/>').style.visibility='visible';">
<img src='<bean:write name="item" property="imgPath"/>' width="114.25px"></img>
</a>
<bean:write name="item" property="label"/>
<div class="popupImg" id="divImg_<bean:write name="cptMod"/>">
<img src='<bean:write name="item" property="imgPath"/>'></img>
</div>
</div>
<table>
<!-- HEADER -->
<logic:notEmpty name="item" property="criteriaList">
<tr style="background-color:grey:color:white;">
<logic:iterate name="item" id="criteria" property="criteriaList" type="com.etai.atelio.doc.ident.service.common.CriteriaPonderationBean" indexId="cpt">
<logic:equal name="criteria" property="displayForResult" value="true">
<th style="background-color:#AAAAAA;color:white;font-weight:bold;" >
<div style="width: 50px;">
<bean:write name="criteria" property="label"/>
</div>
</th>
</logic:equal>
</logic:iterate>
</tr>
</logic:notEmpty>
<!-- LISTE RESULT -->
<logic:notEmpty name="item" property="resultRowList">
<% int realCpt = 0; %>
<logic:iterate name="item" id="resultRow" property="resultRowList" type="com.etai.atelio.doc.ident.service.common.ResultRowBean" indexId="cptRow">
<tr onclick="displayVariante('<bean:write name="resultRow" property="urlToDetail"/>')" style="cursor:hand"
<%if (realCpt % 2 == 1) {
out.print("class='even'");
} else {
out.print("class='odd'");
}
realCpt++;
%>
onmouseout="onMouseOut(this)";
onmouseover="onMouseOver(this)";
>
<logic:iterate name="resultRow" property="orderedValues" id="column" indexId="cptCol">
<td>
<ul style="text-align: left;">
<%if (cptCol.intValue() == 0){%>
<li style="text-align: left; width: 200px;">
<%}else{ %>
<li style="text-align: left;">
<%} %>
<logic:empty name="column">
</logic:empty> <logic:notEmpty name="column">
<% String allValue = "";
String limitedValue = "";
%>
<logic:iterate name="column" id="aValue" indexId="cpt">
<logic:lessThan name="cpt"
value="<%=ConstantAtelioDoc.SEARCH_RESULT_MAX_ITEM %>">
<%
limitedValue = limitedValue + aValue + "<br>";
%>
</logic:lessThan>
<%
allValue = allValue + aValue + "<br>" ;
%>
</logic:iterate>
<div class="infoBulle"
id="div_<bean:write name="cptMod"/>_<bean:write name="cptRow"/>_<bean:write name="cptCol"/>">
<%=allValue%></div>
<logic:lessThan name="cpt"
value="<%=ConstantAtelioDoc.SEARCH_RESULT_MAX_ITEM %>">
<%=allValue%>
</logic:lessThan>
<logic:greaterEqual name="cpt"
value="<%=ConstantAtelioDoc.SEARCH_RESULT_MAX_ITEM %>">
<span onmouseout="document.getElementById('div_<bean:write name="cptMod"/>_<bean:write name="cptRow"/>_<bean:write name="cptCol"/>').style.visibility='hidden';"
onmouseover="document.getElementById('div_<bean:write name="cptMod"/>_<bean:write name="cptRow"/>_<bean:write name="cptCol"/>').style.visibility='visible';">
<%=limitedValue %>... </span>
</logic:greaterEqual>
</logic:notEmpty></li>
</ul>
</td>
</logic:iterate>
</tr>
</logic:iterate>
</logic:notEmpty>
</table>
</div>
</logic:iterate>
</div>
</logic:notEqual>
</logic:notEmpty> |
Partager