manveen     02/05/09 13:17:54

  Modified:    webapps/admin banner.jsp
               webapps/admin/resources dataSources.jspf
  Log:
  * Fix for displaying the (decoded) URL name in the list of Data Source names.
  
  - While creating a new data source resource, the URL is used as the name in the 
object name to uniquely identify the mBean.
  
  -It had to be encoded to void MalformedObjectName exception since it contains 
special charactes ":" which the ObjectName c'tor doesn't like.
  
  * Minor fix for the banner. Removed width attribute from the banner image to prevent 
it from stretching and distorting.
  
  Revision  Changes    Path
  1.7       +1 -1      jakarta-tomcat-4.0/webapps/admin/banner.jsp
  
  Index: banner.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/banner.jsp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- banner.jsp        3 May 2002 22:59:30 -0000       1.6
  +++ banner.jsp        9 May 2002 20:17:54 -0000       1.7
  @@ -18,7 +18,7 @@
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr>
         <td align="left" valign="middle"> 
  -        <div class="masthead-title-text" align="left"><img 
src="images/TomcatBanner.jpg" width="430" height="120"></div>
  +        <div class="masthead-title-text" align="left"><img 
src="images/TomcatBanner.jpg" height="120"></div>
         </td>
         <form method='post' action='/admin/commitChanges.do' target='_self'>
         <td align="right" valign="middle"> 
  
  
  
  1.6       +1 -1      jakarta-tomcat-4.0/webapps/admin/resources/dataSources.jspf
  
  Index: dataSources.jspf
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/resources/dataSources.jspf,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- dataSources.jspf  8 May 2002 02:50:05 -0000       1.5
  +++ dataSources.jspf  9 May 2002 20:17:54 -0000       1.6
  @@ -30,7 +30,7 @@
           <td><div align="left" class="table-normal-text">
             <html:link page='<%= "/resources/setUpDataSource.do?objectName=" + 
                                  URLEncoder.encode(dataSource) %>'>
  -            <controls:attribute name="dataSource" attribute="name"/>
  +            <controls:attribute name="dataSource" attribute="url"/>
             </html:link>
           </div></td>
           <td><div align="left" class="table-normal-text">&nbsp;
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to