Skip to content

Instantly share code, notes, and snippets.

@chingovan
Created June 26, 2016 19:27
Show Gist options
  • Save chingovan/69ccdc053e71fcd2d1a668fedf4da9fc to your computer and use it in GitHub Desktop.
Save chingovan/69ccdc053e71fcd2d1a668fedf4da9fc to your computer and use it in GitHub Desktop.
<%@include file="/html/configuration/init.jsp"%>
<%
String greeting = portletPreferences.getValue("greeting", "Hello");
%>
<liferay-portlet:actionURL portletConfiguration="true" var="configurationURL">
</liferay-portlet:actionURL>
<aui:form action="<%= configurationURL %>" method="POST" name="fm_config">
<liferay-ui:success key="success" message="success-message"/>
<aui:row>
<aui:input name="greeting" label="greeting" value="<%= greeting %>"></aui:input>
</aui:row>
<aui:button-row>
<aui:button type="submit" value="save" />
<aui:button type="cancel" value="cancel" />
</aui:button-row>
</aui:form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment