Hi Frank,
I just read your post. What would you suggest as a clean solution for the
backward problem? As suggested before the reload does not happen in all
browsers when the user hits the backward button.... So what to do?
Cheers,
Pete
> -----Ursprüngliche Nachricht-----
> Von: Frank W. Zammetti [mailto:fzlists@(protected)]
> Gesendet: Freitag, 19. Januar 2007 17:50
> An: Struts Users Mailing List
> Cc: 'Struts Users Mailing List'
> Betreff: Re: Timed Java Script Request & Struts?
>
> I'm not sure what your suggesting is architecturally a good idea, but
> that's for you to decide :) I'm all about helping you make it happen
> regardless, so...
>
> In addition to the options others have mentioned, another to consider is
> the AjaxParts Taglib (APT), a part of Java Web Parts (JWP):
>
> http://javawebparts.sourceforge.net/
>
> More specifically:
>
> http://javawebparts.sourceforge.net/javadocs/javawebparts/ajaxparts/taglib
> /package-summary.html
>
> This will allow you to fire an AJAX request on a timer, without having to
> write any Javascript. It will work with Struts 1.x, 2.x, or any other
> (java-based) framework.
>
> Frank
>
>
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
> AIM/Yahoo: fzammetti
> MSN: fzammetti@(protected)
> Author of "Practical Ajax Projects With Java Technology"
> (2006, Apress, ISBN 1-59059-695-1)
> Java Web Parts - http://javawebparts.sourceforge.net
> Supplying the wheel, so you don't have to reinvent it!
>
> On Fri, January 19, 2007 9:09 am, Peter Neu wrote:
> > Hello,
> >
> >
> >
> > in one of my endless attempts to fight the evil browser backward button
> > mechanism I was thinging about this:
> >
> >
> >
> > Can I make a periodic java script (ajax) request to determine when a
> user
> > hit the evil button and tries to work
> >
> > a page that is not current anymore? Say the user hit the back button and
> > now
> > resides on the "wrong" page
> >
> > I make a hidden ajax request and determine he is in the wrong pace. Then
> I
> > give him a notice and send him back
> >
> > to the right place.
> >
> >
> >
> > Is this possible? How would I make the periodic request?
> >
> >
> >
> > Cheers,
> >
> > Pete
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)