aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool
diff options
context:
space:
mode:
authorFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-02-28 09:09:43 +0100
committerFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-02-28 09:10:38 +0100
commit9e830fb8f4aa758f0855ab422d398fa8bb0db32d (patch)
tree16e23c1e43931d255458800fadb8e2f425015b67 /id/ConfigWebTool
parent6da6e88d2026d2777b54cfba759b4e63f5a391f9 (diff)
downloadmoa-id-spss-9e830fb8f4aa758f0855ab422d398fa8bb0db32d.tar.gz
moa-id-spss-9e830fb8f4aa758f0855ab422d398fa8bb0db32d.tar.bz2
moa-id-spss-9e830fb8f4aa758f0855ab422d398fa8bb0db32d.zip
fixed name validation error in config
Diffstat (limited to 'id/ConfigWebTool')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java2
-rw-r--r--id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp2
2 files changed, 2 insertions, 2 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java
index 430bafbf5..9a65e4ab5 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java
@@ -143,7 +143,7 @@ public class OASTORKConfig {
* VIDP settings below
*/
private boolean vidpEnabled = false;
- private List<AttributeProviderPlugin> attributeProviderPlugins;
+ private List<AttributeProviderPlugin> attributeProviderPlugins = new ArrayList<AttributeProviderPlugin>();
public List<String> getAvailableAttributeProviderPlugins() {
return AttributeProviderFactory.getAvailablePlugins();
diff --git a/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp b/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
index 696723b9b..1f42bf092 100644
--- a/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
+++ b/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
@@ -518,7 +518,7 @@
<table id="stork_aplist">
<tr><th>AP Plugin</th><th>URL</th>
<s:iterator value="storkOA.attributeProviderPlugins" status="stat">
- <tr><td><s:select name="storkOA.attributeProviderPlugins[%{#stat.index}].plugin" value="%{plugin}" list="%{storkOA.availableAttributeProviderPlugins}"/></td>
+ <tr><td><s:select name="storkOA.attributeProviderPlugins[%{#stat.index}].name" value="%{name}" list="%{storkOA.availableAttributeProviderPlugins}"/></td>
<td><s:textfield name="storkOA.attributeProviderPlugins[%{#stat.index}].url" value="%{url}" cssClass="textfield"/></td>
<td><input type="button" value="<%=LanguageHelper.getGUIString("webpages.oaconfig.vidp.ap.remove", request) %>" onclick='this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);'/></td></tr>
</s:iterator>