In window actions we have Ok and Cancel buttons. Now I need to show ‘Test’ instead of ‘Ok’ in particular editor screen.
Can any one say me how to do that.
Thanks !!
In window actions we have Ok and Cancel buttons. Now I need to show ‘Test’ instead of ‘Ok’ in particular editor screen.
Can any one say me how to do that.
Thanks !!
Hi,
In order to rename the buttons from the ‘windowActions’ frame, inject the particular button and set the caption for it using the init() method.
@Inject
private Button windowCommit;
@Override
public void init(Map<String, Object> params) {
windowCommit.setCaption("Demo");
}