This content has been marked as final. 
    
Show                 5 replies
    
- 
        1. Re: InplaceInput supportbgregory Jun 4, 2008 9:02 PM (in response to bgregory)FYI: It seems that RichFacesClient.setInputNumberSpinner() works fine for inplace input controls. 
 Brian
- 
        2. Re: InplaceInput supportbgregory Jun 5, 2008 10:03 AM (in response to bgregory)Actually my previous comment is wrong, there is a slight modification required to support inplace-input. 
 I wrote this new function to be added to RichFacesClient:public void setInputInplace(String componentID, String value) throws SAXException, IOException { String clientID = client.getClientIDs().findClientID(componentID); Element docElement = client.getUpdatedDOM().getDocumentElement(); // Here is the only difference from setInputNumberSpinner() Element input = DOMUtil.findElementWithAttribValue("name", clientID+"value", docElement); input.setAttribute("value", value); refreshPageFromDOM(); }
 The only difference is the name of the element into which the value is placed ("value" added to the end of the clientID)
- 
        3. Re: InplaceInput supportbgregory Jun 5, 2008 10:27 AM (in response to bgregory)Apparenlty this isn't completely correct either - It works in one case, but not the other darnit. I'll post more information later today. 
- 
        4. Re: InplaceInput supportssilvert Jun 5, 2008 3:33 PM (in response to bgregory)I don't expect that this will work until we finish with the HtmlUnit integration. Stay tuned. 
 Stan
- 
        5. Re: InplaceInput supportbgregory Jun 5, 2008 5:11 PM (in response to bgregory)I've found that the above code does work. I had forgotten to do the ajaxSubmit() on the ajax support control in order to ensure my action listener was called. 
 Brian
 
    