[OmniFaces utilities] The
getAttribute() is a "shortcut" for the UIComponent.getAttributes() method. It returns the attribute of the given component on the given nameMethod:
import
org.omnifaces.util.Components;
...
//a String
attribute value
String myComponentAttributeValue =
Components.getAttribute(myComponent, myComponentAttributeName);
Niciun comentariu:
Trimiteți un comentariu