Skip to content
Snippets Groups Projects
Commit 9bf3013e authored by gnaegi's avatar gnaegi
Browse files

OO-4624 mark bbb url as mandatory (only UI)

parent 2b1ca087
No related branches found
No related tags found
No related merge requests found
...@@ -112,6 +112,7 @@ public class BigBlueButtonConfigurationController extends FormBasicController { ...@@ -112,6 +112,7 @@ public class BigBlueButtonConfigurationController extends FormBasicController {
urlEl = uifactory.addTextElement("bbb-url", "option.baseurl", 255, uriStr, formLayout); urlEl = uifactory.addTextElement("bbb-url", "option.baseurl", 255, uriStr, formLayout);
urlEl.setDisplaySize(60); urlEl.setDisplaySize(60);
urlEl.setExampleKey("option.baseurl.example", null); urlEl.setExampleKey("option.baseurl.example", null);
urlEl.setMandatory(true);
String sharedSecret = bigBlueButtonModule.getSharedSecret(); String sharedSecret = bigBlueButtonModule.getSharedSecret();
if(StringHelper.containsNonWhitespace(sharedSecret)) { if(StringHelper.containsNonWhitespace(sharedSecret)) {
...@@ -120,7 +121,8 @@ public class BigBlueButtonConfigurationController extends FormBasicController { ...@@ -120,7 +121,8 @@ public class BigBlueButtonConfigurationController extends FormBasicController {
} }
sharedSecretEl = uifactory.addPasswordElement("shared.secret", "option.bigbluebutton.shared.secret", 255, sharedSecret, formLayout); sharedSecretEl = uifactory.addPasswordElement("shared.secret", "option.bigbluebutton.shared.secret", 255, sharedSecret, formLayout);
sharedSecretEl.setAutocomplete("new-password"); sharedSecretEl.setAutocomplete("new-password");
sharedSecretEl.setMandatory(true);
//buttons save - check //buttons save - check
FormLayoutContainer buttonLayout = FormLayoutContainer.createButtonLayout("save", getTranslator()); FormLayoutContainer buttonLayout = FormLayoutContainer.createButtonLayout("save", getTranslator());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment