Problem with PopupPanel size amd position first time

2010-03-08 Thread Per
Hi I am still new to the GWT toolkit; but I am trying to convert an old web application into a RIA, using gwt. One problem I have run into is, that The application includes a form, where I have an autocomplete function on some textbox'es and a textarea. For the autocomplete, I use a PopupPanel wi

Re: how can I add parameters in FileUpload

2010-03-08 Thread mon3y
What i do is i add hidden inputs to the form i'm submitting along with my picture, like so private Hidden formTime = new Hidden(); private HorizontalPanel formHP=new HorizontalPanel(); public FormPanel uploadForm=new FormPanel();//form formTime.setName("time"); formTime.setValue(""+picTime);

Bug in GWT eclipse plugin?

2010-03-08 Thread Krishna
Hi, I just upgraded to GWT 2.0.3 from within Eclipse (I use the Google eclipse plugin). However, I am unable to run my code after the upgrade. Eclipse throws the following exception: java.lang.IllegalArgumentException: Argument not valid The entity "circ" was referenced, but not declared. at org.

Can I cancel firing of ClickEvent or remove on a flex table ?

2010-03-08 Thread Ice13ill
Hello, I'm using a flex table with some Label widgets and an Anchor widget When i select a row (when i click on a label), the table has a click handler so, a ClickEvent is fired. and every time a cell is clicked i need to call a method (let's say "onRowSelected(...), witch always needs to be calle

Image inside button

2010-03-08 Thread gadaleta.marco
Hi @all, i'm trying to insert a little image inside button and insert the text. But if i use a pushbutton and insert a new image before and set a text after,i'm not able to see the image. How i can fix this problem? -- You received this message because you are subscribed to the Google Groups "Go

Re: Image inside button

2010-03-08 Thread mariyan nenchev
use setStyle("image-as-background") where image-as-background is css what loads the image or you may use sprites. -- 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-tool...@googlegroups.com. To

Re: Can I cancel firing of ClickEvent or remove on a flex table ?

2010-03-08 Thread Ice13ill
I thought of a way to stop executing the action associated with the cell by simply adding "return; " to the method if the mouse is over the Anchor widget. But how do i test if the mouse is over the anchor ? :D On Mar 8, 1:45 pm, Ice13ill wrote: > Hello,  I'm using a flex table with some Label wid

Re: Bug in GWT eclipse plugin?

2010-03-08 Thread Krishna
OK, I traced this down to a bug in my code where I forgot to escape "?" in a regular expression. Am unsure why this triggered an error in the OOPHM code. The following error while loading the compiled code pointed out the problem: Uncaught SyntaxError: Invalid regular expression: /?/: Nothing to r

Re: Using legacy code

2010-03-08 Thread mmoossen
well i found the answer: super-src with it you can have different classes for server and client. and it is how GWT provides JRE classes on the client. just what i was looking for. but i am a bit disappointed by the 0 answers i got. HTH Michael -- You received this message because you are subsc

Upgrade from 1.5.3 to 2.0 and using UiBinders

2010-03-08 Thread San
Hi All, I have upgraded my application from GWT1.5.3 to GWT2.0 successfully. Now as I am having lot of code which was written in GWT 1.5.3 era (Widgets, Panels etc), How much beneficial it would be to use UiBinders to enhance UI? Will it be required to write/change number of classes for the use

Re: HanlderManager

2010-03-08 Thread Ice13ill
Regarding the source of HandlerManager, if i have a custom event and handler (CellClickEvent and CellClickHandler with onCustomCellClicked() let's say...) when i instantiate HandlerManager handlerList = new HandlerManager(flexTable) , fire the event with handlerList.fire(new CellClickEvent(...)) ,

Re: FileUpload widget trouble

2010-03-08 Thread Martin Trummer
I guess you must add the fileupload to the form - not to the panel so call: form.add(fuAppSrcZip); On 7 Mrz., 20:19, Víctor Llorens Vilella wrote: > Thanks Bimbo. > > I have tried it with no luck. > I'm working with Chrome. > > For testing, I have tried with Firefox and ,well..., submit button is

Re: Image inside button

2010-03-08 Thread gadaleta.marco
can you send me an example please? On 8 Mar, 13:21, mariyan nenchev wrote: > use setStyle("image-as-background") where image-as-background is css what > loads the image or you may use sprites. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gro

Re: tomcat and mysql problem

2010-03-08 Thread Fran
I cant understand what is the problem :( is possible a problem with iptables? On 8 mar, 01:27, Fran wrote: > Hi, > > I have a problem with a tomcat and MySQL driver. > > If I use a tomcat instalation in Windows, it works fine. > If I put the aplication in a production server (Linux centoos), It

Re: GWT + JPA 2.0

2010-03-08 Thread Jin
In the end I changed the back-end code to J2EE (POJO entities and stateless session beans to handle the persistence) and combined this with the GWT code into a single Netbeans project. I set JPA to use JTA (Java Transaction API) rather than resource local. No issues with classpaths. The GWT servi

RPC Serialization Policy Wrong Magic Number

2010-03-08 Thread mmoossen
Dear All! I am having following problem: i have my serializable bean to be used as result of a RPC service. everything was working but suddently i started to get following error message: "The response could not be deserialized" i debugged the problem until the instantiate(SerializationStreamReade

Re: How to create custom UI Widget with UiBinder?

2010-03-08 Thread Chatree Srichart
Can any one tell me about the code statement that convert from Java code and UI binder to Javascript + HTML like this: Java + .ui.xml --> [ Code Statement ] --> Javascript + HTML Regards Chatree Srichart -- You received this message because you are subscribed to the Google Groups "Google

My projects

2010-03-08 Thread Christian Goudreau
I'm actually working on two projets. One commercial web site that is my hobby and one intranet transactionnel database for my job. The official release for my first project has come and I'd like some comments ! Everything is done with GWT except for server side code that use a php server. But it's

Re: RPC Serialization Policy Wrong Magic Number

2010-03-08 Thread mmoossen
the problem was that the server side class had some final fields, but on the client they were not final. (they are different since i am using super-src) And since GWT skips final fields for serialization (and magic number generation) i got as a result different magic numbers on client and server..

Cross Site Linker (xs), Debugging doesn't work

2010-03-08 Thread Fabiano
Hi, I am using the xs linker in order to solve a bunch of domain's problems. This linker is working fine, and linker's lacking features are not a major requirement for my project. I have to point an issue which I am facing with: Debugging the application doesn't work in development mode (NetBean

Compiling GWT 2.0 Project Using Ant on Linux

2010-03-08 Thread Daniel Simons
Changes to the GWT-SDK between version 1.7.1 and 2.0 introduced an error at compile time which seems to be the result of the 'define-configuration-property' element being unknown by the compiler. Below is the error: [java] Loading module 'my.uploader.File' [java]Loading inherited mo

Serializing a List

2010-03-08 Thread mmoossen
Dear all! i want to serialize a bean that has a field of type java.util.List but while serializing i get following error message: com.google.gwt.user.client.rpc.SerializationException: Type 'java.util.Collections$UnmodifiableRandomAccessList' was not included in the set of types which can be seri

GWT website disappear when I activate DragonFly on Opera

2010-03-08 Thread Amine Ouahman
Hi Everybody, I was testing my application on different browsers : IE,FF,safari,Opera and it works fine. When I open my website on Opera it works fine but when I activate DragonFly (like Firebug) my website just disappear!!! you guys have any idea why it happens? Thanks -- You received this me

Re: My projects

2010-03-08 Thread mariyan nenchev
Itneresting project..for cables :). Look nice! -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsu

Sprite image mechanism problem on IE

2010-03-08 Thread Michel
I am facing a problem when using sprite images in my CssResource class. Problem occurs when creating a CSS styled menu with UL and LI that uses background-images as menu icons. I used GWTs ClientBundle, CSSResource with @sprite that generates automatically a sprite image for all ImageResources. The

Re: GWT 2.0.x and Maven

2010-03-08 Thread Nathan Wells
You should also be aware of the gwt-maven-plugin here: http://mojo.codehaus.org/gwt-maven-plugin/ That site has some good examples with archetypes to get you up and running. On Mar 7, 7:08 pm, Ignat Alexeyenko wrote: > Hi, Steve! > > I'm using maven with GWT2.0 but I'm not using eclipse. > Actu

Re: My projects

2010-03-08 Thread Christian Goudreau
Thanks ! The design is from a friend of mine ! I wanted something simple and he came up with this :D I really love the result. Christian On Mon, Mar 8, 2010 at 10:18 AM, mariyan nenchev wrote: > Itneresting project..for cables :). Look nice! > > -- > You received this message because you are su

Re: My projects

2010-03-08 Thread NTDeaf
I notice from Holland that the loading time is quite...uhm...long? perhaps an loading splash screen could be useful? Another suggestion would be to create a larger image to preview the type of cables (specifically the ends of the cables) in detail... But all in all: very nice site!! congrats! NT

Re: Image getAltText() and setAltText()

2010-03-08 Thread Thad
I thought so to until I found that this approach is not cross platform. See http://code.google.com/p/google-web-toolkit/issues/detail?id=1333 and http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/2f66508a088f7643/ce928b035afc1945#ce928b035afc1945 Clearly Image needs method

Re: My projects

2010-03-08 Thread Christian Goudreau
Thank you very much ! Thanks for the suggestion about loading time, since the site was pretty lightweight I didn't tough about that ! A more detailled window for products is in production. Larger images will come with it ! Anyway, those modification will be done after migrating to google app :D

Re: Supported Browsers

2010-03-08 Thread Nathan Wells
OK... so what do you need? A list of supported browsers with their relevant market share? IE6-8 FF2-3.6 Safari (not sure on versions) Opera (latest) http://en.wikipedia.org/wiki/Usage_share_of_web_browsers On Mar 6, 9:28 pm, Ken wrote: > I know this was posted over a month ago, but I would like

Re: Supported Browsers

2010-03-08 Thread Jeff Chimene
On 03/08/2010 09:31 AM, Nathan Wells wrote: > OK... so what do you need? A list of supported browsers with their > relevant market share? > > IE6-8 > FF2-3.6 > Safari (not sure on versions) > Opera (latest) > > http://en.wikipedia.org/wiki/Usage_share_of_web_browsers > > On Mar 6, 9:28 pm, Ken

Re: My projects

2010-03-08 Thread Bonor
I am missing History functionality (back and forward buttons) -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to goog

Re: My projects

2010-03-08 Thread Christian Goudreau
Sorry, I had some difficulties when I started this project to implement that, first time with GWT, first time with JAVA, I had a long road to walk. So, there's no history fonctionality. It's also something that'll be done after migrating to google app since now, I've fully implemented that fonctio

Re: Supported Browsers

2010-03-08 Thread Víctor Llorens Vilella
But be aware of supported browsers. With the same code: In Firefox, I was debugging my clientside for 2 days and didn't get the error. I tested the same in Chrome and it worked. In IE, even the index page doesn't work. It's only research code, of course, I would reconsider if comercial. Greeti

Re: Supported Browsers

2010-03-08 Thread RPB
Here is a useful link which is kept reasonably up to date: http://www.w3schools.com/browsers/browsers_stats.asp My GWT site works all of these browsers except IE6, which gives me some problems. Hope this helps, Rob www.bookwhack.com On Mar 7, 4:28 am, Ken wrote: > I know this was posted over a

Itemscript: a rich JSON API for Java and GWT

2010-03-08 Thread bill braasch
We updated the Itemscript library at http://code.google.com/p/itemscript/. Itemscript is open source, published under the new BSD license. Itemscript is a JSON specification and RESTful API for Java and GWT developers. The Itemscript Library is a JSON library for both the standard and the GWT Jav

Re: tomcat and mysql problem

2010-03-08 Thread Fran
help me please! :( On 8 mar, 14:40, Fran wrote: > I cant understand what is the problem :( > > is possible a problem with iptables? > > On 8 mar, 01:27, Fran wrote: > > > Hi, > > > I have a problem with a tomcat and MySQL driver. > > > If I use a tomcat instalation in Windows, it works fine. > >

Re: tomcat and mysql problem

2010-03-08 Thread Fran
He is the GWT code: public abstract class DB_Conn { private String url; public DB_Conn() { url = "jdbc:mysql://xxx:3306/"; } protected Connection getConn() { Connection conn = null; String

Re: Problem with PopupPanel size amd position first time

2010-03-08 Thread Per
OK, I found the problem, and solution: Searching for documentation, I found the following note: You don't need to add the popup to the RootPanel or anywhere else. If you do, "Results May Be Unpredictable" (wich was IBM's way of saying that they didn't know what the would happen). So removin

Does UiBinding XML support menu item separators?

2010-03-08 Thread Glenn
I'm trying to use the GWT UiBinder XML to define menu bars but cannot find an XML format for inserting menu item separators within a vertical menu bar. Is this possible? There is no UiBinding section in the javadocs for MenuItemSeparator and I can't find any mention of this in the community. Her

Problem with RPC

2010-03-08 Thread klyes
Hello, I would like create a basic t'chat with GWT - RPC. I don't understand how the users receives the message. Actually in my application a message is just visible for the user who send this message. The other users don't see this message. I test to add the messages in a list, but I have the sam

Re: HandlerManager

2010-03-08 Thread Zhizhi.fang
发自我的 iPod 在 2010-1-22,17:18,DaveC 写到: Just so I know we're talking about the same thing :o) An Blur event will fire when I either tab out of the Widget or when I click somewhere else in the application - is this how you are trying to cause the blur event to fire? (I had the above code worki

GWT Tree

2010-03-08 Thread NeeravA
Hi, When i am creating a tree I am loading all the data to be shown on the tree at once and then i populate the tree. Is it possible to load data when the user clicks on the particular node, so that I load only for the immediate children and not the entire tree. Is there an actionhandler when u c

Re: tomcat and mysql problem

2010-03-08 Thread Chris Lercher
Hi Fran, I don't think this question is related to GWT at all. Since your code is certainly executed on the server side, this has only to do with two projects: MySQL, and maybe Tomcat. While it's possible that someone here knows your answer by chance, it's so much more likely that you get lots of

Re: GWT Tree

2010-03-08 Thread Jim Douglas
http://gwt.google.com/samples/Showcase/Showcase.html#!CwTree On Mar 8, 11:18 am, NeeravA wrote: > Hi, > > When i am creating a tree I am loading all the data to be shown on the > tree at once and then i populate the tree. > > Is it possible to load data when the user clicks on the particular > no

Re: GWT Stylesheet Replacement

2010-03-08 Thread jonathan.hollo...@gmail.com
That's fine if you have a reference to an external stylesheet, I was getting GWT to process my css though and was then including that via ensureInjected(). a number of methods in StyleSheetLoader are deprecated because of IE oddities. We actually ended up writing some custom code to process the h

Re: Google Plugin for Eclipse 1.3 Preview is now available

2010-03-08 Thread Keith Platfoot
Hi Fabio, I'm not sure you're following the instructions for installing the plugin from a zip file. You should be extracting the contents of the zip into the /dropins folder (if it doesn't already exists, go ahead and create it). Also, you should not need to use Eclipse "Install new software" di

Re: Problem with RPC

2010-03-08 Thread rjcarr
I don't completely understand what you're asking, but if you'd like to implement a text chat then you'll probably want to look into something called comet. It isn't a library (I don't think) but just a technique for holding open a socket so that your clients can receive immediate responses to chat

Re: GWT website disappear when I activate DragonFly on Opera

2010-03-08 Thread Fabiano
Just for curioisty... Are there any error reported into the DragonFly? (Javascript execeptions or similar?) -- 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-tool...@googlegroups.com. To unsubs

Re: Serializing a List

2010-03-08 Thread rjcarr
The problem is likely exactly what you describe here: "but the GWT compiler does not find those subclasses." More specifically, those classes aren't part of the gwt jre emulation, so that's why you're having problems. For the unmodifiable list, I'd just suggest not sending your list through that

Re: Google Plugin for Eclipse 1.3 Preview is now available

2010-03-08 Thread Keith Platfoot
Hi Olivier, Thanks for your feedback/questions. My responses are inline. Keith On Fri, Mar 5, 2010 at 9:03 AM, olivier nouguier wrote: > hi keith, > > And thx you all for the new upcoming release ! > No new issues with this release (eclipse 3.5.1 + maven + sts + aspectj + > wtp). > > * Same

Re: tomcat and mysql problem

2010-03-08 Thread Fran
Thanks Chris, I finally found the solutions. It was the iptables configurations. Has been needed to write a OUTPUT rule in port 3306 2010/3/8 Chris Lercher > Hi Fran, > > I don't think this question is related to GWT at all. Since your code > is certainly executed on the server side, this has o

gwt + database + debugging

2010-03-08 Thread rjcarr
I've been using gwt for years and years now and I greatly appreciate how much it offers. I started using gwt way back in the 1.0 (or 1.1?) days and things have changed greatly since then (even though my project continues). I've updated my gwt sdk along the way, but have typically left out a lot o

Calling the GWT entry module from a servlet

2010-03-08 Thread jayanth
I have an AuthenticatorServlet that among other things displays a page to capture username and password and upon form submission validates credentials against an LDAP server. From this servlet, I would like to invoke the GWT initial html page and am looking for best practices to do this. I am curr

Re: IE7 - StackLayoutPanel ( works fine in FF & chrome )

2010-03-08 Thread Carlo
This sounds like it is the same as this issue here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6ce497dde344702b/f2482d43e508aa71?lnk=gst&q=carlo+layout&fwc=2 Unfortunately I don't know that it has been resolved. -Carlo On Mar 7, 11:27 am, Prashant Hegde wrote: > Hell

Re: gwt + database + debugging

2010-03-08 Thread mikedshaf...@gmail.com
The way I do it in Eclipse is no different than any webserver debugging. If you want to debug your client, following the standard Google way of "Debug As Google Web Application". You'll then need to have a separate debug running of your server, using the "remote java application" as the choice in

Re: Supported Browsers

2010-03-08 Thread Nathan Wells
Right, so GWT supports multiple browsers what this means is: 1) Significant pain of cross-browser compatibility is eased 2) GWT doesn't prevent you from writing browser-specific code. 3) Regardless of number 1, you still need to know about cross-browser issues, in order to avoid number 2 On M

Re: gwt + database + debugging

2010-03-08 Thread Chris Lercher
Hi, one thing you can do, is to use Eclipse's JavaEE tools (WTP, WST). This allows you to do automatic redeployment both for the server and the client parts. It can be used in combination with a GWT project, and I heard, that this will be relatively easy to achieve with the new Google Eclipse plug

Re: IE7 - StackLayoutPanel ( works fine in FF & chrome )

2010-03-08 Thread Prashant Hegde
Carlo, Thanks for the pointer. Somehow my google searches missed this link. Yes! the solution mentioned in thread works! (Issue#1). In fact it not only solved the SuggestionBox popup issues but also the popups created using PopupPanel ( unlike what is mentioned in the thread). Issue#2 still

GWT Eclipse Hosting mode relative path issue

2010-03-08 Thread San
Hello, I use Eclipse 3.5 (Galileo) and google plugin to develop my project. I'm having an issue while accessing static files from content root directory in runtime . I have placed a xml file - packages.xml under war folder where my module index html file resides. I'm trying to get the xml file fr

Will the folks who work on GWT present at any other conferences this year?

2010-03-08 Thread BenjaminBerry
I missed signing up for google io. This is really disappointing because at last years conference the GWT presentations painted a much clearer vision for the technology than is available from the GWT documentation. Is anyone from the GWT planning on presenting at any other conferences this year? In

Re: how can I add parameters in FileUpload

2010-03-08 Thread zujee
great...Thanks mon3y for your help.. it worked. thanks zujee On Mar 8, 2:21 pm, mon3y wrote: > What i do is i add hidden inputs to the form i'm submitting along with > my picture, like so > > private Hidden formTime = new Hidden(); > private HorizontalPanel formHP=new HorizontalPanel(); > pub

Performance

2010-03-08 Thread raj
hi friends!! i tried running an GWT application both in hosted and browser mode.when i run and i didn't close the GWT hosted window for sometime(may be 15 min)..i could see my system is getting very very slow. Why? is it problem with my system configuration?(I've 1.5GB ram,Intel Pentium[R

Re: Serializing a List

2010-03-08 Thread mmoossen
Hi, rjcarr! thanks for your answer. the point is that on the server (and actually also on the client) that field should be read-only. i found the problem in http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/super/com/google/gwt/emul/java/util/Collections.java line 114: TODO: m

Re: Specifying "-bindAddress 0.0.0.0" with gwt-maven-plugin

2010-03-08 Thread Fotos Georgiadis
This issue has been already reported in the gwt-maven-plugin and a patch is pending: http://jira.codehaus.org/browse/MGWT-180 Hopefully this will be resolved soon... -fotos On Mar 8, 7:54 am, Daniel wrote: > Nice one! To get it to work on my Windows machine I had to change the > single quotes t

How can I join to development gwt eclipse plugin together?

2010-03-08 Thread Jiyul Lee
I think Eclipse and GWT are most cool technologies in the world. I'm quite a newbie at GWT, but I have a lot of experience about developing eclipse plugins. So I want to contribute my experience to gwt plugin. How do I do that? -- You received this message because you are subscribed to the Google