on 11-04-2009 5:53 PM
Hi
I have several application calling my applicationm and i need the browser that lauches the application to have different Titles on the Browser Title.
How can I change the Title from the Window or View?
Please advice.
Thank you.
Regards,
Vinod
The browser title gets pulled from the WD Application Description. Currently there is no API to change the browser title from within WDA. Next year in 7.02 we do add such an API. Here is an example of what will be possible in 7.02:
data l_window_title type string.
case lv_transaction_type.
when wd_assist->create_mode.
l_window_title = `Create Sales Order`.
when wd_assist->display_mode.
l_window_title = `Display Sales Order: ` && so_id.
when wd_assist->change_mode.
l_window_title = `Change Sales Order: ` && so_id.
endcase.
wd_this->wd_get_api( )->get_component( )->get_application( )->set_window_title( l_window_title ).
Setting the title on a View is easier. You can just use a Tray or Group UI element as the root of your view and set the title property of the UI element dynamically by context binding to the property.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.