cache it in request cycle's metadata
-igor
On Tue, Jul 24, 2012 at 8:18 PM, Brown, Berlin [GCG-PFS]
berlin.br...@primerica.com wrote:
With code like this, I have a model and within the 'load' method, I am
making a slower call that I don't want to call to get the data again.
I may need the
You have any more specifics or an example? Is there a metadata class?
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Tuesday, July 24, 2012 1:34 PM
To: users@wicket.apache.org
Subject: Re: Really slow code
cache it in request cycle's metadata
-igor
To: users@wicket.apache.org
Subject: Re: Really slow code
cache it in request cycle's metadata
-igor
On Tue, Jul 24, 2012 at 8:18 PM, Brown, Berlin [GCG-PFS]
berlin.br...@primerica.com wrote:
With code like this, I have a model and within the 'load' method, I am
making a slower call that I
To: users@wicket.apache.org
Subject: Re: Really slow code
static class MetaDataKeyMyData MYDATA=new MetaDateKeyMyData() {};
^ thats the type-safe singleton key you use to acces the metadata store
checking for metadata
MyData data=RequestCycle.get().getMetaData(MYDATA);
^ null means none
writing
[mailto:igor.vaynb...@gmail.com]
Sent: Tuesday, July 24, 2012 3:20 PM
To: users@wicket.apache.org
Subject: Re: Really slow code
static class MetaDataKeyMyData MYDATA=new MetaDateKeyMyData() {};
^ thats the type-safe singleton key you use to acces the metadata store
checking for metadata