Template Instructions / Template Instructions |
Replace the XHTML DIV element by the rendering of the component. Snippet-root instructions are typically found in snippet XHTML files. See Application Rendering for more information on snippet files.
<gwc:snippet-root> ... </gwc:snippet-root>
<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.