Here is some code that I've written in an attempt to set an inplace input:
HtmlSpan span = (HtmlSpan)client.getElement(controlId); // Click the span control to activate & display text input span.focus(); span.click(); // Set text into tempValue field HtmlTextInput text = (HtmlTextInput)span.getFirstByXPath("//input[contains(@id,'"+controlId+"tempValue')]"); text.focus(); text.select(); text.type(value); text.blur(); // Click 'ok' button [itemsPerPageControlok] HtmlImageInput img = (HtmlImageInput)span.getFirstByXPath("//input[contains(@id,'"+controlId+"ok')]"); img.focus(); img.click();
<rich:inplaceInput id="controlId" value="#{backingBean.value}" showControls="true"> <a4j:support id="controlActionListener" event="onviewactivated" ajaxSingle="true" actionListener="#{backingBean.doAction}" reRender="panel1,panel2"/> </rich:inplaceInput>