aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java
diff options
context:
space:
mode:
authorFlorian Reimair <florian.reimair@iaik.tugraz.at>2015-05-05 16:34:30 +0200
committerFlorian Reimair <florian.reimair@iaik.tugraz.at>2015-05-05 16:34:30 +0200
commitb4e8abf78acf92e6a40606ddd02d381e73a0d487 (patch)
treee8c2990878c1cd253ed36da6a13dcc4eb9ca54f8 /id/server/idserverlib/src/main/java
parentd086e2f7c278b0b5034d058fe8deff34927bf811 (diff)
downloadmoa-id-spss-b4e8abf78acf92e6a40606ddd02d381e73a0d487.tar.gz
moa-id-spss-b4e8abf78acf92e6a40606ddd02d381e73a0d487.tar.bz2
moa-id-spss-b4e8abf78acf92e6a40606ddd02d381e73a0d487.zip
added required status to consent list
Diffstat (limited to 'id/server/idserverlib/src/main/java')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/ConsentEvaluator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/ConsentEvaluator.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/ConsentEvaluator.java
index 865cec5a3..baa2f1b40 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/ConsentEvaluator.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/ConsentEvaluator.java
@@ -150,7 +150,7 @@ public class ConsentEvaluator implements IAction {
// assemble table
String table = "";
for (PersonalAttribute current : container.getRequest().getPersonalAttributeList())
- table += "<tr><td><input type=\"checkbox\" checked=\"yes\" name=\"" + current.getName() + "\"></td><td>" + current.getName() + "</td></tr>\n";
+ table += "<tr><td><input type=\"checkbox\" checked=\"yes\" name=\"" + current.getName() + "\"></td><td>" + current.getName() + (current.isRequired() ? "" : " (optional)") + "</td></tr>\n";
context.put("tablecontent", table);
for(Entry<String, String> current : oaParam.getFormCustomizaten().entrySet())