|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
a4j:commandButton not workingHi Experts,
Im having a simple page ,where in am displaying a datatable and each row have an option of viewing details. Here's my jsp code of data table <h:dataTable id="dataTableRequirementId" value="#{siteRequirementBean.siteProfileList}" var="groupProfile" styleClass="webwidth rec-tab-brd" headerClass="rec-hdr-bg rec-brd-l" border="0" cellspacing="0" cellpadding="0" rowClasses="rec-r1,rec-r2"> <h:column> <f:facet name="header"> <h:outputText value="#{bundle.profileName}" /> </f:facet> <h:outputText value="#{groupProfile.groupName}" /> </h:column> <h:column> <f:facet name="header"> <h:outputText value="#{bundle.createdBy}" /> </f:facet> <h:outputText value="#{groupProfile.createdBy.userName}" /> </h:column> <h:column> <a4j:commandButton value="#{bundle.attach}" actionListener="#{profileBean.loadSelectedProfile}" styleClass="frm-btn" reRender="detailProfileId"/> </h:column> </h:dataTable> This datable is enclosed in a <h:form>. My problem is that when i click on this a4j:commandButton then no action occurs. i.e my backing bean method is not invoked, but if i put h:commandButton instead, eveything works fine. Can any one please tell me as to where am going wrong, If needed i can post the respective files. Waiting for for expert advice. Thanks. Ved |
|
|
Re: a4j:commandButton not workingHave you configured a4j properly in web.xml? Please post new messages in a4j and richfaces forums at jboss.org site.
2008/1/20, ved <ved.gunjan@...>:
-- Yours truly (Atenciosamente), Rogério (_rogerio_) http://faces.eti.br "Faça a diferença! Ajude o seu país a crescer, não retenha conhecimento, distribua e aprenda mais." ( http://faces.eti.br/?p=45) |
| Free Forum Powered by Nabble | Forum Help |