108109110111112113114115116117118
{ operations.addBook(attributes, publisherName); // Clear the app's cache of info; in this case, known publishers. vengine.clearCache(); } break; } catch (CreateException ex)
186187188189190191192193194195196
} } // Clear any cached info about publishers. vengine.clearCache(); MyLibrary page = getMyLibrary(); page.setMessage(publishersUpdated());
182183184185186187188189190191192
{ vengine.rmiFailure("Remote exception updating user attributes.", ex, i++); } } vengine.clearCache(); getMyLibrary().activate(); } public void pageBeginRender(PageEvent event)
150151152153154155156157158159160
} } // Clear any cached info about publishers. vengine.clearCache(); } public void pageBeginRender(PageEvent event) { readPublishers();
135136137138139140141142143144145
if (publisherId != null) bean.updateBook(bookId, attributes); else { bean.updateBook(bookId, attributes, publisherName); vengine.clearCache(); } break; } catch (FinderException ex)
8990919293949596979899
167168169170171172173174175176177
{ vengine.rmiFailure("Remote exception updating user attributes.", ex, i++); } } vengine.clearCache(); MyLibrary myLibrary = (MyLibrary) cycle.getPage("MyLibrary"); myLibrary.activate(cycle); }