So... I just tried the following and it worked, so I guess I answered
my own question.  Sorry for troubling you folks.

  private Object deleteItem( long id, String page, String context ) {
     itemDao.delete( id );

     Component comp = componentSource.getPage( page );
     if( comp instanceof FlashMessagePage ) {
        ((FlashMessagePage)comp).setFlashMessage( "Bah Humbug!" );
     }

     return context != null
        ? pageLinkSource.createPageRenderLinkWithContext( page, context )
        : pageLinkSource.createPageRenderLink( page )
        ;
  }


Btw, it's not at all intuitive that this would work.  I guess what's
happening is that when you acquire a page instance and set (persisted)
values on it, then those are the values that will be used the next
time the page is accessed?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to