Re: How to make a TextArea auto-growing...?

2011-02-20 Thread Carlo Alberto Degli Atti
Hey guys, thank you very much for your contributions! I've quickly given a look to gwt-traction from Andy, it seems really interesting.. @Brandon I tried it with chrome, but the TextArea doesn't expand vertically... (I'm reading now that @Jeff already noted it) Thank u everybody! CA On

How to make a TextArea auto-growing...?

2011-02-18 Thread Carlo Alberto Degli Atti
Hi, I've looked around but I haven't found any solution, so I post it here: how can I make a TextArea that expands its height depending on the text inside? Thanks CA -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: How to make a TextArea auto-growing...?

2011-02-18 Thread Carlo Alberto Degli Atti
: On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: Hi,  I've looked around but I haven't found any solution, so I post it here:  how can I make a TextArea that expands its height depending on the text inside?  Thanks  CA Its good to find someone else who wants this.  I first

Re: How to make a TextArea auto-growing...?

2011-02-18 Thread Carlo Alberto Degli Atti
2011, Carlo Alberto Degli Atti wrote: Hi David,  thank you for your answer! I will try it and I will give you my feedback :-)  In my case the width is not a problem; my concern is about the height (the number of displayed rows)...  best regards,  CA On Feb 18, 1:11 pm, David

Re: How to make a TextArea auto-growing...?

2011-02-18 Thread Carlo Alberto Degli Atti
I understand it, but if the text is arbitrarily long (number of rows) how can I compute the initial size in pixels? On Feb 18, 2:10 pm, Sean slough...@gmail.com wrote: LinkedIn.com's Email does this, and I liked it a lot. As for setting the size before a browser event, I would give it a

Re: How to make a TextArea auto-growing...?

2011-02-18 Thread Carlo Alberto Degli Atti
() {                                 textArea.rightSize( );                                 }                         }); where textArea is the ExpandableTextArea. David On Friday 18 February 2011, Carlo Alberto Degli Atti wrote: David it works (gwt2.2). But how can I set the height at rendering time

Re: UIBinder: @UIField and the wrong template

2011-02-16 Thread Carlo Alberto Degli Atti
it to @UiTemplate( CommentView.ui.xml ) interface CommentViewUiBinder extends UiBinderSimplePanel, CommentView { and it worked... Eclipse was a little bit confused... Thanks Michel ;-) On Feb 15, 3:34 pm, Carlo Alberto Degli Atti lordk...@gmail.com wrote: Hi all, I'm building

Re: migrate GWT 2.1.1 to 2.2 error

2011-02-16 Thread Carlo Alberto Degli Atti
Maybe I'm wrong but I added this dependency to my pom to avoid the compilation problem you were talking about... of course it did work as expected (using maven) *BUT* it caused a very strange behavior in Eclipse... at the beginning I didn't understand the cause (because I had many other problems

Re: migrate GWT 2.1.1 to 2.2 error

2011-02-16 Thread Carlo Alberto Degli Atti
I'm still investigating... but: 1) if I remove the gwt-dev dependency, I can start the gwt app from Eclipse *BUT* if I try to compile using maven (ie mvn gwt:compile) I get java.lang.NoClassDefFoundError: com/google/gwt/core/ext/GeneratorExt, 2) if I add the gwt-dev dependency, I can do mvn

Re: migrate GWT 2.1.1 to 2.2 error

2011-02-16 Thread Carlo Alberto Degli Atti
yes it works if I run mvn gwt:compile from within the module (I have a multi-module maven project), but if I run mvn install from the parent root I still have that error. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Gwt 2.2, guice and gin...

2011-02-15 Thread Carlo Alberto Degli Atti
a lot of time until I understood what was going on. http://groups.google.com/group/google-guice/browse_frm/thread/38859fa... You have to be prepared for a lot of surprises if you bank on google code, is it bad news, but good news is that - on the whole - it works. On 14 Lut, 16:57, Carlo Alberto

UIBinder: @UIField and the wrong template

2011-02-15 Thread Carlo Alberto Degli Atti
Hi all, I'm building some user interfaces using the UIBinder mechanism; I'm placing in the same package 6 views (java files) and 6 templates (xml). All views and templates are fine except one; my IDE (Eclipse) says Field itemPanel has no corresponding field in template file CommentView.ui.xml.

Gwt 2.2, guice and gin...

2011-02-14 Thread Carlo Alberto Degli Atti
Hello everybody, this morning I had the (bad) idea to update my eclipse environment to use gwt 2.2... (with 2.1 everything was fine)... now I'm experiencing a lot of problems... maybe it's my fault (I'm a new gwt related techs user)... My application is using gin and guice; before this

Re: Gwt 2.2, guice and gin...

2011-02-14 Thread Carlo Alberto Degli Atti
Thomas thanks for your answer... when you say but you then have to recompile it against the GWT 2.2 SDK, you mean I have to take the sources and repackage or simply start a gwt compilation? This error is generated by that or am I missing something else? No implementation for

Re: Cannot compile using maven + gwt2.1.1 + mac osx

2010-12-30 Thread Carlo Alberto Degli Atti
Hi Akito, thank you very much for your answer.. The error was simply generated by an old version of the gwt-maven- plugin... I switched it to 2.1.0-1 and the error magically disappeared! Your link to the olamy blogspot turned on the light in my eyes! :-) Thanks again... CA On Dec 29,

Cannot compile using maven + gwt2.1.1 + mac osx

2010-12-29 Thread Carlo Alberto Degli Atti
Hi all, I don't know if this is the right place to post my problem... Anyway, I'm trying to compile a simple GWT project using maven (mvn gwt:compile) on my mac, but it attempts to download -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Cannot compile using maven + gwt2.1.1 + mac osx

2010-12-29 Thread Carlo Alberto Degli Atti
Hi all, I don't know if this is the right place to post my problem... but I'm trying to compile a simple GWT project (gwt 2.1.1) using maven (mvn gwt:compile) on my mac, but it fails. The reason seems to be that it cannot download this dependency gwt- dev-2.1.1-mac.jar from the repository

Pojo-injector makes a little easier the job of moving data using the GWT/RPC mechanism

2010-09-04 Thread Carlo Alberto Degli Atti
Hi all, I'm posting this message to notice you that I published the pojo- injector, a very little framework (no more than few hours of work) to convert Java data model to POJOs and vice versa. I'm using it to reduce the amount of coding needed to move complex data structures from the server to