This content has been marked as final.
Show 2 replies
-
1. Re: Application Context availability
shane.bryzak Oct 11, 2007 10:14 PM (in response to harpritt)Lifecycle.mockApplication(); try { // code that accesses application context goes here } finally { Lifecycle.unmockApplication(); }
-
2. Re: Application Context availability
harpritt Oct 12, 2007 4:47 AM (in response to harpritt)Dude
Thank you very much indeed..... you are super!... Super Dan super!..without his chin!
i can believe i was being so thick.....
I was overriding the init(config) and not calling super.... soooooo getServeltContext was allways going to be null...
ballllz
Shane.... what does Lifecycle.mockApplication do?
cheers again man