0 Replies Latest reply on Oct 19, 2009 4:02 AM by hasitharandika

    Always Null value from commadbutton

      hi guys,

      i have a command button like this

      <h:commandButton action="#{tableBean.countListener}" value="Edit">
      <f:param value="hello" name="hari"/>
      </h:commandButton>


      and in the config.xml this is hoe it's looks like

      <managed-bean>
      <managed-bean-name>tableBean</managed-bean-name>
      <managed-bean-class>com.sabretch.mobility.beans.UserRightBean</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
      <managed-property>
      <property-name>hari</property-name>
      #{param.hari}
      </managed-property>
      </managed-bean>



      in the Bean class i have getters setters for hari

      but when the countListener method invokes the variable displays as null;