It doesn't work at Tomcat either, but I don't know if the problems are
related. This is what I did regarding Tomcat:
* I put the file mysql-connector-java-5.1.15-bin.jar in Tomcat's
lib/ folder;
* I edited the file conf/context.xml to declare a resource:
Context
We hacked GWT compiling/linking process and RPC serialization so that
it is possible to write workers in Java and have DTOs only in Java.
http://code.google.com/p/gj-workers/
We believe that this code actually belongs to GWT-gears library and we
would really like to see this code merged there.
Hi Ben David,
Thanks alot for the suggetions:)
It worked:)
Do we have any option of getting it worked in debug mode also. without
deploying it on server?
On Mar 15, 11:49 pm, David Chandler drfibona...@google.com wrote:
Hi BhaskerT, welcome to GWT.
Ben is correct. GWT development mode
Hi everyone.
Please look at the below simple UiBinder using a constant:
ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g=urn:import:com.google.gwt.user.client.ui
ui:with field='cons' type='com.example.gwtpuibinder.client.MyCons'/
g:HTMLPanel
Hi All,
addSymbolButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
// How to call a javascript function, e.g. buttonClick(),
here?
}
});
and how to call an existing javascript function after GWT finishes
everything on a page? Let me
Hi,
You need a Java application server like Tomcat (or Jetty or Glassfish, etc.)
to run Java. Apache (httpd) alone can't run your java code.
Best,
Alex
On Thu, Mar 17, 2011 at 9:38 AM, dg damaya...@bitscrape.com wrote:
I have developed a GWT application which connects to a MySQL database
It's easy for the 1st question:
addSymbolButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
test();
}
});
private native void test() /*-{
$wnd.testFunction();
}-*/;
where testFunction is the existing javascript function.
I
Thanks for the reply. If my web hosting service does not provide Java
application server like TomCat, should I be able to install one in the
subdomain in the web hosting site or should the web hosting service
owners do it?
On Mar 17, 3:38 pm, Alex Nederlof a...@nederlof.com wrote:
Hi,
You need
on your EntryPoint:
public void onModuleLoad() {
..
test();
}
private native void test() /*-{
$wnd.testFunction();
}-*/;
or if you want extra time defer it
Scheduler.get().scheduleDeferred(new Command() {
public void execute() {
test();
Hi,
I'm using GWT 2.1.1 and in my app there is a RequestBuilder/POST to a
different url respect to the client (basically client in dev mode
against 8080 localhost server). The POST fails cos of the XSS from
Firefox.
I followed suggestions here:
But if i have two seperate modules each client will get a different
sessionId from the server (rpc-call), because the servers interprets
each module as a single client!?
On 16 Mrz., 20:00, Johannes Stein johannes.st...@googlemail.com
wrote:
No ideas?
On 16 Mrz., 18:58, Johannes Stein
OK, the problem with Tomcat was solved when I deleted mysql-connector-
java-5.1.15-bin.jar from WEB-INF/lib under webapps. It probably should
be only in the Tomcat lib. Very strange, as it means I cannot just
copy my project and paste it into webapps.
On 17 מרץ, 09:42, Erel Segal
Try this:
1) Verify if you put the mysql-connector-java-5.1.15-bin.jar in correct
place. See http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html.
2) What version of mysql you use? Is the driver for this version? If yes
perhaps the jar is corrupt. Try download it again
3) Delete
It depends how session management is done on the client. If you use cookies
to store the session id it should make no difference as long as you
communicate with the same domain (Cookies are domain specific).
If you open gmail in two tabs in your browser you won't have to authenticate
twice
Is this possible using the editors as well?
When you flush the driver you get a RequestContext whose fire() only accepts
a ReceiverVoid.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Hi everyone,
I am building a typical business application that manipulates database
tables. Most screens of the application manage one datatype with two
different views:
- a master view that shows all records of a give type as rows in a table
- a detail view that shows all fields for a given
The core of GWT Designer is an Eclipse open source project called
WindowBuilder. Source for WindowBuilder is available at Eclipse.org,
if you want to look at any of the extension points in detail.
You should also look at the following two PDF files in the docs...
Dear Dg,
AFAIK, GWT Maps API now work only with GWT 2.1, not 2.2, since some abstract
classes now changed to interfaces.
However, if you want GWT 2.2, you can:
- Re-compile the GWT Maps API from source code:
http://code.google.com/p/gwt-google-apis/wiki/GettingStartedSource
- Rewrite bytecode
I think, first, you need to deploy your app to the web container (maybe
Tomcat, Jetty, ...) on the hosting server, double check the database
parameter (url, port, database name, user, password).
Then, check the permission of the user on MySQL database.
If any error, please show the stack trace /
Hello,
I want to use Ant 1.7.1 on the server side for some zip tasks.
However, if I start the application from within eclipse using the
development mode, there is a conflict between the ant library included
within the gwt-dev.jar (as it includes ant 1.8.2) and ant 1.7.1 I want
to use.
If I
It sound you need a SocketPermission. Try this:
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/appA.html#SocketPermission
Regards,
KhanhDM.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
Hi all,
Is it possible in GWT to set Menu Item text in two different
alignments,what I mean to say is I want my menu item's label to be
left justified and its accelerator key to be right justified.
i.e,
Create Alt+Ctrl+C
Edit Shift+E
Optimize Ctrl+O
I think there are two options:
- Use Tree instead of MenuBar, or
- Extends the MenuBar then make it expand when init
Hope this help,
KhanhDM.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Cookies are fine, but what happens if cookies are disabled?
Then two sessions will be created by the server, or not?
On 17 Mrz., 12:40, Uemit uemit.se...@gmail.com wrote:
It depends how session management is done on the client. If you use cookies
to store the session id it should make no
(this is my last attempt to get a message through the moderators - my
last 2 question seem to be ignored)
at the moment i am working on my first gwt application (after going
through the (great) stockwatcher tutorial). I am facing problem on
getting server side services to work. on starting my app
You said:
The Implementation uses a jar ...
Does that jar file contain only .class files? GWT needs the .java
files so it can wave a magic wand over them and translate them to
JavaScript.
On Mar 17, 8:03 am, tanteanni tantea...@hotmail.com wrote:
(this is my last attempt to get a message
Maybe problem at GWZmenu.java:39
Could you post this code here?
--
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 email to
Looks like the Java source for AgsService is not available, but it should be
available by default since it's under the client package. However, if you've
put a source path in your gwt.xml to make another package hierarchy
available to the GWT compiler, you have to explicitly include client , as
basically what I have done is adding:
gwt-dev.jar in the client classpath, and adding at the file web.xml:
servlet
servlet-nameJettyProxy/servlet-name
servlet-classorg.mortbay.servlet.ProxyServlet$Transparent/
servlet-class
init-param
!-- This points to the actual server where
I did 3 and it worked.
But I still wonder, do I really have to manually delete this jar
whenever I upload my application to Tomcat? Or is there a better way?
On 17 מרץ, 13:35, Juan Pablo Gardella gardellajuanpa...@gmail.com
wrote:
Try this:
1) Verify if you put the
I feel a bit sheepish about it.But the Failure was much simpler then
you all could imagine (obviously):
simply i missed extends RemoteService !
but now it seems i got a real problem: the 3rd party class the server
side uses jpa2 as mentioned before. and its code now throws no
persistence unit
I feel a bit sheepish about it.But the Failure was much simpler then
you all could imagine (obviously):
simply i missed extends RemoteService !
but now it seems i got a real problem: the 3rd party class the server
side uses jpa2 as mentioned before. and its code now throws no
persistence unit
I've got a gwt project that accesses a Spring server back end. The
project was initially created using the gwt-maven-plugin maven
archetype. Every time I change a back end Spring service class, my
eclipse project doesn't pick up the changes unless I invoke Eclipse/
Project/clean on my project.
Hi,
doesn't anybody encounter the same problem ?
I don't know if I misuse the framework or if there's a bug in the
CellTree composite.
Thank you for all help you can give me.
On 11 mar, 11:41, rujan rudy.jan...@gmail.com wrote:
I found another problem which finally seems to have the same cause
I'm trying to use ClientBundle and I'm getting the following two
errors in Eclipse with the following class.
What am I doing wrong?
Thanks,
David
Syntax error, insert enum Identifier to complete EnumHeaderName
ImageResources.java FormsUI_v2/src/com/dve/client/imagebundle line 9
Java
Got it,
1. delete the semicolon at the end of @Source
2. make sure image is on classpath
Thanks,
On Mar 17, 1:10 pm, David E. dve1...@gmail.com wrote:
I'm trying to use ClientBundle and I'm getting the following two
errors in Eclipse with the following class.
What am I doing wrong?
Let's assume I need to paste some piece of html in my page: e.g.
div
Hello, MAX
/div
Where MAX is a parameter.
If I would do that in the code I would make the next function:
public String getHtmlTemplate(String parameter){
return div
Hello, + parameter +
/div
}
But If I would
Hi,
doesn't anybody encounter the same problem ?
I don't know if I misuse the framework or if there's a bug in the
CellTree composite.
Thank you for all help you can give me.
On 11 mar, 11:41, rujan rudy.jan...@gmail.com wrote:
I found another problem which finally seems to have the same cause
Are you open your project after run mvn eclipse:eclipse? Probably your
pom.xml is bad configurate. I use this plugin and work well with eclipse
2011/3/17 cri chuck.irvine...@gmail.com
I've got a gwt project that accesses a Spring server back end. The
project was initially created using the
Hello everyone,
I was wondering if there is the possibility to apply a filter on a
celltable or celllist.
If so, could you tell me how?
Txh,
Marco
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
On 17 March 2011 17:20, ss.require ss.requ...@gmail.com wrote:
Let's assume I need to paste some piece of html in my page: e.g.
div
Hello, MAX
/div
Where MAX is a parameter.
If I would do that in the code I would make the next function:
public String getHtmlTemplate(String parameter){
UiBinder is not a templating tool, it's a UI building tool. If you want
templating, use Messages or SafeHtmlTemplates.
In the case of your Hello MAX, assuming its part of a bigger UiBinder
template, I'd rather put the ui:field on the div and use setInnerHtml or
setInnerText on it, building the
UiBinder is not a templating tool, it's a UI building tool.
templating, use Messages or SafeHtmlTemplates.
I understand that clearly. In other words, Why does GWT not provide a
templating tool.? For example, like JSP. In general, a templating tool
is much more clever and simple solution than UI
On Thursday, March 17, 2011 7:51:47 PM UTC+1, ss.require wrote:
UiBinder is not a templating tool, it's a UI building tool.
templating, use Messages or SafeHtmlTemplates.
I understand that clearly. In other words, Why does GWT not provide a
templating tool.?
I don't have the answer,
Ok. So I'm trying to create login page for my Application from this
article http://checkappointments.com/gwt/
All is good until I click login button.
I get this error:
Error 404 html head meta http-equiv=Content-Type content=text/
html; charset=ISO-8859-1/ titleError 404 NOT_FOUND/title /head
Check that the URL in your @RemoteServiceRelativePath annotation
(ria2/calendar) matches the URL you've mapped in web.xml
(/riaca2/calendar).
/dmc
On Thu, Mar 17, 2011 at 11:28 AM, but43r gvug...@gmail.com wrote:
Ok. So I'm trying to create login page for my Application from this
article
See: Problem accessing /ria2/calendar.
And in your web.xml have this:/riaca2/calendar
Juan
2011/3/17 but43r gvug...@gmail.com
Ok. So I'm trying to create login page for my Application from this
article http://checkappointments.com/gwt/
All is good until I click login button.
I get this
I use maven. So I put this jar as scope provided that meaning that this jar
is provided for the environment where I put the WAR.
Now, you doesn't need the jar to compile because you use it at runtime, so
you can compile your application without the jar in your classpath. Then
delete this jar in
Put the persistence.xml in your source in the correct place.
Juan
2011/3/17 tanteanni tantea...@hotmail.com
I feel a bit sheepish about it.But the Failure was much simpler then
you all could imagine (obviously):
simply i missed extends RemoteService !
but now it seems i got a real
I'd like to change the default css for CellTable in my entire
application. I have a subtype defined like so:
public interface MyCellTableResources extends CellTable.Resources {
interface CellTableStyle extends CellTable.Style {}
@Source({celltable.css, CellTable.Style.DEFAULT_CSS})
Hi all,
I am working on a project, in which RPC based services are implemented
using GWT.
This project is to be deployed on GAE.
The first module contains UI for login.
After a successful login, a session id is created and send back to
this module (login module).
Immediately after this, I
I used the # 3 :
- arrow.getElement().getStyle().setTop(y, Style.Unit.PCT);
Thank you for your help
--
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
We have used EntityLocator and ServiceLocator with our Application's
RequestFactory. Now that we want to unit test the implementation, What is
the best way to unit test ?
I have looked at RequestFactoryMagic which creates InProcessRequestFactory
but not quiet sure how that applies to a
Hi there,
We are developing an application which neds to do some heavy
calculations on the client side.
We are using the Java double type, standard arithmetic operations,
plus sqrt and power from math.
When I run the app on dev mode, the code runs OK, but when I actually
deploy it, the time
Why do you have to do it on the client side? why not just do all of your
processing on the server side and send the client the results. Not every
client is going to have a machine that can do heavy calculations and they
might actually be using IE
On Thu, Mar 17, 2011 at 9:04 PM, csillag
On márc. 18, 02:25, joe kolba joekolb...@gmail.com wrote:
Why do you have to do it on the client side? why not just do all of your
processing on the server side and send the client the results.
Because I do not want to kill the server; the clients can take care of
themselves.
Not every client
No. SessionId is create.
2011/3/17 Johannes Stein johannes.st...@googlemail.com
Cookies are fine, but what happens if cookies are disabled?
Then two sessions will be created by the server, or not?
On 17 Mrz., 12:40, Uemit uemit.se...@gmail.com wrote:
It depends how session management is
On Mar 17, 4:13 pm, maximus mohitchilk...@gmail.com wrote:
Hi all,
Is it possible in GWT to set Menu Item text in two different
alignments,what I mean to say is I want my menu item's label to be
left justified and its accelerator key to be right justified.
i.e,
Create
In our application we have implemented the following
1. User security by extending the RequestFactoryServlet and *overriding
the doPost* method for validating the user session.
2. If the user is logged in the request is proceeded further
3. If the user is not logged in Error is
Comment by kujans...@googlemail.com:
for every one who cares
http://code.google.com/p/google-web-toolkit/issues/detail?id=2806#c11
Comment 11 by project member j...@google.com, Jan 12, 2011
The subject of this issue has drifted somewhat, but work derived from
RpcAuth has been committed
http://gwt-code-reviews.appspot.com/1382801/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1382801/diff/5008/dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java
File dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java
(right):
Reviewers: jlabanca,
Description:
non fatal js exception escapes in IE9 devmode.
http://code.google.com/p/google-web-toolkit/issues/detail?id=6135
Please review this at http://gwt-code-reviews.appspot.com/1387802/
Affected files:
M user/src/com/google/gwt/core/client/impl/Impl.java
M
LGTM - but I'm curious why we need to declare a variable to point to the
function that we immediately use.
http://gwt-code-reviews.appspot.com/1387802/diff/1/user/src/com/google/gwt/user/client/impl/DOMImplStandard.java
File user/src/com/google/gwt/user/client/impl/DOMImplStandard.java
(right):
http://gwt-code-reviews.appspot.com/1387802/diff/1/user/src/com/google/gwt/user/client/impl/DOMImplStandard.java
File user/src/com/google/gwt/user/client/impl/DOMImplStandard.java
(right):
http://gwt-code-reviews.appspot.com/1382801/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1382801/diff/5008/dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java
File dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java
(right):
http://gwt-code-reviews.appspot.com/1382801/diff/5008/dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java
File dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java
(right):
http://gwt-code-reviews.appspot.com/1382801/diff/5008/dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java
File dev/core/src/com/google/gwt/dev/resource/impl/DefaultFilters.java
(right):
Reviewers: conroy, jat, fabiomfv,
Description:
Devmode support for Firefox = 4b12.
Mozilla commit
http://hg.mozilla.org/releases/mozilla-2.0/rev/4b56bfdf61a7
changed the JSAPI property setter method signature. This adds devmode
support for the updated API.
Please review this at
On 2011/03/17 20:25:36, fmalita wrote:
LGTM++
http://gwt-code-reviews.appspot.com/1383803/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 9861
Author: fabio...@google.com
Date: Thu Mar 17 12:28:03 2011
Log: non fatal js exception escapes in IE9 devmode.
http://code.google.com/p/google-web-toolkit/issues/detail?id=6135
Review at http://gwt-code-reviews.appspot.com/1387802
Review by: jlaba...@google.com
72 matches
Mail list logo