• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF action not getting called  RSS feed

 
Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm hoping someone can help me troubleshoot what is going on. I have this JSF button on my page:


<h:commandButton type="button" value="Remove" onClick="deleteRow()" action="#{ConfigGridPage.saveAppConfig}" styleClass="npsButton" onmouseover="hoverGridButton(this)" onmouseout="unhoverGridButton(this)"/>


But upon clicking it, the backing bean action is never called. Here is my definition in the faces-config.xml file:

<managed-bean>
<managed-bean-name>ConfigGridPage</managed-bean-name>
<managed-bean-class>com.comcast.npsconfig.jsf.controllers.ConfigGridPage</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>elementName</property-name>
<value>#{param.elementName}</value>
</managed-property>
<managed-property>
<property-name>configKey</property-name>
<value>#{param.configKey}</value>
</managed-property>
<managed-property>
<property-name>configAction</property-name>
<value>#{param.configAction}</value>
</managed-property>
</managed-bean>


Nothing is revealed in my '<h:messages showSummary="true" showDetail="true"></h:messages>' call. Any ideas how I can proceed? Thanks, - Dave
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!