Hi,
I'm doing popup tooltips and I would like to be able to set a maximum
width on 300 pixels and jut let the text wrap, but if the tooltip is
shorter than 300 pixels, I want the popup to only be as large as the
text. I add the text to a HorizintalPanel() and is there anyway I can
figure out how
Hello Rakesh,
To run GWT 1.6 from IntelliJ 8 you need to modify your application
startup configuration.
Go to the Run\Edit Configuration\
Create a new GWT Configuration. On a Before launch panel uncheck Make
option and select Run Ant Target. Select "hosted" target.
And yes, you have to have ant b
Hi Issac
I am using Hibernate to deal with the persistent layer, that is why I
need to serialize both the beans.
I had tried changing the default constructor of both the classes to
Public but issue does not solved yet.
Raul
On Jun 16, 7:36 pm, Isaac Truett wrote:
> Raul,
>
> The problem is
I have developed java-spring application. its gui is developed using
javascript and 3rd party lib like YUI. Now I need to use GWT for GUI.
I want to use GWT for only GUI developing purpose. I have no idea how
i can integrate it into existing spring framework. View classes of
spring frame works are
On the GWT website, I can't figure out how they do the left panel that
opens and closes with the table of contents. It doesn't behave like a
normal disclosure panel, unless there some special CSS going on there.
Can someone point me to the way?
Thanks,
John
--~--~-~--~~
Hi Isaac
Hmmm ... you're right, the scrollTableLoading.gif is found
in gwt-incubator-march-02-2009.jar.
Then, do you have any idea why is it showing 404 warning while trying to
load scrollTableLoading.gif?
On Wed, Jun 17, 2009 at 4:30 AM, Isaac Truett wrote:
>
> Are you sure you're looking in t
Could they be influenced by the fact that SmartGWT is LGPL while
ExtGWT is GPL?
--~--~-~--~~~---~--~~
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@googl
As Arthur says, losing power won't give you a closing event. You also have
to decide what to do if the internet connection is lost for whatever reason
(how long is 'lost' as opposed to 'misplaced'? You may just have gone into a
train tunnel which doesn't have an internet connection (not all of them
BTW, just for completeness
> If so, would the call the add(new Label(items from dom)) be redundant?
As you have probably worked out, the data for the dictionary is taken from a
JavaScript variable and not DOM elements (spans, divs etc) so no it's not
redundant. If all you want is "Hello OldUser"
This might be what you're looking for:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/Window.ClosingEvent.html
I doubt this will fire if the machine powers off due to a power failure.
--
Arthur Kalmenson
On Tue, Jun 16, 2009 at 8:07 AM, Taufeeq wrote:
>
>
I installed Eclipse 3.4, went through the same steps, and got the
exact same stack trace.
On Jun 16, 6:56 pm, JeremyJBarth wrote:
> I walked through the steps to the getting started guide on eclipse 3.3
> (Europa) in a new workspace. I got the below when Debug -> Web
> Application. Deploying t
I walked through the steps to the getting started guide on eclipse 3.3
(Europa) in a new workspace. I got the below when Debug -> Web
Application. Deploying to the app engine worked, and it runs fine
from there.
un 16, 2009 11:54:01 PM com.google.apphosting.utils.jetty.JettyLogger
warn
WARNING:
You have to output the data for the Dictionary from the PHP script via a
JavaScript script. In a simple PHP script which creates your index file, put
in something like:
echo "var user = {\"fname\":
\"Firstname\", \"lname\": \"Lastname\"};'";
and then in the onModuleLoad, show the d
You can find all the information you're looking for on the Google Code
project: http://code.google.com/p/google-web-toolkit/
Check out the wiki tab for design documents.
--
Arthur Kalmenson
On Mon, Jun 15, 2009 at 2:23 AM, Neeraj Lal wrote:
> Hi,
>
> Could somebody please give me links/pointe
That's a difficult question and ties in with Search Engine
Optimization. One of the best suggestions I've heard is to use your
main panel's toString() to get the HTML and create a static page from
that. I was thinking abou this issue and I'm not sure if it's possible
or not, but I could see creati
It means that the GWT module file can't be found in the class path,
make sure it's included. Are you using Eclipse, Ant or Maven?
--
Arthur Kalmenson
On Sat, Jun 13, 2009 at 4:41 PM, a wrote:
>
> Hi,
>
> When I run my gwt application, I always get the following error
> message.
> "[ERROR]
I am working on making a StackPanel green, but not a flat green.
Pretty much teh exact same way it gradients up per item in the default
stack panel in blue, but in a green hue.
Since I want the gradient, I've made a .png of the exact look I want.
However, when I assign it to the background:
bac
Hello,
We are using gwt to display a Tree, when the the Tree is viewed in IE,
and we select an item from the tree, the item is highlighted in blue;
however, when the Tree is viewed in FireFox 3.0.10 and an item is
selected from the tree, the item doesn't get highlighted. I was
wondering if this
On 16 juin, 21:42, Kevin Q wrote:
>
> However, one part Ray didn't elaborate too much but I think is very
> important is the PlaceService (a higher level abstraction layer on top
> of the History mechanism). The ability to throw PlaceChanged events on
> the EventBus and let the interested parti
I overrode
protected SerializationPolicy doGetSerializationPolicy(...)
in RemoteServiceServlet and implemented my own lenient
SerializationPolicy. If there's a better way, please let me know.
--~--~-~--~~~---~--~~
You received this message because you are subscri
On 06/16/2009 01:10 PM, nehloucha wrote:
> sxb.build(new File(uri));
>
When given a URI, File() only works with the file:// URI See the Sun
Java docs for more info
In addition, it's not likely that SAX will work successfully with GWT;
which is to say that will not successfully translate to
Thanks for the help, i think i follow. I'll have to look into why
Integer.parseInt didn't return the value i thought it would return
then.
On 16 Juni, 07:34, "Dean S. Jones" wrote:
> Integer.getInteger("name") gets an integer from System properties.
>
> it is ( roughly ) equal to:
>
> Integer.pa
Hi Everyone,
I'm new to GWT and I'm very excited to start using it in a large
enterprise application I'm working on. I have inherited an existing
domain model that is available to me in a jar. I can build that jar
with the source code included as well.
Ideally, I'd love to be able to work with m
On 16 juin, 18:13, Matt Raible wrote:
> I'm trying to convert the makeSignedRequest function on the following
> page into a JSNI method.
>
> http://paul.donnelly.org/2008/10/31/2-legged-oauth-javascript-functio...
>
> If I put the raw JS in my HTML page and call it with
> $wnd.makeSignedRequest
I am getting a: Exception while dispatching incoming RPC call
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0, as soon as i
try to call something on the server. It is before any of my server
side code executes
what is odd, is this only happens on my Ubuntu box...i can run it on
my Windows
Use TreeItem.setState( true ) on the nodes you want open.
jay
On Jun 16, 7:43 am, omsrobert wrote:
> How do I expand all the nodes in a 1.6 Tree? I do not see an expand()
> method. setSelected()?
--~--~-~--~~~---~--~~
You received this message because you are s
How can I get server code to handle rpc requests without having to
perform gwt compilation on the server code? The standard gwt RPC
mechanism isn't happy when it doesn't have an rpc white list for a
serializable class.
Can I generate my own gwt.rpc white list? Is there a way to override
the Ser
I noticed a dependancy between the new gwt-maps and gwt-1.5.3.
I am having some issues with my maps application using the new
jars...original code works fine with gwt-maps-1.0.2 and gwt-1.5.3...
Here one exception I get with no code changes:
link.addClickHandler(new ClickHandler() {
@
Check the gwt incubator, there´s a scrolltable example here.
Don´t be fooled by the name, it includes sorting too!
ScrollTable demo here:
http://collectionofdemos.appspot.com/demo/index.html
Source here:
http://code.google.com/p/google-web-toolkit-incubator/source/browse/#svn/releases/1.5/src-de
I've been watching the talk by Ray Ryan from Google IO (Google Web
Toolkit Architecture: Best Practices For Architecting Your GWT App)
over and over again, and it's a very enlightening talk, especially the
part about EventBus and the use of - kudos to the team.
However, one part Ray didn't elabo
Are you sure you're looking in the right place? There are copies of
scrollTableLoading.gif located in com/google/gwt/gen2/table/public and
com/google/widgetideas/table/public
http://code.google.com/p/google-web-toolkit-incubator/source/browse/trunk/src/com/google/gwt/gen2/table/public/scrollTable
thank's !
that was difficult to find !
Ben
On 16 juin, 22:13, Kwhit wrote:
> In Eclipse you can modify the port on the Run or Debug configurations
> menu - took me a while to stumble on that one.
--~--~-~--~~~---~--~~
You received this message because you are sub
Hi
I have write a program on java how let me to read an XML file. the
address of my file is "http://localhost:8080/webdav/user.xml";. this is
my program:
import java.io.File;
import java.net.URI;
import java.net.URL;
import java.util.List;
import java.util.Vector;
import org.jdom.Element;
import
In Eclipse you can modify the port on the Run or Debug configurations
menu - took me a while to stumble on that one.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, s
This is weird... :(
This:
.gwt-Button {
width: 300px;
}
works fine, but not if I want to change the font-size??
On Jun 16, 9:41 pm, Dariusz wrote:
> I did setup a style.css file, where I'm trying to change the size of
> the button like this:
>
> .gwt-Button {
> border:1px outset
I did setup a style.css file, where I'm trying to change the size of
the button like this:
.gwt-Button {
border:1px outset #CC;
cursor: pointer;
font-size:10px;
margin:0pt;
padding:3px 5px;
text-decoration:none;
}
Unfortunately, no effect on the result...it's still bi
Another soul is saved -- thank you
On Jun 7, 8:34 am, aydogdu wrote:
> 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
Does anyone know, why I'm having a different layout in IE than in FF?
Please, check out my attached screenshots.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send
Hi - how did you manage to track and abort outstanding RPC's from the
client?
Thanks JL
On Jun 5, 9:02 pm, gpike wrote:
> Hi Maddy,
>
> We had the same issue. What we found was if the window was closed
> while an rpc request was outstanding a port was blocked so subsequent
> calls would fai
That'll work!
Also, if you're using the Google Plugin for Eclipse, here's how to
change the port in Eclipse:
http://code.google.com/eclipse/docs/running_and_debugging.html
On Tue, Jun 16, 2009 at 1:33 PM, Peter Ondruška wrote:
>
> Use the -port parameter to set non-default.
>
> 2009/6/16, Benib
GWT does a great job of letting us avoid the memory leak pitfalls that
often occur in poor browser, but I think I may have found a case that
GWT does not handle and I'm not sure why.
We have an application where we mark a particular page as visited by a
user when they open the page and when they
Thanks alot for all your answers :-)
Will have a good read here when I have the time to check all the links
etc.
I actually watched Ray Ryans presentation from Google IO 2009,
and the MVP pattern looks very similar to the MVC pattern that Struts
2 claims to implement:
A controller between the mo
Hi,
I have been trying to think of a good way to add a specific feature to
my application to search through a list of data, but can't figure
anything out. Here is what I would like:
The interface would be a suggest box, and a vertical panel, or grid of
some sort with data.
Initially all of the
Hi markww,
In order to reuse the GWT RPC services you've already defined directly,
you'll have to create your own serializers in the Objective-C world that can
match the signature RPC expects on incoming payloads. You'll also need to
continue to match this signature if it changes across releases. I
Ian, I took a look at the Dictionary class, but I don't understand.
Where is the dictionary getting the "user" and "name" elements from?
Is a PHP script supposed to generate them, then in GWT I can just link
up to the items I need in the entry point method? If so, would the
call the add(new Label(
I'm using OpenCSV (http://opencsv.sourceforge.net/) for creating CSV
files, but there's nothing magic that ties it to my GWT tables. The
CSV conversion is done on in a servlet using the same data that was
used to draw the client-side table, and then sent to the browser.
I'm using iText (http://w
Use the -port parameter to set non-default.
2009/6/16, Benibur :
>
> There is a port conflict on my server since GWT hosted mode and
> another web application use the same port (8080)
> The point is widely discussed over the internet, but the solution is
> always : modify the port of the other ap
Thanks for the heads-up :)
Should be fixed forthwith.
On Mon, Jun 15, 2009 at 1:25 PM, arcy wrote:
>
> In http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html
> there is an explanation of the basic RPC mechanisms, which I
> appreciate. At one point, however, it says that a
Hi Benju,
The use of the HasClickHandlers interface (and other Handler interfaces) is
actually just a piece of event-driven architecture that GWT subscribes to
in the 1.6 event handler architecture. Basically, anything that implements
the HasClickHandlers interface must provide an implementation f
Hi
Apparently, the scrollTableLoading.gif is the image display next to the last
button while loading the data.You will see this image if table is taking
long time to load the data.
scrollTableLoading.gif does not comes with the GWT incubator distribution,
you need to manually create one.
On Sun
Thanks for the reply. Answers to your questions are:
1) Yes, my Common module is inherited in each of the *.gwt.xml files
in the other modules.
2) Yes, I included the Java source for the client-side in my Common
JAR file (see "NOTE" half-way down my original post).
3) Yes, the CSS, HTML and im
There is a port conflict on my server since GWT hosted mode and
another web application use the same port (8080)
The point is widely discussed over the internet, but the solution is
always : modify the port of the other application.
The pb is that in my case I can not change the port of the other
Sweet. Not that you'd want to do MDD with it. With it's "save as url"
feature, this strikes me as a really good solution for development
Wiki's in place of exported UML diagrams as images.
DJK
--~--~-~--~~~---~--~~
You received this message because you are subscri
I'm trying to convert the makeSignedRequest function on the following
page into a JSNI method.
http://paul.donnelly.org/2008/10/31/2-legged-oauth-javascript-function-for-yql/
If I put the raw JS in my HTML page and call it with
$wnd.makeSignedRequest(), everything works fine. However, if I move
On 16 juin, 17:08, samsus wrote:
> Hi All,
>
> Im trying to use jsni to implement a interface (a callback) and use it
> as an argument in a function. here is what i have:
>
> -
>
> package com.mypackage;
>
> public interface MyCallback {
>
>
Well, looks like paging it is. Thanks everyone.
Oh, and Hi Tom!
-Joe
--~--~-~--~~~---~--~~
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
Thanks, I'll proceed in the Servlet direction.
On Jun 15, 7:46 pm, "Dean S. Jones" wrote:
> You can't use a file:: URI to load an image ( that would attempt to
> load it from the machine the browser is on ), you can in theory load
> an image from bytes via RPC ( tho it's not worth the highly inc
Hi All,
Im trying to use jsni to implement a interface (a callback) and use it
as an argument in a function. here is what i have:
-
package com.mypackage;
public interface MyCallback {
public void onResponseReceived(String text);
}
-
How do I expand all the nodes in a 1.6 Tree? I do not see an expand()
method. setSelected()?
--~--~-~--~~~---~--~~
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-W
Is there an option to export the data from GWT tables to popular
formats like csv, xls, xml, pdf etc? If not, how can one build this
option?
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Tool
Raul,
The problem is that you aren't actually serializing
com.data.employee.Department. Something is replacing your class with
com.data.employee.Department_$$_javassist_0. You wouldn't happen to be
using Hibernate, would you?
- Isaac
On Tue, Jun 16, 2009 at 7:10 AM, Raul wrote:
>
> Hello all,
Hi all,
I'm using a treePanel ext. I'd like to load the object by a json
object.
I defined the treeLoader and its dataUrl. The dataUrl is a file .js.
This files contains a string json.
I don't know if it need a web server (the file is js) or after I
defined the data url it's mandatory a function f
Hi,
Is there any way to track system shutdown event through GWT? Please
let me know if it is possible through GWT/javascript.
Regards,
Shailaja
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" g
I would really like to know how to do this as well, the Jetty info-
logs are totally worthless.
On 8 Maj, 18:12, Mark Renouf wrote:
> I have to use -logLevel INFO because I want to continue seeing my
> debuglogmessages from GWT.log. I also want to continue seeing
> warnings or errors fromJetty(
Hi all,
I need your help.
I'm using ext, but it's the first time.
I have a tabPanel which contain 2 tabs defined in tabPanel's
properties.
this.initialsTab = new Ext.TabPanel({
resizeTabs :true,
activeTab : 0,
height:500,
items : [{
Some things I'm not clear on from your post:
1) Did you inherit the commons module in each of your *.gwt.xml files?
2) When you did the jar packaging, did you include the java source for
the client-side?
3) Are your public resources (i.e. CSS) located in a ".../moduleName/
public/" folder? Were t
Hi,
We've upgraded GWT to 1.6 and are now running Jetty instead of Tomcat.
The logs of jetty is good, IF something goes wrong, but I really don't
want an INFO-log each time a request (e.g. image) is requested. This
could be solved by changing the log-level to WARNINGS, but I still
want my GWT log
Very cool. might want to make an expandable panel as a "toolbox". That
seems to be a pretty standard analogy in diagramming tools. Do you
have a roadmap/design for server-side? are you thinking you'll do a
persistence framework or filesystem storage (i.e. xml)?
On Jun 15, 3:43 am, walterc wrote:
Hello,
Using NetBeans 6.5 and its GWT4NB plugin, I created a very simple web
application with a GWT module. The plugin generates a welcomeGWT.htm
page that loads the GWT module.
I noted that:
1. In the head tag, there is a meta tag:
Is it mandatory?
2. In the body tag, I found:
What if ther
Hi,
I am using gwt2.0,i have some RPC service classes,previously i have
used 1.6 at that all rpc functionlaities are working fine after
changed to 2.0 i am un able to call the RPC methods,while calling the
method i am getting the exception like
2009-06-16 14:52:36.641:/:WARN: An IncompatibleRem
How to capture shutdown event of system in javascript? Our requirement
is like, if system shoutdown normally or due to power failure we need
to send session closing request to server.
Reply With Quote
--~--~-~--~~~---~--~~
You received this message because you are
Hi Bhavik,
FYI
I have used your script sparely, but successfully for some time now,
thank you for sharing.
I recently discovered it broke my recenlty added history support. That
is when I extended your script to support history tokens. Now it also
supports history tokens.
var currLocation = $wn
Change Department(){} to public Department(){}
Jim
http://www.gwtorm.com - GWT ORM
http://code.google.com/p/dreamsource-orm/
On Jun 16, 7:10 am, Raul wrote:
> Hello all,
>
> I have two beans as follows:
> -
> public class employee implements IsSerializab
Thanks Jim for ur valuable info. I will try that. BTW how can i find
the counts of child widgets that are embedded in the
container?
On Jun 16, 5:14 pm, Jim wrote:
> You may try the following:
>
> 1. find the container such as Panel for all text fields.
> 2. find the counts of child widgets th
I have a real life application with GWT - GXT client, PHP server
scripts, a MySQL database and JSON objects for data exchange. The host
is a standard web host. Works all right but there are some
considerations :
- (in my case) security is weak as I don't use SSL
- you have to realize you're writin
You may try the following:
1. find the container such as Panel for all text fields.
2. find the counts of child widgets that are embedded in the
container.
3. StringBuilder sb = new StringBuilder();
for (int i=0; ihttp://www.gwtorm.com - GWT ORM
http://code.google.com/p/dreamsource-orm/
Owww btw:
My self I use all kind of MVC/MVP patterns and mixtures of it.
It's not so important what the exact name is, as long as you know very
well what you are doing. What I mean is that: with the articles on
internet, like the ones from M. Fowler you have a nice luggage that
helps you to be cre
Just my 50 cents,
Martin fowler (as always) gives a nice overview of the different
techniques as MVC, MVP and all their accents, and they background.
Start here:
http://www.martinfowler.com/eaaDev/OrganizingPresentations.html
There you also find arguments for what to use and when to use it.
Acc
Hello all,
I have two beans as follows:
-
public class employee implements IsSerializable{
int id;
String name;
Department department;
public employee(){}
public employee (int id, String name, Department dept){
you don't need a c/c++ compiler to build the trunk.
you have to check out the trunk and the tools and start the ant build.
that's all
regards
martin
On Jun 16, 7:49 am, Ramas wrote:
> Hello,
>
> I'd like to try 2.0, to help and fill the bugs, however, I'm on Win
> machine, without C/C++ compil
Hi All,
I have some files which contains english, french and japanese.
When I try to read file from server and try to poup in client side ,
it seems some unwanted squres in between of each line.
I read the file in serverside like
private String readFile(String fileName)
{
try
Ian Bambury said
Having said that, getting data you may not need just so you can
display it
if required is not (generally) a good idea in an Ajax app. Although
sometimes it might be :-)
Adligo said
I think it would be fine to have your Composite(I think u called this
a flex table) implement HasSe
But I would seriously look at using Google app spot. Deploying is easy
and unless you've got a very successful application on your hands,
it's probably for free.
On Jun 16, 7:03 am, tedpottel wrote:
> Hi,
> I'm thinking about using GWT. Quastion,
> will GWT run ok on my current web hosting serv
How to find out the row number on which mouseEvent has occured(in
Kelo's example)???
On Jun 13, 2:19 am, Kelo wrote:
> Hi Eduardo,
>
> Here's your solution:
>
> public class BocaJrsTable extends FlexTable implements
> HasMouseOutHandlers {
>
> private HandlerManager manager = new Ha
Yes it will. If you have no server communication, then you're just
serving up regular files as far as the hosting is concerned. If you need
server communication, rpc isn't the only option. For example, most
hosting services support php. Search the archives for help on php and
gwt and RequestBuilde
I bet it will.
I deployed a GWT app to appengine before it had java support and it
worked fine there. No rpc though like you say ...
Shawn
On Tue, Jun 16, 2009 at 2:03 PM, tedpottel wrote:
>
> Hi,
> I'm thinking about using GWT. Quastion,
> will GWT run ok on my current web hosting service?
any sample on "sorting" for dynamic table. the original sample doesn't
come with sorting
--~--~-~--~~~---~--~~
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
This is the error I'm getting: http://clowkun.com/storage/na/
I have the newest version of Eclipse, just installed the latest GWT
plugin and SDK. I have also installed the latest Java SDK. Just
started up the StockWatcher basic tutorial and even tried the
Guestbook one and they both give me this
88 matches
Mail list logo