Hello everyone.
What are the benefits of using RequestFactory over JSON/Request
Builder.
to implement client-side communication/persistence i have to options:
1- using Spring/Spring MVC on the server to handle all the server-side
work,
and send JSON data to the GWT client.
2- i believe I still
Thanks for the tips!! I'll look into the EagerSingleton.
However, regarding the class Root: I don't really want to change it, I
want to remove it completely. It's not necessary for anything at all,
it's just because we need to start the code. This program goes to our
default Place (see getDefaultP
For the project I am working on, I need to develop a Google Docs like
feature since we should support collaborative document editing. I
already have a mechanism based on Comet that can synchronize data, but
I need to be able to update a text onscreen based on what is being
keyed in on the client,
Hi AgitoM,
If your document isn't too sophisticated, you could maybe represent it
as a cell (or a couple of cells) of Google Spreadsheet and then use
the Spreadsheet API to leverage its sharing capabilities. See
http://code.google.com/apis/spreadsheets/
regards
didier
On Nov 17, 10:20 am, Agito
Just a request based on a whole day of wasted troubleshooting I had
recently.
After doing some major refactoring my code suddenly would not compile
in GWT (it compiled fine in Eclipse) and I just got the dreaded
"unable to resolve deferred binding" error which appear to be almost a
"catch all" com
Hi didier and shawn,
no, the javax.swing.event.EventlistenerList class is called on the server,
tomcat in my case.
I no longer get a syntax error during programming, after I disabled GAE.
There is, however, a runtime error, the Tomcat error log reads as follows:
17.11.2010 10:32:15 org.apache.ca
I'm getting the same exception when running with Chrome (9.0.x dev) but only on
one of three development computers. It is not obvious what is different between
the computer where I get this exception and the others. Note that there is no
problem with the deployed system -- only when debugging
On 16 nov, 17:41, Chris wrote:
> Hi,
>
> I'm working on upgrading our development environment from GWT 2.0.4 to
> 2.1 - this involved upgrading GPE to 1.4 as well as the gwt-maven-
> plugin to 2.1. So far things have gone pretty smoothly except for one
> nagging problem.
>
> We have in our code
Hi,
I need to get any requests from my browser client in the same order on
the server side.
implementing SingleThreadModel would not solve this requirement.
synchronizing HttpSession may fail on 3 or more requests.
Any ideas how to achive this?
Stefan Bachert
http://gwtworld.de
--
You receive
On 16 nov, 16:34, magat wrote:
> Hi all,
>
> I'm using a RequestBuilder from com.google.gwt.http.client to update
> informations in my app (calling an external home-made API which I must
> call with http GET).
Doing updates using GET requests is a Bad Thing™, to begin with.
> Everything works
hi Nicolas & others,
I understand how you work with the dynamic hosted page, but how do you
throw the remote exception like you describe here :
On server side, I use a security framework that check permission on
rpc
call. If user is not logged in (session has expired) but want to
access to a
"sec
+1
On Nov 17, 10:25 am, zixzigma wrote:
> I agree with all the issues that were pointed out about Sencha/Ext.
>
> However, comparing GXT to GWT is comparing apples to oranges.
>
> GXT is only a widget library, you can certainly build applications out
> of just putting together some widgets.
>
>
On 17 nov, 03:25, zixzigma wrote:
> I agree with all the issues that were pointed out about Sencha/Ext.
>
> However, comparing GXT to GWT is comparing apples to oranges.
>
> GXT is only a widget library, you can certainly build applications out
> of just putting together some widgets.
>
> but to
On 17 nov, 05:42, suersh babu wrote:
> Hi,
>
> I am using Gwt 2.1, I have requirement such that each row which contains
> label, suggestion box, and text box. And
> this rows increased when you click on add new row button.
>
> So which one is good cell Widget for my requirement.
>
> Any suggest
> Any ideas?
Get the libraries in your path obviously.
Beyond that though, I can see no purpose for running a swing
application on a server. How is anyone going to see it?
Anyway, I concede you may be using the class somehow that I can not
fathom, so just look at the error to see what you need.
Thanks for your reply, As I need to have a suggestion box in a row, so I am
implementing
with flex table not in cell widget.
On Wed, Nov 17, 2010 at 5:27 PM, Thomas Broyer wrote:
>
>
> On 17 nov, 05:42, suersh babu wrote:
> > Hi,
> >
> > I am using Gwt 2.1, I have requirement such that eac
Hie
Sorry this is specific to my eclipse ide. I am using Galileo latest version.
My console does not show any output like sops etc.
any idea how to fix this?
Thankx and Regards
Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com
--
You received this message because you are subscribed to the
Hello, I want to send objects between 2 servlets and i was wondering
if the GWT RPC mechanism used for client - server communication can
also be used to send data across two servlets that extend
RemoteServiceServlet.
Or maybe I can use the Java serialization to actually send bytes from
one servlet
I have not tested the edge conditions around daylight savings times,
but I found this useful:
import com.google.gwt.user.datepicker.client.CalendarUtil;
Date now = new Date();
int nDays = 1;
CalendarUtil.addDaysToDate(now, nDays);
The number of days can be negative if you need to go back. There
I've developed a view that works in both FF and Safari but which breaks when
rendered in Chrome so I assume it is specific to Chrome's javascript engine.
I have a logical page on which the user can select to add an item to it.
Selecting to add an item renders the add item view which is actually
ach
You can just add an ActionCell to an IdentityColumn. The following should
work:
// Create an ActionCell that shows more info on click.
Delegate handler = new Delegate() {
public void execute(RowObject object) {
// Popup DialogBox with additional info for RowObject.
}
};
ActionCell actionCe
By "at the same level", we mean that if A and B are siblings, their children
can be different types even if there are at the same depth in the tree.
CellTree doesn't support difference types within the same child list.
You'll have to use a common super type or interface and cast as needed.
The f
Use Java Serialization to send the the objects from one servlet to
another.
Make sure you have the Objects implement Serializable. :-)
You can override doGet without damaging GWT RPC. One servlet does
that, the other (the one driving the exchange) makes an HTTP call to
it. They both use Object
Hi John,
I'm assuming that actually
ActionCell actionCell = new ActionCell("Click
for more info", handler);
Right?
Thanks!
Greg
On Nov 17, 7:14 am, John LaBanca wrote:
> You can just add an ActionCell to an IdentityColumn. The following should
> work:
> // Create an ActionCell that shows mor
Thanks to you and and masterGaurav!
Along with your advice and some research, it became clear that
SmartGWT is the right choice.
On Nov 12, 7:48 pm, Roger Studner wrote:
> Well.. a quick bit of objective (having used all 3) opinions.
>
> It is simple:
> 1) don't use GWT-EXT.
> 2) GXT is a "pure
On 17 nov, 08:59, zixzigma wrote:
> Hello everyone.
>
> What are the benefits of using RequestFactory over JSON/Request
> Builder.
>
> to implement client-side communication/persistence i have to options:
>
> 1- using Spring/Spring MVC on the server to handle all the server-side
> work,
> and se
On 17 nov, 09:23, Baloe wrote:
> Thanks for the tips!! I'll look into the EagerSingleton.
>
> However, regarding the class Root: I don't really want to change it, I
> want to remove it completely. It's not necessary for anything at all,
> it's just because we need to start the code. This program
On 17 nov, 10:20, AgitoM wrote:
> For the project I am working on, I need to develop a Google Docs like
> feature since we should support collaborative document editing. I
> already have a mechanism based on Comet that can synchronize data, but
> I need to be able to update a text onscreen based
On 17 nov, 10:40, Niels wrote:
> Just a request based on a whole day of wasted troubleshooting I had
> recently.
>
> After doing some major refactoring my code suddenly would not compile
> in GWT (it compiled fine in Eclipse) and I just got the dreaded
> "unable to resolve deferred binding" erro
On 16 nov, 19:34, Fábio Miranda wrote:
> Hi,
>
> Is there any way to check if an editor/object states has changed,
> something analogous to flush method, but without generating errors and
> making changes to the object?
No, the driver is "dumb", it only (and that's already a big time-
saver) "c
On Nov 17, 6:03 am, Thomas Broyer wrote:
> Well, if your resources are to be shared with GWT apps only, then how
> about making a GWT module and putting them in the "public" path, so
> the GWT compiler copies them to the output folder?
Because we have 5 GWT apps using the same web resources an
not sure if this will work outofthe box, since in GWT RPC there is
always a client which is initiating an RPC request first. so you have
to do so in your server code, except for there is nor XHR on the
server, the rest should work fine, especially serialization of the
request command, which you wou
Thank you for your quick answers.
However, I dont know many days i must add to get to the next "day of
week". Or should I make a huge and ugly if statement on the current
day?
For example, today we are wednesday, when is the next tuesday?
--
You received this message because you are subscribed t
Thx for the answers...
I wanted to use serialization from the start but i really want to know how
can i use JSON.
BUT, i need to know if there is something simple that i can use (GWT, java,
or other libs). For example, i have some java beans (with simple fields -
string, integer, lists of those typ
Hi Stefan:
What problem are you trying to solve?
On Wed, Nov 17, 2010 at 4:07 AM, Stefan Bachert wrote:
> Hi,
>
> I need to get any requests from my browser client in the same order on
> the server side.
>
> implementing SingleThreadModel would not solve this requirement.
> synchronizing HttpSes
actually, if your beans implement the Seriliazable interface (not only
IsSerializable) you can just use java's ObjectStream to get them on
wire. (look for short demo at
http://download.oracle.com/javase/tutorial/essential/io/examples/ObjectStreams.java
)
so your servlets would communicate over POS
AbstractRemoteServiceServlet (which all GWT Servlets inherit from)
declares "public final void doPost". So regardless of what you SHOULD
do, if you've got a GWT Servlet that you want to ALSO handle HTTP
requests, then is HAS to do it through doGet.
Unless you can point me to some hook in the proc
batch them (the requests) from client and push them in same http
request :)
do you need them to execute also in the same order? meaning serially?
so that requests actually cannot be processed in parallel anymore?
then you may want to look at gwt-dispatch project, they recently have
added support t
hm, not necessarily, you can also override doService() to hook in at
lower level and delegate in there, but would be messy, though. maybe
googles rpc servlets are just not intented to allow change on
communucation protocol
On 17 Nov., 17:01, Greg Dougherty wrote:
> AbstractRemoteServiceServlet (w
by the way, why I dont recommend to use GET is because this http
method simply does not define to have body where you can put big
amount of data, its all about the url and its params and some extra
data like a header...no place for big payload
On 17 Nov., 17:01, Greg Dougherty wrote:
> AbstractRe
On Nov 16, 11:45 pm, PeteUK wrote:
> Hello,
>
> Just got GWT 2.1.0 and used webappcreator with the -maven option. I've
> imported my project into Eclipse 3.6 (Helios).
>
> I know I'm probably being a bit dense, but how do I run/debug my
> application? If I right-click on my project, under "Run As"
I was hoping to put a list of radio buttons in a CellTable column but
didn't see the equivalent RadioCell class. I'm prototyping with a
SelectCell, but it really calls for a few radio buttons in a group.
What's the best magic incantation to coerce GWT's CellTable/Cell
Columns to rendering a group o
Hi,
We developed an application in GWT 2.1 and spring 3.0.4. Everything was fine
till development but when we hosted it on Tomcat 5.5 then we found that the
application is not supporting more than 10-12 users at a time. In that case
some RPC fails, Browser loads application very slowly, sometimes
Has anyone figured this out or created an issue?
If not, when I get some time I'll isolate the bug in a minimal project
and create an issue but that might not happen for a few weeks.
On Nov 9, 5:15 am, hbf wrote:
> Same problem on MacOS 10.6.4/Eclipse 3.6 with latest Google Plugin for
> Eclips
This doesn't sound like a GWT problem.
Start with traditional, well-known performance monitoring: memory, CPU,
disk. Look for disk queues, CPU queues, memory usage. Look at database
transaction durations.
On Wed, Nov 17, 2010 at 9:48 AM, Deepak Singh wrote:
> Hi,
>
> We developed an application
Hello! I wanted to see that the component is not displayed type
"Layout" to add it to the center of the DialogBox. (Ie, not a Basic
panel).
Anyone know why this happens? and how I can fix it?
Ej:
public class Gwt_test implements EntryPoint {
public void onModuleLoad() {
Hi,
I think this might be a bug in the new gwt 2.1 sdk. When I create a
new web application project in eclipse and compile and run it in web
mode on FF4 beta 6, I see a blank page.
On debugging in firebug, the following errors was thrown:
reference to undefined property m.external.gwtOnLoad
refe
For things like that you should definitely look into GIN:
- It will facilitate your deferred binding problems a lot, just add or
remove a module from your Ginjector to swap code based on
configuration.
- It will also facilitate your code splitting needs with the very nice
AsyncProvider<>
Cheers,
Say your looking for next tuesday:
int desiredDay = 2; // tuesday
Date currDate = new Date();
int currDay = currDate.getDay();
int daysToJump = (7+desiredDay-currDay)%7
if (daysToJump == 0) daysToJump = 7;
Date nextTuesday = new Date(currDate.getTime() + daysToJump * 24 * 60
* 60 * 1000);
No test
it would be really nice to be able to set generic HTML attributes on
widgets and not just on html items. There are several use cases where
it would be awesome to be able to do something like
which
would output something like
now there are plenty of edge cases that aren't covered in this
exampl
*If you do not use the GWT incubator, you can ignore this email.*
GWT Community -
The plan for the GWT incubator is to replace PagingScrollTable with
Enterprise CellTable in GWT 2.2 (hopefully Q1 2011), then deprecate and stop
supporting incubator for future GWT releases. Our hope is that we can
Thanks a lot, John!
2010/11/16 John LaBanca
> Put your list in a ListDataProvider and set the cellTable as the display:
> ListDataProvider dataProvider = new ListDataProvider(
> CONTACTS);
> dataProvider.addDataDisplay(cellTable);
>
> When you change the visible range of a CellTable, it clears i
The for this looks like it is private and not accessible any
other way.
However, I do notice that there is a treeLeaf.gif image in the GWT
source code base. So maybe this was intended at one point in time and
never finished.
thanks
--
You received this message because you are subscribed to the
I am working on a small GWT app (I have used GWT in the past but it
was a while ago), trying to learn the new MVP and RequestFactory. I
am not sure if I am just approaching this wrong, or have some error I
can't spot. When I add a call to instantiate my app's RequestFactory,
it no longer runs. I
Great news!
On Wed, Nov 17, 2010 at 3:57 PM, John LaBanca wrote:
> *If you do not use the GWT incubator, you can ignore this email.*
>
> GWT Community -
>
> The plan for the GWT incubator is to replace PagingScrollTable with
> Enterprise CellTable in GWT 2.2 (hopefully Q1 2011), then deprecate a
Is very strange as what. I have developed an application that simultaneously
logged on 50 / 60 users simultaneously and have not had this problem. The
truth is an application developed with gwt 1.5.3 and Spring 2.5.6, but I do
not think that's the problem. You could look at the code?
2010/11/17 D
Hi,
I am trying to create my own theme and use it. But while launching Dev
mode, it is giving the following errors in eclipse console:
Initializing AppEngine server
Loading modules
com.mitratul.theme.standard.Standard
Translatable source found in...
[WARN] No source path entries
Is CellList missing a cellListEmptyMessage resource?
--
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
google-web-toolki
Can you use CellList#setEmptyListMessage(SafeHtml) to set the message you
want to display when the list is empty?
Thanks,
John LaBanca
jlaba...@google.com
On Wed, Nov 17, 2010 at 3:16 PM, Blackberet wrote:
> Is CellList missing a cellListEmptyMessage resource?
>
> --
> You received this message
I sure can.
thanks
On Nov 17, 3:27 pm, John LaBanca wrote:
> Can you use CellList#setEmptyListMessage(SafeHtml) to set the message you
> want to display when the list is empty?
>
> Thanks,
> John LaBanca
> jlaba...@google.com
>
> On Wed, Nov 17, 2010 at 3:16 PM, Blackberet wrote:
>
>
>
>
>
>
>
>
Yep, all the GET information is in the URL. So something on the order
of "please send me 'X'" will work (response can, after all, be any
size), but "here, have these 10 objects" is likely to choke.
I suppose you can override HttpServlet's service call. But, given a
choice, I'm going to override
Even if you do, is it buried among 100+ lines of "errors"?
I'm a +1 on this. You haven't correctly implemented "IsSerializable"
until you've added a 0 argument constructor. That makes the failure
to do that the kind of bug that the compiler SHOULD be catching. And
it's a REALLY frustrating bug
Is there anything else in the Error log? Do you see any sub-entries of any
of the error entries?
On Tue, Nov 9, 2010 at 4:19 AM, Emanhossny wrote:
> Hello All,
> i installed GWT as a plugin i Eclipse.
> I have jdk 1.6
> When i created the first web application
> the following error appears:
> Ja
from the one point of view, it would be good to pass over any DOM atts
to its elements, maybe this could be accomplished by defining html
namespace, so as html:id="foo" or html:onclick="wtf()" would be bound
to the underlying element :) oh u see, it can get dirty. the most
important question yet is
i was also curious to know if there is a Checkbox Cell ?
--
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
google-web-to
There is a CheckboxCell but there is not a RadioCell. I think BrianV was
looking for a RadioGroupCell that would show multiple radio buttons in a
single cell, but that isn't implemented.
Thanks,
John LaBanca
jlaba...@google.com
On Wed, Nov 17, 2010 at 5:32 PM, zixzigma wrote:
> i was also cur
There is - see CheckboxCell. It works fine, but it is not a collection
of radio buttons.
I did look at the GWT source for several other "Cell" objects and it
looks straightforward to create a custom "RadioCell" that implements a
single Radio button (using the CheckboxCell as a roadmap for how this
I use CellTree with CompositeCell that consist of CheckboxCell and
EditTextCell
I can’t use left/right keys in EditTextCell since they are used to
navigate into/out of child nodes in CellTree widget. This makes
EditTextCell unusable. Is there a way to not use left/right keys for
node navigation an
I basically want to traverse the DOM tree, search for a DIV pattern
and replace that DIV with something else.
--
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 unsu
So I've been working on this problem with RequestFactory and Lazy
Loading. I am using a Service Layer to deal with operations on Domain
Objects. I ran into a problem when I was trying to "merge" an object
with my Hibernate Domain layer. Hibernate was throwing a "lazy
loading" error ("Failed to lazi
On 17 nov, 23:44, BrianV wrote:
> There is - see CheckboxCell. It works fine, but it is not a collection
> of radio buttons.
>
> I did look at the GWT source for several other "Cell" objects and it
> looks straightforward to create a custom "RadioCell" that implements a
> single Radio button (us
On 17 nov, 21:06, Nicholas wrote:
> I am working on a small GWT app (I have used GWT in the past but it
> was a while ago), trying to learn the new MVP and RequestFactory. I
> am not sure if I am just approaching this wrong, or have some error I
> can't spot. When I add a call to instantiate m
I think GQuery would be very helpful for this situation.
http://code.google.com/p/gwtquery/
--
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
Hello,
I am trying to use the internationalization feature of GWT. When I have read
the doc, it was great, but now that I am in the code, it is a bit harder.
I was afraid by the i18n management of uiBinder but thanks to mergelocales
from gwtp, it is now really simple. All translations are store in
GQuery: Manipulating the DOM and CSS
http://code.google.com/p/gwtquery/wiki/GettingStarted#Manipulating_the_DOM_and_CSS
--
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.c
Hi John,
Very good news about the PagingScrollTable that I use heavily: glad to
know that it now has a clear future (under the new implementation)
Also good to know that other widgets of incubator will be preserved
for now.
regards
didier
On Nov 17, 9:07 pm, Gal Dolber wrote:
> Great news!
>
>
I took another approach but have hit a roadblock. Instead of starting
with CheckboxCell and CompositeCell, I started with the SelectionCell
figuring that it already had multiple options. Unfortunately, I
haven't figured out a way to get the "radio group" (aka "name") field
into the generated safeht
Nevermind - I surrounded the template text with tags,
generated a random group name in the render method, and it all seems
to be mostly working.
--
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-
:file:/home/didier/dev/java/jars/gwt-
incubator-20101117-r1766.jar!/com/google/gwt/widgetideas/client/impl/
GlassPanelImpl.java'
[WARN] Line 30: Referencing deprecated class
'com.google.gwt.user.client.impl.DocumentRootImpl'
[WARN] Line 38: Referenc
Give the latest GWT Designer 8.1 build a try...
http://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html
Also note that there is a preference for turning the enhanced
compilation checking on and off...
http://code.google.com/webtoolkit/tools/gwtdesigner/preferences/gwt/pre
When executing my app in development mode I started getting a long
list of errors in the tree log, all related to BigDecimal. Here are
the first few lines:
Errors in 'jar:file:/C:/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle.2.1.0_2.1.0.v201010280102/gwt-2.1.0/
gwt-user.jar!/com/google/gwt/em
Eric,
Thanks for the tip.
There is also a work round for this JVM bug in the latest GWT Designer
build downloadable from
http://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html
Either of these approaches successfully resolves the issue.
Meeta
On Nov 16, 6:53 pm, Eric Clayberg
Now book bus ticket wherever u want
www.faregugly.com
--
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
google-web-t
great!
I'm still evaluating RequestFactory, maybe requestContext.isChanged()
is what I'm looking for.
Thanks,
Fábio.
On 17 nov, 12:31, Thomas Broyer wrote:
> On 16 nov, 19:34, Fábio Miranda wrote:
>
> > Hi,
>
> > Is there any way to check if an editor/object states has changed,
> > something a
Hi
I had this problem as well. I haven't found perfect solution.. What I
have done is while retrieving data from the database so e.g. in
findEntity(Long id) method I am forcing persistent layer to return my
collection immediately:
Entity findEntity(Long id)
{
// open transaction, get entityManag
85 matches
Mail list logo