java.lang.String | cid(java.lang.String) |
Creates client-side control id from server-side id.
|
java.lang.String | scid(java.lang.String) |
Creates selector safe client-side control id from server-side id.
The colon ':' character is reserved for the CSS/JS selector so this function
will escape all of the colon characters by placing two backslashes in front of them.
|
java.lang.Boolean | xb(java.lang.Object) |
Validates that the specified value is a boolean.
Returns true if the value is true; false if the value is false or not a boolean value.
|
java.lang.String | xh(java.lang.String) |
Escapes the specified string to be safe for use in html or html-attribute content.
|
java.lang.String | xj(java.lang.String) |
Escapes the specified string to be safe for use in a javascript string.
|
java.lang.Number | xn(java.lang.Object) |
Validates that the specified value is a number.
Returns the number if the value is a number; 0 if the value is not a number.
|
java.lang.String | xs(java.lang.String) |
Validates that the specified url starts with a safe url scheme.
Returns the URL if its scheme is safe; empty-string ("") if its scheme is not safe.
|
java.lang.String | xu(java.lang.String) |
Escapes the specified string to be safe for use in a url-parameter name or value.
|