minor fixes (also for tag)

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@144934 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-03-15 10:02:21 +00:00
parent e735426d24
commit 8bc46df073
4 changed files with 6 additions and 6 deletions

View File

@ -9,6 +9,7 @@
<g:HTMLPanel>
<b:ControlGroup ui:field="tagsInsertGroup">
<b:ControlLabel for="tags" title="Product tags">
<font color="red">*</font>
Tags:
</b:ControlLabel>
<b:Controls>

View File

@ -28,7 +28,8 @@ public class InfoIconsLabels {
public static final String TAGS_INFO_TEXT = "Tags are meaningful information that can be associated to the "
+ "item and by means of them it can be retrieved. A tag can contain only alphanumeric characters. "
+ "If the tag is composed by a single word it must have a size of at least two characters."
+ "Examples of good tags: \"This is a sample tag\", \"tagY\". Example of bad tag: \"c\".";
+ "Examples of good tags: \"This is a sample tag\", \"tagY\". Example of bad tag: \"c\"."
+ " You must push ENTER for attaching a tag.";
// LICENSES
public static final String LICENSES_INFO_ID_POPUP = "licenses-popup-panel-info";

View File

@ -1,10 +1,8 @@
package org.gcube.portlets.widgets.ckandatapublisherwidget.shared;
/**
* The Enum DataType.
*
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
* Sep 12, 2016
* Data type.
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
*/
public enum DataType {

View File

@ -30,7 +30,7 @@ public class DatasetMetadataBean implements Serializable {
private List<OrganizationBean> organizationList; // list of organization in which the user is present and could create the dataset
private ResourceElementBean resourceRoot; // in case of workspace, this is the directory root or the single file information
private List<MetaDataProfileBean> metadataList;
private List<String> tags; // on retrieve, they are the keys of the custom fields
private List<String> tags; // on retrieve, they are the keys of the product
private Map<String, List<String>> customFields;
private List<GroupBean> groups;