Hi,
Part of GWT/GAE book, I've just added a chapter on RESTful services:
http://code.google.com/p/gwt-gae-book/wiki/ManagingLocations
Looking forward to group feedback and better ways to consume REST
services from GWT.
Happy New Year :)
Marius
--
You received this message because you are
thank you Thomas. Before trying the new service layer, I have looked
this thread,
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/846564e9fc303be0,
to understand how it works. I have pasted my code here.
http://paste.pocoo.org/show/310712/.
It must be a mis-declaration of
Hi, I use CellTree wieh TreeViewModel for creating applications menu.
When I select some cell, it changes background. (cells body is blue
and cells head is yellow)
Is it possible to remove this behavior?
I think, I must add something in this part of code:
/**
* The cell used to render
sorry,, I can't write english..
I use cellable and apply callTable.css.
1.. load css..
public interface CellTableResource extends CellTable.Resources
{
public interface CellTableStyle extends CellTable.Style {
};
@Source({CellTable.css})
CellTableStyle
Greetings,
I have created a custom hyperlinkcell column renderer for celltable widget.
Source can be found here
http://pastebin.com/hM7rg4tFhttp://pastebin.com/hM7rg4tF
The hyperlink displays alright but the onBrowserEvent isnt being fired at
all. I have added super(click) on my constructor
The protocol self seems to be pretty save.
But with webapplications you have the problem that the algorithm using
that protcol is written in javascript.
Therefore, you must guard this JS via SSL or it can be manipulated
(e.g. send de password in plaintext to mallory).
In my opinion the
@Override AFAIK is a jdk 1.6 feature.
Can u see your project Compiler settings in Eclipse. Set it to follow 1.6
conventions.
Your code looks alright to me..
HTH.
Thanks,
Subhro.
On Tue, Dec 28, 2010 at 3:20 PM, Ketan Shah ketan.s...@gmail.com wrote:
Greetings,
I have created a custom
Thanks Subhro. The @Override annotation works for *render()* method in the
same class but not for onBrowserEvent. I tried your suggestion too but didnt
work (I have openjdk version 1.6.0_20).
Regards,
-Ketan.
On Tue, Dec 28, 2010 at 3:32 PM, Subhrajyoti Moitra
subhrajyo...@gmail.comwrote:
Hey all,
I've got some code which moves some elements from one to another
position:
CustomPicker picker = new CustomPicker(textBox); //FlowPanel with custom
elements inside...
Element inputElement = textBox.getElement();
Element parentElement = inputElement.getParentElement();
@Entity
class A
{
SetB bs;
}
@Entity
class B
{
C c;
}
@Entity
class C
{
}
i didn't type annotation for brevity. from client, using requestFactory i
can get Aproxy with Bproxy inside, say, from client i can get all Bproxy in
one Aproxy, but in the Bproxy the CProxy is null. i want
On Tuesday, December 28, 2010 3:10:01 AM UTC+1, zixzigma wrote:
I have defined a custom annotation in my GWT app,
and have annotated my classes with it.
I would like to process it and generate some code,
that rest of my app would depend on it.
1- do you think using this package:
This is not ReST, ReST is about hypertext (HATEOAS). Using a URL per
resource is not enough to make a service RESTful:
http://www.crummy.com/writing/speaking/2008-QCon/act3.html (only level 3 can
actually be called RESTful)
This also means your client code cannot have an RPC-like interface and
Guaw! great project
On Tue, Dec 28, 2010 at 7:54 AM, Thomas Broyer t.bro...@gmail.com wrote:
On Tuesday, December 28, 2010 3:10:01 AM UTC+1, zixzigma wrote:
I have defined a custom annotation in my GWT app,
and have annotated my classes with it.
I would like to process it and generate
Here's how to configure what Subhro suggests...
In Eclipse; goto Project - Properties - Java Compiler - (Check)Enable
Project Specific Settings - Compiler Compliance Level (select 1.6)
Or if you want to do it at global level: Window - Preferences - Java -
Compiler - Compiler Compliance Level
You declared your method as InstanceRequestUserProxy, Void, i.e. this is
an instance method of UserProxy, that returns void. If your method is in
your service, then it has to be a RequestVoid and takes the
UserProxy/UserDAO as argument.
--
You received this message because you are subscribed
The signature of onBrowserEvent has changed between 2.1.0 and 2.1.1, which
version are you using?
--
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
Hi Magnus
You can implement a java Filter in the server Side and check if the session
is valid
if is not valid yo do the redirect in the server side.
you can use that way if you call a normal resource to the server for example
a .js or img or .jsp or html
to use it for a RPC call you must
context.getAllAs().with(bs, bs.c)
(the bs isn't required actually, you can use bs.c only, but then you
might not have other fields of BProxy --haven't checked--, and I find it
easier to read and understand with both bs and bs.c)
--
You received this message because you are subscribed to the
On Wed, Dec 22, 2010 at 7:16 AM, zixzigma zixzi...@gmail.com wrote:
Thank you Raphael,
What a great project.
can you please explain some of your stragies
for implementing caching and batching ?
some tips/high level overview of how you are going to design them ?
Currently, the dispatcher is
I was working on IE, then I decided to test this on IE. I am getting
an exception when I am clicking on a label, the label has a click
handler attached to it
[ERROR] [biddingsystem] Uncaught exception escaped
com.google.gwt.event.shared.UmbrellaException: One or more exceptions
caught, see full
Thomas,
where you been able to use lombok with gwt code?
I getting error while running (or compiling) on every call to a generated
method.
[ERROR] [testapp] - Line 61: The method getMarketing() is undefined for the
type Unit
On Tue, Dec 28, 2010 at 8:16 AM, Gal Dolber gal.dol...@gmail.com wrote:
Yes we do. You have to add the generated sources output dir to your
classpath for GWT to see them, and make sure GWT doesn't see the original
source files (either by putting them later on the classpath, or better not
at all).
Here's our project layout (dictated by both Maven and the
Thanks!!
On Tue, Dec 28, 2010 at 9:05 AM, Thomas Broyer t.bro...@gmail.com wrote:
Yes we do. You have to add the generated sources output dir to your
classpath for GWT to see them, and make sure GWT doesn't see the original
source files (either by putting them later on the classpath, or
Okay.. I've to call onAttach manually after I added the picker element
to the DOM to get my custom handlers working:
picker.onAttach();
RootPanel.detachOnWindowClose(picker);
I don't know really why.. but it's working fine for me.
On 28 Dez., 11:54, Flori floon...@googlemail.com wrote:
Hey
On Dec 28, 2:14 pm, Thomas Broyer t.bro...@gmail.com wrote:
This is not ReST, ReST is about hypertext (HATEOAS). Using a URL per
resource is not enough to make a service
RESTful:http://www.crummy.com/writing/speaking/2008-QCon/act3.html(only
level 3 can
actually be called RESTful)
Thanks
Hello everyone ..
First, sorry for my English.
I have a problem that I can not fix using a web application.
That is, it's weird.
Using the GWT plugin for Eclipse, I can create a web application that
already gives me the default client side and server as the html page
where to start the webapp and
Hello everyone ..
To view the results of a search using a Java WebApp use this code:
control.addSearchResultsHandler (new SearchResultsHandler () {
public void onSearchResults (SearchResultsEvent event) {
JsArray ? extends Result event.getResults
results = ();
for (int
Hi,
i am new to GWT, but i know java. I am using GWT in Eclipse. for
selecting a file in local directory in java, we use JFileChooser.
but i don't know to select a file in a local directory in GWT. can any
one help please.
--
You received this message because you are subscribed to the Google
There's the list of things we do when we switch from one GWT version
to the other:
- uninstall Hosted mode plugin from the browser (it's incompatible
even if you change from 2.1.0 to 2.1.1 and this is not detected by the
framework)
- Make sure that no old gwt-user.jar (or other gwt jars) is copied
I have just installed GWT,GWT Designer and associated jars,but my
system OpenSUSE 11.3 gave me a warning that I was installing
unsigned,unauthenticated software.I authorized the installation
because on Eclipse I used the http://dl.google.com/eclipse/...
addresses,anyway this is prone to
Hi,
I have try to test the migration from 2.1 to the new 2.1.1. I'm just
updating under eclipse with the quick fix wizard the class jars
libraries on the MVP sample code from documentation site :
http://code.google.com/p/google-web-toolkit/downloads/detail?name=Tutorial-hellomvp-2.1.zip.
Then I'm
Hi guys, I have a little, stupid problem but it seems that I can't
find solution for it. I need to parse string from TextField in a
DialogBox, but I'm continuously getting an exception
IllegalArgumentException when I try to parse it. Here is the format of
my string from a DialogBox.
Tue Dec 28
Hi - I am using Eclipse to create a GWT-based application. When I
create a new GWT remote service, an interface called, for example,
MyTestService is created. In this interface, a static class called
Util is automatically created which won't compile, because it refers
to a class (or interface?)
Hi Everyone,
Please let me know if any body can provide a sample example of
customizing GWT tree so as to show connector lines for its child tree
items.
The connector lines required in this case are to be continuous.
Thanks,
Nit.
--
You received this message because you are subscribed to the
thanks very much Thomas, again.
--
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
On Tuesday, December 28, 2010 12:23:02 AM UTC+1, Rom wrote:
com.google.gwt.dev.shell.HostedModeException: Something other than a
boolean was returned from JSNI method
'@com.google.gwt.user.client.impl.HistoryImplTimer::init()': JS value
of type JavaScript object(33), expected boolean
@Nirmal: I did exactly that.
@Thomas: I am using 2.1.1
The issue was actually the import statement.
I was importing from com.google.gwt.user.client.Element; when I should
have been importing from com.google.gwt.dom.client.Element;
Thank you all for your prompt responses.
Regards,
-Ketan.
On
You would be looking for the FileUpload widget, which just wraps a
html file input element.
-Ben
On Dec 28, 2:15 am, jc jc.chan...@gmail.com wrote:
Hi,
i am new to GWT, but i know java. I am using GWT in Eclipse. for
selecting a file in local directory in java, we use JFileChooser.
but i
Two pieces of information seem to be absent that would greatly aid
others in helping you: the exception details and the input string.
-Ben
On Dec 27, 5:19 pm, Luka Matovic matovicl...@gmail.com wrote:
Hi guys, I have a little, stupid problem but it seems that I can't
find solution for it. I
in my uibinder, i have css look like below
background: #DCDCDC url(images/imagetest.png);
background: url(images/test2.png) no-repeat
i want to use @sprite css with property gwt-image, but how to set
#DCDCDC and no-repeat inside uibinder.xml file directly? is it
possible to use @ImageOptions
Still was not able to call the RPC, the html page has loaded fine, no
error logs in the localhost_access_log file, i have installed firebug,
can anyone tell me what should i see in it.
What could be the possible problem for not calling the RPC?
On Dec 23, 4:20 pm, AmaraSat
You can use @ImageOptions values in UiBinder using the flipRtl and
repeatStyle attributes of ui:image (e.g. ui:image field='foo'
repeatStyle='Horizontal' /), but note that no-repeat (RepeatStyle.None) is
the default.
As for the color, maybe try a separate background-color:#DCDCDC property.
--
From DateTimeFormat javadoc:
*The time zone support for parsing is limited. Only standard GMT and RFC
format are supported. Time zone specification using time zone id (like
America/Los_Angeles), time zone names (like PST, Pacific Standard Time) are
not supported*
This are the timezone string
From your Tomcat access logs, the app does not seem to be calling the server
at all (no reference to stockPrices); so the issue might be that you
actually don't make an RPC call from your client-side code.
--
You received this message because you are subscribed to the Google Groups
Google Web
This is allowed in HTML5 and is required with my back-end's REST API.
In theory, you should be able to just setMethod(PUT); even though
only POST and GET are enumerated as methods, but that seems to be
trapped as an error.
Thanks!
smoyer
--
You received this message because you are subscribed
Hi.
How can I use an editor to create a new entity, rather than edit an existing
one? Is this capability already baked-in, and if so, how do I use it?
--
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 Dec 28, 12:18 pm, Thomas Broyer t.bro...@gmail.com wrote:
From your Tomcat access logs, the app does not seem to be calling the server
at all (no reference to stockPrices); so the issue might be that you
actually don't make an RPC call from your client-side code.
But what i am talking here
Hi, i'm using i18n with Constants, i have two languages {ES, EN} and
it runs ok.
What i need that when the user choose another language in a combo, for
example [Spanish] show the content of my app in Spanish.
What i'm doing is to redirect to the user to my app url passing the
locale as
How to avoid Double Submit in GWT? Is there a token concept like in struts?
Thanks
--
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,
That seems to be the approved method, but with one suggestion -- if
you need to work with localized number and date formats, consider
offering complete locales (es_MX) as opposed to just language codes
(es).
http://gwt.google.com/samples/Showcase/Showcase.html?locale=fr_FR#!CwConstantsExample
I can't get my JUnit tests to work because our databases need to be
pre-populated with data. So I'm wondering if there is a way to use the
compiler to generate the JS version of the JUnit tests and have ant
hit the URLs directly.
--
You received this message because you are subscribed to the
Also if you specify 0.0.0.0 , it will bind to all ip addresses available.
On Mon, Dec 27, 2010 at 8:39 AM, David Chandler drfibona...@google.comwrote:
Karel,
You can pass the -bindAddress argument when you start hosted mode:
You'll always edit an existing object, but it can be one that you just
created (and would thus be empty).
--
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
Would it have to be persisted to the DB, or could I just instantiate a bean
without setting any properties and edit 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
I'm so sorry, I have just tested it with firefox and it's working perfectly.
Thank you for you help and just show me that I should look at the bug tool
before asking.
Just for those who will be faced to the same issue my current version of
Chrome is 10.0.612.3 dev.
Thanks again.
Regards,
I'm using the RequestFactoryEditorDriver, by the way.
--
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
Why has this topic been deleted from Groups?
On 20 December 2010 21:03, Max Jonas Werner m...@maxwerner.de wrote:
You're a lucky guy that you can use this feature. ;-)
Cheers!
Max
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To
This is weird. I can't search for this topic and it doesn't show up in my or
in pieceovcake's activity log but the direct link still works. What am I
missing here?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group,
Hi.
Is there a hosted version of the expenses sample included with GWT 2.1? It
used to be hosted on GAE but the link doesn't work anymore.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
It's showing up in the GWT group topic listing for me.
--
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
No there is no direct equivalent of Struts where you can use tokens to
prevent double submits.
But you could disable the Submit button after user clicks it and enable it
only after your processing is complete.
- Sunit Katkar
http://sunitkatkar.blogspot.com/
On Tue, Dec 28, 2010 at 12:24 PM,
...and to protect against the user who manages to double-click the
button quicker than you can disable it, set a flag when you start
processing, and discard subsequent click events until that processing
is complete.
On Dec 28, 2:22 pm, Sunit Katkar sunitkat...@gmail.com wrote:
No there is no
Can you be more specific about the IE version? There are IE7 and IE8 out
there. And which OS? XP? Vista?
- Sunit Katkar
http://sunitkatkar.blogspot.com/
On Tue, Dec 28, 2010 at 4:43 AM, Noor baken...@gmail.com wrote:
I was working on IE, then I decided to test this on IE. I am getting
an
Hi
I need to display lots of information stored in Collections on a HTML table.
The basic GWT library does not provide a grid that I can pass de collection,
define headers and data and paint it automatically like other frameworks do.
I know that there are a lot of extension libraries that provide
You can RequestContext#create an EntityProxy and
RequestFactoryEditorDriver#edit it right away. This is what DynaTableRf does
FWIW (see
GWT 2.1.x CellTable ?
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/cellview/client/CellTable.html
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Thanks. I've got it now. :)
--
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
In the server side I created a class (MyServiceServlet) that extends
from RemoteServiceServlet and in the method
onBeforeRequestDeserialized(String serializedRequest) i check if the
user is logued. If is not, i throw a AuthenticationException.
And in the client side I created a abstract class
On 27 dic, 04:01, katampa...@gmail.com katampa...@gmail.com wrote:
Hi,
I am developing RIA with GWT frame work which is built using MVP
architecture [Views, Places, Activities model]. This application
include login page, main page and logout page etc.. Each page is made
as a view
I think that you forget in any of your model classes to implements
com.google.gwt.user.client.rpc.IsSerializable;
Every class that you want to send through a RPC you need to make it
implement com.google.gwt.user.client.rpc.IsSerializable;
If this is not your problem, be sure that you have a
Fantastic Thomas! Thanks.
--
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
AppEngine team provide offline docs, hope GWT team do the same
thanks
On Dec 25, 9:02 am, Alex Luya alexander.l...@gmail.com wrote:
Sometimes,when I am reading a articles ,a question comes up,but I want
to delay to get answer,so I mark it(coloring it or do something else
by a chrome
One nice idea would be to bring a popup with a loading kinda image.. Since
the popup is there the user will not be able to click anything and the popup
would also server as a means to display loading.. The advantage here is, if
ur page has lot many buttons, rather than making each button disabled
Hi Amarsat,
As Thomas already pointed; it seems your GUI code is not making any RPC
calls in the first place.
To establish that your GUI is actually making those RPC calls.. check for
those URLs in Firebug Net panel... I am attaching a screenshot of same from
my sample app.
Here's a guide of
Could you please show me more details?
Is it right when I return defaultNodeinfo , it will wait me to
populate the dataprovider?
thanks.
On 11月17日, 上午2时57分, John LaBanca jlaba...@google.com wrote:
You can pass a ListDataProvider or AsyncDataProvider into DefaultNodeInfo.
Then you can return
I check the fileupload widget, but it show only the filename correctly
not full path.
it show c:/fakepath/filename. I need to read and wirte a file in a
local directory. Send me a
sample code if you have.
On Dec 28, 8:43 pm, Ben Imp benlee...@gmail.com wrote:
You would be looking for the
Hi,
I need to read a file and access it and write i.e i need to read a
dicom file and get dicom data. due to i am new to GWT i don't know how
to do. send me a sample code if you have. I used fileupload widget but
its show only the file name with fakepath(c:/fakepath/filename).
--
You received
Does anyone know when the 2.1.1 release notes will be updates?
http://code.google.com/webtoolkit/release-notes.html
Just looking for a comprehensive list of the changes for 2.1.1.
Thanks!!
-J
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 9484
Author: ncha...@google.com
Date: Fri Dec 24 18:46:16 2010
Log: Use instanceof to find the right top level GwtSpecificValidator.
This allows sub classes and Proxies like those generated by RequestFactory
to be validated
[JSR 303 TCK Result] 53 of 258 (20.54%) Pass with 28 Failures
Revision: 9485
Author: fmal...@google.com
Date: Tue Dec 28 06:14:15 2010
Log: Fix swapped javadoc for weekendStart() weekendEnd() in
DateTimeFormatInfo.
Review at http://gwt-code-reviews.appspot.com/1247801
http://code.google.com/p/google-web-toolkit/source/detail?r=9485
Modified:
80 matches
Mail list logo