as it is possible to configure the results per page for my recent requests in Catalog it should also be possible, to set the height of the frame itself. Otherwise the frame shows only 11 requests (even if there is a lot more space available) and you have to scroll down to see the rest of the results.
I couldn't find a parameter in the catalogBrowse.xsl to edit it but when you lookup the dom inspector you can see, that there is a height set to this frame. Where can I set this value by myself`?
in the dom inspector I found the part where the height is set:
<div class="x-panel-body" role="presentation" style="height: 275px;" __eventBits="16384">
<div tabIndex="0" class=" x-grid-panel x-component " id="listpage_grid" style="width: auto; height: 274px; position: relative;" hideFocus="" __listener=" .....
when I set the 2 height attributes to 460/459 than all of my 20 requests are shown without scrolling. But I could find out where these divs are build up. All I could find was the part:
<!-- commenting for boarstone CA World demo-->
<div style="display:none;" id='gwtRefreshDiv'>
<table class="t" cellpadding="0" cellspacing="0" >
<xsl:with-param name="id" select="'gwtRefreshBtn'" />
<xsl:with-param name="text" select="$xslcontent/refresh" />
Can anybody tell me where the listframe is build up?
as discussed with Samudrala, Srinath (thanks a lot to him) the following midification solves it:
In catalogbrowse.xsl file which is located at ‘USM_HOME\ view\webapps\usm\explorer\request’, you find following code :
12.8:<xsl:variable name="gridHeight"> <xsl:choose> <xsl:when test="$layout='1'">455</xsl:when> <xsl:otherwise>340</xsl:otherwise> </xsl:choose> </xsl:variable>
Change the value of 340 to 600 and put the XSL file in customs folder, delete the translets and restart the machine.
12.7 // START : Variables will be used in the GXT list pages Don't change <xsl:call-template name="gridmetadata"> <xsl:with-param name="xslcontent3" select="$xslcontent3"/> </xsl:call-template> pageType = "catalogbrowse" ; <!-- Overridden value of page Type --> gridHeight = 325 ; <!-- Overridden value of grid Height --> // End of GXT list pages meta data
Change ‘gridHeight’ value from 325 to 600.
That is exactly what I meant... I tried to apply these changes to the other list (as my pending request etc.) as well but I couldn't find the gridheight attribute in these XSL's. Is it possible to change the height for the other lists similar?
Hi there, I got an answer from Srinath (Thanks again!):
In the following XSL files:
Search for the tag ‘gridmetadata’ and add ‘gridHeight =600’ below pageType variable as you see in catalogbrowse.xsl
Delete the translets and restart the service.
This worked and now all 20 requests are shown without using the scrollbar.