Faces Menu property "styleName" is appending the name in the final result:
org.cruxframework.crux.smartfaces.rebind.menu.MenuFactory.MenuItemProcessor.setI
temAttributes(SourcePrinter, MenuContext, String)
String styleName = context.readChildProperty("styleName");
if (!StringUtils.isEmpty(styleName))
{
styleName = getWidgetCreator().getResourceAccessExpression(styleName);
out.println(item + ".addClassName(" + EscapeUtils.quote(styleName) + ");");
}
...
Instead of addClassName, we have to SET the style name using the setClassName.
Original issue reported on code.google.com by samuel@cruxframework.org on 2 Feb 2015 at 6:01
Original issue reported on code.google.com by
samuel@cruxframework.org
on 2 Feb 2015 at 6:01