UIComponent forcomp = getUtils().findComponentFor(component, targetComponentId);
if (forcomp == null) {
throw new FacesException("No component with id=" + targetComponentId + " found!");
}
targetClientId = forcomp.getClientId(context);
AbstractFocusModifier modifier = AbstractFocus.findModifier(forcomp);
if (modifier != null) {
final String modifiedTargetClientId = modifier.getTargetClientId();
if (modifiedTargetClientId != null && !modifiedTargetClientId.equals("")) {
targetClientId = modifiedTargetClientId;
} else {
suffix = modifier.getSuffix();
}
}
if (priority == null) {
priority = uiFocus.calculatePriority(forcomp);
}