Subsection with blocks using column layout
This example shows how the size of the blocks and be either specified or automatic
Z2UI5_CL_SMPC_APP_599
Controls
sap.uxap
UI5 1.71
The facts
- Repository
- abap2UI5/samples-controls
- Class
Z2UI5_CL_SMPC_APP_599- Source file
z2ui5_cl_smpc_app_599.clas.abap↗- Library
- sap.uxap
- UI5 entity
sap.uxap.ObjectPageSubSection- Demo kit sample
sap.uxap.sample.ObjectPageSubSectionSized- SAP's own sample
- running at sdk.openui5.org ↗
- Minimum UI5
- 1.71 — the floor abap2UI5 holds its samples to
- In the playground
- runs in the browser, with no system and nothing installed
Keywords: objectpagesubsection, object, sub, section, sap.uxap, objectpagesubsectionsized, objectpagelayout, objectpageheader, togglebutton, objectpagesection, button
Controls it builds
- sap.m.Button
- sap.m.ToggleButton
- sap.ui.core.mvc.View
- sap.uxap.ObjectPageHeader
- sap.uxap.ObjectPageLayout
- sap.uxap.ObjectPageSection
- sap.uxap.ObjectPageSubSection
Read out of the builder chain by the abap2UI5 linter, not from the category this sample is filed under — which is what makes “which samples build one of these” a question the catalogue can answer at all.
Libraries
Run it here
The sample running, in this page — the app on its own, with no editor over it.
Switch to Playground with this code
Nothing is installed and nothing is sent anywhere: the ABAP is compiled to JavaScript in this browser and runs against abap2UI5 itself.
The ABAP
z2ui5_cl_smpc_app_599.clas.abap — 2850 lines
Click a number to link to a line — shift-click for a range.
Read it on GitHub ↗
" @keywords objectpagesubsection object sub section sap.uxap objectpagesubsectionsized objectpagelayout objectpageheader togglebutton objectpagesection button
" @summary This example shows how the size of the blocks and be either specified or automatic
CLASS z2ui5_cl_smpc_app_599 DEFINITION PUBLIC.
PUBLIC SECTION.
INTERFACES z2ui5_if_app.
" the ConfigModel the two ToggleButtons write, folded onto root fields
DATA subsection_layout TYPE string.
DATA two_columns TYPE abap_bool.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
METHODS view_display.
METHODS on_event.
METHODS model_init.
PRIVATE SECTION.
ENDCLASS.
CLASS z2ui5_cl_smpc_app_599 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
me->client = client.
IF client->check_on_init( ).
model_init( ).
view_display( ).
ELSEIF client->check_on_navigated( ).
view_display( ).
ELSEIF client->check_on_event( ).
on_event( ).
ENDIF.
ENDMETHOD.
METHOD view_display.
DATA(view) = z2ui5_cl_ui5_view_builder=>factory( ).
" Block->content inlining (app 401/416 precedent): all 359 blocks are one
" BlockBase, sample:InfoButton, around a single full-width Button. What the
" BlockBase carries and the Button cannot is columnLayout - see sidecar
view->ele( n = `View` ns = `mvc`
)->a( n = `height` v = `100%`
)->a( n = `xmlns` v = `sap.uxap`
)->a( n = `xmlns:mvc` v = `sap.ui.core.mvc`
)->a( n = `xmlns:m` v = `sap.m`
)->ele( `ObjectPageLayout`
)->a( n = `id` v = `ObjectPageLayout`
" both are bindable properties, so the two toggles write them
" through the model rather than through a frontend action
)->a( n = `useTwoColumnsForLargeScreen` v = client->_bind( two_columns )
)->a( n = `subSectionLayout` v = client->_bind( subsection_layout )
)->a( n = `upperCaseAnchorBar` v = `false`
)->ele( `headerTitle`
)->ele( `ObjectPageHeader`
)->a( n = `objectTitle` v = `Subsection with blocks using column layout`
)->ele( `actions`
)->tag( n = `ToggleButton` ns = `m`
)->a( n = `text` v = `Use Title on the Left`
)->a( n = `press` v = client->_event( `TOGGLE_TITLE` )
)->tag( n = `ToggleButton` ns = `m`
)->a( n = `text` v = `Use Two Columns Mode`
)->a( n = `press` v = client->_event( `TOGGLE_TWO_COLUMNS` )
)->end(
)->end(
)->end(
)->ele( `sections`
)->ele( `ObjectPageSection`
)->a( n = `titleUppercase` v = `false`
)->a( n = `title` v = `2 blocks`
)->a( n = `showTitle` v = `true`
)->ele( `subSections`
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-1`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton1`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton2`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-2`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton3`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton4`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-3`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton5`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="3") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton6`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `1-a`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton7`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton8`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `2 -a`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton9`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton10`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `3-a`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="3") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton11`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton12`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->end(
)->end(
)->ele( `ObjectPageSection`
)->a( n = `titleUppercase` v = `false`
)->a( n = `title` v = `3 blocks`
)->a( n = `showTitle` v = `true`
)->ele( `subSections`
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-a-1`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton13`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton14`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton15`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-a-2`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton16`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton17`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton18`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `1-a-1`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton19`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton20`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton21`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `1-a-2`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton22`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton23`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton24`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `2-a-a`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton25`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton26`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton27`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `2-a-1`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton28`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton29`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton30`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `2-1-a`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton31`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton32`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton33`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->end(
)->end(
)->ele( `ObjectPageSection`
)->a( n = `titleUppercase` v = `false`
)->a( n = `title` v = `4 blocks`
)->a( n = `showTitle` v = `true`
)->ele( `subSections`
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-a-a-1`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton34`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton35`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton36`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton37`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-a-a-2`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton38`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton39`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton40`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton41`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-1-a-1`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton42`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton43`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton44`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton45`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `1-a-1-a`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton46`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton47`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton48`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton49`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `1-a-a-1`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton50`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton51`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton52`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton53`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-2-a-1`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton54`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton55`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton56`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton57`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-2-a-2`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton58`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton59`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton60`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton61`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `2-a-a-2`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton62`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton63`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton64`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton65`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `3-a-3-a`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="3") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton66`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton67`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="3") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton68`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton69`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->end(
)->end(
)->ele( `ObjectPageSection`
)->a( n = `titleUppercase` v = `false`
)->a( n = `title` v = `5 blocks`
)->a( n = `showTitle` v = `true`
)->ele( `subSections`
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `1-a-a-a-1`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton70`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton71`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton72`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton73`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton74`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `2-a-a-a-2`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton75`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton76`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton77`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton78`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton79`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `3-a-a-a-1`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="3") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton80`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton81`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton82`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton83`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton84`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `3-a-a-a-2`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="3") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton85`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton86`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton87`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton88`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton89`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-a-1-1-a`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton90`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton91`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton92`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton93`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton94`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-a-1-a-1`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton95`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton96`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton97`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton98`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="1") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton99`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
)->ele( `ObjectPageSubSection`
)->a( n = `title` v = `a-3-a-a-2`
)->a( n = `titleUppercase` v = `false`
)->ele( `blocks`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton100`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="3") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton101`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton102`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="auto") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton103`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
" sample:InfoButton (columnLayout="2") inlined
)->tag( n = `Button` ns = `m`
)->a( n = `id` v = `infoButton104`
)->a( n = `width` v = `100%`
)->a( n = `text` v = `infoButton`
)->a( n = `type` v = `Emphasized`
)->end(
)->end(
The first 900 lines of 2850 — the whole class is on GitHub.
More in sap.uxap
- Object Page AnchorBar with numbers — This example shows how to visualize numbers in parenthesis after the corresponding sectio…
- Object Page demonstrating beforeNavigate event — Object Page demonstrating how beforeNavigate event can be used to prevent default navigat…
- Object Page with blocks of different view types — ObjectPage sample with blocks that use different view types
- ObjectPage with first editable input — Object Page that focuses its first editable input in the currently selected section.
- ObjectPage with forms — Object Page automatically adjusts form layout to match block column layout
- Object Page with LazyLoading without blocks — This sample showcases the lazy loading using the stashed property of the ObjectPageLazyLo…
- Object Page with LazyLoading — Object Page with LazyLoading
- Object Page with predefined selected section in Tab navigation mode — Object Page sample showing a layout where the selected section is defined by the user.
- Object Page State — This example shows how the page can be accessed directly to a specific vertical position…
- Object Page using the Tab navigation mode — Object Page sample showing a layout where the navigation is Tab based (one Tab per sectio…
- Object Page built entirely in XML — An ObjectPageLayout declared in one XML view - header title, header content and five sect…
- Subsection with automatic layout of blocks — This example shows how blocks can be laid out automatically by the Object Page when their…
On this page