2 Replies Latest reply on Dec 23, 2009 4:01 PM by shadowcreeper

    custom getters and setters for components?

    v c Newbie

      hihi,

       

      is there a way to specify custom getter and setter methods for any component?

       

      that is, instead of this:

       

      <h:inputText value="#{myBean.myProperty}" />
      

       

      i would like to do something like this:

       

      <h:inputText getter="#{myBean.getMyProperty('param1','param2')}"
         setter="#{myBean.setMyProperty('param1', 'param2', this.value)}" />
      

       

      any ideas much appreciated!

       

      tia!

      -v