[jbosscache-issues] [JBoss JIRA] Created: (JBCACHE-1458) CacheJmxWrapper.printCacheDetailsAsHtml not showing carriage returns properly

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Mon Jan 5 10:12:54 EST 2009


CacheJmxWrapper.printCacheDetailsAsHtml not showing carriage returns properly
-----------------------------------------------------------------------------

                 Key: JBCACHE-1458
                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1458
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.0.1.GA
         Environment: Fedora 10 + Firefox 3
            Reporter: Galder Zamarreno
            Assignee: Galder Zamarreno
             Fix For: 3.0.2.GA


HTML generate is something like this which does not show correctly
in the environment indicated:

<html><head>
   <title>Operation Results</title>
   <link rel="stylesheet" href="style_master.css" type="text/css">
   <meta http-equiv="cache-control" content="no-cache">
</head><body leftmargin="10" rightmargin="10" topmargin="10">

<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">

 <tbody><tr>
  <td align="center" height="105"><h1>JMX MBean Operation View</h1>localhost.localdomain</td>
  <td align="center" height="105" width="300">
    <p>
      <input value="Back to Agent" onclick="javascript:location='HtmlAdaptor?action=displayMBeans'" type="button">
      <input value="Back to MBean" onclick="javascript:location='HtmlAdaptor?action=inspectMBean&amp;name=jboss.cache%253Aservice%253DCache%252Cconfig%253Dsfsb-cache'" type="button">
    </p>
    <p>

    <input onclick="location='HtmlAdaptor?action=invokeOpByName&amp;name=jboss.cache%253Aservice%253DCache%252Cconfig%253Dsfsb-cache&amp;methodName=printCacheDetailsAsHtml'" value="Reinvoke MBean Operation" type="button">

    </p>
  </td>
 </tr>
</tbody></table>

<pre>/&nbsp;&nbsp;{}<br&nbsp;>&nbsp;&nbsp;/sfsb&nbsp;&nbsp;{}<br&nbsp;>&nbsp;&nbsp;&nbsp;&nbsp;/jar=acme-haejb3.jar,name=BankAccountBean,service=EJB3&nbsp;&nbsp;{}<br&nbsp;>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/78&nbsp;&nbsp;{}<br&nbsp;>&nbsp;&nbsp;&nbsp;&nbsp;/jar=acme-haejb3.jar,name=ShoppingCartBean,service=EJB3&nbsp;&nbsp;{}<br&nbsp;>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/79&nbsp;&nbsp;{}<br&nbsp;>

</br&nbsp;></br&nbsp;></br&nbsp;></br&nbsp;></br&nbsp;></br&nbsp;></pre>

</body></html>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosscache-issues mailing list