Re: How to improve my message component

2009-08-25 Thread Siddhartha Argollo
Is it possible for this message component to auto detect the form submit and to render when the submit is successful? I've tried to use the defer method of the FormSupport, but it occurs after the render phase. Thiago H. de Paula Figueiredo wrote: Em Tue, 25 Aug 2009 10:26:16 -0300, Sebastian

How to improve my message component

2009-08-25 Thread Sebastian HennebrŸüder
Hello, I was missing a t:messages component as I want to show 'entry was deleted' 'entry was saved ...' messages directly or after a redirect. I wrote my own one but it is not very beautiful. It uses a application state object stored into the session 'MessageStore'. I inject the message store

Re: How to improve my message component

2009-08-25 Thread Thiago H. de Paula Figueiredo
Em Tue, 25 Aug 2009 10:26:16 -0300, Sebastian Hennebrueder escreveu: Hello, Hi! Instead of using @SessionState, I just use a single @Persist(PersistenceConstants.FLASH) String field and pass it as a parameter or through a setter to my component. -- Thiago H. de Paula Figueiredo Indep

How to improve my message component

2009-08-25 Thread Sebastian Hennebrueder
Hello, I was missing a t:messages component as I want to show 'entry was deleted' 'entry was saved ...' messages directly or after a redirect. I wrote my own one but it is not very beautiful. It uses a application state object stored into the session 'MessageStore'. I inject the message store int