Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

setting value for af:inputHidden field

433961Apr 4 2005 — edited Apr 5 2005
Hello 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2005
Added on Apr 4 2005
4 comments
280 views