You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by MZ...@osc.state.ny.us on 2010/11/18 18:13:41 UTC

PageMap, setMaxPageMaps()

Given this; 

SecondLevelCachePageMap uses SecondLevelCacheSessionStore (this is default 
in Wicket 1.3) which stores pages on disk except for the most recently 
accessed one which is stored in http session. (
https://cwiki.apache.org/WICKET/page-maps.html)

What effect would getSessionSettings().setMaxPageMaps(5) have if only one 
page map is stored in session and the remainder are in DiskStore (per 
description above)?  In other words, Wicket is storing pagemap n-1 in 
session, so n-2 should be in DiskStore, in which case setMaxPageMaps(5) 
has had no effect...

JavaDoc for setMaxPageMaps(int)

        /**
         * Sets maximum number of page maps allowed in this session
         * 
         * @param maxPageMaps
         *            Maximum number of page maps
         */
        void setMaxPageMaps(int maxPageMaps);





From:   meduolis <me...@gmail.com>
To:     users@wicket.apache.org
Date:   11/18/2010 12:04 PM
Subject:        Re: ModalWindow update size




I have tried it already, but it does not help.

on my panel I do this:


modal.setInitialWidth(image.getWidth());
modal.setInitialHeight(image.getHeigth());
 
target.addComponent(modal);


but on click nothing happens, no exceptions
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ModalWindow-update-size-tp3047558p3049132.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






Notice: This communication, including any attachments, is intended solely 
for the use of the individual or entity to which it is addressed. This 
communication may contain information that is protected from disclosure 
under State and/or Federal law. Please notify the sender immediately if 
you have received this communication in error and delete this email from 
your system. If you are not the intended recipient, you are requested not 
to disclose, copy, distribute or take any action in reliance on the 
contents of this information.

Re: PageMap, setMaxPageMaps()

Posted by meduolis <me...@gmail.com>.
Stefan Lindner, maby you know that thread where this problem is talked? I
really want to have that feature on my application
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/ModalWindow-update-size-tp3047558p3049389.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: PageMap, setMaxPageMaps()

Posted by meduolis <me...@gmail.com>.
So, there is no way to update modal window size, damn :), I thought wicket is
almighty :)
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/ModalWindow-update-size-tp3047558p3049278.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: PageMap, setMaxPageMaps()

Posted by meduolis <me...@gmail.com>.
I set maxPageMaps to 10, but it does not solve my problem :/
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/ModalWindow-update-size-tp3047558p3049198.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