aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/webapp
diff options
context:
space:
mode:
authorFlorian Reimair <florian.reimair@iaik.tugraz.at>2013-12-19 11:01:44 +0100
committerFlorian Reimair <florian.reimair@iaik.tugraz.at>2014-01-27 16:34:14 +0100
commit1bb655bbb372f069e907c6ddcc40a43ca1f36e09 (patch)
treec011757f187a356249e78d204e29bf81a0a7df93 /id/ConfigWebTool/src/main/webapp
parent999756bd381ec4d81db7db7bb59863ad549d69b0 (diff)
downloadmoa-id-spss-1bb655bbb372f069e907c6ddcc40a43ca1f36e09.tar.gz
moa-id-spss-1bb655bbb372f069e907c6ddcc40a43ca1f36e09.tar.bz2
moa-id-spss-1bb655bbb372f069e907c6ddcc40a43ca1f36e09.zip
OA qaa and attributes gui
Diffstat (limited to 'id/ConfigWebTool/src/main/webapp')
-rw-r--r--id/ConfigWebTool/src/main/webapp/js/common.js7
-rw-r--r--id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp16
2 files changed, 21 insertions, 2 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/js/common.js b/id/ConfigWebTool/src/main/webapp/js/common.js
index e6fcdf977..b07b31205 100644
--- a/id/ConfigWebTool/src/main/webapp/js/common.js
+++ b/id/ConfigWebTool/src/main/webapp/js/common.js
@@ -22,6 +22,13 @@ function oaSSOService() {
}
}
+function oaStork() {
+ if ($('#OAuseSTORKLogon').attr('checked') == 'checked') {
+ $('#stork_block').css('display', "block");
+ } else {
+ $('#stork_block').css('display', "none");
+ }
+}
function oaSAML1() {
if ($('#oa_saml1_area').css('display') == "block") {
$('#oa_saml1_area').css('display', "none");
diff --git a/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp b/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
index 3234c6a86..d12a47b9e 100644
--- a/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
+++ b/id/ConfigWebTool/src/main/webapp/jsp/editOAGeneral.jsp
@@ -310,8 +310,20 @@
labelposition="left"
key="webpages.oaconfig.stork.usestork"
cssClass="checkbox"
- id="OAuseSTORKLogon">
- </s:checkbox>
+ onclick="oaStork();"
+ id="OAuseSTORKLogon" />
+ <div id="stork_block">
+ <s:textfield name="storkOA.attributes"
+ value="%{storkOA.attributes}"
+ labelposition="left"
+ key="webpages.moaconfig.stork.requestedattributes"
+ cssClass="textfield_long"/>
+ <s:select list="#{1:'1', 2:'2', 3:'3', 4:'4'}"
+ value="#{storkOA.qaa}"
+ name="storkOA.qaa"
+ key="webpages.moaconfig.stork.qaa"
+ labelposition="left" />
+ </div>
</div>
<div class="oa_config_block">