Skip to content

Commit 321835b

Browse files
Update demo 017, 033, 035, 042, 079, 158 and 159 (#503)
1 parent 260c800 commit 321835b

8 files changed

+871
-436
lines changed

src/z2ui5_cl_demo_app_000.clas.abap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,11 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.
8585
)->content( 'layout' ).
8686

8787
page->formatted_text(
88-
`<p><strong>Explore and copy code samples!</strong> All samples are abap2UI5 implementations of the <a href="https://sapui5.hana.ondemand.com/#/controls" style="color:blue; font-weight:600;">SAP UI5 sample page.</a> If you miss a control or find a b` &&
88+
`<p><strong>Explore and copy code samples!</strong> All samples are abap2UI5 implementations of the <a href="https://sapui5.` &&
89+
`hana.ondemand.com/#/controls" style="color:blue; font-weight:600;">SAP UI5 sample page.</a> If you miss a control or find a b` &&
8990
`ug please create an ` &&
90-
`<a href="https://github.com/abap2UI5/abap2UI5/issues" style="color:blue; font-weight:600;">issue</a> or send a <a href="https://github.com/abap2UI5/abap2UI5-samples/pulls" style="color:blue; font-weight:600;">PR</a>` &&
91+
`<a href="https://github.com/abap2UI5/abap2UI5/issues" style="color:blue; font-weight:600;">issue</a> or send a <a href="https` &&
92+
`://github.com/abap2UI5/abap2UI5-samples/pulls" style="color:blue; font-weight:600;">PR</a>` &&
9193
`.</p>` &&
9294
`<p>Always press CTRL+F12 to see code samples and classname of the app.</p>`
9395
).

src/z2ui5_cl_demo_app_017.clas.locals_imp.abap

Lines changed: 378 additions & 189 deletions
Large diffs are not rendered by default.

src/z2ui5_cl_demo_app_033.clas.abap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ CLASS z2ui5_cl_demo_app_033 IMPLEMENTATION.
6464

6565
mv_html = `<p>link: <a href="https://www.sap.com" style="color:green; font-weight:600;">link to sap.com</a> - links open in ` &&
6666
`a new window.</p><p>paragraph: <strong>strong</strong> and <em>emphasized</em>.</p><p>list:</p><ul` &&
67-
`><li>list item 1</li><li>list item 2<ul><li>sub item 1</li><li>sub item 2</li></ul></li></ul><p>pre:</p><pre>abc def ghi</pre><p>code: <code>var el = document.getElementById("myId");</code></p><p>cite: <cite>a reference to a source</cite></p>` &&
67+
`><li>list item 1</li><li>list item 2<ul><li>sub item 1</li><li>sub item 2</li></ul></li></ul><p>pre:</p><pre>abc def ` &&
68+
`ghi</pre><p>code: <code>var el = document.getElementById("myId");</code></p><p>cite: <cite>a reference to a source</cite></p>` &&
6869
`<dl><dt>definition:</dt><dd>definition list of terms and descriptions</dd>`.
6970

7071
IF client->check_on_init( ).

src/z2ui5_cl_demo_app_035.clas.locals_imp.abap

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,19 @@ CLASS lcl_file_api IMPLEMENTATION.
153153
`Remark:` && |\n| &&
154154
|\n| &&
155155
`Example content:` && |\n| &&
156-
`The names "John Doe" for males, "Jane Doe" or "Jane Roe" for females, or "Jonnie Doe" and "Janie Doe" for children, or just "Doe" non-gender-specifically are used as placeholder names for a party whose true identity is unknown or mus` &&
157-
`t be withheld in a legal action, case, or discussion. The names are also used to refer to acorpse or hospital patient whose identity is unknown. This practice is widely used in the United States and Canada, but is rarely used in other English-speak` &&
158-
`ing countries including the United Kingdom itself, from where the use of "John Doe" in a legal context originates. The names Joe Bloggs or John Smith are used in the UK instead, as well as in Australia and New Zealand.` && |\n| &&
156+
`The names "John Doe" for males, "Jane Doe" or "Jane Roe" for females, or "Jonnie Doe" and "Janie Doe" for children, or just ` &&
157+
` "Doe" non-gender-specifically are used as placeholder names for a party whose true identity is unknown or must ` &&
158+
`be withheld in a legal action, case, or discussion. The names are also used to refer to acorpse or hospital patient whose ` &&
159+
`identity is unknown. This practice is widely used in the United States and Canada, but is rarely used in other ` &&
160+
`English-speaking countries including the United Kingdom itself, from where the use of "John Doe" in a legal context ` &&
161+
`originates. The names Joe Bloggs or John Smith are used in the UK instead, as well as in Australia and New Zealand.` &&
159162
|\n| &&
160-
`John Doe is sometimes used to refer to a typical male in other contexts as well, in a similar manner to John Q. Public, known in Great Britain as Joe Public, John Smith or Joe Bloggs. For example, the first name listed on a form is o` &&
161-
`ften John Doe, along with a fictional address or other fictional information to provide an example of how to fill in the form. The name is also used frequently in popular culture, for example in the Frank Capra film Meet John Doe. John Doe was also` &&
162-
` the name of a 2002 American television series.`.
163+
|\n| &&
164+
`John Doe is sometimes used to refer to a typical male in other contexts as well, in a similar manner to John Q. Public,` &&
165+
` known in Great Britain as Joe Public, John Smith or Joe Bloggs. For example, the first name listed on a form is often ` &&
166+
`John Doe, along with a fictional address or other fictional information to provide an example of how to fill in the form` &&
167+
`. The name is also used frequently in popular culture, for example in the Frank Capra film Meet John Doe. John Doe was ` &&
168+
`also the name of a 2002 American television series.`.
163169
ENDMETHOD.
164170

165171
ENDCLASS.

0 commit comments

Comments
 (0)