6 Replies Latest reply on Dec 2, 2008 12:12 PM by Nick Belaevski

    a4j:keepAlive and modal panels

    Kevin Taylor Newbie

      I really need help. I am trying to implement modal panels in a master-detail scenario with datagrids. A user can either edit a record or add a new record. Adding a new record should result in a modal panel opening up with empty components, where as an edit scenario should result in all of the components being populated with the information from the record currently being edited. I am using keepAlive because I need certain aspects of the bean accessible between different ajax requests. For some reason, it does not appear to be keeping the bean alive when I use ajaxOnly. What constitutes an "ajax request"? My links and buttons are all a4j. Am I missing something. I basically want the bean to go away when the modal panel is closed and to be accessible as long as the modal panel is open.