Ah, Good idea. I was hooked on jacking myself in to the faces message event life cycle somehow but this is a better way. Primefaces growl is very close to what I want but it performed bad on safari for touch and seem very hard to center. Centering a growl does not make full sense to me personally but it's out of my reach to decide that this time ;)
thanks / Karl On 21 October 2014 20:39, Kito Mann <kito.m...@virtua.com> wrote: > Hello Karl, > > As Thomas said, it's just a rendering issue, and writing a Renderer is > pretty simple (at least for Messages). PimeFaces is open source so you can > even look at their Growl component renderer for an example. > > ___ > > Kito D. Mann | @kito99 | Author, JSF in Action > Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting > http://www.JSFCentral.com | @jsfcentral > +1 203-998-0403 > > * Listen to the Enterprise Java Newscast: *http:// > <http://blogs.jsfcentral.com/JSFNewscast/>enterprisejavanews.com > <http://ww.enterprisejavanews.com>* > * JSFCentral Interviews Podcast: > http://www.jsfcentral.com/resources/jsfcentralpodcasts/ > * Sign up for the JSFCentral Newsletter: > http://oi.vresp.com/?fid=ac048d0e17 > > On Tue, Oct 21, 2014 at 7:29 AM, Thomas Andraschko < > andraschko.tho...@gmail.com> wrote: > > > Hi Karl, > > > > just have a look at p:growl - we use an own renderer there. > > You can also overwrite the h:message/h:messages renderer of course. > > > > Regards, > > Thomas > > > > 2014-10-21 13:26 GMT+02:00 Karl Kildén <karl.kil...@gmail.com>: > > > > > Hello, > > > > > > I want to implement my faces messages with > > > http://codeseven.github.io/toastr/ How can I best do this? can I > listen > > to > > > some js event or server side event? > > > > > > cheers > > > > > >