UI5 ObjectPage section scaffold (freestyle)
ui5_scaffold_sectionGenerates a UI5 ObjectPage section as a fragment in SmartTable or SimpleForm mode, complete with i18n keys and handler stubs, and returns it for review, writing, and validation.
Instructions
Generates an ObjectPage section for a freestyle UI5 app following the real pattern: fragment with uxap:ObjectPageSection, SmartTable (table mode, with per-column p13nData) or SimpleForm (form mode), dotted i18n keys, handler stubs and i18n lines. Returns the content so you review it, write it with cap_write_files and validate it with ui5_validate_view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | table = SmartTable of an association; form = SimpleForm of fields | |
| fields | Yes | Fields/columns of the section | |
| handlers | No | onXxx handlers the fragment will declare (e.g. onPressDocument) | |
| entitySet | No | OData EntitySet for SmartTable (table mode) | |
| bindingPath | No | tableBindingPath (association, e.g. toDocuments) in table mode | |
| sectionName | Yes | camelCase section name, e.g. orderItems |