layout.add(new HTML("<h3>"+ Console.CONSTANTS.subsys_jca_dataSource_step3()+"</h3>"));
form = new Form<DataSource>(DataSource.class);
TextAreaItem connectionUrl = new TextAreaItem("connectionUrl", "Connection URL");
TextBoxItem user = new NonRequiredTextBoxItem("username", "Username");
PasswordBoxItem pass = new PasswordBoxItem("password", "Password") {
{
setRequired(false);
}
};
TextBoxItem domain = new NonRequiredTextBoxItem("securityDomain", "Security Domain");
/*
TODO: Doesn't work atm, because the DS needs to be created first
ButtonItem testBtn = new ButtonItem("connectionUrl", "Connection", "Test");
testBtn.addClickHandler(new ClickHandler() {