+1 to share :) 2011/6/2 Nagin Kothari <[email protected]>
> I am very interessed on it. May you send the project to do a look to the > code? > > regards > > Nagin Kothari > > On Wed, Jun 1, 2011 at 8:10 PM, Honza Rames <[email protected]> wrote: > >> Hi, from what I can tell GWT doesn't support reflection at all in >> client side (JS translatable) code. Just a few simple features like >> getting class name (but I can't really call that reflection can >> I ;-) ). I have been experimenting with reflection in client side code >> though, and with a lot of success I must say :-). I'm planning to >> share the code on Google Code when I feel its ready, I'm currently >> testing it on business application I'm working on and then we'll see. >> If you (or anybody else) would like to give it a try, I might be able >> to create some package and share this with you (or maybe create the >> Google Code project right away). There is similar framework (don't >> remember the name but can be found by Google ;-) ), which didn't >> really didn't do the job for me because it was pretty difficult to >> generate the reflection information that is needed (please correct me >> if I got that wrong). My approach uses GWT generators and annotations >> to specify which packages and which classes should participate in >> reflection information generation. I'm supporting similar >> functionality that java Class gives you with some modifications, but >> you can obtain annotations, get/set fields and even call public >> methods and create new instance in reflective way (but you need to be >> careful on what info you add because it could greatly enlarge your >> resulting JS code). I also have unit tests (of course) for bunch of >> stuff but it would require a lot of cleanup I guess. >> >> So if anyone is interested just leave a message ;-) >> >> -- >> Honza Rames >> >> On 31 kvě, 16:20, Adolfo Panizo Touzon <[email protected]> >> wrote: >> > Can somebody the function about de class Generator and all the similar >> > classes which is contained int he packpage "com.google.gwt.core.ext", >> it´s >> > used for deferred binding? >> > >> > Maybe if I want use reflection in my app, I must use these classes?? >> > >> > -- >> > El precio es lo que pagas. El valor es lo que recibes. >> > Warren Buffet >> >> -- >> 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. >> >> > -- > 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. > -- 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.
