item_id optional default empty = the current itemId of the item whose field you want to edit. Leave empty to use the current item being rendered - the usual case in a view or template, written as item_id set to the alias for the current item id.
field_id requiredThe field to edit, given by its field id (for example headline........ or category........). This is the only required parameter; without it ajax outputs nothing.
show_alias optional default the field value, formatted for humansDisplay template for the read-only state - what the visitor sees before clicking. Plain text is shown verbatim; reference the field with its alias to show the stored value. Put the alias _#AA_AJAX_ somewhere in this template to attach the click-to-edit handler to that spot instead of the whole block.
onsuccess optional default empty (no callback)JavaScript run after a successful save. AA_Refresh(this) reloads the nearest enclosing block; AA_Refresh('elementId') reloads a named element. Use it to update other parts of the page that depend on the changed value.
widget_type optional default empty (the field's configured widget)Three-letter code of the input widget to use for editing (for example sel for a select box), overriding the field's configured widget. Editing widget support is still being wired up; leave empty to use the field's own widget.
widget_properties optional default emptyJSON configuration for the chosen widget, for example a const_arr of value-to-label pairs for a select. Paired with widget_type. Editing widget support is still being wired up.
{ajax:a65d19971986e750761f0efcd9a16b1b:headline........}
{define:AA_FLAG_NOEDIT:1}{ajax:a65d19971986e750761f0efcd9a16b1b:headline........}{define:AA_FLAG_NOEDIT:0}
{define:AA_FLAG_NOEDIT:1}{ajax:a65d19971986e750761f0efcd9a16b1b:integer.........}{define:AA_FLAG_NOEDIT:0}
{define:AA_FLAG_NOEDIT:1}{ajax:a65d19971986e750761f0efcd9a16b1b:edit_note.......}{define:AA_FLAG_NOEDIT:0}
{define:AA_FLAG_NOEDIT:1}{ajax:a65d19971986e750761f0efcd9a16b1b:integer.........:edit me}{define:AA_FLAG_NOEDIT:0}
{ajax:a65d19971986e750761f0efcd9a16b1b:file............:<span>change file</span>:AA_Refresh(this)}
{ajax:a65d19971986e750761f0efcd9a16b1b:headline........:Edit _#AA_AJAX_ inline}