setting value for af:inputHidden field
433961Apr 4 2005 — edited Apr 5 2005Hello all,
I am trying to set a value to a inputHidden field, but unable to do so. In the back bean, I use
hiddenComp.getAttributes().put("submittedValue",null);
hiddenComp.getAttributes().put("value","some value");
to set the value. In the jspx page, I have
<af:inputHidden id="id1" value="" />
Note: hidddenComp is ref. to "id1".
This field is used to hold temporary calculated value. There is no corresponding property for this field in the back bean.
Thanks in advance for anyone who can give me help me on this.