protected static void writeNonePaging(Device d, SScrollPaneLayout layout) throws IOException { openLayouterBody(d, layout); if( Utils.isMSIEVersion( 8 ) ) d.print("<tr><td valign=\"top\"><div style=\"overflow: auto; \">"); else d.print("<tr><td valign=\"top\"><div style=\"overflow: auto; display: none; \">"); Map components = layout.getComponents(); SComponent center = (SComponent) components.get(SScrollPaneLayout.VIEWPORT); writeComponent(d, center); d.print("</div></td></tr>"); closeLayouterBody(d, layout); }
protected static void writePaging(Device d, SScrollPaneLayout layout) throws IOException { SContainer container = layout.getContainer(); Map components = layout.getComponents(); SComponent north = (SComponent) components.get(SScrollPaneLayout.NORTH); SComponent east = (SComponent) components.get(SScrollPaneLayout.EAST);