Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
  • Sample Forms with Alloy UI Tag Libs

    • 0
    • 2
    • 1
    • 3
    • 0
    • 0
    • 0
    • 0
    • 400
    Comment on it

    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.


    <%@ taglib uri="" prefix="portlet" %>
    <%@ page import="javax.portlet.PortletPreferences" %>
    <%@ taglib uri="" 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" />

    Hope this will help you :)

 0 Comment(s)

Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: