diff --git a/src/00/z2ui5_cl_app_demo_00.clas.abap b/src/00/z2ui5_cl_app_demo_00.clas.abap index 3d7a27e5..3c2f7f74 100644 --- a/src/00/z2ui5_cl_app_demo_00.clas.abap +++ b/src/00/z2ui5_cl_app_demo_00.clas.abap @@ -86,10 +86,10 @@ CLASS z2ui5_cl_app_demo_00 IMPLEMENTATION. * )->button( text = 'Split App' press = client->_event( 'z2ui5_cl_app_demo_17' ) ). * - grid->simple_form( title = 'HowTo - View Extension' layout = 'ResponsiveGridLayout' )->content( 'form' - )->button( text = 'XML vs. Normal' press = client->_event( 'z2ui5_cl_app_demo_23' ) - )->button( text = 'Import XML-View' press = client->_event( 'z2ui5_cl_app_demo_31' ) -* )->button( text = 'Expression Binding / Side Effects' press = client->_event( 'z2ui5_cl_app_demo_27' ) + grid->simple_form( title = 'HowTo - Extensions' layout = 'ResponsiveGridLayout' )->content( 'form' + )->button( text = 'Views - Normal, Generic, XML' press = client->_event( 'z2ui5_cl_app_demo_23' ) + )->button( text = 'Import UI5-XML-View' press = client->_event( 'z2ui5_cl_app_demo_31' ) + )->button( text = 'HTML, JS, CSS' press = client->_event( 'z2ui5_cl_app_demo_29' ) ). * * grid->simple_form( title = 'HowTo - Messages' layout = 'ResponsiveGridLayout' )->content( 'f' diff --git a/src/00/z2ui5_cl_app_demo_04.clas.abap b/src/00/z2ui5_cl_app_demo_04.clas.abap index 815139ea..e13b11fc 100644 --- a/src/00/z2ui5_cl_app_demo_04.clas.abap +++ b/src/00/z2ui5_cl_app_demo_04.clas.abap @@ -86,6 +86,7 @@ CLASS Z2UI5_CL_APP_DEMO_04 IMPLEMENTATION. )->link( text = 'Source_Code' href = z2ui5_cl_xml_view_helper=>hlp_get_source_code_url( app = me get = client->get( ) ) + target = '_blank' )->get_parent( ). page->grid( 'L6 M12 S12' )->content( 'l' diff --git a/src/00/z2ui5_cl_app_demo_23.clas.abap b/src/00/z2ui5_cl_app_demo_23.clas.abap index 31816911..b23ab463 100644 --- a/src/00/z2ui5_cl_app_demo_23.clas.abap +++ b/src/00/z2ui5_cl_app_demo_23.clas.abap @@ -120,7 +120,7 @@ CLASS Z2UI5_CL_APP_DEMO_23 IMPLEMENTATION. WHEN 'NORMAL'. - app-s_next-xml_main = z2ui5_cl_xml_view_helper=>factory( + app-s_next-xml_main = z2ui5_cl_xml_view_helper=>factory( )->shell( )->page( title = 'abap2UI5 - NORMAL NORMAL NORMAL' navbuttonpress = client->_event( 'BACK' ) @@ -129,6 +129,7 @@ CLASS Z2UI5_CL_APP_DEMO_23 IMPLEMENTATION. )->link( text = 'Source_Code' href = z2ui5_cl_xml_view_helper=>hlp_get_source_code_url( app = me get = client->get( ) ) + target = '_blank' )->get_parent( )->simple_form( 'Form Title' )->content( 'form' @@ -157,7 +158,9 @@ CLASS Z2UI5_CL_APP_DEMO_23 IMPLEMENTATION. ( n = `title` v = 'abap2UI5 - GENERIC GENERIC GENERIC' ) ( n = `showNavButton` v = `true` ) ( n = `navButtonPress` v = client->_event( 'BACK' ) ) - ) )->_generic( + ) + )->_generic( 'Shell' + )->_generic( name = `SimpleForm` ns = `form` t_prop = VALUE #( diff --git a/src/00/z2ui5_cl_app_demo_23.clas.xml b/src/00/z2ui5_cl_app_demo_23.clas.xml index 63ad6d23..18316adc 100644 --- a/src/00/z2ui5_cl_app_demo_23.clas.xml +++ b/src/00/z2ui5_cl_app_demo_23.clas.xml @@ -5,7 +5,7 @@ Z2UI5_CL_APP_DEMO_23 E - extension - xml vs normal + extension - normal gen xml 1 X X diff --git a/src/00/z2ui5_cl_app_demo_29.clas.abap b/src/00/z2ui5_cl_app_demo_29.clas.abap index f1261976..2158e68b 100644 --- a/src/00/z2ui5_cl_app_demo_29.clas.abap +++ b/src/00/z2ui5_cl_app_demo_29.clas.abap @@ -102,7 +102,7 @@ CLASS Z2UI5_CL_APP_DEMO_29 IMPLEMENTATION. ` text="back" ` && |\n| && ` press="` && client->_event( 'BACK' ) && `" ` && |\n| && ` class="sapUiContentPadding sapUiResponsivePadding--content"/> ` && |\n| && - + ` ` && |\n| && `` && `` && |\n| && `` && |\n| && - `` && |\n| && - |\n| && - `

This is a heading

` && |\n| && - `

This is a paragraph.

` && |\n| && + `

This is a heading with css

` && |\n| && + `

This is a paragraph with css.

` && |\n| && `

My First JavaScript

` && |\n| && `` && |\n| && - `

` && |\n| && + `` && |\n| && + `

This is SVG

` && |\n| && ` ` && |\n| && ` ` && |\n| && ` ` && |\n| && - `
X:
` && |\n| && - ` ` && -* ` ` && |\n| && - - `` && |\n| && + ` function myFunction( ) { alert( 'button pressed' ) }` && |\n| && + ` function myFunction2( ) { sap.z2ui5.oView.getController().onEvent({ 'EVENT' : 'POST', 'METHOD' : 'UPDATE' }, ` && ' document.getElementById(sap.z2ui5.oView.createId( "input" )).value ' && ` ) }` && |\n| && + `` && |\n| && ` ` && |\n| && ``. diff --git a/src/00/z2ui5_cl_app_demo_29.clas.xml b/src/00/z2ui5_cl_app_demo_29.clas.xml index 40f5d0d9..88d20c6c 100644 --- a/src/00/z2ui5_cl_app_demo_29.clas.xml +++ b/src/00/z2ui5_cl_app_demo_29.clas.xml @@ -5,7 +5,7 @@ Z2UI5_CL_APP_DEMO_29 E - html 2 + extension - html js css 1 X X diff --git a/src/00/z2ui5_cl_app_demo_31.clas.abap b/src/00/z2ui5_cl_app_demo_31.clas.abap index 5c94acae..0cf3c961 100644 --- a/src/00/z2ui5_cl_app_demo_31.clas.abap +++ b/src/00/z2ui5_cl_app_demo_31.clas.abap @@ -83,6 +83,7 @@ CLASS z2ui5_cl_app_demo_31 IMPLEMENTATION. `