META-INF.resources.notification.form_entry_add_body.soy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.dynamic.data.mapping.service Show documentation
Show all versions of com.liferay.dynamic.data.mapping.service Show documentation
Liferay Dynamic Data Mapping Service
{namespace form}
/**
* Print a form field.
*/
{template .field}
{@param field: ?}
{if isNonnull($field)}
{$field.label}
{$field.value}
{/if}
{/template}
/**
* Print a list of form fields.
*/
{template .fields}
{@param fields: ?}
{foreach $field in $fields}
{call form.field data="all"}
{param field: $field /}
{/call}
{/foreach}
{/template}
/**
* Print a form entry.
*/
{template .form_entry}
{@param authorName: string}
{@param formName: string}
{@param pages: ?}
{@param siteName: string}
{@param userName: string}
{@param viewFormEntriesURL: string}
{@param viewFormURL: string}
{$formName}
{$siteName}
Hi, {$authorName}
{$userName} submitted an entry for the {$formName} form in the {$siteName} site. View all the form's entries by clicking here.
Click here to access the form
Here's what {$userName} entered into the form:
{call form.pages data="all"}
{param pages: $pages /}
{/call}
Click here to access the form
{/template}
/**
* Print a list of pages
*/
{template .pages}
{@param pages: ?}
{foreach $page in $pages}
{$page.title}
{call form.fields data="all"}
{param fields: $page.fields /}
{/call}
{/foreach}
{/template}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy