java.lang.IllegalArgumentException: Only one CENTER widget may be added

2010-06-11 Thread Kelo
Clicking on my ant's script When I launch DevMode so on my GWT DevMode Box, app tab shows this errors: 00:00:50,872 [ERROR] Unable to load module entry

Re: java.lang.IllegalArgumentException: Only one CENTER widget may be added

2010-06-13 Thread Kelo
It doesn't stop on my breakpoints, it just displays this error. On 13 jun, 07:38, Stefan Bachert wrote: > Hi Kelo, > > what is unclear? > The error message clearly states that you tried more than once to set > a center widget. > .. DockPanel.CENTER); > > Set breakpo

Re: java.lang.IllegalArgumentException: Only one CENTER widget may be added

2010-06-13 Thread Kelo
I feel gwt's plugin is not good to debug my project because it usually has bugs. Can I debug it from Eclipse without that plugin ? On 13 jun, 13:28, Thomas Broyer wrote: > On 13 juin, 16:20, Kelo wrote: > > > It doesn't stop on my breakpoints, it just displays this error.

MouseListener to MouseMoveHandler

2009-04-22 Thread Kelo
Hi people, I used mouseListeners.fireMouseMove(this,x,y) on onBrowserEvent (Event event) to fire this kind of event and modified x and y. I would like to know how to set x and y when I firing an event on 1.6 : addDomHandler(new MouseMoveHandler() {

Re: MouseListener to MouseMoveHandler

2009-04-23 Thread Kelo
To restrict the movement of a widget inside another. Seeing gwt's development from its beginning till now, do you think deprecated classes would not work anymore on next versions of GWT ? On 22 abr, 22:59, Thomas Broyer wrote: > On 22 avr, 20:49, Kelo wrote: > > > > >

Migrating listeners to handlers

2009-04-24 Thread Kelo
I have a lot of code using listeners/events, owner's listeners/events, so GWT 1.6 makes me have a headache with its new handlers. I don't find much documentation or examples about that. There's a link http://code.google.com/p/google-web-toolkit-incubator/wiki/GwtEventSystem where explains how to

Re: GWT 1.6 Custom Event Handler

2009-04-27 Thread Kelo
I wrote a post like yours asking for a guidance or something that it can explain how I can create my own handlers and events, and how I can make a drag & drop using mouse handlers but my issue disappeared. On 27 abr, 17:55, Micky wrote: > I’m building an application that is similar in layout to

Hosted mode

2009-05-12 Thread Kelo
I created a web app with google plugin on Eclipse Ganymede 3.4, then I made an entry on Debug Configurations... -> Web application. Running on Hosted Mode, it didn´t stop on my breakpoints. After that I tried including gwt-user.jar on Classpath - User Entries but I coudn't make it works. --~--~--

Re: Hosted mode

2009-05-12 Thread Kelo
I just tried by this way but I coudn´t make it stop on my breakpoints. On 12 mayo, 12:04, Jim wrote: > How about Debug As -> Web Application. > > Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/ > > On May 12, 10:54 am, Kelo wrote: > > > I created a

Re: Hosted mode

2009-06-02 Thread Kelo
Hi Greg, Push the button GWT Compile Project Compile your project setting "log level" to Spam Go to Debug Configurations , on the 2nd tab "GWT" of your project set "log level" to Spam. Run "Debug as..." ( your project ) Make your breakpoints on your project Then press "Compile/Br

MouseOverHandler & FlexTable's cell

2009-06-09 Thread Kelo
I'm migrating my library to new event's model. I would like to know row and col of a FlexTable's cell by using MouseOverHandler, something similar to getCellForEvent(ClickEvent event) with ClickHandler. Can anyone help me ? --~--~-~--~~~---~--~~ You received this me

Re: MouseOverHandler & FlexTable's cell

2009-06-09 Thread Kelo
I figured this up by using Element td = getEventTargetCell(Event.as (event.getNativeEvent())); on onMouseOver. On 9 jun, 16:24, Kelo wrote: > I'm migrating my library to new event's model. I would like to know > row and col of a FlexTable's cell by using MouseOverHandler

Re: MouseOverHandler & FlexTable's cell

2009-06-09 Thread Kelo
I figured this out by using Element td = getEventTargetCell(Event.as (event.getNativeEvent())); on onMouseOver. On 9 jun, 16:24, Kelo wrote: > I'm migrating my library to new event's model. I would like to know > row and col of a FlexTable's cell by using MouseOverHandler

Re: Help with EventHandlers

2009-06-09 Thread Kelo
Acá va un poco de luz ( here's a little bit of light ). public class AccountManager extends Composite implements HasValueChangeHandlers { public AccountManager() { .. .. .. .. initWidget(bar); }

Re: Help with EventHandlers

2009-06-11 Thread Kelo
I'm glad it works fine on your project. Saludos, Marcelo. On Jun 10, 6:43 pm, Iván López wrote: >    Thank you very much!. It works ok and now, with my code working I > think I understand a little bit better how handlers works!. > >    Muchas gracias compañero. > >    Saludos, Iván. --~--~

Re: How can I add a MouseOutHandler to a FlexTable cell?

2009-06-12 Thread Kelo
Hi Eduardo, Here's your solution: public class BocaJrsTable extends FlexTable implements HasMouseOutHandlers { private HandlerManager manager = new HandlerManager(this); public BocaJrsTable(){ super(); addDomHandler(new MouseOutHandler() {

Re: Mouseover/mouseout event on GRID/FLEX TABLE

2009-06-15 Thread Kelo
Heidi, Your code was based on old event's model, you should write this one on 1.6.4. Check this out http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/0b3158d9e7e2d21a# On 15 jun, 14:24, Hiedi wrote: > This is basically how I did it: > > 1) Create a RowListener interface