Hi,
I am trying to access PHP from my GWT code, where I access the database and
form JSON of the data, which is send back to the GWT.
For the following code GWT code
    private SampleEventCacheController eventCache = new
SampleEventCacheController(); // *I access PHP from this constructor*

    private MultiView multiPanel = new MultiView(eventCache, new
DefaultStringPanelRenderer());

Now in the MultiView constructor, I tend to access the HashMap which must
have been filled by the JSON data. I expect that the JSON data will be
filled before the MultiView constructor gets called, but this is not what is
happening. The call to the function which populates the HashMap cames way
later when the MultiView constructor is done.

How do I handle this???
Please let me know if I need to provide more data!!!


Thanks in advance!!!


-- 
Warm Regards,
Amit Dhingra

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to