Tried something like
public void observePRVE(@Observes @View("foo.xhtml") PreRenderViewEvent e)
@Component is used with component id:s, @View with view id:s
Thats kinda cool, can you do something like:
public void observePRVE(@Observes @View("/app/*") PreRenderViewEvent e)
so the event is fired for all the views under /app ?
Currently it just checks for equals but why not, it could be a regexp, file a JIRA if you feel it's important enough ;-)