Generics are probably not an issue in this case.
Can you post full source code of your GetContactRequest class ?
And ... what is GetContactResponse ? Maybe the problem is in that
class.
Peter
On Mar 2, 8:32 pm, Yaakov Chaikin wrote:
> No, it wasn't the same problem... I didn't notice that I didn
This is what i trid in GWT:
final FormPanel formPanel = new FormPanel();
RootPanel.get("openId").add(formPanel);
VerticalPanel openIdContainer = new VerticalPanel();
formPanel.add(openIdContainer);
TextBox url = new TextBox();
url.setText("https://w
I got it to work. I had to set the callback param and use
requestObject() with a type of JavaScriptObject instead of String.
--
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...@googlegro
I too have the same problem. There are other artifacts in the image, than
what really should be showing up. This is only with IE8. FF, Safari displays
corrrect images.
I have set the emulation to IE7 as described in some documents out there.
but it does not help.
Please folks help us.
Thanks,
Sub
I also tried
jsonp.setCallbackParam("jsoncallback");
but it's not working. Is there any documentation other than the
JavaDoc that shows how to use this?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email t
I need some help getting a simple JSONP example to work. I just want
to call a URL and parse the map that is returned. Need to (1) figure
out why my code below doesn't work and (2) how to parse the map
e.g.
I have a server (192.168.1.99) that has a script:
http://192.168.1.99/some_path/some_sc
hi,
i found when there is a "\n" string in the json string, after it is
parsed, there is no new line. but when there is "\\n", after parsing,
there is new line.
is that true, to escape a new line, "\\n" should be used? and why? thanks!
--
Best Regards
Wong Tseng
--
You received this message b
I mean that your dns and webserver has to be configured such that all the
subdomains get served appropriately. You could use url re-writing as part of
the solution for that, but it is only one approach of many. I suggest you
find a sysadmin and have him explain all the variety of applicable
approac
On Mar 3, 10:14 am, Brett Morgan wrote:
> That is pretty much outside of the realm of control of GWT, it's more a
> question of how you setup your DNS and your web server.
Do you refer to URL re-writing? Are you thinking that I could
translate http://david.mydomain.com/index.html into
http://mydo
I'm having a big problem.
I have a client bundle with some images that are in french and in english.
So I defined locals _en_CA and _fr_CA, but the thing is, everything is
working fine when I use debug and change de language, but when I deploy on
my server, my images doesn't follow my locales !
On Feb 10, 2:53 am, Rajeev Dayal wrote:
> Try upgrading your JDK and see if you still experience the problem.
Actually I found the problem. I was setting the breakpoint on the
method definition line, i.e.:
public void onSuccess(String result) {
Those breakpoints never hit. If I place breakpoi
On Wed, Mar 3, 2010 at 10:04 AM, David Pinn wrote:
> I'd like my application's sign-up process to give each new account its
> own sub-domain, through which users would subsequently access the
> application proper.
>
> The 37Signals (http://37signals.com) applications, for example, work
> that way
I'd like my application's sign-up process to give each new account its
own sub-domain, through which users would subsequently access the
application proper.
The 37Signals (http://37signals.com) applications, for example, work
that way. If I sign up for Basecamp, a new david.basecamphq.com sub-
dom
The project I'm on is trying to decide whether
to use the ideas in Ray Ryan's presentation.
I am arguing for it, but I'm running into some
difficulties.
1) His presentation has a class representing
contacts with a list of detail ids:
public class Contact implements Serializable {
String name;
Good day =)
I was looking for a way to truncate a String which is inside a Label,
but I haven't found any answer.
For example: My original String is "Accounts Receivable" and I want it
to appear something like "Accoun..."
Any input is appreciated.
Thank you.
--
You received this message becau
Hi, all!
I've been sucessfully working with GWT, writing applications using
NetBeans, and deploying in my localhost Apache Tomcat server.
Right now, I'm uploading the application (that is functional in my
localhost machine) to the Web App host server.
This host server is using Apache Tomcat with
On schedule for preview release of 1.3 this week?
I'm also anxiously awaiting a fix for this issue. We have a mature
very large code base and recently have started using GWT for our web
tier development.
We have new developers starting and Eclipse is exploding when
importing our projects trying t
Just wanted to give a heads up. This was driving me crazy for a while.
I was testing my web application in chrome with the AdBlock (Version:
1.3.27) extension enabled.
When its enabled, some of my events are getting blocked. I've got a
ChangeHandler and a ClickHandler which is supposed to swap ou
Hi all,
I've read all the posts about this subject and I understand what the
restrictions are on this subject, however I cannot seem the figure
this one out.
I use the following lines of code(snippets):
RootPanel ccWidget = RootPanel.get("cc_js_widget_container");
ccWidget.setvisible(false);
.
Hi,
I'm getting an error with firefox while running a GWT 2.0.2
application:
com.google.gwt.core.client.JavaScriptException: (TypeError):
$doc.body.attachEvent is not a function
fileName:
http://localhost:8080/-rc/com.xxx..rc.CONXEntryPoint/9D80E2C9DEC60BEE91A9EEA4A81CAFAE.cache.html
l
I noticed the problem I described above only occurs in development
mode. Thankfully null is still serializable in server mode with gwt
2.0.3 ;)
The problem with serializing uninitialized objects occurs with firefox
3.5.2 on suse 11.1 with developer plugin version 1.0.7511.
--
You received this
Every time I try to start the hosted mode, the browser (all browsers)
gives me a
Plugin failed to connect to hosted mode server at 127.0.0.1:9997
I googled for this problem and the solution given there was to replace
the 127.0.0.1 with localhost in the url. That doesn't work for me
either..
Plea
Several sections of the online documentation seem to be either out of
date. I've come across a few already after only a couple of days of
using GWT 2.x (after previously using 1.4 and 1.5). One such section
is
http://code.google.com/webtoolkit/doc/latest/DevGuideI18nLocale.html#LocaleDefault
which
Hi bellow is the html ,
greets
http://www.w3.org/TR/xhtml1/DTD/xhtml1.0-strict.dtd";>
PDM
2010/3/2 Fabiano
>
> P.s: I don't know about your issue. rp
I have just run into almost exact same problem. After doing a little
digging I discovered that the problem arises in the static method
RemoteServiceServlet.loadSerializationPolicy(...).
As an example in the setup you have you are performing the following
mapping:
http://www.example.com/somefile.h
Hi,
I want a language switcher in my GWT app.
So, I setup an Anchor and add it to RootPanel:
Anchor lnkRU=new Anchor();
lnkRU.setText("RU");
lnkRU.setHref("");
lnkRU.addClickHandler(new ClickHandler() { @Override public
void onClick(ClickEvent event) { changeLocale
hehe! I am obviously an idiot! ;)
thanks it works!
On Mar 1, 12:43 pm, olivier nouguier
wrote:
> Did you try:
> $wnd.functionFromAJsLibrary(...)
>
>
>
> On Mon, Mar 1, 2010 at 1:40 PM, nou wrote:
> > hello
>
> > let's say I have a native method like this
>
> > public static native void showBo
All,
This is in all likelihood a newb question, but I'm having trouble with
events on nested composites created using the uibinder.
The code and templates below produce the simple DOM structure shown
here. Neigher a UiHander nor adding click handers to the first anchor
receive click even
Hi all,
I am new to GWT.. I want to use GWT in an existing application without
much modifications. I came to know that we can control the JS output
generated by GWT Compiler. Basically, i want to access the GWT
generated controls from my own JS functions which are included in the
HTML page. And als
Hi,
We are trying to test the view of an MVP application, by running GWT-
Test. Our MVP application is composed of a Main project that refers to
another project.
We get a java.lang.RuntimeException: Remote test failed.
It is mentioned that the Exception is "Caused by:
java.lang.AssertionError: CSS
Hi,
I have to develop an application with GWT technology. I use UI Binder
to develop the view of the application. I work with eclipse IDE.
I want to apply my own style (image up and down) to every button of my
application. Here comes the problem, I can't succeed in doing that.
I try to display a F
Hi,
I am using GWT to create a front end to an existing servlet that
performs authentication form a ldap server or from a posgres db.
i have in jetty/webapps/SSISAJAX
jetty/webapps/SSISAJAXSERVER
SSISAJAX is the GWT application
SSISAJAXSERVER is just a servlet that implements the
Use
As I'm currently making a drag and drop commerce site for a schoool project,
I'm using 2.0GWT-DND
I'm almost completing but am now facing a very big problem.
As I want my cart and items to appear together, I'm facing a layout problem
that resorted me to doing this.
--> means added into that pare
On 26/02/2010, Alexander wrote:
> Hello everyone,
>
> I would like my GWT application to communicate with a Windows
> Application.
>
> on the presentation layer. It is no problem to start the Windows
> Application. Something that works using a special URL redirect. Now I
> wonder how both can com
I am trying to create multiple servlets.
When I add them separately in the web.xml file, and try to run my
application, I get errors, and it wont run.
Could anyone suggest, how I can handle multiple servlets in GWT, so
that I could separate logic.
Thanks.
--
You received this message because y
You'll need to use google app engine, there are some examples in google codes.
Cheers.
Andrés Cerezo.
2010/2/27 kyle.rogers :
> I've got experience in .net and I'm trying to migrate towards java/gwt
> to expand my knowledge. I really like a lot of things about GWT, but
> I'm not finding a lot o
I've spent the last 6 hours or so trying to get my project over to GWT
2.0.x (I was using DWR before).
I'm using Eclipse 3.5. I've ripped out everything other than the
server side code. The only client side code that exists is what the
gwt-maven archetype puts in (Application.java, Application.g
Hi.
I develop portlet use GWT, actually i have more then one nocache.js on
the same page.
My question is how can we organise communication between 'modules',
actually how can we organise communication between different
nocache.js files?
Maybe we can create something like 'global' HandlerManager fo
I have a problem where the onClick-event is fired twice when a user
presses a button. I'm disabling the button at the top of my onClick-
method. See below:
Code from the presenter:
display.getSaveButton().addClickHandler(new ClickHandler() {
public void onClick(ClickEvent e
Thank you Gal Dolber.
But if I have to use java.util.HashMap!
I can't understand why they have created
com.google.gwt.dev.util.collect.HashMap !?
What is the usage of com.google.gwt.dev.util.collect.HashMap !?
On Feb 27, 2:25 pm, Gal Dolber wrote:
> Just use java.util.HashMap
>
> 2010/2/27 Heidar
Hi I am new to GWT and tried to depoloy the StockPrice sample
application.
If I deploy it to my tomcat Server and access it Directly via
http://example.com:8180/myapp/index.html everything works fine.
But if I set up mod_jk and try to access it via
http://example.org/myapp/index.html
the server
Hey everyone,
I am attempting to create a GWT project, but it also needs to tie in
with many 3rd party JARs and packages that are also used by other
services I maintain. I've set up my project, and had it running in the
native GWT deployment mode, and I then got it deployed on tomcat. So
far its j
Hi.
I use GWT in Liferay portlets (JSR 286) and i have problem with client-
side communication between portlets.
Actually i have more then one GWT module on same page (one nocache.js
for each portlet).
So HandlerManager as event bus works well within GWT module, but i
can't use it for all modules o
Can you provide an example how to use ColumnProperty class with
AbstractColumnDefinition.setColumnProperty(...)? btw, what design
pattern is this class committed (dumb question)? Thanks.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To p
Hi friends,
Basically I wanna show customized UI according to the user role after
user has logged in ie: if user is Admin he has some special previlege
also the logic for customization should be at server side.
What I have done is after logging i have written a rpc call and after
returning to the c
Hello
I'm a developer who's new to GWT (and web programming in general).
I'm wondering what is the the best way to "mirror" a textBox. That is,
have two textBoxes, and whenever one's text changes, the other
textBox's text changes along.
I've tried many methods, but they all seem to fail to handl
Chris, thank you for the link! The document states: "As of GWT version
2.0, some common forms of persistence are now handled by the GWT RPC
mechanism. GWT considers a class to be enhanced if any of the
following are true: (...) The class is annotated with a JPA
javax.persistence.Entity annotation."
sorry, this is a kind of double posting, though it's not exactly the
same error as this one:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6680775a0c925397
because it also occurs with compiled code.
when removing the JPA 2 annotations the entity can be deserialized
(sent
On Mar 2, 9:38 pm, Chris Lercher wrote:
> It can also save you from a
> lot of headache...
PS especially, if someone in your team later introduces confidential/
identifying/... data in the Entity - which can be perfectly ok, but
turns into a maximum credible accident, if unintentionally transfe
Hi,
yes, I assume, it may have something to do with this:
http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes
GWT assumes, your object is an Enhanced Class, because it's annotated
with @Entity. This may be a wrong assumption in this case (is it
Forgive me for replying to my own message, but I have more
information.
First, I have a simple project to recreate the problem. I just create
the default 'ImageViewer' application and display four pictures. Here
is the GUI code:
public class ImageViewer implements EntryPoint {
public vo
sorry about point 3) -- actually at point 2) I meant :)
Cheers!
--
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
goog
I assume that you are using the Chrome browser for that, right?
I have explained this issue here, at point 3):
http://ui-programming.blogspot.com/2009/12/update-your-application-to-gwt-20.html
Cheers!
--
You received this message because you are subscribed to the Google Groups
"Google Web Too
Your solution is explained here
http://ui-programming.blogspot.com/2009/12/update-your-application-to-gwt-20.html
down at point 4)
Cheers!
--
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-t
Thank you Chris. I copied the User entity to class User2 and removed
all JPA 2 annotations: Without the annotations it works!
in the following example getUser1(), getUser3() and getUser4() work,
getUser2() fails...
@Service("testService")
public class TestServiceImpl implements TestService {
Here's the solution for your problem, which I had it last week. In my
case the hour was jumping 1 day ahead :)
http://ui-programming.blogspot.com/2010/02/gwt-date-and-timestamp-rpc.html
The main idea is to use the Date(year, month, day, hour, min, sec)
constructor for your client side, but try to
I don't know that this is limited to IE 8, this is the only IE version
I tested against.
I cannot get ImageResources to work in my project on IE. Instead of
seeing the image "sprite", I am seeing the entire image file with the
multiple "sprites". Note that everything works fine on FF and Safari.
Hi,
I don't have a solution to your problem, but since you aren't even
persisting user2 with the entity manager, will the JPA annotations
even apply? Isn't it just a POJO until you do that - maybe you can try
it with a similar object without any JPA annotations!
Chris
On Feb 28, 10:38 pm, tekbe
No, it wasn't the same problem... I didn't notice that I didn't have a
no-arg constructor there.
Thanks,
Yaakov.
On Tue, Mar 2, 2010 at 10:09 AM, Paul Robinson wrote:
>
>> Is this a GWT problem where it fails because I am using generics???
>>
> Probably. I see you've already found the issue:
> h
It would be awesome if the sources were up there as well.
Does anybody have a set of scripts for bundling the maven packages
together for Maven along with pom.xml's?
Cheers,
Jon.
On Feb 18, 6:59 am, Jan Ehrhardt wrote:
> Thanks.
>
> But the question remains, how to improve the process?
>
> Rega
Cool. Thx
On Mar 1, 2:56 pm, Keith Platfoot wrote:
> We're working on integrating our last few changes today, so look for an
> announcement and download link sometime tomorrow or Wednesday. :-)
>
> Keith
>
> On Mon, Mar 1, 2010 at 2:46 PM, bkbonner wrote:
> > Keith, any news on the plugin update
Definitively I don't see errors in your code.
My only doubt (cause I lack experience in the field) is about GWT
managing a class decorated with JPA annotations.
Perhaps something weird happens which is difficult to track.
Personally I have to go deeper about GWT and JPA interaction :-)
--
You re
Hello all,
if the unit/assembly test is enough for you, there is an RC [1] of the
1.1 SL which supports GWT 2 and Gilead 3.
[1] http://sourceforge.net/projects/gwt-widget/files/
On Feb 16, 9:23 pm, maks wrote:
> Hi,
>
> Do you have a working on example on how to use the GWT + GWT-SL +
> Gilead
Problem solved
by using s relstive url it works fine
thank you for the help
greets
nino
2010/3/2 nino ekambi
> Hi bellow is the html ,
>
> greets
>
> http://www.w3.org/TR/xhtml1/DTD/xhtml1.0-strict.dtd";>
>
>
>
>
>
>
>
>
>
>
> />
>
>
> PDM
>
>
>
Hi Rjcarr,
Sorry for such a slow responce, I didn't see your post until today,
and I've been sidetracked for a couple of weeks. It turns out that
this is a known bug, see
http://code.google.com/p/google-web-toolkit/issues/detail?id=3795.
I was actually able to resolve this by extending the XMLHtt
Hello all,
it seems I've got bad luck with switching to gwt 2.0. In addition to
the problem described here:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6680775a0c925397
the following error does not only occur in development mode but also
with the compiled JavaScript.
Tr
No. I mean spending too much time to execute the goal mvn gwt:run.
On 1 Mar, 22:32, "dolcra...@gmail.com" wrote:
> Are you saying that you run hosted mode in production? as a final
> product?
>
> On Mar 1, 9:14 am, glascaleia wrote:
>
> > Hi all,
> > i have a maven multi module project with gwt
This is the entity:
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
impor
Hi all,
I'm looking for a bit of technical advice on IE 8 in use with GWT
After reading RFC 2109 http://www.w3.org/Protocols/rfc2109/rfc2109
(section 6.3) it seems to say that cookies can be a maximum of 4kB in
size.
When using Google Web toolkit to set a cookie if the value is larger
than this
I'm currently trying to implement a simple servlet that will
dynamically create the host html page to be able to support dynamic
internationalization of the application similar to the suggested
approach from this thread[1].
The code I have is the following:
import java.io.IOException;
import java
The problem only occurs in development mode, not with the deployed web-
app.
I'm using firefox 3.5.2 with the gwt developer plugin 1.0.7511
--
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-to
Hi,
What is the difference between using the in the
project.gwt.xml file and imports in the Project.java file? When do I
use which?
Also, what is the difference between the project.gwt.xml and web.xml
(in the war directory)?
Thank you,
-Russ
--
You received this message because you are subscri
Hey Jim,
This is a known issue in GPE 1.2, and it has been fixed. The fix will be
released in a forthcoming version of the plugin. At this time, there is no
workaround for this issue.
Rajeev
-- Forwarded message --
From: Jim
Date: Fri, Feb 26, 2010 at 7:47 PM
Subject: stop vali
On Mar 2, 4:39 pm, Rajeev Dayal wrote:
> While you might be able to make something work
> out here, it would definitely not be supported behavior (as we've not
> thought through this use case).
Thanks, that's what I needed to know - I'd personally only use it, if
it were supported behavior (with
Glad that worked out for you, and thanks for posting an example. super-src
is definitely a strange concept, so it helps to have a clear example of how
to use it, and why it might be valuable :)
On Wed, Feb 24, 2010 at 11:16 AM, Tim K wrote:
> Great answer Rajeev! I worked up a simple example tha
Hey Chris,
This would not do any magic to handle serialization between the client and
server versions of the types. While you might be able to make something work
out here, it would definitely not be supported behavior (as we've not
thought through this use case).
Rajeev
On Mon, Feb 22, 2010 at
You need to make sure you are using the latest version of GWT (at
least 2.02 I think) because the styles where missing from prior
versions. It works fine for me in UIBinder. Also make BarHeight
bigger, say 20px. You don't really need the size set on the header for
it to work.
--
You received this
> Is this a GWT problem where it fails because I am using generics???
>
Probably. I see you've already found the issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=2374
However, do be aware that merely implementing Serializable does not make
something gwt-serializable. You als
Hi,
I am implementing a command-pattern based RPC mechanism and got a
SerializationException in this line:
rpcService.execute(new GetContactRequest(intId), new
AsyncCallback() {...});
I traced it down to the GWT-generated _Proxy class where it tries to
writeObject on the GetContactRequest object
Hi,
I want to use default GWT right to left cascading style sheets
(standard_rtl.css) in my project.
Please tell me how can I do that?
--
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...@
Hi Thomas,
Off course possible.
just make the public void setCollapsible(boolean value) method in your
GroupBox.java
In general it supports java beans specification.
Sincerely,
Alex
On Tue, Mar 2, 2010 at 4:22 PM, Thomas Broyer wrote:
>
>
> On Feb 25, 11:34 pm, Thiago Albuquerque wrote:
> > H
On Feb 25, 11:34 pm, Thiago Albuquerque wrote:
> Hi,
>
> I was wondering if it's possible to define custom attributes in a UiBinder
> template. I wanted to do something like this:
>
>
>
>
>
> And then Gwt would, after creating a new instance of 'GroupBox', call
> 'instance.setCollapsible(true)'
There is so called "gwt advanced components" library that has such feature.
I used it in my project exactly because of the Listbox. Pure gwt haven't
list box with image arrow, but it is stanard html select. Smart gwt is too
heavy to user because of just one widget. I suggest you implement one for
y
You have to build your own ListBox from scratch as Gwt Listbox accepts
only an item as a child. An item is a string.
My advice to you if you want to have your own customized version of
the listbox is to build it yourself.
Otherwise, as Mariyan said, smartgwt or any other advanced gwt
components ha
His,
I wonder if it is possible to debug a gwt site running on a productive
webserver. Say there is a website
"example.com" with some issues that you want to inspect real-time and
in-production through a DevMode.
I created following eclipse launch directive
-noserver -whitelist .* -war /home/${en
On Mar 2, 10:36 am, Martin Trummer wrote:
> take a look at
> Dictionaryhttp://gwt.google.com/samples/Showcase/Showcase.html#!CwDictionaryExa...http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g...
>
this is an elegant Java solution!
--
You received this message because you
On Mar 2, 3:21 am, mibtar wrote:
> it does seem like a SOP problem.
> it's not including the data from the database in the response.
> just the static text that i display using echo.
>
> and i am already using the -noserver option.
Have you tried plugging anything that could show you what went
P.s: I don't know about your issue. rpc deletion.
Can you past here the EXACT html code you use to load the application?
On Mar 2, 10:22 am, nino ekambi wrote:
> Hi,
>
> The page is at localhost: and i m making the call to localhost:
>
> bevor xs-linker everything is fine.After that i cant make the rpc call.
>
> i ve tested it in firefox 3.5 google chrome 4 and ie7 same behavior.
> so i think it s gwt rel
Hello there,
We have a big Rails app that works great (www.mojohelpdesk.com) but we
think that GWT / AJax apps is the way forward. Therefore we are
contemplating adding GWT for the UI and doing some backend work in
Java (e.g Tomcat). We cannot do a full switch at once so GWT+Tomcat
need to be phas
On Mar 1, 12:35 pm, Mark wrote:
> Thanks for the replies, guys. Very much helpful. :)
>
> I've started going around -compileReport and the soyc and it looks
> like these are what I need! I'm now implementing a crude version of
> our stack trace converter. :)
>
> Just one hurdle encountered so fa
Hello,
I have a GWT project wtih different CSS files.
When I first visit my project client gets myproject.css and he loads
pictures (for example for img ID "picture1" images/image1.png),
styles. Then client makes another RPC which tells him to switch to
myproject1.css (for img ID "picture1" i
92 matches
Mail list logo