Skip to content

Commit

Permalink
Merge #5507 from 4.1 into 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BalusC committed Sep 19, 2024
2 parents a412fed + 30c9d1f commit abf63f0
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,16 @@ protected void renderInput(FacesContext context, ResponseWriter writer, UICompon
writer.writeAttribute("name", group.getClientName(), "group");
writer.writeAttribute("id", clientId, "id");
writer.writeAttribute("value", clientId + UINamingContainer.getSeparatorChar(context) + value, "value");

String styleClass = (String) component.getAttributes().get("styleClass");
if (styleClass != null) {
writer.writeAttribute("class", styleClass, "class");
}

String style = (String) component.getAttributes().get("style");
if (style != null) {
writer.writeAttribute("style", style, "style");
}
}

if (disabled) {
Expand Down

0 comments on commit abf63f0

Please sign in to comment.