Hi,

Does CommitAfter annotation work with service method as documented in
http://tapestry.formos.com/nightly/tapestry5/tapestry-hibernate/ ?
I tried this with dispatcher but objects were not saved:

    @CommitAfter
    public boolean dispatch(Request request, Response response) throws
IOException {

        PageLog log = new PageLog();
        log.setIp(requests.getHTTPServletRequest().getRemoteAddr());
        log.setPath(request.getPath());
        sessionManager.getSession().save(log);
        return false;
    }

-- 
View this message in context: 
http://www.nabble.com/T5%3A-CommitAfter-and-service-method-tp18786231p18786231.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to