Thursday, June 30, 2011

Re: GWT / Javascript - Garbage Collection problem

Use something like GWTP, it will take care of the url token and render the apropriated view

On Thu, Jun 30, 2011 at 6:46 AM, onli4anks <ankurjain.nitrr@gmail.com> wrote:
I am working on a small GWT project. As i know, a GWT project can have
only one HTML page in it. So for loading different modules on my page,
I create the object of the class responsible for loading the
components of that module and call the required functions. I create
these objects and load my modules on the basis of the token which i
get from url. I am creating these objects on token change event. My
question is, is this approach right?? Creating object each time?
Because there will be 10 objects for same module if the user visits
the url with same token 10 times..

Plzz help.. :(

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
Magno Machado Paulo
http://blog.magnomachado.com.br
http://code.google.com/p/emballo/

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment