check if the method actually called and if image properly changed in debug.
java bean is called.
to save the space in my previous message. I had cleared some control statements like:
System.out.println(" info_button.getId() "+info_button.getId());
System.out.println(" info_button.getImage() "+info_button.getImage());
I checked program enters the every part of the bean.
they look ok.
I was wondering if I understood correctly the logic of Ajax:
- when I pressed this button its color should change and whole page is not reloaded.
- no submit is necessary
only related part is updated (in my case --a4j:commandButton id="infobutton"--)
when I reload page, it looks it has worked and necessary change taken place.
there might be any expression that blocks ajax functionality ?