• AUI Form In Liferay

    AUI Form In Liferay

    Liferay's AUI Library have extensive elements for handling form elements, AUI form elements are responsive and we can use the Liferay's AUI validators without having to use any javascript code or external libraray.

    <%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %> <%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> <aui:form> <aui:input name="title" type="text"/> <aui:input name="description" type="textarea"/> <aui:select name="items"> <aui:option value="item1">Item1</aui:option> <aui:option value="item2">Item2</aui:option> </aui:select> <aui:input name="timeZone" type="timeZone"/> <aui:input name="checkbox" type="checkbox"/> <aui:input name="radio" type="radio"/> <aui:input name="hidden" type="hidden"/> <aui:input name="file" type="file"/> </aui:form>


    Post a Comment