Only thing I want is to be able to switch the MostRecentlyUsedMap to
something, that would provide me the possibility to decide, which pages
become stale.
I hope this is not too flexible :)
Btw. what do you mean by page navigation options? Is there a thread or
feature request I could take a look at? Sounds interesting to me :)
-Matej
Eelco Hillenius wrote:
I think that if we look at this, we should also give our page navigation
options a good look. One thing we don't want though, is that we get too
flexible which could encourage sloppy use.
Eelco
SourceForge.net wrote:
Feature Requests item #1238845, was opened at 2005-07-15 13:49
Message generated for change (Tracker Item Submitted) made by Item
Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1238845&group_id=119783
Please note that this message will contain a full copy of the comment
thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.1
Status: Open
Priority: 5
Submitted By: Matej Knopp (knopp)
Assigned to: Nobody/Anonymous (nobody)
Summary: Introduce a factory for MostRecentlyUsedMap
Initial Comment:
This would allow the user to plug his own
implementation of most recently used map. So the user
cold implement his own stale page policy (including
sticky pages, page priority, etc.) instead of simply
removing the last added pages from page map.
it could something like this.
public Interface IMostRecentlyUsedMapFactory {
Map createMostRecentlyUsedMap();
}
and the default implementation
public class MostRecentlyUsedMapFactory implements
IMostRecentlyUsedMapFactory {
Map createMostRecentlyUsedMap() {
return new MostRecentlyUsedMap
(session.getApplication().getSettings()
.getMaxPages());
}
}
The factory should be possible to set using
Application.getSettings
().setMostRecentlyUsedMapFactory or something similiar.
This would't affect any current wicket application.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1238845&group_id=119783
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop