I have a page that displays a list of Titles. I have a few links off this page that take you to a second page where you can either
a) create a new Title b) edit an existing Title c) delete an existing Title The onClick handlers for b and c create the destination page with the selected object where as option a simply prepares a blank form for the user to type in. In this simplistic case, a Title is simply a bare-bones Entity with just a "Long id" and a "String name". All is fine -- except on the very first action. The very first meaning, right after I rebuild and restart the application. After ADDING a new Title - the onSubmit handler of that page simply sets the response page which is a POJO page that takes no arguments. That original page comes up - but the listing of Titles is always missing the very last one I entered. If I refresh the screen - all is well. If I add 25 more Titles, they always show up right away - ie: as soon as page 2 directs me back to page 1. But for some reason, the very first time - the new entry doesn't show up upon returning the first listing page. I am using some nominal Ajax on the 2nd page to go back and forth between viewing and editing ... but the final submit is always a full refresh back to the original page. I recently added b and c ... and oddly enough ... the edits or deletes do not show up on the first page ... the first time after a rebuild and restart ... but then work consistently everytime after that. Thoughts? Any quick thoughts as to what migh be going on in my env? For what its worth - I have an outer filter that is creating and commiting Hibernate transactions and they are firing as expected ... Thanks in advance, -Luther
