Are you sure it's persisted and not just repopulated by the time you check
it?


On 12/2/07 8:34 AM, in article [EMAIL PROTECTED], "Angelo Chen"
<[EMAIL PROTECTED]> wrote:

> 
> Hi,
> 
> One thing confuses me, here is a sample code:
> 
>  private Map<String, String> countryList;
> 
>  @Inject private DBServices dbServices;
> 
>   void pageLoaded() {
>         countryList = dbServices.getCountryList();
> 
> without any Persist annotation, the countryList is persisted between
> requests. if I move the above line to the constructor of the page class, it
> has the same result. why?
> 
> A.C.

-- 
Kevin Menard
Servprise International, Inc.
Remote reboot & power control for network equipment
www.servprise.com              +1 508.892.3823 x308



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to