marks instruction

Associates data with the current element, in order to be used by JavaScriptâ„¢ on the client side.

Syntax

<tag gwc:marks="mkp expression [; ...] " ...>
 ...
</tag> 
Note:
  1. mkp is the mark-up element name
  2. expr is any valid expression

Example

<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.