I'm trying to use the new inplaceInput feature of Richfaces and also support some tricky logic for editing mailing addresses.
A typical address might have:
city, state, zip
Often addr2/3 are blank and I don't want to show them. What I'd like to do is when the user clicks to edit addr1 then show the empty addr's 2 & 3 lines for edit but if focus leaves the address area (and addr2/3 are still empty) hide these fields again.
Any ideas how I can approach this?
it should be a different component in the future - rich:inplaceTextArea.
inplaceInput similar to the h:inputText. I.e. multi-line input is out of the scope