开发者

Accessing FacesContext from a thread

In my JSF app I need to display FacesMessage from another thread. Acordi开发者_如何学运维ng to docs it's not possible. But maybe there is some trick to do so? I can't see another way to do what I wan't to :(


Maybe you can solve your problem with asynchronous background work with ICEfaces server side push.
Pleas take a look at http://auctionmonitor.icefaces.org/auctionMonitor/auctionMonitor.jsf for an example of the push technology.

Your background working thread could perform a "push", which will "notify" certain pages to update (partially) and display your message.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜