| Template Instructions / Template Instructions | |
Associates data with the current element, in order to be used by JavaScriptâ„¢ on the client side.
<tag gwc:marks="mkp expression [; ...] " ...> ... </tag>
<gwc:snippet-root>
<input type="text" readonly="readonly" class="gField gEdit"
gwc:marks="
field [CID];
currentFieldStyle [CID,'gCurrentField'];
modifiable isModifiable?[CID]:null;
"
gwc:attributes="
class _tpl_+(isModifiable ? '':' gDisabled')+(color?' gColor_'+color:'')+
(hidden!=2?'':' gHidden');
value value;
size width;
maxLength maxLength || null;
title comment;
"
/>
</gwc:snippet-root>
This defines the rendering of an Edit field.