on 09-04-2009 4:56 PM
Hello all.
Some one know how the code to expand and collapse a tray in a web dynpro application via Button comand.
I have a button and when a user click in this button i need expand and collpase a tray.
Thanks in advance.
Taylor
Bind the "expanded" property of the Tray to some boolean context attribute "trayExpanded" and toggle this attribute in the button's action handler:
void onActionToggleButtonPressed()
{
wdContext.currentContextElement().setTrayExpanded( !wdContext.currentContextElement().getTrayExpanded() );
}
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.