Wednesday, March 6, 2013

Re: GWT Security

Well actually you have to call setVisible/setEnabled a thousand times if you have thousand widgets to configure. 

You can either do it explicitly by if/else for each widget all across your code base or you search (maybe DOM based)/register the relevant widgets. But that still means you have to mark thousand widgets to be able to find them (in case of search) or register a thousand widgets to some kind of manager class that handles the visibility stuff.

No matter how you actually implement it, you will have a good amount of work to do.

-- J.

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

No comments:

Post a Comment