O'Reilly logo

Liferay User Interface Development by Frank Yu, Xinsheng Chen, Jonas X. Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Alloy UI form tags

In Alloy UI, Liferay has customized form elements into JavaServer Pages Standard Tag Library (JSTL) tags. The form elements start with aui, like in the following piece of code:

<aui:form action="<%= editArticleActionURL %>" enctype="multipart/form-data" method="post" name="fm1">
</aui:form>

These aui tags are defined in ${AS_ROOT_HOME}/WEB-INF/tld/liferay-aui.tld. They are interpreted by classes in the com.liferay.taglib.aui package.

Alloy form tags provide another option to regular HTML form tags. While you can still use the regular form tags in Liferay, the customized Alloy form tags make UI coding easier:

  • Alloy form tags have defined additional attributes for an element, which means that a developer has more power in manipulating ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required