/[volute]/trunk/projects/theory/snapdm/webapp/simdb-browser/web/show/ShowGeneric.jsp
ViewVC logotype

Diff of /trunk/projects/theory/snapdm/webapp/simdb-browser/web/show/ShowGeneric.jsp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 679 by bourges.laurent, Wed Jun 25 17:24:17 2008 UTC revision 680 by bourges.laurent, Wed Jul 9 22:05:49 2008 UTC
# Line 12  Line 12 
12    <a href="Show.do?entity=${requestScope.entity.name}&id=${item.id}&view=xml" title="view as XML"><img src="static/xml_small.png"/></a>    <a href="Show.do?entity=${requestScope.entity.name}&id=${item.id}&view=xml" title="view as XML"><img src="static/xml_small.png"/></a>
13  </p>  </p>
14    
15  <p><b>Attributes : </b></p>  <table border="1" cellspacing="0" cellpadding="4" width="100%">
16  <table id="showTable" border="1" cellspacing="0" cellpadding="4" width="100%">    <tr class="main">
   <tr>  
17      <th>Property</th>      <th>Property</th>
18      <th>Value</th>      <th>Value</th>
19    </tr>    </tr>
20  <c:forEach var="entry" begin="0" items="${meta.attributeList}">  <c:forEach var="entry" begin="0" items="${meta.attributeList}">
21    <tr>    <tr>
22      <th><a name="${entry.name}" title="${entry.description}">${entry.name}</a></th>      <th><span class="tooltipTrigger" title="&lt;h4&gt;${entry.name}&lt;/h4&gt;${entry.description}">${entry.name}</span></th>
23      <td><x:getProperty item="${item}" name="${entry.name}" var="value">${value}</x:getProperty></td>      <td><x:getProperty item="${item}" name="${entry.name}" var="value">${value}</x:getProperty></td>
24    </tr>    </tr>
25  </c:forEach>  </c:forEach>
 </table>  
   
26    
27  <c:if test="${! empty meta.references}">  <c:if test="${! empty meta.references}">
28  <p><b>References : </b></p>    <tr class="main">
   
 <table id="showTable" border="1" cellspacing="0" cellpadding="4" width="100%">  
   <tr>  
29      <th>Reference</th>      <th>Reference</th>
30      <th>Value</th>      <th>Value</th>
31    </tr>    </tr>
32  <c:forEach var="entry" begin="0" items="${meta.referenceList}">  <c:forEach var="entry" begin="0" items="${meta.referenceList}">
33    <tr>    <tr>
34      <th><a name="${entry.name}" title="${entry.description}">${entry.name}</a></th>      <th><span class="tooltipTrigger" title="&lt;h4&gt;${entry.name}&lt;/h4&gt;${entry.description}">${entry.name}</span></th>
35      <td>      <td>
36        <x:getProperty item="${item}" name="${entry.name}" var="ref">        <x:getProperty item="${item}" name="${entry.name}" var="ref">
37          <a href="Show.do?entity=${ref.class.simpleName}&id=${ref.id}" title="show ${ref.class.simpleName}">          <a href="Show.do?entity=${ref.className}&id=${ref.id}" title="show ${ref.className}">
38          ${ref.class.simpleName} - ${ref.id} [${ref.name}]          <x:showRef ref="${ref}"/>
39          </a>          </a>
40        </x:getProperty>        </x:getProperty>
41        </td>        </td>
42    </tr>    </tr>
43  </c:forEach>  </c:forEach>
 </table>  
44  </c:if>  </c:if>
45    
46    
47  <c:if test="${! empty meta.collections}">  <c:if test="${! empty meta.collections}">
48  <p><b>Collections : </b></p>    <tr class="main">
 <table id="showTable" border="1" cellspacing="0" cellpadding="4" width="100%">  
   <tr>  
49      <th>Collection</th>      <th>Collection</th>
50      <th>Value</th>      <th>Value</th>
51    </tr>    </tr>
52    
53  <c:forEach var="entry" begin="0" items="${meta.collectionList}">  <c:forEach var="entry" begin="0" items="${meta.collectionList}">
54    <tr>    <tr>
55      <th><a name="${entry.name}" title="${entry.description}">${entry.name}</a></th>      <th><span class="tooltipTrigger" title="&lt;h4&gt;${entry.name}&lt;/h4&gt;${entry.description}">${entry.name}</span></th>
56      <td>      <td>
57        <x:getProperty item="${item}" name="${entry.name}" var="col">        <x:getProperty item="${item}" name="${entry.name}" var="col">
58            <x:showCollection col="${col}"/>
 <c:forEach var="colItem" begin="0" items="${col}">  
         <a href="Show.do?entity=${colItem.class.simpleName}&id=${colItem.id}" title="show ${colItem.class.simpleName}">  
         ${colItem.class.simpleName} - ${colItem.id}  
         </a>  
         <br/>  
 </c:forEach>  
           
59        </x:getProperty>        </x:getProperty>
60        </td>        </td>
61    </tr>    </tr>
62  </c:forEach>  </c:forEach>
63    </c:if>
64    
65  </table>  </table>
66    
 </c:if>  
   
67  <jsp:include page="../footer.jsp" flush="false" />  <jsp:include page="../footer.jsp" flush="false" />

Legend:
Removed from v.679  
changed lines
  Added in v.680

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26