almost 8 years ago
In Liferay 6.2 we can use the forms with Alloy UI tags . The Alloy UI Tags can provide the way to do activity with Simple Alloy UI forms same as HTML forms tags. By the below Example we can show how to use Forms with Alloy UI.
Example:
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> <%@ page import="javax.portlet.PortletPreferences" %> <%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %> <portlet:defineObjects /> <portlet:actionURL name="loginCheck" var="loginURL" /> <aui:form name="loginCheck" method="POST" action="<%=loginURL.toString()%>" class="dropzone" enctype="multipart/form-data"> <aui:input type="text" label="PermitNo:" name="pid" /> <aui:input type="password" label="Password" name="password" /> <aui:input type="file" name="file" /> <aui:button type="submit" value="addDetails" /> </aui:form>
Hope this will help you :)
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)