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-json-export-widget@115403 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-06-15 16:27:31 +00:00 committed by Giancarlo Panichi
parent 6a03adb376
commit 49ea879e3f
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;
/**
*
@ -67,16 +68,18 @@ public class JSONWorkSpaceSelectionCard extends WizardCard {
fileName = new TextField();
fileName.setAllowBlank(false);
fileName.addValidator(new EmptyValidator<String>());
fileName.setWidth("410px");
fileName.setValue(fileN+".json");
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.addValidator(new EmptyValidator<String>());
fileDescription.setAllowBlank(false);
fileDescription.setWidth("410px");
fileDescription.setValue("json");
p.add(new FieldLabel(fileDescription, "File Description"),
p.add(new FieldLabel(fileDescription, "Description"),
new VerticalLayoutData(-1, -1));
Log.debug("Set Workspace Panel");