The problem is in the response, you have to take care of two issues in
order to have event.getResults() working:
1.- You can not read the response if the server is not the same of
your application (cross domain).
2.- The content type must be text/html or text/plain.
If you had the control of the
Hi Jeff,
I think there isn't any response.getText() when you are using
FileUpload widget. Is there?
Thanks,
Fahim
On May 28, 2:25 am, Jeff Chimene jchim...@gmail.com wrote:
On 05/27/2010 01:17 PM, Fahim wrote:
Hi Jeff,
Thanks for your response.
Actually server is not in my control.
The goal is to download files to be stored by the user on disk. The
context application is a graphical editor which allows export of a
document in two formats. At the moment these are txt and ppt files.
They are generated separately so there is no problem with conflicting
MIME types or similar. By
So when I get it right, it is a huge difference if the request is
issued sort of by hand using browser mechanisms like Links or
programmatic paste of URLs by opening a new browser window or IFrame
with a given URL COMPARED TO programmatic issued requests using GWT
rpc and/or RequestBuilder. I
@Stefan: I know the term sucks, but it was the best I could come up
with ;-) As you concluded my main goal is to have browser scrollbar
scrolling and not the inner scrolling (lots of individual scrollbars
inside the containers itself, an example for this is google wave).
So in your words (...)
I am an engineering intern and want to write a test for a class which
makes a Async Request to the server How do I juct mock it up or use
some pre-built library. Please provide advise on resources
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
Hi,
does someone works on python + gwt/pyjamas projects?
--
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
Hello,
I need your help! I've got two files:
Buttons.ui.xml / Buttons.java
TextFields.ui.xml / TextFields.java
Now I need to change the content of the TextFields in the Buttons and
vice versa. Is it possible to do this without merging the two ui and
java files? I hope you understand what I
I finally found out how to do this:
g:VerticalPanel ui:field=vertialPanel
styleName='{style.centerStyle}'
Hopefully this will help anybody else.
On 27 Mai, 13:27, Mark rausch.pi...@gmail.com wrote:
Hello,
I am new to gwt and I hope you can help me. I want to center a
VerticalPanel on the
Hey Fellow Developers
Here’s our chance to submit apps that are all about FUN! This includes
music, multimedia, and of course games!
They’re basically looking for applications that truly show off all the
cool features and functionality available on today’s Nokia devices.
This could be apps
Hi,
Are there any known problems about the GWT-Incubator fastTree and GWT
2.0.3. I can't seem to be able to get it to work properly. Even when
copying the demo source code into my project. On the other hand the
native Tree control is working fine.
Thanks,
Jerome
--
You received this message
Hello,
For my project, I would like to create a table in HTML by means of the
DOM tree.
For this, I'm just using the functions DOM.createTable(),
DOM.createTBody(), DOM.createTR()...
However the generated table is an Element type.
Except that I'm using the MVP as a pattern for my application. So
I downloaded gwt-2.0.3.zip (aprox. 36MB) but when i try to unzip it i
get a message stating the file is corrupt or is empty. When i try to
extract it using 7zip i only get 15 MB extracted and a list of error
messages saying certain files use non-valid compression methods. Can
anyone help me unzip
i am developing a project in which i want to show image after
browsing.My problem is when i browse image at IE6 or previous version
it displayed but this ih not work at IE7, IE8 and Firefox browsers.
please help me .
Dhiraj Kumar
--
You received this message because you are subscribed to
Hello !
For my project, I'm using the MVP pattern and inside my view I need to
create a table from the DOM tree. For this, I just use the functions
DOM.createTable(), DOM.createTBody()... no difficulty for the moment.
But the view in the MVP pattern extends the Composite class, so I need
to init
Where did it get the definition for: {style.centerStyle} ???
Does UiBinder have access to all of the default style information
provided by GWT?
Usually, to center something horizontally, the technique is this:
.centerStyle {
margin-left: auto;
margin-right: auto;
}
(I believe)
Cheers
It can be done:
com.gwt.resources.Resources.gwt.xml defines the CssResource.style
property. Looking into
com.google.gwt.resources.rg.CssResourceGenerator.init() shows, that we
can set the property to pretty - so in your .gwt.xml file you would
write:
set-configuration-property
I will be out of the office starting 05/28/2010 and will not return until
06/01/2010.
I will respond to your message when I return. If this is urgnet please
contact Paul Frasceschini at 105628
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
I'm so sorry I don't know why I have two discussions but the real
discussion is here :
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/7ce36cd0423f5428#
Please reply on the other discussion.
Really sorry.
Thank you.
--
You received this message because you are subscribed
You must not use *LayoutPanel for this purpose. Why not native HTML?
MyApp.ui.xml
!DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder
xmlns:g='urn:import:com.google.gwt.user.client.ui'
ui:style
.top {
On May 28, 3:29 pm, Chris Lercher cl_for_mail...@gmx.net wrote:
It can be done:
com.gwt.resources.Resources.gwt.xml defines the CssResource.style
property. Looking into
com.google.gwt.resources.rg.CssResourceGenerator.init() shows, that we
can set the property to pretty - so in your
On May 27, 8:49 pm, Rizen vianney.dep...@gmail.com wrote:
Hello !
For my project, I'm using the MVP pattern and inside my view I need to
create a table from the DOM tree. For this, I just use the functions
DOM.createTable(), DOM.createTBody()... no difficulty for the moment.
But the view
Replace Composite by Widget and initWidget by setElement...
You can also you GWT tables...
Olivier
On 28 mai, 13:08, Rizen vianney.dep...@gmail.com wrote:
Hello,
For my project, I would like to create a table in HTML by means of the
DOM tree.
For this, I'm just using the functions
On May 28, 10:39 am, Sumit Somani sumitsom...@google.com wrote:
I am an engineering intern and want to write a test for a class which
makes a Async Request to the server How do I juct mock it up or use
some pre-built library. Please provide advise on resources
Some pointers:
Actually making
Carl,
Your proposal is interesting. But as a user, if I have to wait, I
leave... So many be an application needing some wait a minute popup
is not a good approach for the future. Imagine your browser putting a
popup each time a page is loading. Tabs will become useless, multi-
core computer too
Hi all,
In my application I need to include several gwt modules into a page.
They all inherit from the same base module which provides some
CssResources.
Is it possible to inject the css of these resources only once using it
across all included modules?
Currently I need to inject the same styles
On May 28, 1:48 am, Chris Lercher cl_for_mail...@gmx.net wrote:
Hi George,
absolutely - the other browsers are fine with simple DOM manipulation.
Inspired by the (a little bit outdated) benchmark [1], I changed my
code to join arrays instead of strings:
--
void
Hi Andreas:
You can certainly send the two files to the server via GWTUpload. As Sri
observed, the user must EXPLICITLY REQUEST THAT ACTION. Your browser app
cannot do that on behalf of the user.
You can receive stuff in the browser from the server. If it's a custom
file structure, you'll have
I am not sure if this is exactly what you want to do - but have a look
at this page:
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideUiBinder.html#Share_resource_instances
On 28 Mai, 16:25, tobirius t.herrm...@alkacon.com wrote:
Hi all,
In my application I need to include
I just verified that the download site is working.
Check the sha1sum of your download:
$ sha1sum gwt-2.0.3.zip
1dabd25a02b9299f6fa84c51c97210a3373a663e gwt-2.0.3.zip
If it matches, then you need to troubleshoot your unzip process. If it
doesn't, you need to re-download.
On Fri, May 28, 2010 at
No, that is not what I was looking for. I know how to use the same
CssResource across several widgets.
In my case, I need to share the same resource across several modules,
not compiled together but one after the other.
Mark schrieb:
I am not sure if this is exactly what you want to do - but
Hi Faim:
Sorry, yes, you're right.
Here is a working example:
private final IUploader.OnFinishUploaderHandler onFinishUploaderHandler =
new IUploader.OnFinishUploaderHandler() {
public void onFinish(IUploader uploader) {
if (uploader.getStatus() == Status.SUCCESS) {
STUFF
like this?
Buttons buttons = new Buttons();
TextFields fields = new TextFields();
buttons.setFieds(fields);
fields.setButtons(buttons);
??
Can you elaborate?
On May 28, 7:05 am, Mark rausch.pi...@gmail.com wrote:
Hello,
I need your help! I've got two files:
Buttons.ui.xml / Buttons.java
Hello! I know that the question has been asked several times, but the
last discussion I was able to find dates back to 2009, so I'll ask the
question again:
Can I _easily_ call GWT-RPC server side from a pure java client
application? If not, is the ability on the roadmap? What are the best
On May 27, 3:33 pm, Chris Lercher cl_for_mail...@gmx.net wrote:
Hi,
I need to create lots (hundreds) of image tags, and attach them
dynamically to several plain div class=xy/div elements:
div class=xy
img src=images/a.gif style=top: 1em;/
img src=images/a.gif style=top: 2em;/
img
Hi Luis,
try it to download again or use different tools. Sometimes a download
fails.
I did not had any problem (but I am using ubuntu)
Stefan Bachert
http://gwtworld.de
On 28 Mai, 10:52, Luis Daniel Mesa Velasquez
luisdanielm...@gmail.com wrote:
I downloaded gwt-2.0.3.zip (aprox. 36MB) but
First of all thank you for the answer.
I am new to GWT so I am a bit confused and not know yet the correct
terminology :)
Main.ui.xml:
g:FlowPanel
g:VerticalPanel
r:TextFields / // calls TextFields.ui.xml
r:Buttons / // calls Buttons.ui.xml
Hmm...
Why don't you do it in main? It's the one thing that knows about both.
Buttons.java:
@UiHandler(nextButton)
void onClickNext(ClickEvent click) {
getMain().onClickNext();
}
Main.java:
public void onClickNext(){
getTextFields.setText(something);
}
On Fri, May 28, 2010 at 10:19, Mark
Hi,
That sounds nice, I shall have a closer look at it.
It should be nice if it could be more fine-grained, as it normally concern a
few styles that should be annotated with @external for testing.
Ed
On Fri, May 28, 2010 at 3:29 PM, Chris Lercher cl_for_mail...@gmx.netwrote:
It can be done:
On May 28, 4:28 pm, Thomas Broyer t.bro...@gmail.com wrote:
Use a StringBuilder, it'll optimize dependending on the browser
(pushing into an array and then joining the items, or concatenating
strings, whichever has been benchmarked the fastest by the GWT team)
You're right - I just looked into
Ah, ok.
Thank you very much!
On 28 Mai, 17:27, Tristan Slominski tristan.slomin...@gmail.com
wrote:
Hmm...
Why don't you do it in main? It's the one thing that knows about both.
Buttons.java:
@UiHandler(nextButton)
void onClickNext(ClickEvent click) {
getMain().onClickNext();
}
Hi Dennis,
a DockLayout will not grow will the content in center is growing.
The center of DockLayout get just the remaining space.
I see two ways at the moment
a) After adding widget to the center measure its size and increase
the DockLayout accordingly.
The pitfall is the box model. It may be
Having said that, I wouldn't build a production app that relies on the
library.
If you really want to develop your services for multiple clients, I'd
recommend staying away from GWT RPC. JSON is well suited for the browser,
while XML is better suited for a Swing application. If you build your
Hi Eric,
yes, I'm considering using an ImageBundle (actually only the getURL()
method from ImageResource) - but that solves a different problem
(reducing the number of requests)! I'll still have to create my
hundreds of similar elements, and add/remove them dynamically,
position them etc.
On
Hi Magnus,
you may have a look on the mail sample deliver with GWT.
This sample fills the browser window.
Stefan Bachert
http://gwtworld.de
On 28 Mai, 03:49, Magnus alpineblas...@googlemail.com wrote:
Hello,
I would like to build my GUI within one panel that fills the whole
browser window.
Hi Chris,
this looks as you are going to program mine sweeper.
May be you should consider to use HTML5 canvas
Stefan Bachert
http://gwtworld.de
On 27 Mai, 21:33, Chris Lercher cl_for_mail...@gmx.net wrote:
Hi,
I need to create lots (hundreds) of image tags, and attach them
dynamically to
On 28 mai, 17:35, Chris Lercher cl_for_mail...@gmx.net wrote:
On May 28, 4:28 pm, Thomas Broyer t.bro...@gmail.com wrote:
Use a StringBuilder, it'll optimize dependending on the browser
(pushing into an array and then joining the items, or concatenating
strings, whichever has been
Hi Andrew,
GWT has its own buttons. It it the blue g icon in the tool bar (New
Web Application Project), or in the menu
Stefan Bachert
http://gwtworld.de
On 27 Mai, 04:09, Andrew anyel...@gmail.com wrote:
I just recently installed Eclipse 3.5 on Windows 7. I followed the
instructions on
Crsytal clear!
Thank you very much for your time :)
On May 24, 8:28 am, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
GWT creates a hidden iframe with an id equal to whatever your module is
renamed to. In your case, you had a div with id=Hangman, and GWT inserted
an iframe with *the
Hi Stefan,
:-) fortunately, it's not as extreme as it sounds - the images don't
have to be exchanged very often, but when they do, it must be
instantaneous. No problem for Safari/Chrome or Firefox... but it was
just a bit too slow on IE8.
Viele Grüße
Chris
On May 28, 5:55 pm, Stefan Bachert
Another, more recommended method is to isolate the business process
away from the GWT RPC. So you have a stand alone middle-tier that
you communicate with via GWT-RPC and Swing Clients and whatever else
you want to do. Don't try to reuse GWT-RPCgo around it. It's a
better design...
On May
On May 28, 6:00 pm, Thomas Broyer t.bro...@gmail.com wrote:
Messages could help you, even if you don't use its localizable
facet:
public interface Images extends Messages {
�...@defaultmessage(img src='images/{0}.gif' style='top: {1}em;')
String image(String image, int emTop);
}
Thanks Sri, Mike! Yes, it seems that a more transparent light-weight
protocol would be better in the long term.
MG
On May 28, 12:10 pm, mikedshaf...@gmail.com mikedshaf...@gmail.com
wrote:
Another, more recommended method is to isolate the business process
away from the GWT RPC. So you have
Thanks again for the response, Sris response already answered my
question: it just can not be done with rpc; that's it.
On 28 Mai, 16:28, Jeff Chimene jchim...@gmail.com wrote:
Hi Andreas:
You can certainly send the two files to the server via GWTUpload. As Sri
Sorry Jeff, never wanted to
I'm developing a GWT application inside of Eclipse. I would like to
deploy my application to a remote server online. Could anyone explain
to me or point me in the direction of online instructions as to how to
do this?
What I've done so far is to copy the directory called war that is
generated
As far as i understand when we had deploy our application into apache we had
copied *content from war not war folder. *
and no need to create war file using that command
i.e. if ur apps name is 'demoapp' then create 'demoapp' folder inside
webapps and put that content frm war inside this folder
Hello,
We're developing a very big application using GWT and we're facing big
memory usage by the browser (sometime 2 Gb on Chrome).
How could I profile/monitor the use of monitor and determine what are
the composite who take the memory ?
thank's
--
You received this message because you are
Any particular reason not to just use the Grid widget? The overhead
is negligible and the code a lot simpler..
On May 28, 5:08 am, Rizen vianney.dep...@gmail.com wrote:
Hello,
For my project, I would like to create a table in HTML by means of the
DOM tree.
For this, I'm just using the
aditya sanas, Hi, Thank you for your reply.
I've essentially done what you have suggested but in a different way.
That is, I took the contents of the war directory and included them in
the war file that I created. When I deploy the war file, Tomcat auto
expands the file into a directory which
Have you called:
FastTree.addDefaultCSS();
to inject the default CSS?
HTH
Paul
jla wrote:
Hi,
Are there any known problems about the GWT-Incubator fastTree and GWT
2.0.3. I can't seem to be able to get it to work properly. Even when
copying the demo source code into my project. On the
You might want to generate a compile report and check memory size for
the compiled code:
http://code.google.com/webtoolkit/doc/latest/DevGuideCompileReport.html.
As for the actual data, any javascript profiler will work, you will
want to compile with the -pretty option to get legible function
Hi,
I use DockLayoutPanel as the RootPanel for my browser window. And I
want to place another child panel within the dockpanels center.
Well, the child panel is always aligned to the upper left.
How can I achieve that:
a) the DockLayoutPanel really covers the whole browser window
b) the child
I'm rewriting some existing apps using GWT and I've come across a GUI
issue. In many cases where I have used a select element as a pull
down menu (only 1 item visible at a time), I leave the first item
empty and disabled. The user has to choose a different option and he/
she cannot go back to
Hi,
I ran into a problem about clicking the reload button on a web
browser.
My app is a stateful GWT app. Users need to be authenticated for
login. After login they can surf on various pages. But users sometimes
were used to press the reload button on the browser to refresh the
page.
Thank you very much, I tried to replace Composite by Widget and for
the moment it seems to work.
I can't use the Grid widget cause I need a Dynamic Table.
Moreover I have to reuse an existing CSS file. This one uses few table
elements like thead, tbody, tfoot et others styles name.
So I must
I tried downloading it 5 times, i used JDownloader in most and i use Opera
for browsing so i tried downloading through that too... seems the cloud
is just fast but not reliable. =) I downloaded 2.0.0, 2.0.1, 2.0.2 and
2.0.3
and got it to work after a while, thanks anyway.
On Fri, 28 May
GWT is pure client side.
The server package only comes into use for example if u were using GWT +
GAE, then you would put your server-side classes in the server package. The
server package has no relationship with GWT.
On Thu, May 27, 2010 at 12:25 PM, Magnus alpineblas...@googlemail.comwrote:
My application contains code which is organized into packages like
view, or controller, or persist. I've identified these packages
as modules in my GWT projecct. I notice that the compiler has created
directories for these in my war folder. I also notice that some of
the names are the fully
I figured out the issue to my own problem and I am posting the
solution for posterity's benefit. This might save somebody a few hours
of frustration.
I had earlier failed to specify the fully qualified module name:
For instance, under program arguments in Eclipse:
I initially specified this:
I managed to allow the css file to render on the local deployment
simply by removing the comment tags from around the link tag in the
html file. That was easy enough. So now I am able to view and run my
war file on my local machine, my own tomcat instance, but when I view
the page online after
I don't know if it is possible to disable the selection of an index
value other than programmatically. You could write a small
ChangeHandler for the ListBox and in the onChange method, check the
selected index of the ListBox. If it's 0, then set it to some other
value like 1. Just a thought.
bad design.
refresh is a feature and you should provide bokmarkable refresh-save
pages.
On 28 Mag, 20:42, Mike J mikej1...@gmail.com wrote:
Hi,
I ran into a problem about clicking the reload button on a web
browser.
My app is a stateful GWT app. Users need to be authenticated for
Oh thank you very much, it seems to work for this moment. I didn't
think to use the Widget class.
Thanks a lot for your help.
But now, I don't know which method is better to construct a table with
the DOM tree. I post the problem here :
In fact my problem is not due to the size of the js generated (even if
it's quite big).
I tried the developer tool from chrome but it's that when I do a head
snapshot the result is unreadable.
Do you mean that if I compile with the -pretty option, the snapshot
will be readable ?
Could it have a
I'm wondering if the gwt 2.1 release will include the Servlet 3.0
specification? I'm currently using jetty continuations for suspending
my requests but i would like to switch to Servlet 3.0 API in the
future.
--
You received this message because you are subscribed to the Google Groups
Google
Neither of those buttons show up, that's where the problem is.
--
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
Neither of these buttons show up.
On May 28, 10:04 am, Stefan Bachert stefanbach...@yahoo.de wrote:
Hi Andrew,
GWT has its own buttons. It it the blue g icon in the tool bar (New
Web Application Project), or in the menu
Stefan Bacherthttp://gwtworld.de
On 27 Mai, 04:09, Andrew
Yes, -pretty will give you js names that match your java code, vs
obfuscated names. The code size will have some impact on your browser
mem usage, but mostly it is a concern for download time - code
splitting can help with this.
On May 28, 3:10 pm, Twentyseven ebarthel...@gmail.com wrote:
In
So I understand gwt's rpc serialization and I've been using it for
quite some time.
However, I'm wondering if there is a manual javascript serialization?
Let me explain ...
Passing things over rpc works great for dynamic data, but what if you
have initialization data that doesn't change? Since
I am getting the following error when i starts the AppEngine in Dev
mode in eclipse. I am using AppEngine 1.3.4. Please let me know what
should i do for this.
Starting Jetty on port
[WARN] failed org.mortbay.jetty.nio.selectchannelconnecto...@adb1d4
java.lang.NoSuchMethodError:
My local version information is the following :
GWT 2.0.3
Tomcat 6
Eclipse 3.5 Galileo
working on Mac OS X.
Java 5
--
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
Sounds like you just want a constant, can you just create the objects
as static finals in your client code? No serialization or any such
needed, just comes as part of the code.
On May 28, 4:38 pm, rjcarr rjc...@gmail.com wrote:
So I understand gwt's rpc serialization and I've been using it for
Revision: 8216
Author: gwt.mirror...@gmail.com
Date: Fri May 28 09:33:23 2010
Log: Moved the Activity subclasses to the App module to break the circular
dependency between App and ValueStore.
Review at http://gwt-code-reviews.appspot.com/571801
Review by: rj...@google.com
http://gwt-code-reviews.appspot.com/474803/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
84 matches
Mail list logo