This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
I am working on JSF+Portlet on Glassfish+Liferay server.
I have 2to jsf pages with corresponding beans with each pages.the beans are in the "session" scope.
In the 2nd page,I have a dropdown menu of applicant Types(like Main/Co-Applicant),with 2values.I have some input boxes too.
My Objective is: I want the values of the inputboxes will be changed with the selection of the dropdown menu. At the 1st time ,while loading the page I am loading a list(selection,object) In the list ....selection is the selectionindex of the dropdown and object is the corresponding object which is to be shown according to the selection. In the backing Bean,I have written a code so that,on the ValueChangeEvent of the dropDown I am getting the value of selectionindex and from the list trying to show the object with corresponding selection.
My Problem is: In the ValueChangeEvent of the dropDown,I am getting the proper value.But the page is always showing the 1st selection values.Evenif I am selecting the 2nd value from the dropdown,values of the corresponding inputboxes are not getting refreshed in the jsf page.
I dont know whether it is a page refresh problem or jsf lifecycle problem.Or is this a problem with my coding?