minor fix for tags stuff

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@146709 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-04-10 07:52:06 +00:00
parent 3a9f3c9941
commit 9551405b81
2 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ public class TagsPanel extends Composite{
// regular expression for tags
private static final String REGEX_TAG = "^[a-zA-Z0-9]*$";
private static final String REGEX_TAG = "^[a-zA-Z0-9_\\-.]*$";
// tags list
private List<String> tagsList = new ArrayList<String>();

View File

@ -8,13 +8,13 @@
</ui:style>
<g:HTMLPanel>
<b:ControlGroup ui:field="tagsInsertGroup">
<b:ControlLabel for="tags" title="Product tags">
<b:ControlLabel for="tags" title="Item tag">
<font color="red">*</font>
Tags:
Tag:
</b:ControlLabel>
<b:Controls ui:field="controlAsTextBox">
<b:TextBox width="90%" placeholder="Enter one or more tag for the item"
b:id="tags" ui:field="tagsEnterTextBox" />
b:id="tags" ui:field="tagsEnterTextBox" maxLength="100"/>
<b:ListBox width="91%" title="HOLD CTRL or CMD for multiple selection"
b:id="tags" ui:field="tagsEnterListBox" multipleSelect="true"/>
<span style="float:right; width:5%; color: #aaaaaa;">