diff options
author | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-02-20 15:09:55 +0100 |
---|---|---|
committer | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-02-24 12:19:36 +0100 |
commit | ea9d46e1fb39ad31d9bfe6226442b71b8bb11539 (patch) | |
tree | 2a27be2c41f45277f6e5a13b95b6c3d9efe11f6a /id/ConfigWebTool | |
parent | 5304a281d530abbe2aa57dc2583bc72d7988c949 (diff) | |
download | moa-id-spss-ea9d46e1fb39ad31d9bfe6226442b71b8bb11539.tar.gz moa-id-spss-ea9d46e1fb39ad31d9bfe6226442b71b8bb11539.tar.bz2 moa-id-spss-ea9d46e1fb39ad31d9bfe6226442b71b8bb11539.zip |
available attribute provider dropdown selection
Diffstat (limited to 'id/ConfigWebTool')
-rw-r--r-- | id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/oa/OASTORKConfig.java | 7 | ||||
-rw-r--r-- | id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp | 2 |
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> |