Johan Compagner wrote:
fine by me,
are there specific things against it?
we could label DO NOT USE or whatever
It can be very handy to just store the id instead of the complete page and use the pagemap as a cache ..
i can't see any big reason to prohibit this.  can you?

We can do it now because pagemap does have a getEntries()
But i don't want to do entry.getPage().getId() because then every page could be constructed again just to test
yes, that would be ugly.
the id. And i don't know what the contract is for IPageMapEntry.getNumericId() ?? Should that be the same is the page id?
(it is by default i think)
it's the same value. getId() is a string and i wanted an integer id so i added getNumericId(). if there's a nicer way...

      jon

johan


On 1/8/06, *Jonathan Locke* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:


    i guess we may have to make PageMap.get() public then ... ??




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to