TextBoxItem jndiName = new JndiNameItem("jndiName", "JNDI Name");
TextBoxItem classItem = new TextBoxItem("connectionClass", "Connection Class");
form.setFields(jndiName, classItem);
final FormHelpPanel helpPanel = new FormHelpPanel(
new FormHelpPanel.AddressCallback() {
@Override
public ModelNode getAddress() {
ModelNode address = Baseadress.get();
address.add("subsystem", "resource-adapters");
address.add("resource-adapter", "*");
address.add("connection-definitions", "*");
return address;
}
}, form
);
layout.add(helpPanel.asWidget());
layout.add(form.asWidget());
DialogueOptions options = new DialogueOptions(