If the alwaysAddDefaults
property is set to true
(the default), the ParameterValidator
component adds predefined default string values to the lists of illegal tag names and attributes specified by the illegalTagNames
and illegalAttributeNames
properties.
The following is a list of the values added to the illegalTagNames
property if alwaysAddDefaults
is true
:
img,script,iframe,frame,applet,embed,object,meta
The following is a list of the values added to the illegalAttributeNames
property if alwaysAddDefaults
is true
:
onabort,onactivate,onafterprint,onafterupdate,onbeforeactivate,
onbeforecopy,onbeforecut,onbeforedeactivate,onbeforeeditfocus,
onbeforepaste,onbeforeprint,onbeforeunload,onbeforeupdate,onblur,
onbounce,oncellchange,onchange,onclick,oncontextmenu,oncontrolselect,
oncopy,oncut,ondataavailable,ondatasetchanged,ondatasetcomplete,
ondblclick,ondeactivate,ondrag,ondragend,ondragenter,ondragleave,
ondragover,ondragstart,ondrop,onerror,onerrorupdate,onfilterchange,
onfinish,onfocus,onfocusin,onfocusout,onhashchange,onhelp,oninput,
onkeydown,onkeypress,onkeyup,onload,onlosecapture,onmessage,onmousedown,
onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,
onmousewheel,onmove,onmoveend,onmovestart,onoffline,ononline,onpaste,
onpropertychange,onreadystatechange,onreset,onreset,onresize,onresizeend,
onresizestart,onrowenter,onrowexit,onrowsdelete,onrowsinserted,onscroll,
onsearch,onselect,onselectionchange,onselectstart,onstart,onstop,onsubmit,
onunload,src
If you want to remove an individual default string value from the illegalTagNames
or illegalAttributeNames
property, use the +=-
operator. For example, if alwaysAddDefaults
is true
, you can to remove the value onscroll
from the illegalAttributeNames
property by adding the following to the properties file:
illegalAttributeNames+=-onscroll
If you want to remove all of the default values from both the illegalTagNames
and illegalAttributeNames
properties, set the alwaysAddDefaults
property to false
.