[ http://issues.apache.org/jira/browse/MYFACES-539?page=comments#action_12322963 ]
Joseph Yi commented on MYFACES-539: ----------------------------------- That's disconcerting; why does it have to make multiple calls anyway? The application I'm developing involves updating a 'read' count in another table each time data is accessed even if a user re-reads the data. 'Hacking' around to deal with multiple calls for a single request kind of breaks any notion of cleanly separating the view from the business logic in my opinion. Is this behaviour specific to MyFaces or the RI as well? I'll give the RI a try and report back here. > h:datatable correctly calls my backing bean's method once on first request, > but calls the method twice on subsequent requests (i.e. refresh) > -------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MYFACES-539 > URL: http://issues.apache.org/jira/browse/MYFACES-539 > Project: MyFaces > Type: Bug > Components: General > Versions: 1.0.9m9 > Reporter: Joseph Yi > Attachments: myfaces-test.war > > I'm new to JSF so I apologize in advance if this is not a bug and just a > misunderstanding on my part on how JSF is supposed to work. > I have an issue where I have a JSP with h:datatable which gets a List of > objects from a backing bean. On a user's first request, the backing bean's > method to retrieve the list is only called once. However, subsequent requests > causes double execution of the method. -- 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
