Proper recovery of informations
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-import-widget@84127 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7bc08b8b19
commit
d422e65551
|
@ -12,10 +12,13 @@ import com.google.gwt.core.client.GWT;
|
|||
import com.google.gwt.user.client.Command;
|
||||
import com.google.gwt.user.client.ui.VerticalPanel;
|
||||
import com.sencha.gxt.widget.core.client.FramedPanel;
|
||||
import com.sencha.gxt.widget.core.client.box.AlertMessageBox;
|
||||
import com.sencha.gxt.widget.core.client.button.TextButton;
|
||||
import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer;
|
||||
import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData;
|
||||
import com.sencha.gxt.widget.core.client.event.HideEvent;
|
||||
import com.sencha.gxt.widget.core.client.event.SelectEvent;
|
||||
import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler;
|
||||
import com.sencha.gxt.widget.core.client.event.SelectEvent.SelectHandler;
|
||||
import com.sencha.gxt.widget.core.client.form.FieldLabel;
|
||||
import com.sencha.gxt.widget.core.client.form.FieldSet;
|
||||
|
@ -66,6 +69,8 @@ public class SDMXTableDetailCard extends WizardCard {
|
|||
|
||||
FramedPanel form2 = new FramedPanel();
|
||||
form2.setHeadingText("Details");
|
||||
form2.setWidth("100%");
|
||||
form2.setHeight("100%");
|
||||
//form2.setWidth(350);
|
||||
|
||||
FieldSet fieldSet = new FieldSet();
|
||||
|
@ -164,6 +169,17 @@ public class SDMXTableDetailCard extends WizardCard {
|
|||
|| rights.getValue() == null || rights.getValue().isEmpty()
|
||||
|| agencyName.getValue() == null || agencyName.getValue().isEmpty()
|
||||
) {
|
||||
AlertMessageBox d = new AlertMessageBox(
|
||||
"Attention!", "Fill in all fields");
|
||||
d.addHideHandler(new HideHandler() {
|
||||
|
||||
@Override
|
||||
public void onHide(HideEvent event) {
|
||||
//
|
||||
}
|
||||
|
||||
});
|
||||
d.show();
|
||||
return;
|
||||
} else {
|
||||
name.setReadOnly(true);
|
||||
|
|
Loading…
Reference in New Issue