Minor updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-export-widget@86583 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-12-05 09:26:57 +00:00 committed by Giancarlo Panichi
parent fcb53d19e6
commit 3cf018d120
2 changed files with 4 additions and 3 deletions

View File

@ -186,7 +186,7 @@ public class SDMXRegistrySelectionCard extends WizardCard {
getWizardWindow().setPreviousButtonCommand(sayPreviousCard);
setEnableBackButton(true);
setEnableBackButton(false);
setEnableNextButton(true);
}

View File

@ -4,6 +4,7 @@
package org.gcube.portlets.user.td.sdmxexportwidget.client;
import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXExportSession;
import org.gcube.portlets.user.td.gwtservice.shared.source.SDMXRegistrySource;
import org.gcube.portlets.user.td.wizardwidget.client.WizardCard;
import com.allen_sauer.gwt.log.client.Log;
@ -93,7 +94,7 @@ public class SDMXTableDetailCard extends WizardCard {
registryBaseUrl = new TextField();
registryBaseUrl.setVisible(true);
registryBaseUrl.setEmptyText("Enter Registry URL...");
registryBaseUrl.setValue(exportSession.getAgency().getName());
registryBaseUrl.setValue(((SDMXRegistrySource)exportSession.getSource()).getUrl());
FieldLabel registryBaseUrlLabel = new FieldLabel(registryBaseUrl, "Registry URL");
registryBaseUrlLabel.setLabelSeparator("");
p.add(registryBaseUrlLabel, new VerticalLayoutData(1, -1));
@ -101,7 +102,7 @@ public class SDMXTableDetailCard extends WizardCard {
version = new TextField();
version.setAllowBlank(false);
version.setEmptyText("Enter Version...");
version.setValue(exportSession.getTabResource().getName());
version.setValue("");
p.add(new FieldLabel(version, "Version"), new VerticalLayoutData(1, -1));