Good question Andrew. I knew you are pointing at Conversion or Validations which may occur during onchange event. It was error in my code which i fixed it & works fine now
But i am having another wierd problem I have onblur event on textfield which functions as expected in case the textfield has null value. But if i go back & key in the value for textfield it still holds the null value & doesnt recognizes the new keyed in value . from debugging statement i figured out the setXXX() method doesn't get called Andrew Robinson-5 wrote: > > do you have any faces messages as a result of changing the menu > (conversion error, validation message, etc.)? > > On 8/1/07, bansi <[EMAIL PROTECTED]> wrote: >> >> When the page loads the textfield is disabled i.e. non-editable. It >> should be >> editable only thru onchange event of other component >> Here is the snippet >> <h:selectOneMenu id="assetMgmt" value="#{deviceBean.selectedAsset}" > >> <f:selectItem itemLabel="" >> itemValue="" /> >> <f:selectItems >> value="#{deviceBean.assetList}" /> >> <a4j:support >> action="#{deviceBean.loadTagMode}" >> event="onchange" reRender="propertyTag"/> >> </h:selectOneMenu> >> >> <a4j:outputPanel> >> <h:panelGrid columns="2" styleClass="detail" >> columnClasses="label" > >> >> <h:outputLabel><h:outputText value="Property >> Tag" /> >> </h:outputLabel> >> <h:inputText id="propertyTag" >> value="#{deviceBean.tagNumber}" >> disabled="#{!updateDeviceBean.disableMode}"> >> <a4j:support >> action="#{deviceBean.loadAssetDetails}" >> event="onblur" reRender="mypanel" /> >> </h:inputText> >> >> </h:panelGrid> >> </a4j:outputPanel> >> >> >> Backing Bean >> public void loadTagMode() { >> System.out.println("Inside loadTagDetails"); >> disableMode = true; >> >> } >> Any pointers/suggestions will be highly appreciated >> -- >> View this message in context: >> http://www.nabble.com/ajax4jsf-onchange--event-doesnt-reRender-Textfield-tf4202589.html#a11953535 >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/ajax4jsf-onchange--event-doesnt-reRender-Textfield-tf4202589.html#a11971431 Sent from the MyFaces - Users mailing list archive at Nabble.com.