Communicating between modules directly is also a solution, but not so
applicable in my case. As i said i have a application Controller that
handles history, initialize and keep track of opened presenters. I
could get rid of this app controller and replace it with some place
handler mechanism from
Hi, GWT provides JRE emulation for both StringBuffer and
StringBuilder. The Java API says that in single threaded environments
the preferred choice is to use StringBuilder as it is faster. I also
remember to have read that browsers way to work is single threaded.
So I'm wondering why and when one
Search the archives for Client did not send nn bytes as expected.
OK figured it out. A HttpServletRequest can be read a total of one time.
Any attempts to use
RPCServletUtils.readContentAsUtf8(((HttpServletRequest) request));
will fail.
The error message is misleading because the client in
StringBuffer methods are synchronized. This *may* make it a good choice
for java environments, although typically they are short-lived objects
that are used on only a single thread. If you only use it on a single
thread, you may as well use StringBuilder which is faster because its
methods are not
I think the use of either will penalize the performance in client
side, String should be faster.
- Manolo
On Tue, Jul 13, 2010 at 10:21 AM, guandalino guandal...@gmail.com wrote:
Hi, GWT provides JRE emulation for both StringBuffer and
StringBuilder. The Java API says that in single threaded
Is this really true? Shouldn't GWT optimize any overhead away and make
it similar to using String directly?
/Andreas
On Tue, Jul 13, 2010 at 10:41 AM, Manuel Carrasco Moñino
man...@apache.org wrote:
I think the use of either will penalize the performance in client
side, String should be
On 13 juil, 10:21, guandalino guandal...@gmail.com wrote:
Hi, GWT provides JRE emulation for both StringBuffer and
StringBuilder. The Java API says that in single threaded environments
the preferred choice is to use StringBuilder as it is faster. I also
remember to have read that browsers
I think this is due to the provision of core API compatibility. Due to this
reason, all API has to be ported, now matter what. Take the case of URL and
URI.
Nabeel
On Tue, Jul 13, 2010 at 1:21 PM, guandalino guandal...@gmail.com wrote:
Hi, GWT provides JRE emulation for both StringBuffer and
On 13 Lug, 10:40, Paul Robinson ukcue...@gmail.com wrote:
[cut]
client-side versions is identical apart from the name. So for GWT, it
makes no difference which you use.
Thanks for the neat explanation. Maybe this point would worth to be
added to existing documentation.
--
You received this
Hii Eric,
Sorry .. i didn't understood what you are saying. Those static maps
are using URL. But in my case i am using gwt mapwidget in which i am
not using any URL. For your referrence, i am posting a sample code
here..
Code Snippet Starts
LatLng monohaa = LatLng.newInstance(20.36, -156.78);
Yeah, Gwt should optimize them in compiler time, but at the end the
optimization will produce arithmetic operations with javascript String
implementation, and this optimization will penalize the time spent to
compile.
So why use StringBuffer instead of String unless this code was shared
in both
Manolo,
but if I understood you correctly you said there was a client side
performance penalty. If it's only in compile time I think it's easier
to let devs use stringbuilder in JS mode as well to be consistent.
/Andreas
On Tue, Jul 13, 2010 at 10:59 AM, Manuel Carrasco Moñino
man...@apache.org
It seems an issue with the maximum configured limit for post requests
at your server side.
-Manolo
On Tue, Jul 13, 2010 at 10:43 AM, Mika Tikkanen
mika.r.tikka...@gmail.com wrote:
On Mon, Jul 12, 2010 at 7:26 PM, Jeff Chimene jchim...@gmail.com wrote:
On 07/11/2010 11:17 AM, Roope wrote:
Hi
I've not checked the code produced by the Gwt compiler, but I think it
could introduce a bit of overhead or may be none (if the
implementation code was 100% optimal).
Anyway the use of String should guarantee that the final code is
faster or equal.
-Manolo
On Tue, Jul 13, 2010 at 11:02 AM,
On 12 juil, 20:05, vali valentin.kol...@googlemail.com wrote:
Hi!
How can i use the @media print {} property in my ui.xml?
See http://code.google.com/p/google-web-toolkit/issues/detail?id=4911
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
On 13 juil, 11:10, Manuel Carrasco Moñino man...@apache.org wrote:
I've not checked the code produced by the Gwt compiler, but I think it
could introduce a bit of overhead or may be none (if the
implementation code was 100% optimal).
Anyway the use of String should guarantee that the final
Hi,
Can someone please explain what the difference is between the port and
codeServerPort is in DevMode. I cannot find any clear documentation.
What is a code sever? How is it different from the embedded web
server? Why do each of them need a specific TCP port?
Thank you
--
You received this
I have a menubar that contains some buttons and some toggleButtons.
The problem is that anything i would do i can't succeed to obtain same
height for both types
mozzila
- button: height 40px and in browser will result a computed size of
32px
- togglebutton: height 40px and in mozilla browser will
You could create the widget, and include the link to the compiled
javascript in the page.
In the HTML you'd need a div with an id=embed-my-widget-here and
then write some native javascript to on-load/on-click to talk back
into the gwt to RootPanel.get(embed-my-widget-here).add(myWidget);
On Jun
Hello,
A call to my app invokes a filter which starts a session via
request.getSession(true);
here is the id: czbgfo2bp5vs
Then it proceeds to serve a page, but the client shows no
JSESSION id.
Then the client make an rpc call which again generates a new session
via the filter.
id:
Hi all
Can't get this to work:
declaring a tree:
@UiField
Tree tree = new Tree();
then declaring a handler:
@UiHandler(tree)
void onTreeSelect(SelectionEventTreeItem event)
{
Window.alert(You clicked the tree);
}
Wont fire. Why?
/A
P.S
hi, anabillo!
for me the best design for testability is to start writing the test
cases (at least the unit test cases) before writing the actual code!
HTH
Michael
PS: and what has that to do with GWT?
On Jul 13, 1:17 am, anabillo bilal.all...@gmail.com wrote:
Hello Guys ,
I start writing a
Hi,
I'm quite new to Google Web Toolkit, and i'm having a problem when i
created a test.
I inherited from GWTTestCase and overrided the getModuleName():
public String getModuleName() {
return be.thomas.jobby.jobby;
}
Now when i run it it gives te following
Hello,
I've created a DisclosurePanel into my GWT project and want the arrow
to be smaller. How can I do such a thing?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
I have created a search screen,where in i enter the values in the
textbox to search the person.Once i click on the search button, the
list of persons gets retrieved from the database and gets displayed on
the East of the dockLayoutPanel. The search form is on the West of the
dockLayoutPanel and
You are right, Gwt is optimized to perform the best in each case.
Both StringBuilder and StringBuffer generates the same javascript code.
I have coded a simple test (see below) to check append and these are
my results (Compiled code):
- all browsers except IE performs identical using String,
I think that you need a deferred command to handle this. Limit your
clickhandler to set the infoLabel to Beginning and then launch a
deferred command who's execute method performs the search and then
updates the label.
In this way, the execution thread will finnish, causing the screen to
be
Those are images, and you can set them in the Constructor by using
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/DisclosurePanelImages.html
On Jul 13, 5:34 am, rlebisse rlebo...@gmail.com wrote:
Hello,
I've created a DisclosurePanel into my GWT
So how do I change that value for google appengine? Or for my development
environment in eclipse?
On Tue, Jul 13, 2010 at 12:03 PM, Manuel Carrasco Moñino
man...@apache.orgwrote:
It seems an issue with the maximum configured limit for post requests
at your server side.
-Manolo
On Tue, Jul
discount news :
Happy South Africa's World Cup!Stay Cool With www.yong-rong.info
My friend said to me that the site is doing promotions for the South
Africa's World Cup in these days ,do you know ?i think the Website can be
tested,because I have bought some ,that company mainly sell all
I am developing a facebook app with GWT and it requires us to use an
internet domain name to connect. But in hosted debug mode, I can only
run the built-in server at 127.0.0.1: and therefore I can never
connect to facebook and debug.
C:\netstat -an | grep
TCP127.0.0.1:
hie
Thanks but i have following doubt:
Since i need two different handlers for two search panels then where will be
the deciding logic ?
and how exactly i will call this addClickHandler method?
1. How will i call it
Thankx and Regards
Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com
On
thanks a lot!!!
Thankx and Regards
Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com
On Tue, Jul 13, 2010 at 2:27 AM, lineman78 linema...@gmail.com wrote:
Sorry for the late response,
align is not a valid css property, use text-align:left;
On Jul 10, 11:31 pm, Vik vik@gmail.com
I am working on it now. Here's the first project under review:
http://codereview.appspot.com/1793041/show
On Wed, Jun 2, 2010 at 8:12 AM, jgonian jgon...@gmail.com wrote:
After a little search, I found this project:
http://code.google.com/p/google-maven-repository/
which seems to be in
Hello, am I wrong thinking that scripts run faster once that are
compiled and deployed than when they are served by Jetty during
development?
Thanks.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
did u manage to get this fix? how do you solve this?
--
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
On Tue, Jul 13, 2010 at 5:43 AM, lam lama.gh...@gmail.com wrote:
Hi,
Can someone please explain what the difference is between the port and
codeServerPort is in DevMode. I cannot find any clear documentation.
What is a code sever? How is it different from the embedded web
server? Why do each
Hi,
Where is the .cache.html file located? I know that .nocache.js and the
html pages are located in the WAR file, but I am unable to find the
cachable file. Thank you
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group,
Dear Group,
I was trying to implement a DataTable and used PatterFormat like this:
PatternFormat formatter= PatternFormat.create(a href=
\javascript:alert('{0}')\Details/a);
See this code triggers a javascript alert. However, what I need is to
trigger a remote service servlet asynchronously on
thanks very much Danny.
On Jul 13, 8:28 pm, Danny Goovaerts danny.goovae...@gmail.com wrote:
I think that you need a deferred command to handle this. Limit your
clickhandler to set the infoLabel to Beginning and then launch a
deferred command who's execute method performs the search and then
I would also like to know the answer to this question. My ui drafts
are mocked that way. I figured that by the time I got around to doing
layout that I'd stumble into the answer. I have t dug I to it myself
yet but I am geting close to needing to know. I'm sure that I could
just change the
Yes, they run faster when compiled since there is no need for eclipse to be
connected to the browser plugin and to handle all events (for communication
with eclipse)
2010/7/13 guandalino guandal...@gmail.com
Hello, am I wrong thinking that scripts run faster once that are
compiled and deployed
Hi,
Can someone provide me an sample code for rendering Fusion chart in
GridCellRenderer along with column fields,
Thanks Sri
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
In that case make your custom events...
You need to create 1 class and 2 interfaces... YourEvent.class (class),
YourHandler(interface) and HasYourHandler(interface)
See and copy any shared event as SelectionEvent, SelectionHandler
HasSelectionHandler. (see the code of this ones and copy them)
Hi Thomas,
did you inherit 'be.thomas.jobby.jobcv' in your project's .gwt.xml-File?
For example in project Foo you should have a file 'Foo.gwt.xml'. In
this file you should
find a line
inherits name=be.thomas.jobby.jobcv /
Regards,
Markus
Thomas Van Driessche schrieb:
Hi,
I'm quite new
How to implement a client side session ( something like httpsession at
server).
Is it to just create a static variable ?
How do two different MVP widgets share MODEL data (for example user
entered data in one widget to be passed to second widget of table to
show data for that date).
How do two
How do you maintain mapping between Model objects at client browser?
Say for example, over the course of user conversation, there were
three DIFFERENT ajax calls to load CUSTOMER, ORDERS and ITEMS.
Now do you manually map CUSTOMER to ORDER and ORDER to ITEM in client
to maintain mapping between
Are you sure you mean 'client side mapping'?
What I understand from it is you have a domain model with classes
(customer, order, item) which somehow reference each other.
How do you retrieve instances of these classes from your application
backend? Are instances of these classes referencing each
I have run into the same problem that has been discussed time and
again. For example, here:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a998b2165103dd60
Basically, the problem is, if you have a GWT Tree, and on a selection
event on one of its items, you want to replace
Thanks A.
2 more selfish questions
1) In your case after simply loading various model objects via RPC do you
again map them togather ?
2) If one of model object is used (read-only) by two different MVP widgets
than how do you share that model object.
Few points
1) I understand that your proj
Thanks .I removed the Google App engine part and it worked.
On Jul 4, 3:28 am, Sebastian Rothbucher
sebastian.rothbuc...@clarities.de wrote:
HiRajesh, it might be possible that another java.policy is effective.
For Tomcat, there is at least a catalina.policy file in ${TOMCAT-DIR}
Maybe I was not clear about it:
1) We do not map anything together from the model at client side and
the best is: we do not need to; our (GWT) RPC returns one instance of
our domain model containing all references among elements like the way
we designed them, it's just that easy... the
Well, I make things a little more complicated since my backend isn't Java so
GWT-RPC will not work out-of-the-box.
I my case, i implemented a JSON-RPC library to provide client-server
communication.
The data sent to the client depends on the method called.
So in my case:
The client request the
How do you instantiate and populate your view? Is it fully created
before the presenter constructor is called?
For my part, I use GIN and the gwt-platform mechanism which has an
onBind() method that is invoked automatically after all the relevant
objects are constructed. The onBind() method is
I found it easier to modify the cache.html file and replace
self.onreadystatechange = new Function with self.onreadystatechange =
function(){}
I tried to modify the RPC Url with the setServiceEntryPont() method
which changes the URL but the request method is no longer POST but
OPTIONS. I tried
Anyone??
2010/7/13 Gal Dolber gal.dol...@gmail.com
Hi, someone knows for sure if its necessary to remove event handlers when
we remove a widget? will I get memory leaks if I don't?
i.e:
HandlerRegistration registration = button.addClickHandler(myHandler);
...
// IS THIS NECESSARY?
public
Sent via BlackBerry by ATT
-Original Message-
From: kawanka kawa...@nbnet.nb.ca
Sender: google-web-toolkit@googlegroups.com
google-web-toolkit@googlegroups.com
Date: Tue, 13 Jul 2010 18:19:25
To: Google Web Toolkitgoogle-web-toolkit@googlegroups.com
Reply-To:
I am trying to deploy an application built with GWT. Would like to
know how to create a build so that I can deploy static content on the
Webserver and dynamic content on app server.
I use Websphere(App Server), IBM Httpd server(Webserver).
Please do not suggest me that I can put all into one
As far as I can tell, there is no official way to do this, and there
is no way to do it in CSS due to the layout being set directly on the
elements. I have developed a bit of a workaround but this could be
broken by subsequent GWT releases as they make changes to the way the
tab panel lays itself
Please be more specific on the form of communication you would like to
do and how you are handling the DNS for having 2 servers handling
requests(i.e. different subdomains, ports, etc.). Remember, because
of the SOP you can only make data requests to the same server and port
the page originated
Hi Everyone,
I'm relatively new to GWT development and Java development so please
bear with me. It's been years since I've worked with RPC.
I created a proof of concept test app at the following URL - in short
testing a date picker and testing the RPC communications as per the
basic test project
Hi,
I am using a StackPanel (called leftStackPanel in code) in my
application and in order to respond to Click events on this stack
panel, I have coded the following and it works fine. But classes
SourcesChangeEvents, ChangeListenerCollection, and ChangeListener are
deprecated. I tried to use
Thanks Andre
Another option is to send all the associations with only the id of the
object, and send an array with all objects used. This option is much more
efficient but also much more complex. (both client and server).
For the above mentioned complexity, is there any framework to reduce
Hi, the use case here is for report generation. I would like to be
able to submit a GWT form to a servlet that will generate the report,
and upon form submission, pop-up a new browser window containing the
PDF report in it.
I have read that the easiest way to do this is to POST the form to the
Hi darkflame,
a) As my server doesn't support server-side java, I'll be using php to
generate the static/snapshot pages. How close do they have to be to
the proper/GWT ones? Is it good enough if the text and links are
exactly samebut not the images/layout? I dont want to be accused
We do host our own repository - thats not the point. The point is that
thousands of people use GWT and use dependency management, not having
it go into central as a matter of course is simply ridiculous! It is
absolutely, point blank unprofessional.
On Jul 13, 4:32 pm, Paul Grenyer
Or, maybe you're over-estimating importance of Maven for average
GWT-developer...?
On Wed, Jul 14, 2010 at 3:39 AM, Richard Vowles richard.vow...@gmail.comwrote:
We do host our own repository - thats not the point. The point is that
thousands of people use GWT and use dependency management,
Thanks Regards
Vik
http://www.sakshum.com
Sent from my iPad
On Jul 13, 2010, at 7:32 PM, Vik vik@gmail.com wrote:
hie
Thanks but i have following doubt:
Since i need two different handlers for two search panels then where will be
the deciding logic ?
and how exactly i will call
+1
On Jul 14, 10:10 am, Jaroslav Záruba jaroslav.zar...@gmail.com
wrote:
Or, maybe you're over-estimating importance of Maven for average
GWT-developer...?
On Wed, Jul 14, 2010 at 3:39 AM, Richard Vowles
richard.vow...@gmail.comwrote:
We do host our own repository - thats not the
You accomplish step three by returning a CGI header that contains the
application/pdf MIME type. The browser handles the rest.
On Tue, Jul 13, 2010 at 3:49 PM, citress citr...@gmail.com wrote:
Hi, the use case here is for report generation. I would like to be
able to submit a GWT form to a
private final Button button;
private final ClickHandler clickHandler;
public MyClass(){
//Code 1
button.addClickHandler(new
com.google.gwt.event.dom.client.ClickHandler() {
public void
onClick(com.google.gwt.event.dom.client.ClickEvent
Thanks for your response.
Here is more details.
Yes I am in the same domain same network too. Here is the history
in the past.. I used to bundle the .js, images, html css and deploy
them on the webserver and bundle rest of the Java code bundled as part
of the WAR.
Where as now I use GWT for
Are you serious?
If you are *creating the buttons dynamically* and you can declare the
clickHandler as a field it will be faster cause you will be avoiding the
handler instantiation every time...
but I don't think that choice will have a performance impact..
2010/7/13 cody lse...@gmail.com
This is free software, there is no obligation.
-Original Message-
From: Richard Vowles richard.vow...@gmail.com
Sender: google-web-toolkit@googlegroups.com
Date: Tue, 13 Jul 2010 18:39:23
To: Google Web Toolkitgoogle-web-toolkit@googlegroups.com
Reply-To:
I'd say so.
-Original Message-
From: Jaroslav Záruba jaroslav.zar...@gmail.com
Sender: google-web-toolkit@googlegroups.com
Date: Wed, 14 Jul 2010 04:10:37
To: google-web-toolkit@googlegroups.com
Reply-To: google-web-toolkit@googlegroups.com
Subject: Re: This is getting beyond a joke
I tend to agree with Richard, maybe not formulated to like he do, but
I understand his frustrations. What I don't understand is why you guys
need to respond in this manner, when the guy clearly is venting his
frustrations.
I would also wish that Google would take Maven more seriously. I can
only
I'm getting an error in the generated js in my app running on ie7.
And all i get in the ie console is Argument not valid an the line of
the script that is causing the trouble: 44756 :P
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To
On Wed, Jul 14, 2010 at 7:22 AM, Kasper Hansen kbhdk1...@gmail.com wrote:
What I don't understand is why you guys
need to respond in this manner, when the guy clearly is venting his
frustrations.
Pardon? In what manner? Are you serious? :))
All the responses were perfectly correct, I'm not
Reviewers: robertvawter,
Description:
Speed up UiBinderTest by having all tests share one instance of the
test app. Also clean up some deprecation warnings.
Review by: robertvaw...@google.com
Please review this at http://gwt-code-reviews.appspot.com/687801/show
Affected files:
M
LGTM
http://gwt-code-reviews.appspot.com/687801/diff/1/3
File user/test/com/google/gwt/uibinder/test/client/UiBinderTestApp.java
(right):
http://gwt-code-reviews.appspot.com/687801/diff/1/3#newcode53
user/test/com/google/gwt/uibinder/test/client/UiBinderTestApp.java:53:
Extra blank line.
After further analysis, I have concluded that the hashing based
clustering method gives significantly worst result with respect to
compression efficiency. I will submit the patch that improves the
edit-distance implementation instead.
http://gwt-code-reviews.appspot.com/669801/show
--
Reviewers: sonnyf_google.com,
Description:
Attributes required by @UiConstructor are no longer enforced when a
field is created via @UiField(provided=true)
Review by: son...@google.com
Please review this at http://gwt-code-reviews.appspot.com/690801/show
Affected files:
M
Reviewers: scottb,
Description:
Do some cleanup on BuildTypeMap.
Please review this at http://gwt-code-reviews.appspot.com/691801/show
Affected files:
M dev/core/src/com/google/gwt/dev/jjs/impl/BuildTypeMap.java
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM w/ nits.
http://gwt-code-reviews.appspot.com/691801/diff/1/2
File dev/core/src/com/google/gwt/dev/jjs/impl/BuildTypeMap.java (right):
http://gwt-code-reviews.appspot.com/691801/diff/1/2#newcode497
dev/core/src/com/google/gwt/dev/jjs/impl/BuildTypeMap.java:497:
Reviewers: tobyr,
Please review this at http://gwt-code-reviews.appspot.com/692801/show
Affected files:
M dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaAST.java
M dev/core/test/com/google/gwt/dev/jjs/JavaAstConstructor.java
M user/src/com/google/gwt/core/client/GWT.java
M
LGTM
http://gwt-code-reviews.appspot.com/692801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/691801/diff/1/2
File dev/core/src/com/google/gwt/dev/jjs/impl/BuildTypeMap.java (right):
http://gwt-code-reviews.appspot.com/691801/diff/1/2#newcode497
dev/core/src/com/google/gwt/dev/jjs/impl/BuildTypeMap.java:497:
typeMap.get(superInterfaceBinding);
On
http://gwt-code-reviews.appspot.com/691801/diff/1/2
File dev/core/src/com/google/gwt/dev/jjs/impl/BuildTypeMap.java (right):
http://gwt-code-reviews.appspot.com/691801/diff/1/2#newcode497
dev/core/src/com/google/gwt/dev/jjs/impl/BuildTypeMap.java:497:
typeMap.get(superInterfaceBinding);
You
88 matches
Mail list logo