I am having a scenario, in which a jsp page having text boxes and drop downs. The page is also having a panel dailog box that is visible after clicking on a commanlink. When the Panel box is getting closed the page gets auto refresh( Looks as if the page is submitted and refreshing again). Now,Only for text Boxes the values are retained not for the Drop Downs.
Please help me to retaining the values of the drop down.
If you're using rendered attribute for this, you should make sure that it also evaluates true during the apply request values phase of the form submit.
Joined: Feb 23, 2009
yea i am using rendered attribute for this and making it true.. the dropdown is rendered properly .. only the problem is with the value which we have selected before submission is getting lost ( and that too happening only for dropdowns not with text boxes).
Joined: Oct 08, 2006
Retain it in the next request using h:inputHidden or Tomahawk's t:saveState.