|
def_button_dialog
Swixml2 How to create Dialog with def button
DescriptionAlways we have to create dialog that has default button. To do this with swixml2 is quite simple. You have to inherit from org.swixml.jsr.widgets.JDialogEx and declare in your XML the chosen button having id = 'defaultButton' Java source
public class LoginDialog extends JDialogEx {
XML source<button id="defaultButton" text="Submit" action="enterAction"/> See dialog example in showcase | |