Re: Deploying GWT 1.6.4 RPC Web App to Knopflerfish OSGi Framework

2009-06-07 Thread Baptiste Boussemart
Hum interresting. I remember something about RPC. I created a GWT Bundle, which includes gwt-servlet.jar, export the packages and allows this JAR to dynamically import resources from other Bundles. Here is the Manifest. Check if the "DynamicImport-Package: *" line works for you. This is importan

Re: Hyperlink changing style

2009-06-07 Thread alex.d
Use: .gwt-HyperLink a{ color: red; } .gwt-HyperLink a:hover{ color: red; } in your app.css --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Goog

Extending Composite/Widget - circular reference issue

2009-06-07 Thread romant
Hi, could anybody clarify finally the "circular reference" issue? Let's say we are creating our own widget by extending Composite public class ExampleItem extends Composite implements ClickHandler, HasClickHandlers { Grid grid; Label label; MyWidget myWidget; public ExampleItem(

Import Module from another GWT project in Eclipse workspace

2009-06-07 Thread Sam
Hi all, I feel like I'm going insane here! I have a GWT project with a module named "UploadWidget". I'd like to use it from another project in the same workspace for fast and easy testing purposes. I have added the widget project as a dependency, and have played around with the run configuration

Google Map with WebCam

2009-06-07 Thread Kasparov
http://maps.google.com/ shows that it has webcam overlay under "More" menu. I just downloaded the Google Maps 1.0 Library (for GWT) from http://code.google.com/p/gwt-google-apis/. I can not find the webcam overlay API. Where can I find the API to include the webcam overlay? Thanks in advance fo

Help Needed With Redirection On Website

2009-06-07 Thread SurveyQueen
I do not know why my website is redirecting. I have checked the html and see nothing there. How do I stop my page from redirecting to some search engine site? Unless it is just on my end for some reason. The website is at http://surveyworld.webs.com Feel free to check it out and let me know if it

Please help! GWT out of the box examples stopped running correctly in hosted mode under Windows Vista

2009-06-07 Thread sbar...@earthlink.net
I cannot find my previous post on this topic. I am new to Vista and for weeks have been happily coding away in GWT 1.6.4 using hosted mode. I strictly use DOS shells (no Eclipse). The issue is not specific to just my code, it affects the GWT sample applications out of the box too. When I typ

gwt+grail.. advantages and shortcomings..

2009-06-07 Thread asianCoolz
wonder any folks doing gwt+grail integration . one advantage of grail is it has many plugins. while gwt is good and easy to create ajax ui. can anyone share some good and bad enperience doing gwt+grail integration. My question is triggered when i am looking for facebook connect . seems to me grail

Re: Hosted mode

2009-06-07 Thread Greg Bacon
Rajeev Dayal wrote > I'm currently looking into this issue, and what I've found is that this > problem is cropping up when using JDK 1.6.0_14. When using JDK 1.6.0_13, the > problem does not seem to happen - all breakpoints are hit. So, as an > alternate workaround, use a different JDK other than

Re: Compiling Gadget Linker Error - erros on gadget.xml - Where's it get defined?

2009-06-07 Thread Eric Z. Ayers
Hi, There is a problem with the pre-compiled gwt-gadgets and GWT 1.6. See issue 275 for which there are several workarounds and a patch posted. http://code.google.com/p/gwt-google-apis/issues/detail?id=275 star it to keep up with any changes. Did you work through the demo exercise? The demo e

Re: no createDocumentFragment() in com.google.gwt.dom.client.Document

2009-06-07 Thread andrej
Was able to do this by adding this method to my class: private native DocumentFragment createFragment() /*-{ return $doc.createDocumentFragment(); }-*/; And defining my own DocumentFragment class: class DocumentFragment extends com.google.gwt.dom.client.Node {

Re: Hosted mode

2009-06-07 Thread Greg Bacon
Rajeev Dayal wrote > I'll ping this thread where there is a resolution on this issue. Thanks for looking into it and for the additional workaround! Greg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web

Re: GWT Theme Like Google

2009-06-07 Thread Paulo Coutinho
This idea is very nice, i think that themes only with css is very powerfull because only need change de CSS and dont need create other controls. 2009/6/3 Carl Pritchett > > > > GWT-Ext is free for commercial? > > Yes it is free - though you may want to look at SmartGWT as well which > also has a

What is the difference between Ruzee?

2009-06-07 Thread dotker
Hello, Would like to know what is the diff of this one and the ruzee version? except this works for toolkit? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to

Contradictory info on Quirks mode in GWT tutorial

2009-06-07 Thread william.synt...@googlemail.com
There does not seem to be anywhere to advise Google about problems with the web site, so I thought making a post here might be helpful (apologies in advance if it is not). In the GWT tutorial (http://code.google.com/webtoolkit/tutorials/1.6/ create.html) this section: Selecting Quirks Mode vs. S

Re: Java Security Permissions / postgreSQL

2009-06-07 Thread Enea
Thanks a lot! Project->Properties->Google->AppEngine-> Unmark "Use Google app Engine" I had exactly the same "difficulty" with gwt+eclipse+postgre :) -Enea On 28 Mag, 18:49, Jason Essington wrote: > If you are using the Google Eclipse Plugin, is your project marked as   > an appengine project

Eclipse project files are missing from the GWT samples

2009-06-07 Thread JimAmsden
I'm just getting started with GWT and wanted to explore the samples. I'm using gwt-mac-1.6.4 with eclipse 3.4.2. I have installed the google plugin for eclipse, but it doesn't appear to include the examples. So I also unzipped gwt-mac-1.6.4 which has the samples folder. However, the samples don't

Re: GWT 1.6.4: Exception in DriverManager.getConnection

2009-06-07 Thread aydogdu
god bless you On Apr 13, 2:46 pm, martin wrote: > Ok, I solved the problem  ;-) > > Go to the project's properties and uncheck "Use Google App Engine". > Additionally, as vitali mentioned, the mysql-connector jar has to be > in the war/WEB-INF/lib directory. > Cheers, > > Martin. > > On Apr 12,

Multiple user interfaces to same appengine app using GWT

2009-06-07 Thread Rajeev
Hi, I am trying to develop and application for AppEngine in java and using GWT. What I need is two different user interfaces to the same application, one for desktop and one for mobile. If I use GWT to develop my user interface, It would have only one desktop like interface siting on say "myapp.a

Couldn't run the Getting Started example with JSON

2009-06-07 Thread Dagvadorj Galbadrakh
Hello everybody, I am totally new to GWT. I Couldn't run the Getting Started example with JSON implementation at address, http://code.google.com/webtoolkit/tutorials/1.6/JSON.html. The problem is that the code doesn't identify id field with getId method of GroupData class. Does anybody has a wor

Re: Eclipse - GWT - ClassNotFoundException in StockWatcher RPC tutorial

2009-06-07 Thread Rajeev Dayal
Hi Paul, Sorry that responses have been slow for you on this forum. They are definitely monitored, but I think that we're playing catchup on this end due to the Google I/O conference. First of all, are you using Eclipse, or are you trying to run this from the command line? If you're trying to do t

Re: Issue with compiling GWT with many libaries

2009-06-07 Thread Rajeev Dayal
Hi, All of Isaac's suggestions are good ones. Another option would be to set the "fork" option on the java task to "false". This means that the java task will be executed WITHIN ant's process space (though using a separate classloader). This will work around the problem, but you may have to increas

Re: Compiling Gadget Linker Error - erros on gadget.xml - Where's it get defined?

2009-06-07 Thread branflake2267
this is a tmp link while trying to debug. http://8.latest.mathflashcard.appspot.com/flashcard/com.gawkat.flashcard.client.gadget.FlashCard_Gadget.gadget.xml --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web

Re: Data binding frameworks and overlay types

2009-06-07 Thread ziglionz
Mmm, it seems that in JavaScript it's a bit tricky to find the subtype of an object, since typeof() returns Object for any given String, Number, Boolean. But, as suggested here http://www.planetpdf.com/developer/article.asp?ContentID=testing_for_object_types_in_ja one could use the "constructor"

Re: war file for GWT 1.5

2009-06-07 Thread bhomass
thanks. that clarifies quite a lot, but not everything. first I assume it would be ok for me to add any servlet context to the path and create the WEB-INF directory accordingly. for the static files, in hosted mode the url is http://localhost:/com.jcalc.webclient.Explorer/index.html do I ke

Re: Data binding frameworks and overlay types

2009-06-07 Thread ziglionz
Hi, I've tried returning a Number type from JavaScript but GWT doesn't allow me to cast it to an Integer. It sees it as a generic Object (I guess, that's how JavaScript works): public final native T get( String property ) /*-{ if( typeof(this[property]) == "number

Re: war file for GWT 1.5

2009-06-07 Thread bhomass
thanks. that clarifies quite a lot, but not everything. first I assume it would be ok for me to add any servlet context to the path and create the WEB-INF directory accordingly. for the static files, in hosted mode the url is http://localhost:/com.jcalc.webclient.Explorer/index.html do I ke

Re: $doc.selection is undefined in GWT

2009-06-07 Thread bhomass
Thanks for the clarification. I am sure I am close now. but still get an error. my code is private native Element getSelectedTextParent() /*-{ var range = null; if($wnd.document.selection){ range = $wnd.document.selection.createRange();

no createDocumentFragment() in com.google.gwt.dom.client.Document

2009-06-07 Thread andrej
How do I create a document fragment? There's a DocumentFragment in package com.google.gwt.xml.client, but that doesn't seem applicable. And this object can only be created from com.google.gwt.xml.client.Document. Thanks in advance! --~--~-~--~~~---~--~~ You rece

Re: CSSResource Help

2009-06-07 Thread Arthur Kalmenson
CssResource is in the trunk, not in 1.6.4. I'm not sure but I think it's scheduled for 2.0. -- Arthur Kalmenson On Fri, May 22, 2009 at 8:47 AM, Mike dg wrote: > > Hi, > > I'm fairly new to GWT. Using GWT 1.6.4 on Windows and developing under > Eclipse. > > I'm trying to use the CssResource cl

GWT-RPC Call timing out

2009-06-07 Thread harjit.singh
Hi there, I have bunch of data to read from the DataStore when a user clicks a button. When I'm trying to read the data on the click handler via the GWT RPC call, I get an timeout error . Any pointers as to how to handle this type of situation would be appreciated. Here is the stack trace of the

Re: Compiling Gadget Linker Error - erros on gadget.xml - Where's it get defined?

2009-06-07 Thread branflake2267
Although it compiled, it won't load, blank screen. The entry point class has to be added to the xml file. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email t

Re: Compiling Gadget Linker Error - erros on gadget.xml - Where's it get defined?

2009-06-07 Thread branflake2267
That did work, I could compile the gadget by adding FlashCard.gadget.xml, but hosted mode still looking for the artifact gadget.xml. h --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. T

Re: Compiling Gadget Linker Error - erros on gadget.xml - Where's it get defined?

2009-06-07 Thread branflake2267
It seems compiling can work if I added FlashCard.gadget.xml - but I am still not able to run hosted mode. Trying things :) http://code.google.com/p/gwt-examples/source/browse/trunk/FlashCard/src/com/gawkat/flashcard/FlashCard.gadget.xml --~--~-~--~~~---~--~~ You r

Re: Eclipse - GWT - ClassNotFoundException in StockWatcher RPC tutorial

2009-06-07 Thread Paul Hargreaves
Can anyone suggest a newbies forum for my queries? On this forum I get very little feed back. I also see lots of other requests for help getting very little/no feed back. Maybe I am pitching below your standards hence the request for a location of a newbies forum. Most other forums, for other

Re: Reference to interface in another project

2009-06-07 Thread Rajeev Dayal
Hi Barry, Issac is correct. Please try out his approach, and post back on this thread if you have any other questions or problems. Rajeev On Fri, Jun 5, 2009 at 5:03 PM, Isaac Truett wrote: > Everything you use on the client has to be part of a GWT module. Just > create a module definition (*.

Re: war file for GWT 1.5

2009-06-07 Thread Rajeev Dayal
Not sure what you mean. Are you asking if you can use the port 8080 for your application in production? On Fri, Jun 5, 2009 at 3:28 PM, bhomass wrote: > > btw, is it ok to use the default port 8080? > > > --~--~-~--~~~---~--~~ You received this message because yo

Re: war file for GWT 1.5

2009-06-07 Thread Rajeev Dayal
Hi, Ignore the "tomcat" directory that is generated by GWT. That is generated when running in hosted mode, as it starts up an embedded instance of Tomcat as a test server. Deploy the application as you normally would - take your java classes and put them under WEB-INF/classes, and take the content

Re: how to convert a project from gwt-1.5.2 to gwt-1.6.4?

2009-06-07 Thread Rajeev Dayal
Hi Linda, Unfortunately, there is no "conversion wizard" to upgrade your project to GWT 1.6 from GWT 1.5. However, it's not too hard to do! Take a look at the "Working with GWT 1.5 and Earlier Projects" section of this document: http://code.google.com/eclipse/docs/existingprojects.html Post back

Re: Error While Creating New Web Application Project.

2009-06-07 Thread Rajeev Dayal
Hi, That definitely sounds odd! Can you check your error log (Window -> Show View -> Error Log) and tell me if you see any errors? If so, can you post the full error trace for each error? Also, can you tell me what version of Eclipse you're using, and which distribution (Java, J2EE, classic, etc)

Re: Gwt Built-in application server Configuration

2009-06-07 Thread Rajeev Dayal
Hi, Did you use the Eclipse Plugin to create your project? If so, did you check the "Use Google App Engine" checkbox? That may be your problem. You should only check this box if you plan on deploying your project to Google's servers. Those types of projects do not allow access to all of Java's clas

GWT Incubator - ScrollTable with TextBox

2009-06-07 Thread abhiram
Hi all, I wanted to know if Scrolltable is a panel good enough to hold TextBox widgets. I have created a ScrollTable (using gwt-incubator_1-5_Dec_28) with TextBoxes in a particular column and labels in other columns. I can extract the label value using the function "scrollTable.getDataTa

Re: Phantom Code Running

2009-06-07 Thread Chad
Ok, I figured it out. There was a reference to the field in SQL. I had removed the reference from 3 other stored procedures, but I missed one and that was causing the problem. If only T-SQL was as easy to search as Java... Sorry for the disturbance. :) Chad On Jun 7, 12:09 pm, Chad wrote: > Hi

Phantom Code Running

2009-06-07 Thread Chad
Hi all, I recently removed a column from a database. And, in turn, I removed references to it from my Java code (both client and server sides). Now, when I run my project, one of my RPCs throws an exception from SQL stating that the column doesn't exist. This exception is expected if I try to acc

Re: Tab Panel does not resize for FlexTable

2009-06-07 Thread KodeMaestro
Hi, Thanks again for your help Amzad... But I still can't find that method. A Google search for setAutoHeight returns nothing of interest, and the classdocs don't show it. http://www.gwt-ext.com/docs/2.0.4/com/gwtext/client/widgets/Panel.html Also, that seems to be for gwt-ext. I'm just using

Re: GWT apps suddenly working on Windows Vista machine

2009-06-07 Thread sb10
OK, additional information. %ant_home%\bin\ant build does in fact create new class files, so I double-checked that. %ant_home%\bin\ant hosted pops up the two blank white screens that remain blank. For this one example the url is http://localhost:/Hello.html I bang on the Compile/Browse butt

Re: GWT apps suddenly working on Windows Vista machine

2009-06-07 Thread sb10
I should say, suddenly NOT working... On Jun 7, 9:19 am, "sbar...@earthlink.net" wrote: > Hello everybody, I am too new to Windows Vista to understand what is > going on. > > For weeks I've been happily coding away on this machine useing GWT > 1.6.4, all command line (no Eclipse).  Now, When I l

GWT apps suddenly working on Windows Vista machine

2009-06-07 Thread sbar...@earthlink.net
Hello everybody, I am too new to Windows Vista to understand what is going on. For weeks I've been happily coding away on this machine useing GWT 1.6.4, all command line (no Eclipse). Now, When I launch an application in hosted mode, I just get blank white screens. It's not just my code. The s

Re: Trying to get mysql work with gwt 1.6 - access denied (java.lang.RuntimePermission modifyThreadGroup)

2009-06-07 Thread KodeMaestro
Hi clsslk, I had this problem. If tyour in eclipse try turning off Google App engine. Go to "Project->Properties->Google->App Engine" and uncheck the "Use Google App Engine" box. Now if you actually intend to use app engine then I guess you probably need this on - but I'm not quite sure how app

Re: Update automatically using GWT

2009-06-07 Thread Igor Moochnick
You may try the META tag as well On Jun 5, 10:45 am, Peter Ondruška wrote: > See Timer class. > > > > On Fri, Jun 5, 2009 at 4:28 PM, bosangjay wrote: > > > Hi, > > > I want to create a GWT application that can update automatically. For > > example, a website that gives us a live information fo

Re: Does the JS code from GWT run fine on Explorer 8 ? Or stick with Explorer 7?

2009-06-07 Thread Igor Moochnick
I'm using GWT 1.6 - works perfectly in my IE 8 (both on WinXP and Win7) On Jun 5, 3:18 pm, Thomas Broyer wrote: > All released versions of GWT won't run in IE8 unless you put it in > "compatibility mode", e.g. using > >     > > IE8 "super standards" mode will be supported starting with the nex

Re: @Resource path is OS-gnostic ( \ or / depending on the Win/Linux). What is a workaround?

2009-06-07 Thread Igor Moochnick
Issue 3729 was opened. On Jun 4, 11:13 am, Rajeev Dayal wrote: > It would be great if you could file the RFE :). > > On Tue, Jun 2, 2009 at 3:07 PM, Igor Moochnick > wrote: > > > > > > > Guilty as charged.  I was on the road for some time and had no chance > > to file the RFE. > > > Should I st

How to specify number of rows of PagingScrollTable?

2009-06-07 Thread hezjing
Hi, I'm creating a PagingScrollTable, and want to set the total of rows after RPC call. Here is my client code snippet to create the table model: CachedTableModel cachedTableModel = new CachedTableModel(new UserTableModel()); cachedTableModel.setPreCachedRowCount(10); cachedTableModel.setPostCach

Re: Client side vs Server side models

2009-06-07 Thread TazmanianD
Actually, GWT doesn't impose any requirements as to where you put your source files, it just defaults to "client". You just need to make sure you have a GWT module.xml that references the specific directories containing the files you want to include for the client that the module represents. Som

Re: Eclipse - GWT - ClassNotFoundException in StockWatcher RPC tutorial

2009-06-07 Thread cbassthefish
Bump! :o) Any other ideas? Anyone? On Jun 6, 10:15 am, Paul Hargreaves wrote: > Not really of use. I tried re-doing the RPC tutorial with other tutorials on > the web - one was the GWT designer tutorial but still the same thing. It > cannot find the source. The hosted mode browser gives "404 -

Re: GWT best Practices - JS Library Wrappers & Overlay Types

2009-06-07 Thread Eric Ayers
Sounds like you are making good progress. On Sat, Jun 6, 2009 at 10:45 PM, Bobby wrote: > > The GoogleAccounts module is working well and is pretty close to what > it needs to be: > http://code.google.com/p/gwt-gdata/source/browse/trunk/gdata/src/com/google/gwt/accounts > > I was able to create

Re: 1.5 to 1.6 - Hosted Mode - entry point is not a javax.servlet.Servlet warning

2009-06-07 Thread erebrus
Please ignore my previous message. Thank you On Jun 6, 9:56 am, erebrus wrote: > Hi all, > I'm upgrading a project I have in 1.5. I checked it out from SVN into > a newly created project with the eclipse plugin and proceeded to > change: > module file > web.xml > main html file > moving the con

Compiling Gadget Linker Error - erros on gadget.xml - Where's it get defined?

2009-06-07 Thread branflake2267
1.6 gadget api must be different. How is the gadget.xml file get setup or the manifest defined? Gadget: http://code.google.com/p/gwt-examples/source/browse/trunk/FlashCard/src/com/gawkat/flashcard/client/gadget/FlashCard_Gadget.java Compiling module com.gawkat.flashcard.FlashCard Compiling 5