Hi Marcelo,
It might help to post up the generator rule and especially the generate()
implementation that is being used to generate the FormView generated type.
My thought is that whatever is going on in there is depending on rules that
might not hold true in web mode.

Cheers,
-Sumit Chandel

On Thu, Mar 19, 2009 at 2:46 PM, Marcelo Emanoel B. Diniz <
[email protected]> wrote:

>
> this is my entry point
>
> package br.com.gwt.symbiosis.client;
>
> import br.com.gwt.symbiosis.client.mock.FormView;
>
> import com.google.gwt.core.client.EntryPoint;
> import com.google.gwt.core.client.GWT;
> import com.google.gwt.user.client.ui.Label;
> import com.google.gwt.user.client.ui.RootPanel;
>
> public class Symbiosis implements EntryPoint {
>
>        public void onModuleLoad() {
>                FormView binded = GWT.create(FormView.class);
>                Label label = new Label();
>                label.setText(binded.getClass().getName());
>                RootPanel.get().add(binded);
>                RootPanel.get().add(label);
>        }
> }
>
> on hosted mode the label text is
> "br.com.gwt.symbiosis.client.mock.Bound_FormView_View" wich is in fact
> what is expected to be...
> but at web mode the label text is
> ''br.com.gwt.symbiosis.client.mock.FormView" which in turn is not what
> I need... and doesn't work as expected either... :(
>
> by the way... there's no complain on the console....
>
> On Mar 19, 3:53 pm, Marcelo Emanoel <[email protected]> wrote:
> > Hi guys I have a problem with generators... I've manage to do 2
> > generators and they work fine on hosted mode.... however they don't
> > work when I compile code to web mode :( What I'm trying to acomplish
> > is to build an API for binding... An important thing is that my
> > generators work on hosted mode and they are called when the code start
> > is compiled....
> >
>

--~--~---------~--~----~------------~-------~--~----~
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