0 Replies Latest reply on Jan 23, 2009 12:02 PM by Sascha Janz

    parameterized binding

    Sascha Janz Master
      i got a paramterized binding for an inputtext

      el expression is #{Session.data.value('key')}

      the correspondig class is like

      class Data
         Hashmap values = new Hashmap();

         public String value(String key ) {
            return values.get(key);
        }

      ...
      }

      The getter method works fine.

      is there a way for calling a setter method?

      like

      public void setValue(String key, String value) {
          values.put(key,value);

      }