Hi,

I'm not sure if this is related to T5, here is what I'm doing:

I need to keep track of how many time a certain record is being viewed, here
is what I do:

@CommitAfter
   void setupRender() {
       this.getCurrentDoc().incView();
   }

This works, but if user clicks twice, it is counted twice as well, I'd like
to count only once, maybe in the same session. any way to achieve this?

Thanks,

Angelo
-- 
View this message in context: 
http://www.nabble.com/T5%3A-keeping-track-of-correct-count-during-a-session-tp21935539p21935539.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to