webpiecesxxxxxpackage.web.secure.crud.userAddEdit.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of WEBPIECESxAPPNAME Show documentation
Show all versions of WEBPIECESxAPPNAME Show documentation
Someone forgot to fill this in. See http://stackoverflow.com/questions/38272550/how-to-fail-the-gradle-build-if-subproject-is-missing-a-property
#{extends '../../mainTemplate.html'/}#
#{set title:'Add/Edit'/}#
#{set tab:'userlist'/}#
#{form action:@[POST_USER_FORM]@, class:'form-horizontal', style:'min-width:500px;max-width:800px;margin: 0 auto'}#
User
#{if _flash.error}#
Oops....
${_flash.error}$
#{/if}#
*{optional in case this is the add operation and so this is used in case of edits only }*
*{Generally, we only use field, but for purposes of demonstration, we use the myfield tag as an example of a custom 'field' tag you own in your project}*
#{field 'entity.firstName', label:'First Name'}##{/field}#
#{myfield 'entity.lastName', label:'Last Name'}##{/myfield}#
#{myfield 'entity.email', label:'Email'}##{/myfield}#
#{field 'password', label:'Password'}##{/field}#
#{field 'entity.isFun', label: 'Is Fun:'}##{/field}#
#{field 'entity.levelOfEducation', label:'School Level'}#
#{/field}#
#{field 'selectedRoles', label:'Role'}#
#{/field}#
#{/form}#
*{
Option 2, OLD School file BUT our platform supports streaming
Most platforms like wordpress have a setting they set for max up loads BECAUSE they don't support streaming and it
will blow out their memory. We support streaming so we can do it in pieces using max memory of about 224k per file
upload before backpressuring client(ie. if you don't process fast enough, it stops clients from sending.
This does not suffer from request/response either since it streams it in. A 3rd option would be websockets
}*
© 2015 - 2024 Weber Informatics LLC | Privacy Policy