@NotNull public static HtmlCommandButton addCommandButton(@NotNull UIComponent parent, FacesComponentIdFactory idFactory, String value, String styleClass) { HtmlCommandButton button = createComponent(HtmlCommandButton.class, idFactory); button.setValue(value); button.setStyleClass(styleClass); parent.getChildren().add(button); return button; }
button.setValue( metawidget.getLabelString( attributes ) );
button.setValue( metawidget.getLabelString( attributes ) );
button.setValue(Utils.getMessageResourceString(SecurityConst.BUNDLE_NAME, SecurityConst.BUTTON_LOGIN, null, null)); panel.getChildren().add(button);