Hello
I write because I found that if you use a image as a button in GWT,
and we associate a MouseListener, if you use the function onMouseDown,
like a click, in IE 7, the application will not be able to click on
any button browser, or use the scroll bar of it (not the browser
application) or anyt
No GWT magic here - just POJ:
if(!tbEmail.getText().matches("[a-z0-9!#$%&'*+/=?^_`{|}~-]+...bla bla
bla...")) {
Window.alert("Invalid email");
}
On 17 Nov., 20:06, omsrobert <[EMAIL PROTECTED]> wrote:
> How do you use regular expressions in GWT? Can someone post a small
> code sample? I'm l
iam Using Internet Explorer 6.
is there any thing with this one.
thank u
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegro
First Thanks For The Response Ian,
i am working on Gwt 1.5.3 and Gxt 1.1.2. i developed my application .
but when i tried to view the application in the hosted mode . it is
not going to display it. iam going to click refresh button multiple
times[may be 8 to 10 times].then i am going to load t
HI,
Wonderful project and that too with Apache License. Thanks for Luciano
Broussal.
Regards,
Allahbaksh Asadullah
http://allahbaksh.blogspot.com
On Nov 14, 1:08 pm, Jason Morris <[EMAIL PROTECTED]> wrote:
> I would say take a look at the GWT Mosaic project:
>
> http://code.google.com/p/gwt-mosai
Hi,
I have a problem in reading upload XML file from UI using fileupload
widget. I implement the XML parsing in FormPanel onSubmitComplete
method but it didn't find the file. How can I read an xml file coming
from user and upload in public folder then parse the content? So far
this is all I got.
I am using GWT 1.5 and want to manage history. Whenever I call
History.newItem(token), Mozilla displays the window title in history
list But Internet Explorer shows
http://localhost:/com.TestEntry/8DF40326B05334ADE3B6DCA8E9DD3DA2
in the list i.e. URL of my page instead of showing window titl
Sorry mon3y, this reply is for Rehek.michal
On Tue, Nov 18, 2008 at 9:48 AM, Manik Chand <[EMAIL PROTECTED]> wrote:
> Hi mon3y,
> try to open in Firefox and write us the differences you notice.
>
>
> On Tue, Nov 18, 2008 at 7:25 AM, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]> wrote:
>
>>
>> Sorry t
Hi mon3y,
try to open in Firefox and write us the differences you notice.
On Tue, Nov 18, 2008 at 7:25 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Sorry there is a typo in example, instead of
>
> Image img2 = new Image("icons/img2.png");
>
> it should be the same url as for img:
>
> Im
Come On Jagadesh, Give Us A Clue As To What You Are Doing (Apart From
Clicking Refresh)
Ian
2008/11/18 jagadesh <[EMAIL PROTECTED]>
>
> Come On Guys, No Solution
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Goog
On Mon, Nov 17, 2008 at 11:15 AM, Axel <[EMAIL PROTECTED]> wrote:
> Here's the code that seems to be doing the serialization of a byte[]
> object, from
> com.google.gwt.user.client.rpc.core.java.lang.Byte_CustomFieldSerializer:
>
> public static void serialize(SerializationStreamWriter streamWrit
Come On Guys, No Solution
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send em
That's a "Windows" way of looking at things. Check the link I gave,
and there are others both on this group and around the net, that
explain better than I can why you should maybe reconsider that idea.
On Nov 18, 1:51 am, mives29 <[EMAIL PROTECTED]> wrote:
> Well, the reason for the two entrypoi
I am building an app with a GWT Javascript UI and a Python App Engine
back end. I setup 2 projects in Eclipse. The App Engine project uses a
linked resource folder from the GWT project to access the compiled GWT
UI. The problem: I need to use path = os.path.join(os.path.dirname
(__file__), 'GWT fi
Sorry there is a typo in example, instead of
Image img2 = new Image("icons/img2.png");
it should be the same url as for img:
Image img2 = new Image("icons/img.png");
corrected whole example:
FlexTable table = new FlexTable();
Image img = new Image("icons/img.png")
Well, the reason for the two entrypoints is that me and my colleagues
are looking for a way to implement a sort of "pop-up" dialog box, but,
something that resides on a separate window, so it wouldn't overlay
with the main page. (so the user can alt+tab between the two
windows).
If there's anoth
Hi Axel,
I understand your frustration not being able to return a Route object
from a file upload servlet, but I cannot see why, having just slogged
through downloading a 1MB binary, you want to struggle through orders
of magnitude greater slog trying to upload it again to the client from
whence
I'd like to add some of my own logic to the nocache file in order to
implement a custom localization scheme. I'm aware of the kinds of
things you can do with generators and linkers, but it's not clear to
me if there is some simple way to customize the existing logic vs.
writing and maintaining my
My OSX (10.5.1) system suddenly stopped working at all with GWT.
Downloading a fresh install and running any of the samples (e.g., Mail-
shell) brings up the GWTShell and then WebKit browser, but the browser
simply displays http://localhost: (not the URL for the Mail
app).
I can run with -log
Thanks so much, I have finally solved my problem
On Mon, Nov 17, 2008 at 4:23 AM, eggsy84 <[EMAIL PROTECTED]> wrote:
>
> I've never done any GWT-Ext programming but as its a build upon GWT.
>
> To perform the items at runtime surely you can simply do:
>
> button.addClickListener(new ClickListener
Hi @all,
I am trying to set up the DynaTable Example in a Dynamic Web Project
using Eclipse WTP and Cypal Studio.
The GWT complier output goes directly to the WebContent directory.
Everyting looks fine in Eclipse, no errors etc.
But when I call the dynatable.html in the Browser I get a GWT popup
I interpreted "available in trunk" to mean that it's a separate
version of the compiler in the trunk. Has it replaced the single-
threaded compiler and can just be built and used as usual?
Alex
On Nov 12, 2:20 pm, eric <[EMAIL PROTECTED]> wrote:
> get it : "The new multi-threaded compiler is a
Here's the code that seems to be doing the serialization of a byte[]
object, from
com.google.gwt.user.client.rpc.core.java.lang.Byte_CustomFieldSerializer:
public static void serialize(SerializationStreamWriter streamWriter,
Byte instance) throws SerializationException {
streamWriter.
How do you use regular expressions in GWT? Can someone post a small
code sample? I'm looking to validate an e-mail address against a RFC.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
On Mon, Nov 17, 2008 at 6:16 AM, rajasekhar <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> how to get the Context Path in gwt.I placed a XML in server
> folder,to read the file I need to get the path.Please let me know how
> to get the path and read file from server folder.
http://tomcat.ap
Hey Isaac,
Thanks for that information. Based on that let me know what I have
below is correct
public class TestTableModel extends TableModel
{
// code to initialize the RPC service - possibly in a constructor?
public void onRequest()
{
// code to use the use the service and make a ca
Cookies.removeCookie("userId") doesn't work here too. I use expire time to
remove it, it works.
> int COOKIE_TIMEOUT = 0;
>
Date removeExpire = new Date((new Date()).getTime() + COOKIE_TIMEOUT);
>// //remove the cookie, works.
Cookies.setCookie("cookieName",null, removeExpire);
>
Goo
I finally managed to get rid of the cookie: I had set it to expire in
14 days, so I set the system time 30 days in the future and it finally
worked.
Still there's gotta be a way of getting rid of unwanted cookies in
hosted mode, is this a bug? (or maybe a feature ;-))
--~--~-~--~~
Hi
I have recently upgraded my application from GWT 1.4.60 to GWT 1.5.3.
After the upgrade the I am not able to run my application in the
hosted mode.
It simply throws 404 NOT FOUND error.
GWT does throw a lot of messages, When "ALL" messages are enabled.
But, the messages themselves don't pro
Hi All,
how to get the Context Path in gwt.I placed a XML in server
folder,to read the file I need to get the path.Please let me know how
to get the path and read file from server folder.
Regards,
Rajasekhar
--~--~-~--~~~---~--~~
You received this mes
Hi,
I can't get rid of cookies in hosted mode. I wrote a "userId" cookie
using:
Cookies.setCookie("userId", userId);
and now I can't remove it.
I tried the following:
- Cookies.removeCookie("userId");
- restarting the hosted mode
- Eclipse -> Project -> Clean...
- restarting Eclipse
- removin
Hi all
We've deployed a fairly meaty GWT app to about 500 users and for the
vast majority it works a treat. Unfortunately some of our users (~1%)
are having problems. It appears that for a minority of users, who are
all using IE6 (and we think are operating behind rather flaky
proxies), they ge
Hey Guys,
I'm having some trouble with my GWT project. I'm getting some weird
errors and I think it's related to either my project setup, my gwt.xml
files or something of that nature. I'm running in hosted mode with the
embedded Tomcat.
Basically, I'm getting a couple of weird errors. First off,
Thanks guys, this is where I'm confused - I'm creating a 3rd party js
object, which internally creates the DOMParser:
private native void test() /*-{
// inside the 'constructor' of 'thirdPartyObject' is where
"new DOMParser" gets called.
var x = new $wnd.thirdPartyObject();
On Mon, Nov 17, 2008 at 10:55 AM, David Durham, Jr.
<[EMAIL PROTECTED]> wrote:
> Hi all, I'm trying to setup log4j with GWT in hosted mode, and it
> looks like GWT will set the system property
>
> org.apache.commons.logging.Log
>
> to something like:
>
> com.google.gwt.dev.shell.tomcat.CommonsLo
once you step into JSNI, you are in the javascript world, accessing
java objects is a bit more complicated than in non-JSNI methods.
http://code.google.com/docreader/#p=google-web-toolkit-
doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideJavaFromJavaScript
-jason
On Nov 17, 2008, at 9:29 AM, ma
for our application i had tried gwt-ext first bcuz of the licensing
issues and the maturity, at that point gwtext was running 2.0.1 and
gxt was getting it's 1.0 release. so lot's of api's and
functionalities were missing in gxt compared to gxt.
but sooner than later i found out it was really thor
Hi all, I'm trying to setup log4j with GWT in hosted mode, and it
looks like GWT will set the system property
org.apache.commons.logging.Log
to something like:
com.google.gwt.dev.shell.tomcat.CommonsLoggerAdapter
I did a search through the GWT code for "commons":
http://tinyurl.com/5wcgz
All included js are accessible through the $wnd pointer on hosting page.
You should try something like (I don't know if it is js correct ).
private native void test() /*-{
var x = new $wnd.DOMParser();
}-*/;
On Mon, Nov 17, 2008 at 5:29 PM, markww <[EMAIL PROTECTED]> wrote:
>
> H
Hi,
I'm wrapping some native javascript code which calls:
var x = new DOMParser();
This call results in an exception being thrown, stating that DOMParser
cannot be found. I'm testing it like:
private native void test() /*-{
var x = new DOMParser();
}-*/;
I don't know much
Hi all...
When I press any key (i.e: Alt) with my Tree selected, it refreshs! Is it
normal?!
--~--~-~--~~~---~--~~
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-
I know that the example builds a string containing html and opens the
html with excel. But in the jsp app of my collegue it looks okay.
Your approach seems to point me into the right direction. I'm using
gwt-ext and the data which I want to export to Excel is already
available in the frontend. Tha
The stachtrace looks like this:
javax.servlet.ServletException: Content-Length must be specified
at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8
(RPCServletUtils.java:131)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.readContent
(RemoteServiceServlet.j
Suri,
PagingScrollTable gets data from a TableModel using a Request/Callback
mechanism similar to RPC. The simplest way to get that data from the
server would be to implement TableModel and have onRequest() invoke an
RPC service. The RPC AsyncCallback's onSuccess() would call the table
Callback's
woody schrieb:
> The stachtrace looks like this:
> javax.servlet.ServletException: Content-Length must be specified
> at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8
> (RPCServletUtils.java:131)
> at com.google.gwt.user.server.rpc.RemoteServiceServlet.readContent
>
The stachtrace looks like this:
javax.servlet.ServletException: Content-Length must be specified
at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8
(RPCServletUtils.java:131)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.readContent
(RemoteServiceServlet.j
The stachtrace looks like this:
javax.servlet.ServletException: Content-Length must be specified
at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8
(RPCServletUtils.java:131)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.readContent
(RemoteServiceServlet.j
Hi Isaac,
I understand quite a bit of the code now and how to use it. I set up a
simple example that uses the ScrollTableDemo like code initially to
understand what's going on. However, there is one aspect I'm not able
to understand clearly. Could you possibly help me understand how the
Data is re
Turns out it was just not catching NullPoiterException. probably
related to the difference between null and undefined
On Oct 28, 5:20 pm, Ravi M <[EMAIL PROTECTED]> wrote:
> Stephen
>
> I _think_ Lothar's point is that MyException needs to extend
> com.google.gwt.user.client.rpc.SerializableExcep
On 14 nov, 15:34, jake H <[EMAIL PROTECTED]> wrote:
> Hello ,
> I m trying to implement Rest 'commands' , like PUT or DELETE with
> RequestBuilder.
s/implements Rest 'commands'/use HTTP methods/
> As much as i read, i saw that we can avoid them by using POST and
> modifying the header.
You'd f
I have been working on a GWT project with Netbeans and the client side
debugging in hosted mode has stopped working. I created a test
helloworld project from scratch and the debugging works fine there. I
am using gwt4nb and I created another test project, copied over all my
sources but used all ne
If you have time, please prepare a bug report. Regardless of the real-
world use case, this should be addressed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, sen
Hi
I don't quiet understand the problem.
FlexTable table = new FlexTable();
Image img = new Image("icons/img.png");
table.setWidget(0, 0, img);
Image img2 = new Image("icons/img2.png");
table.setWidget(0, 0, img2);
should it not be :
Flex
woody schrieb:
>
> I always got a Internatl Server Error 500 when calling the servlet.
> Does anybody has an idea.
The Logfile should contain more than this (e.g. a stacktrace)
to let you track down the specific problem.
Regards, Lothar
--~--~-~--~~~---~--~~
Yo
Hi All,
So I just reworked adligo.com to use all mostly gwt (did some basic
animation). One thing I got caught on for a bit was the browser
scroll bar was disabled when the content was longer than the browser
window. The fix ended up being;
rootPanel = RootPanel.get();
rootPanel.setStyleNam
how did you know i was a sir?
Code snippet from your client and server side would be nice, so we can
try and see where you are going wrong, :)
mon3y
On Nov 17, 8:14 am, avd <[EMAIL PROTECTED]> wrote:
> dear sir,
> i want to know that how server can get images that are exists at
> client side.Be
Hi Jake
My RESTRequestCallback is just a wrapper for now. Here is the code:
import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.Response;
public interface RESTRequestCallback {
void restRequestCallback(int status, String body);
}
This may need to change in the futur
Hi,
I don't know if it is possible, but I'm trying to make a call to a
HttpServlet from a GWT app. The response should force the browser to
open excel with the returned data. In one of our jsp apps we are doing
something like this:
private void openResponse(HttpServletResponse res, boolean expor
this is a good post about opening windows in various ways and their
implications:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/1bbdece5faa96018/0a2585172e66a671?lnk=gst&q=open+separate+window#0a2585172e66a671
On Nov 17, 11:54 am, gregor <[EMAIL PROTECTED]> wrote:
> Cl
Clearly if a module is using a class declared in another module it
must explicitly inherit the other module in it's module.get.xml file
otherwise the GWT compiler won't have access to the class's source
which it needs. Frankly I'm not sure how this would work in the
situation as you describe sinc
ty a lot !!
One question about doDelete.
What am i supposed to write for 'RESTRequestCallback restCallback'
private class RESTRequestCallback implements RequestCallback {
public void onError(Request request, Throwable exception) {
}
public void onResponseReceived(Request reques
Thanks for pointing me to the Netbeans option. Nevertheless, must say
that it's so similar to the one for Eclipse, that even does not allow
visual web development.
Although not for free, I think I should take a look at GWT Designer.
Anyway, I'll keep an eye on these other plugins...
Thanks very
The problem is im using two entrypoints, running on two windows, where
the 2nd composite is shown thru Window.open(). I need the first
entrypoint's composite to listen to the second entrypoint's composite,
but I cant do that since the second entrypoint's composite is
instantiated on the second com
I've never done any GWT-Ext programming but as its a build upon GWT.
To perform the items at runtime surely you can simply do:
button.addClickListener(new ClickListener()
{
public void onClick(Widget sender)
{
String message = myTextField.getText();
// Do something?
}
> That's a good guess, but you have to remember one thing: Javascript's
> only number type is equivalent to Java's double. It's been a while
> since I've looked at the RPC internals, so things may have changed,
> but it has been true that a byte[] would be converted into the
> equivalent of a dou
We are moving an existing project to GWT and the project has a lot of
sub-projects (JAR's) that use these classes. If I change the package
to be unique, I will have to change lots of classes that were using
classes in Keys.jar !!!
On 14 nov, 14:13, gregor <[EMAIL PROTECTED]> wrote:
> Hi Pepgrifel
I tested it on same module, this implementation of the observer
pattern works. however, when using this on two modules it doesn't. Do
I need to do deferred binding here? I hope not coz I dont know how to.
=)
On Nov 17, 1:29 pm, mives29 <[EMAIL PROTECTED]> wrote:
> oops CnP mistake. on this line:
67 matches
Mail list logo