diff options
author | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2013-12-13 08:24:53 +0100 |
---|---|---|
committer | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-01-27 16:34:14 +0100 |
commit | 9c46233d2fc5f81908addac6a5ec28046a1bc618 (patch) | |
tree | d546d86e018f3cf166ad395085f5eaa356b2d653 /id/ConfigWebTool/src/main | |
parent | 83773a3597dfccbf16c8265fa3ef9019706a3461 (diff) | |
download | moa-id-spss-9c46233d2fc5f81908addac6a5ec28046a1bc618.tar.gz moa-id-spss-9c46233d2fc5f81908addac6a5ec28046a1bc618.tar.bz2 moa-id-spss-9c46233d2fc5f81908addac6a5ec28046a1bc618.zip |
peps list commitable
Diffstat (limited to 'id/ConfigWebTool/src/main')
-rw-r--r-- | id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/GeneralStorkConfig.java | 7 | ||||
-rw-r--r-- | id/ConfigWebTool/src/main/webapp/jsp/editMOAConfig.jsp | 6 |
2 files changed, 5 insertions, 8 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/GeneralStorkConfig.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/GeneralStorkConfig.java index 51c6e8aa4..41d19d116 100644 --- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/GeneralStorkConfig.java +++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/data/GeneralStorkConfig.java @@ -39,10 +39,7 @@ public class GeneralStorkConfig { return cpepslist; } - public void setCpepslist(List<CPEPS> cpepslist) { - this.cpepslist = cpepslist; + public void setCpepslist(List<CPEPS> list) { + this.cpepslist = list; } - - - } diff --git a/id/ConfigWebTool/src/main/webapp/jsp/editMOAConfig.jsp b/id/ConfigWebTool/src/main/webapp/jsp/editMOAConfig.jsp index 52fc79b68..686b10c12 100644 --- a/id/ConfigWebTool/src/main/webapp/jsp/editMOAConfig.jsp +++ b/id/ConfigWebTool/src/main/webapp/jsp/editMOAConfig.jsp @@ -231,9 +231,9 @@ <h4><%=LanguageHelper.getGUIString("webpages.moaconfig.stork.pepslist", request) %></h4> <table> <tr><th>Country Shortcode</th><th>PEPS URL</th> - <s:iterator value="storkconfig.cpepslist"> - <tr><td><s:textfield name="countryCode" value="%{countryCode}" cssClass="textfield_short"/></td> - <td><s:textfield name="URL" value="%{URL}" cssClass="textfield_long"/></td> + <s:iterator value="storkconfig.cpepslist" status="stat"> + <tr><td><s:textfield name="storkconfig.cpepslist[%{#stat.index}].countryCode" value="%{countryCode}" cssClass="textfield_short"/></td> + <td><s:textfield name="storkconfig.cpepslist[%{#stat.index}].URL" value="%{URL}" cssClass="textfield_long"/></td> <td><input type="button" value="<%=LanguageHelper.getGUIString("webpages.moaconfig.stork.removepeps", request) %>" onclick='this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);'/></td></tr> </s:iterator> <tr id="template" style="display: none;"><td><s:textfield name="countryCode" value="%{countryCode}" cssClass="textfield_short"/></td> |