public DialogFrameworkOptions.Builder focus(String focus) {
            options.setFocus(focus);
            return this;
        }
Defines which component to apply focus by search expression.
@param focus
@return
primefaces/src/main/java/org/primefaces/model/DialogFrameworkOptions.java