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:
parent
3a9f3c9941
commit
9551405b81
|
@ -44,7 +44,7 @@ public class TagsPanel extends Composite{
|
||||||
|
|
||||||
|
|
||||||
// regular expression for tags
|
// 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
|
// tags list
|
||||||
private List<String> tagsList = new ArrayList<String>();
|
private List<String> tagsList = new ArrayList<String>();
|
||||||
|
|
|
@ -8,13 +8,13 @@
|
||||||
</ui:style>
|
</ui:style>
|
||||||
<g:HTMLPanel>
|
<g:HTMLPanel>
|
||||||
<b:ControlGroup ui:field="tagsInsertGroup">
|
<b:ControlGroup ui:field="tagsInsertGroup">
|
||||||
<b:ControlLabel for="tags" title="Product tags">
|
<b:ControlLabel for="tags" title="Item tag">
|
||||||
<font color="red">*</font>
|
<font color="red">*</font>
|
||||||
Tags:
|
Tag:
|
||||||
</b:ControlLabel>
|
</b:ControlLabel>
|
||||||
<b:Controls ui:field="controlAsTextBox">
|
<b:Controls ui:field="controlAsTextBox">
|
||||||
<b:TextBox width="90%" placeholder="Enter one or more tag for the item"
|
<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:ListBox width="91%" title="HOLD CTRL or CMD for multiple selection"
|
||||||
b:id="tags" ui:field="tagsEnterListBox" multipleSelect="true"/>
|
b:id="tags" ui:field="tagsEnterListBox" multipleSelect="true"/>
|
||||||
<span style="float:right; width:5%; color: #aaaaaa;">
|
<span style="float:right; width:5%; color: #aaaaaa;">
|
||||||
|
|
Loading…
Reference in New Issue