Hi All!

I have noticed that ResourceReferences to DefaultButtonImageResources are 
stored inside a pagemap and this is stored in users sessions. Is this the usual 
behaviour of wicket or can I tune it? My current session size depends mostly on 
size of all used Images which are factoried as ResourceReferences.

My code flow looks like this:

DefaultButtonImageResource button = new DefaultButtonImageResource(text);
ResourceReference reference = new ResourceReference(resourceKey, button);
Image image = Image(name, reference);

and now some code from my page class:

private List<Image> activeButtons = new LinkedList<Image>();
activeButtons.add(image):

Why is it necessary to store the whole image within the pagemap? May be I am 
doing someting wrong, do I?

Thank you very much for any help.

I have currently running my application succesfully on glassfish. Everything is 
great, the final prblem is only the size of pagemaps which mostly consist of 
image data. 

Maciej


_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to