voyent
Backing bean is not updated with new values on click of ice:commandButton  XML
Forum Index -> Portals & Portlets
Author Message
javaji.maruthi

Joined: 13/Dec/2011 04:35:28
Messages: 3
Offline


I am using ice:commandButton, when I click on command button action method is called and inside the method I am not seeing values updated in the backing bean, its giving old value.

[code]
jsp
<ice:commandButton id="datiSubmit" styleClass="textBtnGreen" value="#{topUpShopperSupportBean.confirmationLabel}" onclick="validateShopperForm(form,this,event); return false;" actionListener="#{topupCockpitController.actionlListener}"
action="#{topupCockpitController.onSubmit}">
<f:attribute name="ActionName" value="confirmDashboardShopperDetails"/>
</ice:commandButton>





deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


What version of ICEfaces and what server are you running with?

Can you provide a copy of the rendered markup that the ice:command button generates to the browser? You might be overriding ICEfaces' onclick value with your own and thus preventing it from doing it's automatic Ajax correctly.

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team