Hi All,
I m using GWT component to upload file to server.At server
side i'm using common.jar to process request with plain Servlet. But
whiling putting special Characters or Russain Characters ,File name
at server side got corrupted.
I have set request.setCharacterEncoding(UTF-8) as
Hi to all,
I'm having a look at the UIBinder layouting using as tutorial the Mail
sample but when i try to compile my application or the sample code it
gives me this exception
The method addNorth(Widget, double) in the type DockLayoutPanel is not
applicable for the arguments (Header, int, int).
Yes I can, but don't want to, as it's way to heave for just checking
if a character is a white space... Especialy in my case where
performance is an issue.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web
Hello I am facing problem in making RichTextArea setEnabled(false); is it
like RichTextArea is not meant to be setEnabeled(false);
public void onModuleLoad() {
RichTextArea area = new RichTextArea();
area.setEnabled(false);
area.setHTML(bName:/b some name /br bAddress:/b
do this...
RootPanel.get().add(new RichTextToolbar(areat));
RootPanel.get().add(area);
copy RichTextToolbar.java, RichTextToolbar$Strings.properties all the
images in the folder from
\gwt-windows-1.7.1\samples\Showcase\src\com\google\gwt\sample\showcase\client\content\text
to your project
ohh, that's area only not areat
On Tue, Sep 29, 2009 at 1:19 PM, Prashant antsh...@gmail.com wrote:
do this...
RootPanel.get().add(new RichTextToolbar(areat));
RootPanel.get().add(area);
copy RichTextToolbar.java, RichTextToolbar$Strings.properties all the
images in the folder from
Hi,
More informations here :
public void onModuleLoad() {
// Login
final PopupPanel simplePopup = new PopupPanel(false, true);
simplePopup.setWidth(300px);
simplePopup.setAnimationEnabled(true);
simplePopup.setTitle(Authentification);
VerticalPanel panel =
Hi Jerome,
1.7.1 hasn't been released to the maven repository yet. There is
usually a delay between the GWT release and this happening for some
reason.
You'll be fine using 1.7.0 as there's no difference, except of course
if you're using a mac...and in that case I guess you need to be
patient
So u mean i cant use RichTextArea without RichTextToolbar ..
The document says nothing like this
On Tue, Sep 29, 2009 at 1:20 PM, Prashant antsh...@gmail.com wrote:
ohh, that's area only not areat
On Tue, Sep 29, 2009 at 1:19 PM, Prashant antsh...@gmail.com wrote:
do this...
I use a Mac under Snow Leopard, it's for that I need it ;)
thanks for your response.
I'll be patient (but since the snow leopard release, I can't use well
GWT so... it's long for me !)
On 29 sep, 10:05, Austen awconsta...@gmail.com wrote:
Hi Jerome,
1.7.1 hasn't been released to the maven
Hi All,
I had my File Upload module working properly in 1.5.3. But it has
not been working after I migrated to GWT 1.7.
I realised that addFormHandler is deprecated in 1.7 and so I changed
it to addSubmitHandler. Earlier the setAction was set as
form.setAction(GWT.getModuleBaseURL()
OK so this bug seems to relate to a dialog box, containing a
FlexTable, when you use the addStyleName operator rather than the
setStyleName operator
If you create a basic GWT project and add the following code just just
after the line which adds the send button into the HTML page
(
Hi,
I have a button and on click of the button i m opening a pop up.i want
to close the pop up on press of Escape key.
How and where to add the handler for Escape button? Kindly guide me :)
Thanks in advance.
Cheers!!!
Mohan
--~--~-~--~~~---~--~~
You received
H looked at the work arount, played with it (the working set
solution)... but it's not really an option for me...
I really have to many gwt projects to manage it this way.
It becomes very unfriendly and every time I add a folder I have to
make sure it's added to the working set, as otherwise
Does someone knows a library with gadget/widget like the more item
from the google main menu ? (the menu seen on the top of the page,
with links to other apps)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google
Hi,
I am using form panel in my GWT client code. I need to detect the
content type on my server side of the file being upload. Now strange
thing that is happening is something defined below:
When i upload a image i get the correct content type image/jpeg but
when i upload a video of type mp4 i
I am using gwt ext but there is no wrap method.
On Tue, Sep 15, 2009 at 4:49 PM, Ian Bambury ianbamb...@gmail.com wrote:
You need to wrap it, e.g.
TextBox t = TextBox.wrap(RootPanel.get(name).getElement());
and then use that.
Ian
http://examples.roughian.com
2009/9/15 Saurabh Naik
John,
I'm assuming that by basic GWT project you mean a project created
with the New Web Application Project wizard in the Google Plugin for
Eclipse, since that seems to fit with your description. If that
assumption is correct, then you're not looking at a bug at all. The
CSS file created by the
Hi Everyone:
I need to create a suggestion box where the user will enter a set of
comma separated categories, very similar to the Gmail address fields,
and display a list of matching key words for the current entry.
For example, let say I have the following suggestions: car; motor;
truck; and
Hi,
I was wondering if it's possible at all, or if anyone has suggestions
on best practices for plugging additional widgets into a GWT app after
compile?
We have a fat client app that has a pretty large set of functionality
that we're porting to GWT, but occasionally clients needs some
specific
Hi,
can you tell me how can we export java class to .js file using gwt-
exporter?
thnx :)
On Jul 31, 2:39 pm, Paul MERLIN eskato...@gmail.com wrote:
http://code.google.com/p/gwtchismes/wiki/Tutorial_ExportingGwtLibrari...
Thanks Manuel for this tutorial !
/Paul
I just encountered a problem that would be a nice addition to future
GWT releases. The border handling seems to not have been fixed between
IE and Firefox. I add a border to an object and IE puts the border
within the object's width and Firefox adds the border to the outside
of the object's
Hi,
I have a similar problem when building on linux with GWT 1.7.0 - see
below.
Did you find any solution?
--
#
# An unexpected error has been detected by Java Runtime Environment:
#
Your subject line is how to get values in gwt.
If you are having a problem with ext then you should post your question in
an ext forum not a gwt forum.
Ian
http://examples.roughian.com
2009/9/29 Saurabh Naik saurabhsn...@gmail.com
I am using gwt ext but there is no wrap method.
On Tue, Sep
can't you do it using the normal GWT menu and menuitem widgets?
//A
On 29 Sep, 13:50, Ice13ill andrei.fifi...@gmail.com wrote:
Does someone knows a library with gadget/widget like the more item
from the google main menu ? (the menu seen on the top of the page,
with links to other apps)
ok ..
on html form I am having input type=button id=btn value=submit
where I have to do pop up thing for buttons but I am getting following error
[ERROR] Unable to load module entry point class my.pkg.client.Popup (see
associated exception for details)
java.lang.AssertionError: null
at
Hmmm, not sure I ever would have figured that out on my own, Ive only
been doing web application development for about 2-3 months, so this
is all new to me.
You were correct in your assumptions, and that makes sense why the
problem only happens when you add a stylename, as using the
setStyleName
I can, but i thought there is a more complex widget somewhere (from a
graphic point of view for example)
On Sep 29, 3:58 pm, Adam T adam.t...@gmail.com wrote:
can't you do it using the normal GWT menu and menuitem widgets?
//A
On 29 Sep, 13:50, Ice13ill andrei.fifi...@gmail.com wrote:
My project works fine under hosted mode, but I tried a test deployment last
night and ran into issues with deserializing gwt rpc objects. It looks to
me like the serialization is working fine, and finding the gwt.rpc whitelist
file, which lists my various classes. However, once on the server, it
I agree, it would be nice to have maven structure in GWT 2.0
On 28 Wrz, 15:45, logicpeters logicpet...@gmail.com wrote:
Can anyone tell me if there are plans to rework the way the currentGWTproject
structure is configured for2.0? Mxing the source and
compiled code in the /war folder has
Hi,
how can I access, like sending queries, an external database (MySQL)
from GWT?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
hello folks,
I have a problem after the compilation of my gwt project ...
The behaviours is right before under the hosted mode but once compiled
some files are removed in the war tree.
For instance, my war/projectname/images and war/projectname/js/ext
directories are removed after the
Thanks very much.
I'm searching other implementation too.
On 9月29日, 午後4:15, Albert Attard albertatt...@gmail.com wrote:
Hi Everyone:
I need to create a suggestion box where the user will enter a set of
comma separated categories, very similar to the Gmail address fields,
and display a
M -
Can you post the whole solution. I'm unsure exactly how myHTML and
divHidden fit in.
Thanks.
On Sep 8, 3:57 am, m.assa...@gmail.com m.assa...@gmail.com wrote:
I solved the issue by associating a keyboardlistener to thetextarea
which copies
thetextareacontents into a GWT HTML Element and
Generally, you should not be committing GWT's generated artifacts into
version control. Of course, this is completely up to you, but the usual way
to do this would be to tag your source code at a particular point and time,
and then use a build script to generate a war file for deployment.
As has
David Given wrote:
I want to embed a mini web browser into my app (for help text). I've
seen this done before on other sites. I want to load the help pages into
an iframe, and then use GWT widgetry to listen for onload events,
determine the page title, go forwards and back, and remotely
Ok thanks all, will do.
On Tue, Sep 29, 2009 at 10:04 AM, Rajeev Dayal rda...@google.com wrote:
Generally, you should not be committing GWT's generated artifacts into
version control. Of course, this is completely up to you, but the usual way
to do this would be to tag your source code at a
Hi,
Any resources under war/projectname are automatically generated by the GWT
compiler, and it will blow away any artifacts that you add under there by
hand. You can either put these resources in a war/non project name folder,
or you can put them in a public directory which is a peer of your
You don't need to toolbar to use the RichTextArea, but it's pretty
useless without it since you won't be able to do any formatting with
the text.
But as far as disabling the RichTextArea, I don't think it's going to
work since the RichTextArea is rendered as an iframe element. If you
want to
Hi,
I've talked with another GWT developer, and he indicated that most likely
your Linux installs were updated, and they broke something with the 5-year
old Mozilla that we ship. Unfortunately, we're not doing anything at this
time to support legacy (or soon-to-be legacy) hosted mode on newer
Hi,
I had a similar requirement. Essentially I was trying to create a web
app, that had a number of default forms where users would enter data,
but I wanted the ability to add new forms on the fly (typically from a
third-party source).
The simplest approach I found was to define my forms with
Thanks .. got the idea
On Tue, Sep 29, 2009 at 9:24 PM, tskaife tska...@gmail.com wrote:
You don't need to toolbar to use the RichTextArea, but it's pretty
useless without it since you won't be able to do any formatting with
the text.
But as far as disabling the RichTextArea, I don't think
Hi Ed,
Ah, yeah, that sounds frustrating.
One more workaround I just realized: right-click on the war folder, go to
its properties, and check the Derived checkbox. I'm thinking this
combined with unchecking the Show derived in the Ctrl-Shift-R should have
the functionality you need.
jason
On
+1 Maven friendly is ideal. Less ideal but better than current is
separation of source and compiled code as the original poster mentioned.
-iain
On Sep 29, 2009, at 9:02 AM, Michał Sędzielewski wrote:
I agree, it would be nice to have maven structure in GWT 2.0
On 28 Wrz, 15:45,
I'm interested in taking a look at the code used for the mini browser.
If it is within the repository, where?
Thanks,
Pierre.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to
I've been playing around with :hover lately and thought my findings
and workarounds might be of interest to the general public :-)
An important step towards a responsive UI is to have widgets already
prepared when making them visible, since widget creation takes up
quite some time. We're
I have a remote service MyServlet defined in a module module1, and
I wish to call the service from a different module module2.
The trouble is that the URL that is generated, and used for the POST
is of the form module2/MyServlet instead of module1/MyServlet. This
doesn't match the URL mapping in
Bulat, can you direct me to any documentation anywhere which explains
the use of the ? and I constructs?
Thanks,
J
On Sep 21, 4:03 am, Bulat Sirazetdinov bula...@gmail.com wrote:
You should do it this way:
At first you'll need to create a class that implements
HasValueChangeHandlers
Excellent reference, http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf
On Tue, Sep 29, 2009 at 12:46 PM, John V Denley
johnvden...@googlemail.comwrote:
Bulat, can you direct me to any documentation anywhere which explains
the use of the ? and I constructs?
Thanks,
J
On Sep 21, 4:03
Hi all,
I am looking for a GUI Builder for GWT;
is SmartGWT a tool of these?
I use Eclipse, how can I use it?
I tried WindowBuilder (GWT Designer) but it's not free;
I would prefer something free.
Thanks,
Marco
--~--~-~--~~~---~--~~
You received this message
He Jason,
Thanks for the tip, that really seems to work fine for now and isn't
so fragil as the other working set option.
I also use it now for the testNG plugin output, as that also isn't
derived.
--~--~-~--~~~---~--~~
You received this message because you are
+1 for Maven nested module friendliness.
On Tue, Sep 29, 2009 at 12:25 PM, Iain Shigeoka iain.shige...@gmail.com wrote:
+1 Maven friendly is ideal. Less ideal but better than current is
separation of source and compiled code as the original poster mentioned.
-iain
On Sep 29, 2009, at 9:02
Not sure why, but the below code stops working in IE (works fine for
me in chrome).
In IE, do the following:
1) click Show Dialog
2) enter '1' into the TextBox AND into the RichTextArea
3) press cancel
4) click Show Dialog
On my box, both the TextBox and RichTextArea become un-editable (like
I forgot to add, but the following is a workaround, and makes both
the TextBox and RichTextArea editable.
categoryTextBox.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
On 29 sep, 18:44, plafayette pierre.lafaye...@gmail.com wrote:
I'm interested in taking a look at the code used for the mini browser.
If it is within the repository, where?
HostedMode's code is of course in the repo (in the dev subproject),
but the browser is actually an embedded one (using
On 29 sep, 13:43, edorsey edors...@gmail.com wrote:
I just encountered a problem that would be a nice addition to future
GWT releases. The border handling seems to not have been fixed between
IE and Firefox. I add a border to an object and IE puts the border
within the object's width and
On 29 sep, 13:59, vaibhav.saxena vaibhav@gmail.com wrote:
Hi,
I am using form panel in my GWT client code. I need to detect the
content type on my server side of the file being upload. Now strange
thing that is happening is something defined below:
When i upload a image i get the
I am using com.google.gwt.user.client.ui.Image. But I cannot find a
method to set the image alt property on
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/index.html?com/google/gwt/user/client/ui/Image.html.
I am looking for the equivalent setAlt(String alt) method of
Hi Ed,
for performance reason I would definitely recommend you to actually
use regex instead of equals or equalsIgnoreCase methods of the String
class. Especially IE has really performance problems with former ones.
Concerning heavy, I would actually say that it is much cleaner to use
Hi thanks for your response but i don't get it :-(
Can you make an example with pseudo code? Thanks
On 27 Sep., 02:09, Dominik Steiner dominik.j.stei...@googlemail.com
wrote:
Hi ojay,
did you try to make your KeyListener an anonymous class so that you
can reference from within it the
I had a lot of fun with this problem. My solution was to increase/
decrease the row attribute of the textarea as the user types. It's not
perfect but it behaves as expected and executes fast.
Source code for my widget here: http://pastie.org/635638
I'd be interested if you folks have any
+1
On Tue, Sep 29, 2009 at 2:37 PM, Chris christopher.burr...@gmail.comwrote:
Just had a quick question... I can see the benefits of the
CommandPattern to some extent, what I'm not sure about is why, if
we're using an Event Bus on the client side, one might not try and use
an event bus on
you could do something like this
public void onModuleLoad() {
// Create a tab panel with three tabs, each of which
displays a
different
// piece of text. VerticalPanel
formSelectPanel = new VerticalPanel();
Yeah, I have thought the same thing as I was implementing
MVP/CommandPattern. I have a few eventbus events that I handle with
EventHandlers, but then I have the whole gwt rpc mechanism that uses my own
generic action classes.
Combining the two might be a good move, however it might get tricky
Thanks a bunch that did the trick!
The problem now is a bit different. I have written a special java class
called Emailer to use the java mail functionality of sending an email. When
I just use the class in a driver class I am able to send an email
successfully. However, when I reference the
You can do something like ..
MyService service = GWT.create(MyServiceAsync.class);
((ServiceDefTarget) service).setServiceEntryPoint(../path/to/myservice);
Note the *../*. The path is relative to your module, but you can always do
../ to get out of your module and then specify the path from
I am having a bit of an issue testing my web application. I have written a
customized Emailer class that is used to send an email to the specified
email address. I am able to get the class to successfully send an email
while using a driver class, however, when I attempt to use the Emailer class
Hi,
I have a GWT app which is currently up and working and which uses GWT-
RPC for passing objects between the client and the server. The current
communication is via old fashioned polling.
I tried moving my app to long polling, i.e. start a request and wait
until new data or timeout and only
You can cut out quite a lot of that code and still get the same effect.
And then (or now) all you have to do is to leave the cursor in the rich text
area and cancel (or do anything else to hide it).
Because you are leaving RTAs lying about but not visible, and because the
RTA is in an IFRAME, and
Hello :)
I am creating a widget who has 2 Decorator Panels (One inside the
other), both of them have different images for the rounded corners,
the problem is that the internal decoratorPanel inherits all the CSS
stying from his parent every single time. I have change the same
parameters in the
On 29 sep, 21:03, Pion onlee2...@gmail.com wrote:
I am using com.google.gwt.user.client.ui.Image. But I cannot find a
method to set the image alt property
onhttp://google-web-toolkit.googlecode.com/svn/javadoc/1.6/index.html?c
I am looking for the equivalent setAlt(String alt) method
Hi Tom,
You typically want strike the right balance between appropriately-sized RPC
payloads and the number of RPC requests required to load up and operate on
various parts of your application. Using this design in the context of the
questions you asked below:
1) how are you handling a
Below are my assumptions, and may not be the exact way it works.
As you have already found out, many commands that change the DOM or
the visual display seem to be actually sent to an execution queue for
execution later. Often times this queue has pending commands, and is
polled later on.
Hi,
I have a textbox and a list of values in a listbox. Regarding of the
input of the typed in value of the textbox the list will be filtered.
I've managed this so far, but it's not working as expected. For
example you typed in AAA then every value in the list which does not
contain AAA will be
*this method can get a String: a href=abc/a*
private native String getHtml()/*-{
return [
'a href='abc/a'
].join();
}-*/;
*this native method can invoke JavaMethod MsgAlert();*
private native void alert()/*-{
@com.package.Test::MsgAlert()();
}-*/;
public static void MsgAlert(){
Hi All,
Can someone please suggest something about this? Any possible approach to
get the fileUpload working?
Thanks,
Abhiram
On Tue, Sep 29, 2009 at 3:35 PM, abhiram abhir...@gmail.com wrote:
Hi All,
I had my File Upload module working properly in 1.5.3. But it has
not been working
Revision: 6245
Author: kpro...@google.com
Date: Tue Sep 29 07:49:01 2009
Log: Indexable Showcase now uses IndexableHyperlink.
http://code.google.com/p/google-web-toolkit/source/detail?r=6245
Modified:
Sounds good.
I don't know if we would really break anybody if we took out the -resources
option now. If it's not an issue, let's clean it up now and take it out.
kathrin
On Mon, Sep 28, 2009 at 4:26 PM, sp...@google.com wrote:
Okay, I've made these code changes. New patch coming soon.
What
Revision: 6246
Author: j...@google.com
Date: Tue Sep 29 11:01:25 2009
Log: Add sourcepath for Selenium client library.
Patch by: jat
Review by: rjrjr (TBR)
http://code.google.com/p/google-web-toolkit/source/detail?r=6246
Modified:
/branches/farewellSwt/eclipse/user/.classpath
Revision: 6247
Author: j...@google.com
Date: Tue Sep 29 11:05:28 2009
Log: Merged up to 6240 from farewellSwt
svn merge --ignore-ancestry -r6226:6240 \
https://google-web-toolkit.googlecode.com/svn/branches/farewellSwt
http://code.google.com/p/google-web-toolkit/source/detail?r=6247
Reviewers: Ray Ryan,
Description:
Description:
===
Firefox 3.5 allows cross site XHR requests without any way to disable
the option. Only the server can deny the request.
Fix:
Fixed RequestBuilderTest to check for FF3.5. We currently do the same
for Safari 2, which fails silently.
LGTM
http://gwt-code-reviews.appspot.com/73802/diff/1/2
File user/test/com/google/gwt/http/client/RequestBuilderTest.java
(right):
http://gwt-code-reviews.appspot.com/73802/diff/1/2#newcode64
Line 64: return false;
Should we log a bug on FireFox requesting an exception be thrown?
LGTM
http://gwt-code-reviews.appspot.com/73802/diff/1/2
File user/test/com/google/gwt/http/client/RequestBuilderTest.java
(right):
http://gwt-code-reviews.appspot.com/73802/diff/1/2#newcode64
Line 64: return false;
Should we log a bug on FireFox requesting an exception be thrown?
You can read through this doc for details:
https://developer.mozilla.org/En/HTTP_access_control
Essentially, if an XHR response includes the following header, the cross
site request is allowed:
Access-Control-Allow-Origin: *
If the XHR response includes the following header instead, the request
Revision: 6249
Author: jlaba...@google.com
Date: Tue Sep 29 12:15:40 2009
Log: Fixing a failing test because FF3.5 allows cross-site XHR requests.
Patch by: jlabanca
Review by: rjrjr
http://code.google.com/p/google-web-toolkit/source/detail?r=6249
Modified:
Reviewers: Ray Ryan,
Message:
Review requested.
Description:
This patch adds a convenience method to CssResource to ensure that the
contents of the CssResource have been injected into the DOM. The method
behaves as a one-shot; subsequent calls will have no effect.
Please review this at
LGTM
Joel, you'll want to use this in your samples. Tidy tidy tidy.
http://gwt-code-reviews.appspot.com/72804/diff/1/3
File user/src/com/google/gwt/resources/client/CssResource.java (right):
http://gwt-code-reviews.appspot.com/72804/diff/1/3#newcode295
Line 295: boolean ensureInjected();
The
Revision: 6250
Author: j...@google.com
Date: Tue Sep 29 13:48:12 2009
Log: Fix lack of propagating numClients back to JUnitShell when the
RunStyles
process their arguments.
Patch by: jat
Review by: fabbott (desk)
http://code.google.com/p/google-web-toolkit/source/detail?r=6250
Modified:
Revision: 6252
Author: b...@google.com
Date: Tue Sep 29 13:58:28 2009
Log: Add CssResource.ensureInjected().
Patch by: bobv
Review by: rjrjr
http://code.google.com/p/google-web-toolkit/source/detail?r=6252
Added:
/trunk/user/test/com/google/gwt/resources/client/empty.css
Modified:
Revision: 6253
Author: rj...@google.com
Date: Tue Sep 29 15:03:56 2009
Log: Merge through tr...@6239
http://code.google.com/p/google-web-toolkit/source/detail?r=6253
Modified:
/branches/farewellSwt
/branches/farewellSwt/branch-info.txt
Revision: 6254
Author: sco...@google.com
Date: Tue Sep 29 15:51:30 2009
Log: Setting svn:executable on IE plugins.
Review by: jat (desk)
http://code.google.com/p/google-web-toolkit/source/detail?r=6254
Modified:
/branches/farewellSwt/plugins/ie/prebuilt/oophm.dll
Revision: 6255
Author: sco...@google.com
Date: Tue Sep 29 16:00:43 2009
Log: Fix IE-plugin build on other build configs; was missing include
directories.
Review by: jat (desk)
http://code.google.com/p/google-web-toolkit/source/detail?r=6255
Modified:
Reviewers: fabbott,
Message:
Freeland, could you take this? They tests bits of UiBinder's JRE code.
The tests themselves have already been reviewed, what's new is how
they're stitched into the GWT build. I had trouble introducing them
before due to weak ant fu, I think.
In fact, my ant fu is
Revision: 6257
Author: rj...@google.com
Date: Tue Sep 29 18:36:34 2009
Log: Merge through tr...@6249
http://code.google.com/p/google-web-toolkit/source/detail?r=6257
Modified:
/branches/farewellSwt
/branches/farewellSwt/branch-info.txt
94 matches
Mail list logo