Author: chathura
Date: Wed Jan 30 20:41:03 2008
New Revision: 13185

Log:


Added a proper media type for synapse repo.



Modified:
   
branches/registry/1_0/modules/core/src/main/java/org/wso2/registry/servlet/registry.xml
   branches/registry/1_0/modules/webapps/conf/collection-media-types.conf
   branches/registry/1_0/modules/webapps/src/main/webapp/admin/people.jsp
   branches/registry/1_0/modules/webapps/src/main/webapp/admin/user.jsp

Modified: 
branches/registry/1_0/modules/core/src/main/java/org/wso2/registry/servlet/registry.xml
==============================================================================
--- 
branches/registry/1_0/modules/core/src/main/java/org/wso2/registry/servlet/registry.xml
     (original)
+++ 
branches/registry/1_0/modules/core/src/main/java/org/wso2/registry/servlet/registry.xml
     Wed Jan 30 20:41:03 2008
@@ -20,7 +20,7 @@
     </dbconfig>
 
     <mediaTypeHandler>
-        <mediaType>synapse-repo</mediaType>
+        <mediaType>application/vnd.synapse</mediaType>
         
<handler>org.wso2.registry.jdbc.mediatypes.builtin.SynapseRepositoryMediaTypeHandler</handler>
     </mediaTypeHandler>
 

Modified: branches/registry/1_0/modules/webapps/conf/collection-media-types.conf
==============================================================================
--- branches/registry/1_0/modules/webapps/conf/collection-media-types.conf      
(original)
+++ branches/registry/1_0/modules/webapps/conf/collection-media-types.conf      
Wed Jan 30 20:41:03 2008
@@ -1,8 +1,2 @@
 default
-synapse-repo
-synapse-conf
-synapse-sequences
-synapse-endpoints
-synapse-proxy-services
-synapse-tasks
-synapse-entries
\ No newline at end of file
+application/vnd.synapse
\ No newline at end of file

Modified: branches/registry/1_0/modules/webapps/src/main/webapp/admin/people.jsp
==============================================================================
--- branches/registry/1_0/modules/webapps/src/main/webapp/admin/people.jsp      
(original)
+++ branches/registry/1_0/modules/webapps/src/main/webapp/admin/people.jsp      
Wed Jan 30 20:41:03 2008
@@ -94,7 +94,7 @@
                                        <td><input type="password" 
name="confirmedPassword"/></td>
                                    </tr>
                         <tr>
-                                       <td>Friendly name</td>
+                                       <td>Display name</td>
                                        <td><input type="text" 
name="friendlyName"/></td>
                                    </tr>
                         <tr>
@@ -133,7 +133,7 @@
                        <table cellpadding="0" cellspacing="0" border="0" 
style="width:100%" class="data-table">
                            <tr>
                                <th>Username</th>
-                               <th>Name</th>     
+                               <th>Display name</th>     
                                <th style="width:100px;" 
align="left">Action</th>
                        
                            </tr>

Modified: branches/registry/1_0/modules/webapps/src/main/webapp/admin/user.jsp
==============================================================================
--- branches/registry/1_0/modules/webapps/src/main/webapp/admin/user.jsp        
(original)
+++ branches/registry/1_0/modules/webapps/src/main/webapp/admin/user.jsp        
Wed Jan 30 20:41:03 2008
@@ -67,7 +67,7 @@
     <div id="friendlyNameDiv">
         <table cellpadding="0" cellspacing="0" border="0" 
class="simple-data-table" style="width:400px;margin-bottom:10px;">
             <tr id="friendlyNameView">
-                <th style="width:140px; height:25px;">Friendly name:</th>
+                <th style="width:140px; height:25px;">Display name:</th>
                 <td style="text-align:right;width:20px;" align="right">
                     <% if (userDetailsAction.isUserEditable()) { %>
                     <a 
onclick="showHideCommon('friendlyNameEdit');showHideCommon('friendlyNameView');"
 title="Edit Friendly Name" href="#">
@@ -80,7 +80,7 @@
                 </td>
             </tr>
             <tr id="friendlyNameEdit" style="display:none;">
-                <th style="width:140px; height:25px;">Friendly name:</th>
+                <th style="width:140px; height:25px;">Display name:</th>
                 <td style="text-align:right;width:20px;" align="right">
                     <a title="Save Friendly Name" href="#editButton" 
onclick="showHideCommon('friendlyNameEdit');showHideCommon('friendlyNameView');saveFriendlyName('<%=userDetailsAction.getDisplayUserName()%>');">
                         <img border="0" align="bottom" 
src="/wso2registry/admin/images/save-button.gif"/>
@@ -146,7 +146,7 @@
     </form>
     <% } %>
     
-    <h3>Available roles to <%=userDetailsAction.getDisplayUserName()%></h3>
+    <h3><%=userDetailsAction.getDisplayUserName()%>'s roles</h3>
     <table cellpadding="0" cellspacing="0" border="0" style="width:600px;" 
class="data-table">
         <tr>
             <th>Role Name</th>
@@ -162,7 +162,7 @@
         <% } %>
 
     </table>
-    <h3 style="margin-top:10px;">Recent activity of 
<%=userDetailsAction.getDisplayUserName()%></h3>
+    <h3 style="margin-top:10px;"><%=userDetailsAction.getDisplayUserName()%>'s 
recent activities</h3>
 
     <table cellspacing="0" cellpadding="0" border="0" style="width:100%">
         <%

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to