Hi

I am using the BootstrapCheckbox and when I try to add the Label using
StringReosrceModel if fails to find the key in the properties file for the
page it is on.

However when I use Model.of() it works.

BootstrapCheckbox addMoreUsersCheckbox = new
BootstrapCheckbox("checkbox-add-more-users", addUsers, Model.of("Addd
another user"));

BootstrapCheckbox addMoreUsersCheckbox = new
BootstrapCheckbox("checkbox-add-more-users", addUsers, new
StringResourceModel("checkbox"));

How do I reference the value checkbox in the page properties file properly?

Thanks

David

Reply via email to