FELIX-2287 Improved Handling of queries on the OBR page:
- accept empty query to select all resources
- print error message if filter string is invalid
- fix WebConsoleUtil.urlDecode to return an empty string if
the value is an empty string (to be inline with the
URLDecode.decode methods).
- add resource symbolic name in parens after presentation
name to differentiate resources with the same presentation
name but different symbolic names
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@984322 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/templates/obr.html b/webconsole/src/main/resources/templates/obr.html
index 19a89f5..e54283d 100644
--- a/webconsole/src/main/resources/templates/obr.html
+++ b/webconsole/src/main/resources/templates/obr.html
@@ -3,7 +3,8 @@
var i18n = {
status_ok : '${obr.status.ok}',
status_no : '${obr.status.no}',
- selectVersion : '${obr.version.select}'
+ selectVersion : '${obr.version.select}',
+ error : '${obr.error}'
}
var obrData = ${__data__};
</script>
@@ -75,7 +76,7 @@
<a href="${pluginRoot}?list=z">Z</a>
<a href="${pluginRoot}?list=-">?</a>
</span>
- <input type="text" id="searchField"/>
+ <input type="text" id="searchField" title="${obr.action.search.description}"/>
<button id="searchBtn">${obr.action.search}</button>
</div>