Method associated by a4j:support is called. But the section of page does not rendered.I have found this problem in IE 9. Up to IE 8 ,Firefox and chrome, it works fine.
I am pasting below some part of code.
On UI page-
<h:selectBooleanCheckbox title="isShippingAddressSame" id="isShippingAddressSame"
value="#{accountProvisioningBean.sameShippingAddress}">
<a4j:support reRender="shippingCountry,shippingAddress1,shippingAddress2,shipppingCity,shippingState,shippingZipcode" event="onclick" action="#{accountProvisioning.setSameShippingAddress}"/>
</h:selectBooleanCheckbox>
Server side code-
public void setSameShippingAddress() {
Account account = accountProvisioningBean.getAccount();
if (accountProvisioningBean.isSameShippingAddress()) { // Save the seperately entered Shippiing address. In case if he dis // select the sameAsShipping address checkbox the contents he has // entered are repopulated. accountProvisioningBean.setUserEnteredShippingAddress(account.getShippingAddress()); Address billingAddress = account.getBillingAddress(); Address shippingAddress = new Address(); // copy contents from billing address to Shipping address. shippingAddress = copyAddress(shippingAddress, billingAddress); account.setShippingAddress(shippingAddress); /* * To disable the state selection drop down,setting * shippingCountryUSA to false. */ accountProvisioningBean.setAccount(account); accountProvisioningBean.setShippingCountryUSA(false); } else { account.setShippingAddress(accountProvisioningBean.getUserEnteredShippingAddress()); accountProvisioningBean.setAccount(account); }
}
------------------
Actually on ajax call, I am setting the accountProvisioningBean (Backing bean object). You can see from UI page code, I am Rerendring some section of page, where I am fetching the value which I set on server side. But the page is not showing updated values until I refresh the page.
One more thing, I have found that also oncomplete event of a4j:support is not working in IE 9.