CLEARING INPUT TEXT VALUE on click of button
AviMay 14 2012 — edited May 17 2012Hi 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?