egroupware_official/etemplate/templates/default/table_test.xet
Ralf Becker 63a7af621d allow to submit partial content by passing a container(-widget) to etemplate2.submit()
- not send content is not validated and therefore not passed to server-side callback (currently only implemented for text-, select- and checkbox)
- new method et2_grid.getRow(_widget) to return a fake row container to pass it etemplate2.submit() --> implemented a real row-container for et2_grid
- new output_mode=4 for etemplate_new::exec() to force a json response, like form was submitted from client-side
--> allows to use full server-side validation for ajax like calls submitting only partial content
2015-03-20 02:12:33 +00:00

33 lines
973 B
XML

<?xml version="1.0"?>
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<overlay>
<template id="etemplate.table_test" template="" lang="" group="0" version="">
<grid id="rows" order="first" sort="asc" onsort="alert">
<columns>
<column/>
<column/>
</columns>
<rows>
<row part="header">
<description value="Header" span="all"/>
<description/>
</row>
<row class="th" part="header">
<grid-sortheader label="Col 1 Header" id="first" custom-sort="app.method"/>
<grid-sortheader label="Col 2 Header" id="second"/>
<description value="Col 3 Header"/>
</row>
<row part="footer">
<description value="Footer" span="all"/>
<description/>
</row>
<row class="row">
<description id="${row}[first]"/>
<description id="${row}[second]"/>
<description id="${row}[third]"/>
</row>
</rows>
</grid>
</template>
</overlay>