View Full Version : Changing defaults in testpage.jsp

08-07-2003, 05:07 PM
I like the way the testpage.jsp in the example application works. I have 2 questions:
1. How can I set it so that the "Show parent members" button is "ON" or selected by default?
2. Similarly, how can I change the code to "Suppress zero/empty rows" by default?
Any code samples are greatly appreciated. Thanks.

08-10-2003, 10:42 PM
Add the following lines inside the toolbar tag:
<c:set target="${table01.extensions.axisStyle}" property="levelStyle" value="true"/>
<c:set target="${table01.extensions.nonEmpty}" property="buttonPressed" value="true"/>
This will change the settings initially. If you place them outside the toolbar tag, the settings will not be changeable (you could remove the toolbar buttons then).