on 05-09-2006 6:27 PM
Hello,
I have this code and it fails (null pointer exception):
transparent_container = cl_wd_transparent_container=>new_transparent_container( ).
cl_wd_grid_data=>new_grid_data( element = transparent_container ).
ui_container->add_child( transparent_container ).
What is the problem? Do I need to create transparent container and pass some parameters?
Thank you.
Is reference ui_container initialized?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Armin,
yes it is.
I have some code like this:
"create a transparent container
transparent_container = cl_wd_transparent_container=>new_transparent_container( ).
cl_wd_grid_data=>new_grid_data( element = transparent_container ).
ui_container->add_child( transparent_container ).
"create a dropDown with figures
drop_down_figure = cl_wd_dropdown_by_key=>new_dropdown_by_key( bind_selected_key = 'REPOSITORY.FIGURES' on_select = 'GET_OPERATOR' ).
cl_wd_grid_data=>new_grid_data( element = drop_down_figure ).
ui_container->add_child( drop_down_figure ).
If I comment out code where I create transparent container it works fine and creates dropDown.
However, as soon as I add transparent container I get NullPointer exception.
Thank you.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.