10-07-2009 10:23 AM
10-07-2009 01:40 PM
10-08-2009 04:40 AM
10-09-2009 12:09 PM
10-12-2009 07:34 AM
<config evaluator="string-compare" condition="Views">
      <!– the views available in the client –>
      <views>
         <!– default values for the views available in the client –>
         <view-defaults>
            <browse>
               <!– allowable values: list|details|icons –>
               <view>details</view>
               <page-size>
                  <list>20</list>
                  <details>20</details>
                  <icons>20</icons>
               </page-size>
            </browse>
         </view-defaults>
      </views>
</config>
exist il d'autres balises à utiliser pour spécifier les propriétés à afficher ?10-12-2009 08:46 AM
10-12-2009 09:17 AM
10-12-2009 10:52 AM
10-12-2009 12:06 PM
10-19-2009 01:41 PM
<table  id="tab" cellspacing="4" cellpadding="4" style="font-weight:bold" border="0" class='selectedItems'  bgcolor="white">
 
 
 <thead>
<tr><th><a href="#" onclick="sortTable(this,0); return
false;">Nom</a></th>
<th><a href="#" onclick="sortTable(this,1); return false;">Nº affaire</a></th>
<th><a href="#" onclick="sortTable(this,2);
return false;">Client</a></th>
<th><a href="#" onclick="sortTable(this,3);
return false;">Désignation</a></th>
<th><a href="#" onclick="sortTable(this,4);
return false;">Mission</a></th>
</tr></thead>
<tbody>
 <#list space.children as child>
    <#if child.isDocument>
       <tr><td>${child.properties.name}</td>
       <#if child.properties["contrat:N_Affaire"]?exists>
      <td>${child.properties["contrat:N_Affaire"]}</td>
       <#else>
      <td> </td>
   </#if>
   <#if child.properties["contrat:Designation"]?exists>
      <td>${child.properties["contrat:Designation"]}</td>
       <#else>
      <td> </td>
</#if>
   <#if child.properties["contrat:Client"]?exists>
      <td>${child.properties["contrat:Client"]}</td>
       <#else>
      <td> </td>
   </#if>
<#if child.properties["contrat:Mission"]?exists>
      <td>${child.properties["contrat:Mission"]}</td></tr>
       <#else>
      <td> </td></tr>
   
</#if>
    </#if>
 </#list>
 </tbody>
 </table>
 
<script type="text/javascript">
<!–
function sortTable (tb, n) {
var iter = 0;
while (!tb.tagName || tb.tagName.toLowerCase()
!= "table") {
if (!tb.parentNode) return;
tb = tb.parentNode;
}
if (tb.tBodies && tb.tBodies[0]) tb = tb.tBodies[0];
/* Tri par sélection
 */
var reg = /^\d+(\.\d+)?$/g;
var index = 0, value = null, minvalue = null;
for (var i= tb.rows.length -1; i >= 0; i -= 1) {
minvalue
= value = null;
index = -1;
for (var j=i; j >= 0; j -= 1) {
value = tb.rows[j].cells[n].firstChild.nodeValue;
if (!isNaN(value)) value = parseFloat(value);
if
(minvalue == null || value < minvalue) { index = j; minvalue = value; }
}
if (index != -1) {
var row = tb.rows[index];
if (row) {
tb.removeChild(row);
tb.appendChild(row);
}}
}
//fin
}
// –>
</script>
					
				
			
			
				
			
			
			
			
			
			
			
		Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.