writer.writeCall(null, "f_setClientData");
writer.writeMethodCall("f_setClientData");
    protected void encodeClientData(IJavaScriptWriter writer)            throws WriterException {        IClientDataCapability clientDataCapability = (IClientDataCapability) writer                .getComponentRenderContext().getComponent();        String keys[] = clientDataCapability.listClientDataKeys();        if (keys == null || keys.length < 1) {            return;        }        writer.writeCall(null, "f_setClientData");        for (int i = 0; i < keys.length; i++) {            String key = keys[i];            if (key == null || key.length() < 1) {                continue;            }            if (i > 0) {                writer.write(',');            }            writer.writeString(key);            String value = clientDataCapability.getClientData(key);            writer.write(',');            writer.writeString(value);        }        writer.writeln(");");    }