org.webpieces.plugins.properties.bean.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-properties Show documentation
Show all versions of plugin-properties Show documentation
Webpieces database backed property store
#{extends '../backend/main.html'/}#
#{set title:'Controllers'/}#
#{set tab:'management'/}#
#{form action:@[POST_BEAN_CHANGES, category:category, name:name]@, class:'form-horizontal', style:'min-width:500px;max-width:800px;margin: 0 auto'}#
Properties for ${beanMeta.name}$.class
#{if _flash.error}#
Oops....
${_flash.error}$
#{/if}#
#{list items:beanMeta.properties, as:'property'}#
#{if property.readOnly}#
#{field property.name, label:property.name}#${field.flashOrValue}$#{/field}#
#{/if}#
#{else}#
#{field property.name, label:property.name}##{/field}#
#{/else}#
#{/list}#
#{else}#
No getter methods found on interface ${beanMeta.interface.name}$
#{/else}#
*{
#{field property.name, label:property.name}##{/field}#
}*
#{field 'thisServerOnly', label: 'This Server Only:'}#
#{/field}#
#{/form}#