了解)
actionListener="#{inBean.doSave}" partialSubmit="true"/>
public void doSave(ActionEvent actionEvent) {
// ActionResponse response = (ActionResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
// response.setRenderParameter("myParam", myParam);
FacesContext context = FacesContext.getCurrentInstance();
UIViewRoot root = context.getViewRoot();
RichInputText inputText = (RichInputText) root.findComponent("it1");
myParam = (String)inputText.getValue();
}