You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2011/06/14 21:37:46 UTC
svn commit: r1135762 -
/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/BodyFrame.java
Author: mgrigorov
Date: Tue Jun 14 19:37:46 2011
New Revision: 1135762
URL: http://svn.apache.org/viewvc?rev=1135762&view=rev
Log:
Make sure that the page for the left frame is stored.
(Hacky but the whole app is weird with this page instance parameters)
Modified:
wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/BodyFrame.java
Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/BodyFrame.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/BodyFrame.java?rev=1135762&r1=1135761&r2=1135762&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/BodyFrame.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/BodyFrame.java Tue Jun 14 19:37:46 2011
@@ -41,6 +41,7 @@ public class BodyFrame extends WebPage
{
// create a new page instance, passing this 'master page' as an argument
LeftFrame leftFrame = new LeftFrame(this);
+ getSession().getPageManager().touchPage(leftFrame);
// get the url to that page
IRequestHandler leftFrameHandler = new RenderPageRequestHandler(new PageProvider(leftFrame));
// and create a simple component that modifies it's src attribute to