on 12-13-2008 7:50 PM
Hello Gurus,
Can anybody suggest me how to hide the exit button on overview page of address iview?
Thanks,
Sha
Hi
1) If you want the exit button to be hided u can use the following code in doModify as we know this doModify will be called each time the action is performed so when we use this code exit button will be hided all the time.
Button btn_ui= (button) view.getElement("Button_ID");
btn_ui.setVisible(WDVisibility.NONE);
2) if you want to hide only on specific time then better to use the value attribute of type com.sap.ide.webdynpro.uielementdefinitions.Visibility then bind this to exit button's property--> visibility and in your code wherever required set the visibility.
Ex: value attribute name : va_Exit_Visible
type : com.sap.ide.webdynpro.uielementdefinitions.Visibility
wdContext.currentContextElement().setVa_Exit_Visible(WDVisibility.NONE);
Regards
Prasad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sha,
Set the visibility of the Exit button to none on the required condition.
Bind the visible property of the Exit button to a boolean type attribute and set it to true on required condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.