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&name=jboss.cache%253Aservice%253DCache%252Cconfig%253Dsfsb-cache'"
type="button">
</p>
<p>
<input
onclick="location='HtmlAdaptor?action=invokeOpByName&name=jboss.cache%253Aservice%253DCache%252Cconfig%253Dsfsb-cache&methodName=printCacheDetailsAsHtml'"
value="Reinvoke MBean Operation" type="button">
</p>
</td>
</tr>
</tbody></table>
<pre>/ {}<br > /sfsb {}<br > /jar=acme-haejb3.jar,name=BankAccountBean,service=EJB3 {}<br > /78 {}<br > /jar=acme-haejb3.jar,name=ShoppingCartBean,service=EJB3 {}<br > /79 {}<br >
</br ></br ></br ></br ></br ></br ></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