voyent
Issues with 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 with java script for validation and actionListener and action attributes. When I clicked on ice:commandButton, the js function is called which returns true after validation successful. after that actionListener and action methods are not calling. If I remove js function then actionListener and action methods are called. Pls help me in fixing this issue and find the code for ice command button below.
[/code]
<ice:commandButton id="datiSubmit" styleClass="textBtnGreen" value="#{topUpShopperSupportBean.confirmationLabel}" onclick="return validateShopperForm(this);" actionListener="#{topupCockpitController.actionlListener}"
action="#{topupCockpitController.onSubmit}">
<f:attribute name="ActionName" value="confirmDashboardShopperDetails"/>
</ice:commandButton>
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team