Author: chanaka
Date: Sat Feb 9 04:12:34 2008
New Revision: 13485
Log:
Fixed the issue "UI does not deal with long paths"
Modified:
trunk/registry/modules/webapps/src/main/webapp/admin/registry-resources.jsp
Modified:
trunk/registry/modules/webapps/src/main/webapp/admin/registry-resources.jsp
==============================================================================
--- trunk/registry/modules/webapps/src/main/webapp/admin/registry-resources.jsp
(original)
+++ trunk/registry/modules/webapps/src/main/webapp/admin/registry-resources.jsp
Sat Feb 9 04:12:34 2008
@@ -72,12 +72,12 @@
<tr>
<td class="leftColoumSizer" valign="top">
-<div class="box1-head" >
+<div class="box1-head" style="height:auto;" >
<table cellspacing="0" cellpadding="0" border="0" style="width:100%">
<tr>
<td valign="top">
-<h2 class="sub-headding-resources">
+
<!-- Page resource path prints here -->
<div class="top-toolbar-back">
<% if (details.isCollection()) { %>
@@ -88,7 +88,7 @@
List iNavPaths = details.getNavigatablePaths();
if (iNavPaths.size() > 0) {
ResourcePath rootPath = (ResourcePath) iNavPaths.get(0);
- %><a href="/wso2registry/web<%=rootPath.getNavigatePath()%>"
title="root"><img src="/wso2registry/admin/images/icon-home-big.gif" border="0"
align="top" /></a> <a href="/wso2registry/web<%=rootPath.getNavigatePath()%>"
title="root">/</a><%
+ %><a href="/wso2registry/web<%=rootPath.getNavigatePath()%>"
title="root"><img src="/wso2registry/admin/images/icon-home-big.gif" border="0"
align="top" /></a></td><td valign="top" style="padding-left:5px;"><h2
class="sub-headding-resources"> <a
href="/wso2registry/web<%=rootPath.getNavigatePath()%>" title="root">/</a><%
if (iNavPaths.size() > 1) {
ResourcePath childPath = (ResourcePath) iNavPaths.get(1);
@@ -140,7 +140,7 @@
<tr><th>Last
Updated:</th><td><%=details.getFormattedLastModified()%></td><th>By:</th><td><%=details.getLastUpdater()%></td></tr>
<tr><th>Media Type:</th><td colspan="3"><% if (details.getMediaType()
!= null && details.getMediaType().length() != 0) {
%><%=details.getMediaType()%><% } else { %>Unknown<% } %></td> </tr>
<% if (details.isCollection()) { %>
- <tr><th>Permalink:</th><td colspan="3"><a
href="/wso2registry/web<%=details.getPermalink()%>"><%=details.getServerBaseURL()%>/wso2registry/web<%=details.getPermalink()%></a></td></tr>
+ <tr><th valign="top">Permalink:</th><td colspan="3"><a
href="/wso2registry/web<%=details.getPermalink()%>"><%=details.getServerBaseURL()%>/wso2registry/web<%=details.getPermalink()%></a></td></tr>
<% } else { %>
<tr><th>Permalink:</th><td colspan="3"><a target="_blank"
href="/wso2registry/resources<%=details.getPermalink()%>"><%=details.getServerBaseURL()%>/wso2registry/resources<%=details.getPermalink()%></a></td></tr>
<% } %>
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev