boolean childSelectorWorkaround = !pageScroller.getSession().getUserAgent().supportsChildSelector();
boolean childSelectorWorkaround = !pageScroller.getSession().getUserAgent().supportsCssChildSelector();
    private void writeButton(Device device, SPageScroller pageScroller, SIcon icon, String event) throws IOException {        boolean childSelectorWorkaround = !pageScroller.getSession().getUserAgent().supportsChildSelector();        boolean showAsFormComponent = pageScroller.getShowAsFormComponent();        if (showAsFormComponent)            device.print("<button type=\"submit\" name=\"")                    .print(Utils.event(pageScroller))                    .print("\" value=\"")                    .print(event)                    .print("\"");        else            device.print("<a href=\"")                    .print(pageScroller.getRequestURL()                    .addParameter(Utils.event(pageScroller) + "=" + event).toString())                    .print("\"");        device.print(">");        device.print("<img");        Utils.optAttribute(device, "src", icon.getURL());        Utils.optAttribute(device, "width", icon.getIconWidth());        Utils.optAttribute(device, "height", icon.getIconHeight());        device.print("/>");        if (showAsFormComponent)            device.print("</button>\n");        else            device.print("</a>\n");    }