Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JSF and the fly likes Clearing h:inputText value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Clearing h:inputText value " Watch "Clearing h:inputText value " New topic

Clearing h:inputText value

Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
Values in the h:inputText are being cached for me, here is the descriptions.

1. I click a link "reimburse" --> modal popsup -> I enter the value in text-box --> click Submit/Process
2. I click another link "update/cancel" -->same modal popsup --> I see the value in the text box (This is fine and if I reload the page and click the link again, the modal appears with values intact)
3. I click another link "reimburse" --> same modal popsup --> I see the value in the text cached(this time I want the values not to be cached in the text box) -- If I reload the page, the values go away though.

I have tried clearing the bean when the links are clicked, but still the values appear. Did lot of googling, dint help. Please advise. Below is the code. Thanks.



SCJP 1.6, SCWCD 5.0, SCBCD 5.0 [loading..]
wood burning stoves
subject: Clearing h:inputText value
Similar Threads
<a4j:outputPanel> data cached?
Two commandButtons, one works fine, the other doesn't work
rich:contextMenu HOW TO RERENDER some sections!!
Problem with h:message and richfaces