Update of /cvsroot/ejtools/applications/jndi.browser/src/webapp/content
In directory usw-pr-cvs1:/tmp/cvs-serv4865/jndi.browser/src/webapp/content
Modified Files:
detail.jsp
Log Message:
Detail view of the context
Index: detail.jsp
===================================================================
RCS file: /cvsroot/ejtools/applications/jndi.browser/src/webapp/content/detail.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** detail.jsp 24 May 2002 21:16:36 -0000 1.1
--- detail.jsp 25 May 2002 20:53:14 -0000 1.2
***************
*** 59,82 ****
<tr>
<td align="right" nowrap="true">
! <b>Short Name :</b>
! </td>
! <td align="left" width="90%">
! <bean:write name="detail" property="name"/>
! </td>
! </tr>
! <tr>
! <td align="right" nowrap="true">
! <b>Class Name :</b>
</td>
<td align="left" width="90%">
! <bean:write name="detail" property="className"/>
</td>
</tr>
<tr>
<td align="right" nowrap="true">
! <b>Full JNDI Path :</b>
</td>
<td align="left" width="90%">
! <bean:write name="detail" property="path"/>
</td>
</tr>
--- 59,74 ----
<tr>
<td align="right" nowrap="true">
! <b>Name :</b>
</td>
<td align="left" width="90%">
! <bean:write name="detail.info.descriptor" property="displayName"/>
</td>
</tr>
<tr>
<td align="right" nowrap="true">
! <b>Description :</b>
</td>
<td align="left" width="90%">
! <bean:write name="detail.info.descriptor" property="shortDescription"/>
</td>
</tr>
***************
*** 85,88 ****
--- 77,127 ----
</tr>
</table>
+ <!-- ======================================== -->
+ <!-- Test for Properties -->
+ <!-- ======================================== -->
+ <bean:size name="detail.info.properties" id="propertiesSize"/>
+ <logic:greaterThan name="propertiesSize" value="0">
+ <!-- ======================================== -->
+ <!-- Spacer -->
+ <!-- ======================================== -->
+ <img border="0" src="images/white.png" width="5" height="15"/>
+ <!-- ======================================== -->
+ <!-- Properties -->
+ <!-- ======================================== -->
+ <table border="0" width="100%" cellspacing="1" cellpadding="2" bgcolor="#CCCCCC">
+ <!-- ======================================== -->
+ <!-- Properties Headers -->
+ <!-- ======================================== -->
+ <tr bgcolor="#000090">
+ <td align="center" valign="top" width="30%">
+ <font face="verdana,arial,sans-serif" color="#ffffff" size="-1">
+ <b>Property</b>
+ </font>
+ </td>
+ <td align="center" valign="top" width="30%">
+ <font face="verdana,arial,sans-serif" color="#ffffff" size="-1">
+ <b>Value</b>
+ </font>
+ </td>
+ </tr>
+ <!-- ======================================== -->
+ <!-- Properties List -->
+ <!-- ======================================== -->
+ <logic:iterate name="detail.info.properties" id="property" type="java.beans.PropertyDescriptor">
+ <tr bgcolor="#EEEEEE">
+ <td valign="top" align="left">
+ <jsp:text><a href="javascript:alert('</jsp:text>
+ <bean:write name="property" property="shortDescription"/>
+ <jsp:text>');"></jsp:text>
+ <bean:write name="property" property="displayName"/>
+ <jsp:text></a></jsp:text>
+ </td>
+ <td class="attributeValue" valign="top" align="left">
+ <app:propertyEditor name="detail" property="property" filter="false"/>
+ </td>
+ </tr>
+ </logic:iterate>
+ </table>
+ </logic:greaterThan>
</body>
</html>
|