ข้ามไปเนื้อหา

ผลต่างระหว่างรุ่นของ "CuneiForm"

เพิ่มขึ้น 257 ไบต์ ,  19 มิถุนายน 2567
บรรทัดที่ 718: บรรทัดที่ 718:
*#*# If other tables and forms on the page are affected ('''{{code|data.crossfill}}''': ''dict'': See note), re-populate them.
*#*# If other tables and forms on the page are affected ('''{{code|data.crossfill}}''': ''dict'': See note), re-populate them.
*#*# If the document-level verification pills must be manipulated ('''{{code|data.docverify}}''': ''dict'': See note), do so.
*#*# If the document-level verification pills must be manipulated ('''{{code|data.docverify}}''': ''dict'': See note), do so.
*#*# If the form belongs to a table as the in-line form ({{code|form_obj.in_table}}) or the fully-expanded form ({{code|form_obj.table_linked}}), commit the change (if any) to the table as well by looking for '''{{code|data.entry}}''' (shares format with the table data in '''{{code|data.crossfill}}''', see note).
*#*# If the form belongs to a table as the in-line form ({{code|form_obj.in_table}}) or the fully-expanded form ({{code|form_obj.table_linked}}), commit the change (if any) to the table as well by looking for '''{{code|data.entry}}'''. (See notes under '''{{code|data.crossfill}}''' below).
*#*# If the form belongs to a modal ({{code|form_obj.in_modal}}), clear the modal's '''hide_mode''' attribute to {{code|lang=javascript|'plain'}}.
*#*# If the form belongs to a modal ({{code|form_obj.in_modal}}), clear the modal's '''hide_mode''' attribute to {{code|lang=javascript|'plain'}}.
*# Where applicable, pack the transient data ('''{{code|data._transient_data}}''': ''dict'') to {{code|form_obj.transient_data}} and run each functions in {{code|form_obj.post_submit_cmds}}.
*# Where applicable, pack the transient data ('''{{code|data._transient_data}}''': ''dict'') to {{code|form_obj.transient_data}} and run each functions in {{code|form_obj.post_submit_cmds}}.
บรรทัดที่ 766: บรรทัดที่ 766:
               ... ]
               ... ]
</syntaxhighlight>
</syntaxhighlight>
'''{{code|data.entry}}''' can take 2 forms:
* For successful add/edit operations, it is formatted like a member array of the table data member in '''{{code|data.crossfill}}'''.
* For successful delete operations, it is simply the string '''{{code|lang=javascript|'deleted'}}'''.