You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2011/11/02 16:44:27 UTC
svn commit: r1196643 - in /jmeter/trunk/xdocs/stylesheets: site.vsl
site_printable.vsl
Author: sebb
Date: Wed Nov 2 15:44:27 2011
New Revision: 1196643
URL: http://svn.apache.org/viewvc?rev=1196643&view=rev
Log:
.hasChildren() was deprecated and removed; use replacement
Also apply nested child check to <td> elements
Modified:
jmeter/trunk/xdocs/stylesheets/site.vsl
jmeter/trunk/xdocs/stylesheets/site_printable.vsl
Modified: jmeter/trunk/xdocs/stylesheets/site.vsl
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/site.vsl?rev=1196643&r1=1196642&r2=1196643&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/site.vsl (original)
+++ jmeter/trunk/xdocs/stylesheets/site.vsl Wed Nov 2 15:44:27 2011
@@ -79,7 +79,7 @@
#end
<td bgcolor="$tabletdbg" #if ($colspan)colspan="$colspan"#end #if ($rowspan)rowspan="$rowspan"#end valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
-#if ($value.getText().length() != 0)
+#if ($value.getText().length() != 0 || $value.getChildren().size() > 0)
$xmlout.outputString($value, true)
#else
@@ -97,7 +97,7 @@ $xmlout.outputString($value, true)
#end
<td bgcolor="$tablethbg" #if ($colspan)colspan="$colspan"#end #if ($rowspan)rowspan="$rowspan"#end valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
-#if ($value.getText().length() != 0 || $value.hasChildren())
+#if ($value.getText().length() != 0 || $value.getChildren().size() > 0)
$xmlout.outputString($value, true)
#else
Modified: jmeter/trunk/xdocs/stylesheets/site_printable.vsl
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/site_printable.vsl?rev=1196643&r1=1196642&r2=1196643&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/site_printable.vsl (original)
+++ jmeter/trunk/xdocs/stylesheets/site_printable.vsl Wed Nov 2 15:44:27 2011
@@ -79,7 +79,7 @@
#end
<td bgcolor="$tabletdbg" #if ($colspan)colspan="$colspan"#end #if ($rowspan)rowspan="$rowspan"#end valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
-#if ($value.getText().length() != 0)
+#if ($value.getText().length() != 0 || $value.getChildren().size() > 0)
$xmlout.outputString($value, true)
#else
@@ -93,7 +93,7 @@ $xmlout.outputString($value, true)
#set ($rowspan = $value.getAttributeValue("rowspan"))
<td bgcolor="$tablethbg" #if ($colspan)colspan="$colspan"#end #if ($rowspan)rowspan="$rowspan"#end valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
-#if ($value.getText().length() != 0 || $value.hasChildren())
+#if ($value.getText().length() != 0 || $value.getChildren().size() > 0)
$xmlout.outputString($value, true)
#else