I am using http://parsleyjs.org/ Javascript API for form validation for a JSF form.
I have included Parsley min JS in the header of the page.
An example code for Email validation input text :
<h:inputText id="userName" class="editText"
value="#{administrator.userName}" data-trigger="change"
data-required="true" data-type="email" />
The tags data-trigger, data-required and data-type are defined for Parsley API.
But JSF removed those tags in the HTML generated.
<input id="j_idt22:userName" type="text" name="j_idt22:userName" class="editText">
What is the way to add those custom tags in HTML generated ?