aboutsummaryrefslogtreecommitdiff
path: root/id
diff options
context:
space:
mode:
Diffstat (limited to 'id')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java7
-rw-r--r--id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp2
2 files changed, 8 insertions, 1 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 f084115c4..99d783f4f 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
@@ -128,6 +128,13 @@ public class OASTORKConfig {
}
+ public List<String> getAvailableAttributeProviderPlugins() {
+ List<String> result = new ArrayList<String>();
+ result.add(new AttributeProviderPlugin().getPlugin().getSimpleName());
+
+ return result;
+ }
+
public List<AttributeProviderPlugin> getAttributeProviderPlugins() {
List<AttributeProviderPlugin> result = new ArrayList<AttributeProviderPlugin>();
result.add(new AttributeProviderPlugin());
diff --git a/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp b/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
index 18d703eae..5fce15f5c 100644
--- a/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
+++ b/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
@@ -469,7 +469,7 @@
<table id="stork_aplist">
<tr><th>AP Plugin</th><th>URL</th>
<s:iterator value="storkOA.attributeProviderPlugins" status="stat">
- <tr><td><s:textfield name="storkOA.attributeProviderPlugins[%{#stat.index}].plugin.name" value="%{plugin.name}" cssClass="textfield"/></td>
+ <tr><td><s:select name="storkOA.attributeProviderPlugins[%{#stat.index}].plugin.name" value="%{plugin.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>