You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by infiniter <in...@gmail.com> on 2012/02/07 20:30:46 UTC

opening modal window after session has expired

modal windows won't open when the session has expired. So if this occurs, I
was thinking of somehow refreshing the page and try opening the modal
automatically.
I want to explore solutions before going stateless. Any idea how this can be
accomplished?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/opening-modal-window-after-session-has-expired-tp4365968p4365968.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: opening modal window after session has expired

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Check https://cwiki.apache.org/confluence/display/WICKET/Modal+Windows
(Opening a modal window on page load (no AJAX involved)).
You can play with
javax.servlet.http.HttpServletRequest#isRequestedSessionIdValid() to
find out whether the session has been expired.

On Tue, Feb 7, 2012 at 9:30 PM, infiniter <in...@gmail.com> wrote:
> modal windows won't open when the session has expired. So if this occurs, I
> was thinking of somehow refreshing the page and try opening the modal
> automatically.
> I want to explore solutions before going stateless. Any idea how this can be
> accomplished?
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/opening-modal-window-after-session-has-expired-tp4365968p4365968.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org