From partha at fedoraproject.org Thu Aug 20 12:01:14 2015 Content-Type: multipart/mixed; boundary="===============2039562968246405050==" MIME-Version: 1.0 From: Partha Aji To: spacewalk-commits at lists.fedorahosted.org Subject: java/code Date: Wed, 05 May 2010 20:16:09 +0000 Message-ID: <20100505201609.AA246120330@lists.fedorahosted.org> --===============2039562968246405050== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable java/code/src/com/redhat/rhn/frontend/taglibs/list/decorators/ExpansionDec= orator.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) New commits: commit 1e45596b01376251733ec6b29fccdbbc905781c4 Author: Partha Aji Date: Wed May 5 16:17:28 2010 -0400 Changed the tree behaviour to always expand diff --git a/java/code/src/com/redhat/rhn/frontend/taglibs/list/decorators/= ExpansionDecorator.java b/java/code/src/com/redhat/rhn/frontend/taglibs/lis= t/decorators/ExpansionDecorator.java index 838f82f..40b9df0 100644 --- a/java/code/src/com/redhat/rhn/frontend/taglibs/list/decorators/Expansi= onDecorator.java +++ b/java/code/src/com/redhat/rhn/frontend/taglibs/list/decorators/Expansi= onDecorator.java @@ -32,12 +32,13 @@ public class ExpansionDecorator extends BaseListDecorat= or { " style=3D\"cursor: pointer;\">%s  |  = " + "%s"; - = + private static final String NEW_VAR_SCRIPT =3D ""; = private static final String LOAD_SCRIPT =3D ""; + "onLoadStuff(%s, '%s', rowHash= %s);" + + "showAllRows(rowHash%s);"; = /** * {@inheritDoc} @@ -67,6 +68,6 @@ public class ExpansionDecorator extends BaseListDecorator= { public void afterList() throws JspException { ListTag list =3D getCurrentList(); ListTagUtil.write(pageContext, String.format(LOAD_SCRIPT, = - list.getColumnCount(), list.getStyleId(), list= Name)); + list.getColumnCount(), list.getStyleId(), list= Name, listName)); } = } --===============2039562968246405050==--