Thomas, Yes that did the trick . Thank You.

I have another problem , it seems it is not possible to create a
ValueBoxEditorDecorator of the type Integer, I get the error:
Caused by: java.lang.ClassCastException: java.lang.Integer cannot be
cast to java.lang.String
    at com.google.gwt.text.shared.testing.PassthroughRenderer.rende

I tried using a TextBox but I also get an error:
Caused by: java.lang.Error: Unresolved compilation problem:
        Type mismatch: cannot convert from Integer to String

Using a Label gets me the error:
Caused by: java.lang.RuntimeException: Deferred binding failed for
'com.test.tecmovin.widgets.ArticuloEditor$Binder' (did you forget to
inherit a required module?)


How can I edit an Integer, which widget should I use ??

**I know the Integer is the problem because when I hide it from the ui
the editor works fine.
**In the DunatableRf there are only String field editors

On 15 ene, 05:39, Thomas Broyer <t.bro...@gmail.com> wrote:
> On Sunday, January 15, 2012 2:46:08 AM UTC+1, jmbz84 wrote:
>
> > Hello,
> > I´m trying to create a simple app using editors and requestfactory,
> > but when I try to declare for the first time the editor
> > (articuloEditor = new ArticuloEditor();) I get the following error:
>
> >         [ERROR] [tecmovin] - Line 48: No source code is available for type
> > com.test.tecmovin.widgets.ArticuloEditor; did you forget to inherit a
> > required module?
>
> > The import "import com.test.tecmovin.widgets.ArticuloEditor;" is on
> > the class that calls the editor.
>
> Is ArticuloEditor in the "source path"? I.e. do you have a gwt.xml in
> com.test.tecmovin.widgets or com.test.tecmovin with an appropriate <source>
> element in it (either <source path=''/> or <source path='widgets' />)

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

Reply via email to