I think StringResourceModel is a IComponentAssignedModel and [image: Inline image 1]
and [image: Inline image 2] So maybe the line this.label = labelModel should be replaced by this.label = wrap(labelModel) for this to work? Thought Label tag should already be doing that. Can you create a quick start? On Fri, May 26, 2017 at 1:20 AM, David Beer <david.m.b...@gmail.com> wrote: > 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 > -- Regards - Ernesto Reinaldo Barreiro