As an alternative to using a tool.
Use a command pattern. That way you only need one RPC method... not
much maintenance needed. no need for a tool.
David
On Sep 23, 12:54 am, AsaAyers asa.ay...@gmail.com wrote:
I'm working on a GWT project and I find it very tedious to have to add
a function
as far as i know GWT uses an IE7 mode of your internet explorer when
in hosting mode. i don't think you can change that by setting some
meta tag. what you can do is using oophm.
On 24 Sep., 00:36, ky zane.t...@gmail.com wrote:
Hmm. I've added the meta tag but hosted mode still doesn't render in
ok
On Thu, Sep 24, 2009 at 3:12 AM, Sumit Chandel sumitchan...@google.comwrote:
Hi Charlie,
How much control do you have over the specialized embedded browser that
you're using? The current user-agent string wouldn't pass the selection
script code used in UserAgent.gwt.xml, but before
Hi All,
I am beginner in GWT and I am simulating the case like how we are
applying the Labels for the Mails in GMail. I am trying having the
labels in a set of Check box and the mails in another set of check
box. I am not able to figure out how to do that. Kindly help in
finishing this work as I
I have 2 questions.1. In GWT API ,it say after 1.5, we can create Exception
implement Serializable than GWT RPC can throw Exception to Client.
but when I try, Only when my Exception extends
SerializableException ,itcan be throw to Client. Why?
2. How can throw RuntimeException to Client. As
Hi all,
I followed an IBM tutorial about XML PHP to write my own
application;
this application has a textbox where users can search in a MySQL DB
with.
Then, query results should be put in a flextable, but this not
happens;
I will paste here my code:
public class VisualizzaAnagrafica extends
Hi
I am little confused as to the architecture
lets says i have a big web application ( jsp / servlet ) I want to
implete three parts of that in GWT. So i need three different
modules ? They will all share the same RPC services and datatypes so
I really want them in the same project not
On 24 sep, 00:36, ky zane.t...@gmail.com wrote:
Hmm. I've added the meta tag but hosted mode still doesn't render in
IE8. This is what the top of my main HTML page looks like:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/
TR/html4/strict.dtd
!-- The HTML 4.01
On 23 sep, 09:56, kilaka kil...@gmail.com wrote:
Hi all,
GWT enables. among other things, the use of the same classes in client
and server code.
Client code is compiled to JavaScript and server code to Java byte-
code.
My problem is:
If a GWT application is developed in one eclipse
With GWT 2.0 (which hasn't been released), you can have one module, and
split your code so that the browser doesn't have to download the entire
application.
You can read about it over here -
http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting
You should also watch googles presentation
Thank you.
On Sep 24, 12:10 pm, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
The dictionary class is intended for this purpose, so you are doing the
right thing.
If the parameter you need to pass is already available in the URL, then you
can also read it directly from the url using
Try setting the style using a css class rather than the style attribute,
in the way specified in your code. If you don't have a css file, you can
just create the css class within your html file.
Hope this helps.
-Venkatesh
On Thu, Sep 24, 2009 at 2:08 AM, abhiram abhir...@gmail.com wrote:
Hi,
I have a Flow Panel which is of a fixed size.
I am trying to place panels of a fixed size inside this Flow Panel.
I would like to to place these panels horizontally inside the Flow
Panel.
But as soon the width of the flow panel is reached I would like to
wrap the next set of panels to the
You need to add the following css property to the FlowPanel childs in order
to place them horizontally,float:left; to all the childs of the FlowPanel.
On Thu, Sep 24, 2009 at 3:03 PM, Ryan cher...@ensarm.com wrote:
Hi,
I have a Flow Panel which is of a fixed size.
I am trying to place
Hello,
I'm developing GWT UI that talks with my server via JSON. I do
access of service by passing url like this :
http://localhost:8080/crmsfa/control/saveEmailViaJson?message=message1parameter=parameter1
to function:
public void callJsonService(String url){
url =
Hello everybody,
Long story short is like this: I started to develop a Gwt-Ext
application in Eclipse as a Dynamic Web Project (the tutorial that I
have followed gave me this start). Then I added Hibernate to do the
persistence and some business logic. Every thing went smooth till I
tried to
On 24 sep, 14:03, Ryan cher...@ensarm.com wrote:
Hi,
I have a Flow Panel which is of a fixed size.
I am trying to place panels of a fixed size inside this Flow Panel.
I would like to to place these panels horizontally inside the Flow
Panel.
But as soon the width of the flow panel is
On Sep 23, 12:18 pm, Thomas Broyer t.bro...@gmail.com wrote:
On 23 sep, 16:54, lusus l...@fishbytedesign.com wrote:
I think I can safely say that push is NOT evil. Not in itself.
I must admit I agree (Yanick: how do you think GMail, (Wave), Facebook
and the like do? oh, sure, that's not
Thomas, why do you say that? display:inline should work for panels and is
supported by everything
Ryan, some code would help as would some idea of which panel type you are
adding
Ian
http://examples.roughian.com
2009/9/24 Thomas Broyer t.bro...@gmail.com
On 24 sep, 14:03, Ryan
I got some really cool styles with HTML tags and so thought of sticking on
to it. Any idea why the image which I set on the button using HTML did not
appear in Firefox?
regards,
Abhiram
On Thu, Sep 24, 2009 at 4:55 PM, Venkatesh Babu venkatbab...@gmail.comwrote:
Try setting the style using a
Based on how JS is generated and how GWT-RPC encodes objects on the
wire and serializes them, what would be a better course of action:
Should I prefer a pattern of adding static members to a subclass or
parameterize a class by using a member variable?
For instance, should I prefer this:
Yep, I found that API when I did a Google Search ...
So, I tried the code: String cookie = Cookie.getCookie
(myCookieName);
And I must have got some sort of error, because my code stopped, and
there were no other log statements.
So, I guess I was asking if this code has to be on the client
Client side (cookie gets stored in the users browser).
But looking at your whole question, it appears you are doing some sort of
user authentication? (ie: sign on).You should read this FAQ:
http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
Describes using session
Hey,
Personlly, as a programmer, I enjoy having control. I don't like to
hear that I cant access a file. here's a bit of the background on the
issue.
I have to read quite a bit of information off of a .txt file, which I
wrote and placed into the WEB-INF folder. That information is then
read as
Tom,
this code has to be on client side (GWT code).
HTH
Dominik
Yep, I found that API when I did a Google Search ...
So, I tried the code: String cookie = Cookie.getCookie
(myCookieName);
And I must have got some sort of error, because my code stopped, and
there were no other log
GWT developers - is there anything I can do to assist in getting this
release into the central Maven repository? I spoke with the Maven guys
and they suggested you start deploying to oss.sonatype.org as part of
the release process. Instructions are available at the following URL:
I believe it is. In my understanding, having a browser listen on a
specific port and having it wait for any incoming connection from
anyone exposes it to attacks.
Hi Yanick,
I think you are misunderstanding push communication. When you use a
chat program (outside of the web), push is being
I have solved my problem. The solution may be helpful to others with
similar requirements.
my solution:
1. Create a new and additional module, db_maint.gwt.xml:
?xml version=1.0 encoding=UTF-8?
module
inherits name=com.google.gwt.user.User/
entry-point
this looks very strange - what is your use case for this?
anyway - if you really want/need this: I don't think, that example 1
will produce larger JS than 2, because in both cases you need to know
MyType.class, don't you?
On Sep 24, 3:23 pm, Lemao yde...@gmail.com wrote:
Based on how JS is
Is there a way to generate server side C code for GWT RPC?
Thanks a lot.
Reza.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
On Thu, Sep 24, 2009 at 9:55 AM, RezaRob reza...@gmail.com wrote:
Is there a way to generate server side C code for GWT RPC?
Almost certainly not. GWT RPC assumes a Java server. The encoding is
opaque, but it expresses things in terms of Java objects. You could
probably write a C
I did use one example of a GWT-RPC datasource for SmartGWT, and I got
very, very close.
I can get the data from my spring beans, and I copied data to my DTO
objects.
But, the SmartGWT ListGrid shows 23 rows, and the right column names,
but no data is listed there.
So, I was re-reading the thread
I need to make a go to a URL call(in the same page, tab etc) from
something like a button. How do I do that?
Thanks in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this
Hi all,
I am very new to GWT and I have a question that I cannot seem to
wrap my head around. I have a custom widget called MenuBarPanel.
This will contain all of the menu actions that I need. When a user
selects the menubar I need it to call an action and reload only one
panel (Custom
On Thu, Sep 24, 2009 at 8:17 PM, Ian Petersen ispet...@gmail.com wrote:
On Thu, Sep 24, 2009 at 9:55 AM, RezaRob reza...@gmail.com wrote:
Is there a way to generate server side C code for GWT RPC?
Maybe you can use JSON generated by C on the server and GWT on the
client side...
ra
Almost
To answer my own question, I used stylesheet src='file://c:/temp/
test.css' / and succeeded. Thanks!
On Sep 24, 1:15 pm, badgerduke badgerd...@gmail.com wrote:
Hello again:
In my XXX.gwt.xml file, I've tried:
stylesheet src='c:\temp\test.css' /
to reference a stylesheet outside the
Check this out:http://www.java2s.com/Code/Java/GWT/
TableMouseOverEvent.htm
they have a mouseover event handling that could help you.
On Sep 24, 3:15 pm, mornindew craigma...@gmail.com wrote:
Hi all,
I am very new to GWT and I have a question that I cannot seem to
wrap my head around. I
The CSS for the background declaration is invalid. Also there's no
need for tabs and carriage returns. Try this:
button.setHTML(div style=\background:transparent url(home.gif) no-
repeat; width:95px; height:23px;\ Home /div);
The best practices solution, however, is to have an external
We have looked over the code again and again that submits the form
info, and don't see any issue with it. We get a POST to the servlet
we created to receive the multipart form params, but the parameters
are always null.
We have set the name of the widgets we want posted (i.e.
any clue it seems to be very basic issue
Please help it is quite critical for me
Regards
Rahul
On Sep 24, 10:31 am, Rahul bhatt rahul.anubh...@googlemail.com
wrote:
HI
I am using GWT and GXT to develop a rich application. I get blank page
while refreshing home page in Hosted mode as well
Stefan,
Are you aware that you have your project configured to use Google App
Engine? App Engine will not let you open a socket to a database.
http://code.google.com/appengine/docs/java/runtime.html#The_Sandbox
- Isaac
On Thu, Sep 24, 2009 at 7:16 AM, biggi stefanvlad.voi...@gmail.com wrote:
Here is the code snippet anyway:
private FlexTable flexTable = new FlexTable();
private final Label uploadLabel = new Label(Upload Document:);
private final Label errorLabel = new Label();
private final FileUpload fileUpload = new FileUpload();
private final Button uploadButton = new Button();
I have a similar problem. I need to be able to load my entry point
class without using a script tag.
The .nocache.js script depend on being loaded through the tag since it
uses the src attribute to find the location of the other .js files.
I thought doing something like what you did here
This is related to Google App Engine, so you should send this email to that
forum.
That said, Google App Engine has certain restrictions - you cannot access a
file except those that are a part of your war file. In this case, the file
is a part of your file, but you are accessing it as a normal
And if you want to access cookies on the server side , do this within your
RPC Servlet
HttpServletRequest request = getThreadLocalRequest();
request.getCookies();
--Sri
2009/9/24 Dominik Steiner dominik.j.stei...@googlemail.com
Tom,
this code has to be on client side (GWT code).
HTH
Well, you're not going to get the file data out of request parameters.
Take a look at this doc on commons-fileupload:
http://commons.apache.org/fileupload/streaming.html
Hi Dave, I modified the servlet to follow the same code snippet on the
commons fileupload page. The only difference here
might try the smartclient forums - http://forums.smartclient.com.
they have one specific to SmartGWT, believe the authors are pretty
active on it.
there's a sticky thread - GWT-RPC DataSource implementation with
sample code. using that i was able to build a GWT-RPC datasource
successfully.
On
So I take that to assume GWT 1.6 uses CSS 2.1?
Thanks for the other responses as well!
On Sep 23, 6:40 pm, Jim Douglas jdoug...@basis.com wrote:
Also, the CSS 2.1 draft spec is available here:
http://www.w3.org/TR/CSS2/
On Sep 23, 3:35 pm, Neha Chachra neha.chac...@gmail.com wrote:
Hello, I am adding google maps capability to an existing GWT project.
I am using eclipse as the IDE. I have added the gwt-maps.jar to the
project's build path in eclipse. I can tell that, from the eclipse
(java) compiling perspective, that the jar is found since the editor
can add the imports
It would be a titanic effort to rebuild so many standars.
Would it? It been done many times before. And in the long run, I'm
really only talking about (relatively) minor changes to the existing
protocols. And then the browser sitting on top would just need to
address security, and understand
Jason,
I think I found what my problem was. Your step 5) Right-click on
StockWatcher project, New Source Folder named test is the key.
It has to be Source Folder -- Just Folder will screw things up.
When I right-click the test java file, Run As - Run
Configurations ..., the Run button is
The other way you can try is to set the width using css styles. That'll also
enable you to get rid of making code changes just to resize the table
columns.
Hope this helps.
-Venkatesh
On Thu, Sep 24, 2009 at 3:28 PM, Neha nehasuga...@gmail.com wrote:
Hi all,
This is regarding the paging
Hi all, I created a stack panel, and I'd like to display some
information when user clicks each header of the stack panel, but I can
not find addListener() method for the stack panel, do you know how to
add the listner for such events?
Best Regards,
Jie
Hi all,
I am quite new to GWT development, now am struggling in a small web
application, my application include a lot of GUI.
while, I got two questions here,
1). How can centralize the application on the final web page? e.g. I
create a login window which is quite small, when I preview on the
With a clean install of Galileo, I get the following error when
installing using the update site: http://dl.google.com/eclipse/plugin/3.5
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java,
If you are new to GWT based development my suggestion is learn from project
HUPA
http://svn.apache.org/repos/asf/labs/hupa
its based on pretty good architecture and in my experience you straight
lift lot of initial Boiler plate code.
In my view dont get too much into running its ok if you cant
Hi All
I am planning to use GWT in an already existing HTML GUI. I would
request the group to point me to best practices for using GWT in this
manner. Basically I am trying to make use of my existing MVC
application and want to add the AJAX functionality to my existing HTML
widgets using GWT.
I
AbsolutePanel.add(Widget,int,int) used to append widgets, the same as
AbsolutePanel.add(Widget) still does now. Following rev 6070/6071, it
now inserts instead, and not always at the end. This caused a problem
for me because I'm using this method to add a GlassPanel using
Revision: 6202
Author: jlaba...@google.com
Date: Thu Sep 24 05:28:14 2009
Log: Creates snapshot-2009.09.23-r6200 from tr...@6200 via
svn copy https://google-web-toolkit.googlecode.com/svn/trunk -r 6200
https://google-web-toolkit.googlecode.com/svn/branches/snapshot-2009.09.23-r6200
Revision: 6203
Author: jlaba...@google.com
Date: Thu Sep 24 05:43:29 2009
Log: Adding branch-info to snapshot-2009.09.23-r6200 branch.
http://code.google.com/p/google-web-toolkit/source/detail?r=6203
Added:
/branches/snapshot-2009.09.23-r6200/branch-info.txt
Comment by piergros...@telcordia.com:
I have installed DbgView and set all available debug trace options on (I
have admin perms on system). When I launch Firefox I see alot of debug
output. I clear the display then start the OOPHM session. I see a few lines
stating startup, urls, etc. I
Thanks, Paul. I just commented on issue 4073 with a rough outline of how
this can be fixed. I've accepted it and marked it for an upcoming milestone.
On Thu, Sep 24, 2009 at 4:48 AM, Paul Robinson ukcue...@gmail.com wrote:
AbsolutePanel.add(Widget,int,int) used to append widgets, the same as
Revision: 6204
Author: kpro...@google.com
Date: Thu Sep 24 08:24:11 2009
Log: Adds simple crawler to tools.
http://code.google.com/p/google-web-toolkit/source/detail?r=6204
Added:
/branches/crawlability/eclipse/tools/simple-crawler
Thanks, committed to crawlability branch at r6204.
http://gwt-code-reviews.appspot.com/70802/diff/24/28
File tools/simple-crawler/src/com/google/gwt/simplecrawler/Settings.java
(right):
http://gwt-code-reviews.appspot.com/70802/diff/24/28#newcode102
Line 102: * Processes the arguments from the
Reviewers: scottb,
Message:
Review requested.
http://gwt-code-reviews.appspot.com/71802/diff/1/2
File dev/core/src/com/google/gwt/dev/jjs/ast/JTypeOracle.java (left):
http://gwt-code-reviews.appspot.com/71802/diff/1/2#oldcode451
Line 451: jsoSubType.clearImplements();
This removal is
I have a custom widget which has a constructor with some fields.
class HelpWidget extends Composite {
//usual interface declaration for UiBinder
public HelpWidget(HandlerManager eventBus) {
.
initWidget(uibinder.createAndBindUi(this);
}
}
Now, I have another widget
That's a flat out bug. Would you mind putting something on the issue
tracker?
On Thu, Sep 24, 2009 at 11:48 AM, Sripathi Krishnan
sripathi.krish...@gmail.com wrote:
I have a custom widget which has a constructor with some fields.
class HelpWidget extends Composite {
//usual interface
Reviewers: fabbott, jat,
Description:
The changes are for the farewellSwt branch.
The swt stuff and the mac specific stuff is no longer necessary with
HtmlUnit. Have tested the changes on Mac and linux, by running the
test.hosted and test.web targets.
Please review this at
LGTM
Reitveld is again acting up -- I couldn't actually view any of the files
but the first and last, but I could get a diff of the whole patch to
look at.
http://gwt-code-reviews.appspot.com/71804/diff/1/2
File common.ant.xml (right):
Also, is there a reason we can't discard junit.headless from common.ant.xml,
rather than hardcoding it true?
On Thu, Sep 24, 2009 at 3:53 PM, j...@google.com wrote:
LGTM
Reitveld is again acting up -- I couldn't actually view any of the files
but the first and last, but I could get a diff of
Nope, that can be inlined. Will commit with this change. Thanks!
On Thu, Sep 24, 2009 at 12:57 PM, Freeland Abbott fabb...@google.comwrote:
Also, is there a reason we can't discard junit.headless from
common.ant.xml, rather than hardcoding it true?
On Thu, Sep 24, 2009 at 3:53 PM,
The -batch module and bumping the heap changes are temporary. Actually,
I will leave them out of the commit.
On Thu, Sep 24, 2009 at 12:53 PM, j...@google.com wrote:
LGTM
Reitveld is again acting up -- I couldn't actually view any of the files
but the first and last, but I could get a diff
Created issue
http://code.google.com/p/google-web-toolkit/issues/detail?id=4075
Thanks!
--Sri
2009/9/24 Ray Ryan rj...@google.com
That's a flat out bug. Would you mind putting something on the issue
tracker?
On Thu, Sep 24, 2009 at 11:48 AM, Sripathi Krishnan
Revision: 6205
Author: r...@google.com
Date: Thu Sep 24 13:44:09 2009
Log: Update release notes to 1.7.1 version, via merge of r5701, r5701, and
r6149
from the releases/1.7 branch.
http://code.google.com/p/google-web-toolkit/source/detail?r=6205
Modified:
Revision: 6206
Author: r...@google.com
Date: Thu Sep 24 13:46:29 2009
Log: Update with information about merging release notes from this branch
to trunk.
http://code.google.com/p/google-web-toolkit/source/detail?r=6206
Modified:
/releases/1.7/branch-info.txt
Revision: 6207
Author: amitman...@google.com
Date: Thu Sep 24 13:55:42 2009
Log: Remove SWT references and related mac-specific changes from the build
files.
ant test.hosted and test.web now works on a mac.
Patch by: amitmanjhi
Review by: fabbott, jat
LGTM, one nit. I also saw some spurious formatting diff cheese.
http://gwt-code-reviews.appspot.com/71802/diff/1/3
File
dev/core/src/com/google/gwt/dev/jjs/impl/JavaScriptObjectNormalizer.java
(right):
http://gwt-code-reviews.appspot.com/71802/diff/1/3#newcode197
Line 197: if
Reviewers: amitmanjhi,
Description:
This corrects an issue that was there before and implements it on the
client side of BrowserChannel, as needed by HtmlUnit in hosted mode.
Please review this at http://gwt-code-reviews.appspot.com/71805
Affected files:
Revision: 6209
Author: amitman...@google.com
Date: Thu Sep 24 17:06:50 2009
Log: Fix the launch configs for the samples. Tested each project.
Left in the reference to gwt_devjar in case we need to introduce native
code temporarily.
Patch by: amitmanjhi
79 matches
Mail list logo