This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #set ($languageResources = $portal.getClass().forName("com.liferay.portal.language.LanguageResources")) | |
| #set ($VOID = $languageResources.putLanguageMap($locale, {"liferay-1": "Liferay 1 2 3", "liferay-2": "Liferay is cool fdfdfdfs"})) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $record.getStatus() == 0 is approved |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%-- | |
| /** | |
| * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved. | |
| * | |
| * This library is free software; you can redistribute it and/or modify it under | |
| * the terms of the GNU Lesser General Public License as published by the Free | |
| * Software Foundation; either version 2.1 of the License, or (at your option) | |
| * any later version. | |
| * | |
| * This library is distributed in the hope that it will be useful, but WITHOUT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| ## Velocity Transform Template | |
| ## | |
| ## All dynamic elements in a structure can be accessed as a Velocity variable. | |
| ## | |
| ## The given structure: | |
| ## | |
| ## <root> | |
| ## <dynamic-element name="main-text" type="text_area"> | |
| ## <dynamic-element name="sub-image" type="image"></dynamic-element> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form method="post"> | |
| <input type="hidden" name="submit" value="Submitted"/> | |
| <input type="submit" value="Submit" /> | |
| </form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Get Services | |
| #set ($organizationLocalService = $serviceLocator.findService('com.liferay.portal.service.OrganizationLocalService')) | |
| #set ($imageLocalService = $serviceLocator.findService('com.liferay.portal.service.ImageLocalService')) | |
| #set($organizations = $user.getOrganizations()) | |
| #set ($defaultOrganization = $organizationLocalService.getOrganizations(0,1)) | |
| #if($organizations.size() > 0) | |
| #set($organizations = $organizations.get(0)) | |
| #else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sendAsEmail = "false" | |
| fieldLabel4 = "Comments" | |
| emailFromAddress = "[email protected]" | |
| emailAddress = | |
| fieldOptional1 = "false" | |
| fieldValidationScript1 = | |
| successURL = | |
| emailFromName = "Test Test" | |
| description = "Your input is valuable to us. Please send us your suggestions. | |
| requireCaptcha = "false" |