On 8/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
1. It seems to ignore the escape attribute on the selectOneRadio tag.
I've patched the HtmlRadioRendererBase for the label as follows and it now
works. Am I missing something?
Boolean escape = (Boolean)uiComponent.getAttributes().get("escape");
if ((label != null) && (label.length() > 0))
{
writer.write(HTML.NBSP_ENTITY);
if (escape != null && escape.booleanValue()) {
writer.write(label);
} else {
writer.writeText(label, "value");
}
}
I think most people use an outputLabel to add a label to the control
-- I know I do.
It probably was never implemented because of that. Since you have a
patch for this, open a JIRA issue and attach your patch in the form
of a unified diff.