You have to use deferred binding to generate your code. Take a look at
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html
for further information.

I'm using this in my XML mapper for GWT. If your interested the source
code is available under http://code.google.com/p/piriti/

HTH
Harald


On 3 Feb., 09:59, Miss Marie Ruana <[email protected]> wrote:
> I think it's possible because Gin (Google Guice Client side) use
> annotation but i can't figure how to do this!
>
> Anyone have an idea ?
>
> On 2 fév, 11:50, Miss Marie Ruana <[email protected]> wrote:
>
>
>
> > Hi all,
>
> > I would like to know if it's possible to generate code with an
> > annotation in client side before the GWT compilation ?
>
> > For example, if i have a POJO like this :
>
> > @MyAnnotation
> > public class MyPojo {
> >         private String dummyAttribute;
>
> > }
>
> > I would like that "MyAnnotation" Annotation generate code before the
> > GWT compilation process.
> > Is this possible and which mechanism i need to use to do that ?
>
> > 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 [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