But this requires doing a cast of the WebApplication to your Subclass in every page/component level. I guess this relates to the thread on spring integration.

Koen

Igor Vaynberg wrote:
You should keep this data in your subclass of the WebApplication object. You
should probably populate this data by overriding WebApplication.init() or
lazy-load it upon first access if you need to do this inside requestcycle.

-Igor
 

  
-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] On Behalf Of 
Chris Long
Sent: Friday, August 19, 2005 3:34 PM
To: [email protected]
Subject: [Wicket-user] Storing Global Data

Hi,

I'm looking to load lists at application start from a 
database to be used in forms across the application. For 
example, a list of countries and provinces to populate drop 
downs. How would I go about doing this or is there another 
better way of doing it?

Thanks,

Chris


-------------------------------------------------------
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-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



    




-------------------------------------------------------
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-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
  

Reply via email to