Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions src/z2ui5_cl_demo_app_306.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
DATA mv_pic_display TYPE string.
DATA mv_check_init TYPE abap_bool.
DATA mv_picture_base TYPE string.
DATA facing_mode TYPE string.

PROTECTED SECTION.

Expand All @@ -28,6 +29,7 @@
client TYPE REF TO z2ui5_if_client.

PRIVATE SECTION.

ENDCLASS.


Expand All @@ -42,15 +44,20 @@
DATA(cont) = view->shell( ).
DATA(page) = cont->page( title = 'abap2UI5 - Device Camera Picture'
navbuttonpress = client->_event( 'BACK' )
shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->header_content(
)->link( text = 'Source_Code'
target = '_blank'
)->get_parent( ).
shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).

page->vbox( class = `sapUiSmallMargin`
)->label( text = `facingMode: ` labelfor = `Combo`
)->combobox( id = `Combo` selectedkey = client->_bind_edit( facing_mode )
)->item( key = `environment` text = `environment`
)->item( key = `user` text = `user`
)->item( key = `left` text = `left`
)->item( key = `right` text = `right` ).

page->_z2ui5( )->camera_picture(
value = client->_bind_edit( mv_picture_base )

Check failure on line 58 in src/z2ui5_cl_demo_app_306.clas.abap

View check run for this annotation

abaplint / abaplint

Method importing parameter "FACINGMODE" does not exist

https://rules.abaplint.org/check_syntax
onphoto = client->_event( 'CAPTURE' ) ).
onphoto = client->_event( 'CAPTURE' )
facingmode = client->_bind_edit( facing_mode ) ).

page->list(
headertext = 'List Ouput'
Expand Down Expand Up @@ -84,6 +91,7 @@
IF mv_check_init = abap_false.
mv_check_init = abap_true.

facing_mode = `environment`.
view_display( client ).


Expand Down
Loading