209: TDM - Show the resources through a ListView widget

Task-Url: https://support.d4science.org/issues/209

Updated name of resources support

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-export-widget@115403 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-06-15 16:27:31 +00:00
parent 0ea69c4701
commit 4d4ac7ac65
1 changed files with 6 additions and 3 deletions

View File

@ -24,6 +24,7 @@ import com.sencha.gxt.widget.core.client.event.HideEvent;
import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler;
import com.sencha.gxt.widget.core.client.form.FieldLabel;
import com.sencha.gxt.widget.core.client.form.TextField;
import com.sencha.gxt.widget.core.client.form.validator.EmptyValidator;
/**
*
@ -62,17 +63,19 @@ public class CSVWorkSpaceSelectionCard extends WizardCard {
}
fileName = new TextField();
fileName.addValidator(new EmptyValidator<String>());
fileName.setAllowBlank(false);
fileName.setWidth("410px");
fileName.setValue(fileN+".csv");
p.add(new FieldLabel(fileName, "File Name"), new VerticalLayoutData(-1,
fileName.setValue(fileN);
p.add(new FieldLabel(fileName, "Name"), new VerticalLayoutData(-1,
-1));
fileDescription = new TextField();
fileDescription.setAllowBlank(false);
fileDescription.addValidator(new EmptyValidator<String>());
fileDescription.setWidth("410px");
fileDescription.setValue("csv");
p.add(new FieldLabel(fileDescription, "File Description"),
p.add(new FieldLabel(fileDescription, "Description"),
new VerticalLayoutData(-1, -1));
Log.debug("Set Workspace Panel");