You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by MartinoSuperman <ma...@live.nl> on 2013/10/05 15:46:47 UTC

Refresh whole site with iframes

Hi,

I am using frames in Wicket in the website I am building.

Unfortunately, when I sign out in my authenticated webapplication it only
refreshes that frame. The other irames not.

I am using this technique of frames:

http://www.wicket-library.com/wicket-examples/frames/ 

So, my question is as follows:

When I want to refresh the site, I want to refresh the WHOLE site with all
the other frames in it and not only the frame in which I have the focus.

How can I make it to refresh the WHOLE site, inclusive the other frames?
After signing out, it has to go back to the sign in screen.

Thanks for your help in advance. 







--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refresh-whole-site-with-iframes-tp4661720.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: Refresh whole site with iframes

Posted by Paul Bors <pa...@bors.ws>.
So why use iFrames and not Panels?

With Panels you don't have to worry about it because it's a single page at all times.

With iFrames you could do it with JavaScript given all frames are hosted on the same domain:

parent.location.assisgn("URL to login page");

Where parent is the root window of your app hosting all the iFrames. Do so after you invalidate the user's session. This won't wok if JS is turned off in the browser.

~ Thank you,
   Paul C Bors

> On Oct 5, 2013, at 15:16, MartinoSuperman <ma...@live.nl> wrote:
> 
> Hi,
> 
> They are all running on the same wicket app.
> 
> 
> 
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refresh-whole-site-with-iframes-tp4661720p4661724.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
> 

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


Re: Refresh whole site with iframes

Posted by MartinoSuperman <ma...@live.nl>.
Hi,

They are all running on the same wicket app.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refresh-whole-site-with-iframes-tp4661720p4661724.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: Refresh whole site with iframes

Posted by Paul Bors <pa...@bors.ws>.
Are all the frames running in the same wicket app?

Or do you have a wicket app nested inside some other site?

~ Thank you,
   Paul C Bors

> On Oct 5, 2013, at 9:46, MartinoSuperman <ma...@live.nl> wrote:
> 
> Hi,
> 
> I am using frames in Wicket in the website I am building.
> 
> Unfortunately, when I sign out in my authenticated webapplication it only
> refreshes that frame. The other irames not.
> 
> I am using this technique of frames:
> 
> http://www.wicket-library.com/wicket-examples/frames/ 
> 
> So, my question is as follows:
> 
> When I want to refresh the site, I want to refresh the WHOLE site with all
> the other frames in it and not only the frame in which I have the focus.
> 
> How can I make it to refresh the WHOLE site, inclusive the other frames?
> After signing out, it has to go back to the sign in screen.
> 
> Thanks for your help in advance. 
> 
> 
> 
> 
> 
> 
> 
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refresh-whole-site-with-iframes-tp4661720.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
> 

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