Could you supply a patch please?
Eelco
Matej Knopp wrote:
Hi.
I know that there's not a lot of interest in this :)
but I just wonder if anyone actually objects, if this functionality
would be introducted to wicket.
Basicaly, it would allow to specify own MostRecentlyUsedPageMap instance.
class Application
{
...
public Map newMostRecentlyUsedMap()
{
return new MostRecentlyUsedMap(
getSettings().getMaxPages());
}
..
}
class PageMap
{
...
private transient Map pages;
...
private final Map getPages()
{
if (this.pages == null)
{
this.pages = session.getApplication()
.newMostRecentlyUsedMap();
}
return this.pages();
}
...
}
I think It's not exposing any internal class to user, it merely allows
user to create his own most recently used map, in which he can have
more control about which pages become stale.
Of course, this wouldn't affect any existing wicket application.
-Matej
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing
& QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop