String formName = getForm().getName();
String fieldName = getName();
String script = "focus(document." + formName + "." + fieldName + ")";
pageRenderSupport.addInitializationScript(script);
// Put a marker in, indicating that the selected field is known.
cycle.setAttribute(SELECTED_ATTRIBUTE_NAME, Boolean.TRUE);
}