Store a session variable with the page and a counter. Then you can track exactly how many times a user has returned to a page during the session.
> -----Original Message----- > From: Robert Nicholson [mailto:robert.nichol...@gmail.com] > Sent: Wednesday, March 13, 2013 3:29 PM > To: stripes-users@lists.sourceforge.net > Subject: [Stripes-users] Detect the first time you hit your default > action? > > Does anybody know of a way to detect the first time you hit your > default action and not any time after? I need to set some state on a > bean that represents filter criteria on a form but I only want to do it > the first time I visit the page. > > I need different functionality whenever I visit the page after visiting > another page vs explicitly hitting the search button with no filter > criteria defined. > > I need to first visit a page and default my search criteria but also > support explicitly searching with no criteria specified. > > Sent from my iPad > ----------------------------------------------------------------------- > ------- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users