public WidgetBuilder nativeAttr(String name, String value, String defaultValue) throws IOException {
        if (value != null && !value.equals(defaultValue)) {
            ResponseWriter rw = context.getResponseWriter();
            rw.write(",");
            rw.write(name);
            rw.write(":");
            rw.write(value);
        }

        return this;
    }
This should only be used internally if the selector is directly used by jQuery on the client.
If PFS is used and specified by the user, {@link #attr(java.lang.String, java.lang.String)} should be used
as the users have to escape colons like @(myForm\:myId).

@param name of the attribute
@param value of the selector
@return the WidgetBuilder
@throws IOException if any error occurs
primefaces/src/main/java/org/primefaces/util/WidgetBuilder.java