I am extending HtmlOutputLabel adding a "*" when its for component is required.
I am almost successful but I am having a problem. The "*" is not rendered the first time the page is rendered. The problem, is that findComponent does not find the "for" component using findComponent the first time: EditableValueHolder uiFor = uiLabel.getInputFor(); if (uiFor == null || !((EditableValueHolder) uiFor).isRequired()) return;