ClientBundle with lots if Images
Hi, since we can't use reflection on client side, what's an easy way to access each ImageResource from a ClientBundle that has ~250 images? Doing it in a if..then..else..if statement looks overkill, but I really can't remember of anything else. Maybe I'm missing something. Any suggestions? Thanks, Carlos Silva -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ClientBundle with lots if Images
On Tuesday, July 3, 2012 5:07:32 PM UTC+2, Carlos Silva wrote: Hi, since we can't use reflection on client side, what's an easy way to access each ImageResource from a ClientBundle that has ~250 images? Doing it in a if..then..else..if statement looks overkill, but I really can't remember of anything else. Maybe I'm missing something. Any suggestions? ClientBundleWithLookuphttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/resources/client/ClientBundleWithLookup.html ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XIV0vA5axZ8J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ClientBundle with lots if Images
On Tue, Jul 3, 2012 at 3:59 PM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, July 3, 2012 5:07:32 PM UTC+2, Carlos Silva wrote: Hi, since we can't use reflection on client side, what's an easy way to access each ImageResource from a ClientBundle that has ~250 images? Doing it in a if..then..else..if statement looks overkill, but I really can't remember of anything else. Maybe I'm missing something. Any suggestions? ClientBundleWithLookuphttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/resources/client/ClientBundleWithLookup.html ? That's what happens when one doesn't know the API :) Thanks! -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.