[ http://issues.apache.org/jira/browse/ADFFACES-36?page=comments#action_12417423 ]
Adam Winer commented on ADFFACES-36: ------------------------------------ In this case, there is no ValueChangeEvent, nor can there be, so we can't know that we need to refresh. You need to either: use something with a longer lifespan than request scope, or keep the value in the UIComponent so JSF state saving will take care of it (e.g., call FacesContext.renderResponse() in a valueChangeLIstener). > af:selectOneChoice doesn't cause a partial page refresh if you choose the > initial value the select box was rendered with > ------------------------------------------------------------------------------------------------------------------------ > > Key: ADFFACES-36 > URL: http://issues.apache.org/jira/browse/ADFFACES-36 > Project: MyFaces ADF-Faces > Type: Bug > Environment: We are using request scope beans > Reporter: Peace Software > > There seems to be some optimisation going on that is stopping a partial page > refresh to be triggered if the user selects the initial value the select box > was rendered with. > This is a problem for us as we are using request scope beans. Imagine the > page is rendered with the value of the select being "x", the user changes the > value to "y" and a partial page refresh is triggered. However when the user > changes the value back to "x" no refresh is triggered as as far as the > backing bean is concered the value is already "x", because we are request > scope beans, and therefore no refresh is necessary. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
