Hi,
I have the inplaceInput configured as follows.
<rich:inplaceInput rendered="#{!dryContacts}" id="profileNameColumn" value="#{profilesOnDevice.description}" showControls="true" minInputWidth="90px;" editEvent="dblclick" onchange="Spot.Util.inplaceEdit(event);" selectOnEdit="true" maxlength="30"> <a4j:ajax event="change" listener="#{profile.doEditProfileName}" onsubmit="if(!Spot.Util.inplaceSubmit(#{rich:component('profileNameColumn')},event)) return false;" render="profileMessagesPanel,profilesAddEditPanel,profilesPanelGroup,profileNameEditPanel,profileDetailsHeader" oncomplete="jQuery('.rich-message-label').effect('highlight',{},3000);jQuery('.round').corner('8px');"/> <f:validateLength maximum="100"/> </rich:inplaceInput>
In the Spot.Util.inplaceEdit js method I was using event.memo.OldValue to get access to the oldValue in versions prior to 4.0.
currently "memo" is undefined in the event object.
Is there some way i can get access to the oldValue?
Is it even required to access the oldValue to set it to the component as was required to be done earlier using the onviewactivation/onviewactivated events.
thanks
Rosmon
It's not required. In 3.3.x you had only view activate event and that event was fired in any case even if there was no value change. now change event fired correclty so you really not need to check anymore now.