This is a form in my Liferay portlet.
<aui:form method="post" action="<%=loginURL%>">
<aui:fieldset>
<aui:input name="userName" label="Usernam">
<aui:validator name="required">
</aui:validator>
</aui:input>
<aui:input name="password" label="Password" type="password"></aui:input>
<aui:button type="submit" value="Login"></aui:button>
</aui:fieldset>
</aui:form>
When I deploy the portlet and go to the page that contains this form I get this error:
The aui:validator tag declares that it accepts dynamic attributes but does not implement the required interface.
I don't understand the problem. How can I fix it? Any help is appreciated in advance.