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!

CLEARING INPUT TEXT VALUE on click of button

AviMay 14 2012 — edited May 17 2012
Hi All,

I have a 2 inputText box in my page in which a user enters some value and clicks a button against that box. Now what i want is, to clear the other inputbox ,on click of button against the inputBox in which user has entered value.
I have made partialTriggers of both Input Boxes to the buttons and buttons are partial submit.

Now in bean(session scope), i am writing something as firstInputBox.setValue(null);/firstInputBox.setValue("");/firstInputBox.setValue(false); on click of buttons.

But still my boxes aren't getting cleared.

Why it can be?
This post has been answered by Sudipto Desmukh on May 14 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 14 2012
Added on May 14 2012
8 comments
2,784 views