Alex,
How did you fix this error? I am seeing the same issue and i was wondering
if you could help. 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-toolkit@googlegroups.com.
To unsub
You could use the Command pattern as with GWT-RPC using a ValueProxy as the
command object, but I'm not sure what you'd gain by it as you'd lose all the
RF functionality related to entities. As it currently stands, you would need
to modify the RF transport protocol, perhaps with a ServiceLayerDecor
Thanks Jeff,
With RPC, this way is understood. Similarily, I have some idea with
RequestFactory also like
requestFactory.serviceRequest().getAllEntities(clientSid);
and on the server side, in getAllEntities(String clientSid) i can verify the
same way you did.
But this way is forcing me to put
btw my bad I meant to say overridden OnFailure method... sorry about that
On Fri, Feb 25, 2011 at 7:15 PM, Jeff Schwartz wrote:
> With RPC I define all my RPC synchronous methods taking a string parameter
> whose value will be assigned from the cooke storing the sid. On the server,
> the handler
With RPC I define all my RPC synchronous methods taking a string parameter
whose value will be assigned from the cooke storing the sid. On the server,
the handler will compare this string value to the value returned from the
Session.getId() method. If they aren't the same I throw a custom exceptio
I think the discussion has become very interesting and I understood a lot
about attacks and attackers but I still ponder over the question that if we
have to put the auth token on the payload of the RequestFactory, how to do
that?
And after this how to read the token from the payload to verify i
If you put an AbsolutePanel in a Grid, the AbsoluteGrid contents are
not visible in either Chrome or FireFox. They are visible in IE8. To
duplicate, paste the code below in an EntryPoint class and run the
code in Development mode. Does anyone know of a workaround for this
problem?
package foo.bar
There is an issue to track this bug:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5962
We should have it fixed for GWT 2.3, even if it means we have to replace the
templates in that Cell.
Thanks,
John LaBanca
jlaba...@google.com
On Fri, Feb 25, 2011 at 4:55 PM, Eric wrote:
> H
Hi All...
I have ListEditor of editable widgets. Each widget is a simple
TextBox.
Workflow:
- clicking add, populating new empty editor in the list;
- filling the TextBox;
- saving
The problem is that for the first 'save' I have a new record in DB
with version=0 & all other fields=null. After
Hello all,
I've searched and haven't found anything. I'm surprised that this
hasn't been discussed (or I can't find it).
After upgrading to GWT 2.2, I'm getting the warnings below both in dev
mode and compiled. Is there anything I can do about it? Is it a
known issue. The only thing I'm doing
I am not dismissing your scenarios outright as I never said that the method
was foolproof and I also said that only SSL will give you something close to
that.
Also lets not forget that if the user manages to be lured to an attackers
site via a link in an email for instance and then doesn't notice
answering my own question: not sure why this happened, but gwt is not
the problem.
what i did to fix was to edit the url of each checked site and add
a // at the end.
install ran fine afterwards.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" gr
Please run this script in your WEB-INF/lib dir and reply with the output:
jargrep.sh:
#!/bin/sh
LOOK_FOR=$1
for i in `find . -name "*jar"`
do
echo $i
jar tvf $i | grep $LOOK_FOR
done
Example:
./jargrep.sh CompilerOptions
If you're not on a Unix system, use WinRAR to search the whole WEB-INF/
Hi!,
I am working for my client to explore the possibility to upgrade from
GWT 2.0 to GWT 2.2. My first step was install a bran new Eclipes 3.6
and then installed GWT 3.6 plugin. I ran into troubles when
downloading ( many times of timeout), so I simply downloaded the
plugin and installed it manua
hi,
i did some search but could not find an answer to my question.
i am trying to install the gwt plugin for eclipse 3.6 as detailed at:
http://code.google.com/eclipse/docs/install-eclipse-3.6.html
i have eclipse 3.6 with the java ee ide:
Eclipse Platform
Version: 3.6.1.r361_v20100909-9gF78GrkFqw
I keep getting the error below and am so desperate for a solution. I
have tried everything reodering the class path, look for the
jasper.jdtcompiler and nothing seems to work. I don't have tomcat
installed on my computer so there should be no duplicate jars. I am
really lost and I don't know what t
On Friday, February 25, 2011 6:39:40 PM UTC+1, Jeff wrote:
>
>
>
> On Fri, Feb 25, 2011 at 12:30 PM, Thomas Broyer wrote:
>
>> You contradict yourself (compare the HttpSession's ID with the auth token
>> –the HttpSession is maintained by a cookie, whose value generally is the
>> session's ID–
Thanks Hilco.
On Feb 25, 5:33 pm, Hilco Wijbenga wrote:
> On 25 February 2011 15:06, shahid wrote:
>
> > I have the following piece of test code in my application (using GWT
> > 2.1.0):
>
> > Date expiry = new Date();
> > long expiryTime = expiry.ge
On Fri, Feb 25, 2011 at 12:30 PM, Thomas Broyer wrote:
> You contradict yourself (compare the HttpSession's ID with the auth token
> –the HttpSession is maintained by a cookie, whose value generally is the
> session's ID– vs. do not send the auth token in a cookie), but that's not
> the problem.
On 25 February 2011 15:06, shahid wrote:
> I have the following piece of test code in my application (using GWT
> 2.1.0):
>
> Date expiry = new Date();
> long expiryTime = expiry.getTime();
> expiryTime = expiryTime + (1000 * 6
You contradict yourself (compare the HttpSession's ID with the auth token
–the HttpSession is maintained by a cookie, whose value generally is the
session's ID– vs. do not send the auth token in a cookie), but that's not
the problem.
The problem is: how are you initializing the auth token on th
You are talking about using request cookies so of course the scenario you
describe might be possible. Everyone knows they are vulnerable and hence
their ease of hijacking. The right way to do it is not using request cookies
at all on the server because they cannot be trusted - the auth token must b
We've updated the theme based on some of the feedback. The TabPanel header
background color is now gray instead of blue, and we added rounded corners
to buttons and tabs for browsers that support the border-radius CSS
attribute.
Thanks,
John LaBanca
jlaba...@google.com
On Wed, Feb 23, 2011 at 2
I haven't really decided whether the url is going to be an application wide
resources or if it can be set to different values on an instance base. But
does it really make a difference in regards to DI?
The difference is that if you provide the url on an instance basis than your
creation mech
On Fri, Feb 25, 2011 at 9:28 AM, ialexei wrote:
> I have a legacy middleware application that returns back XML.
> It has lots of methods and is doing well in a stable production
> environment.
> I would like my GWT app (running on a different domain) to consume
> this data with minimal changes to
@external .gwt-SplitLayoutPanel-HDragger;
.gwt-SplitLayoutPanel-HDragger { ... }
See:
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#External_and_legacy_scopes
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To p
On Friday, February 25, 2011 3:21:18 PM UTC+1, Jeff wrote:
>
> Hi Thomas,
>
> On Fri, Feb 25, 2011 at 8:49 AM, Thomas Broyer wrote:
>
>> Of course! I didn't mean to imply that you shouldn't secure your app, but
>> honestly if someone succeeds in hijacking your session, then he could
>> possibl
See
http://groups.google.com/group/google-web-toolkit/msg/a5afd58dfa6f4763
http://groups.google.com/group/google-web-toolkit/msg/3b945fe28bbea3b8
To resolve the GWT Designer error, you can either install the latest GWT
Designer from the beta channel as described in Eric's message above or
manuall
My question was, Is there an option #3 ?
On Feb 25, 11:28 am, ialexei wrote:
> I have a legacy middleware application that returns back XML.
> It has lots of methods and is doing well in a stable production
> environment.
> I would like my GWT app (running on a different domain) to consume
> this
Any code that is only run server-side should be outside the packages
declare for compilation in your .gwt.xml file.
For example, if you have data structure classes shared by both client
and server, you can put them in a .shared package (and update
your .gwt.xml to compile this package). However,
I have a legacy middleware application that returns back XML.
It has lots of methods and is doing well in a stable production
environment.
I would like my GWT app (running on a different domain) to consume
this data with minimal changes to the middleware.
The way I see it I have these 2 options
1.
I have a UiBinder managed Composite widget with a SplitLayoutPanel
at top. I'm trying to style the .gwt-SplitLayoutPanel-HDragger like
so...
.gwt-SplitLayoutPanel-HDragger {
background-color: #FFA65E;
cursor: e-resize;
}
but GWT ren
On Thu, Feb 24, 2011 at 11:22 PM, lalit wrote:
> I know that certain methods in my class are never going to be used in
> client side. They are specific to server. Can I somehow notify the GWT
> compiler to ignore these code fragments either at class level or
> method level.
>
> thanks in advance
There is GWT.isClient(). I'm not certain if the compiler will ignore
the unused chunks, however.
-Ben
On Feb 25, 12:22 am, lalit wrote:
> I know that certain methods in my class are never going to be used in
> client side. They are specific to server. Can I somehow notify the GWT
> compiler to
> If you're only adding to the end of the list, then keep track of how
> many items you've already added, and call updateRowData (prevNumAdded
> - 1, newData);
>
Unfortunately this works only on initial filling. The second time I
call this I've got nullPointers in my cell.render method for the fi
Hi all,
Is it possible to deploy a GWT (RPC-based) application to Oracle HTTP
Server.
I would really appreciate the if someone could point me to proper
documentation or enlist the steps for the same.
Thanks,
Harsh Yadav
--
You received this message because you are subscribed to the Google Grou
Go to project properties -> Google -> Web Application and uncheck "This
project has a war directory".
--
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 unsubscr
I think it is flexible enough to be used without an official support. Still
depends on how you want to use it.
As a rule of thumb, I normally see it like this:
- If your architecture is built around SpringMVC such that your view is
handled by Spring, then use Spring
- If your architectu
Are you importing the library into your web.xml file?
On Fri, Feb 25, 2011 at 10:32 AM, klemensr wrote:
> Dear all,
>
> I have two projects in my workspace - a master project and a
> specialised project which uses the master project as a library. Both
> projects are maven based. The master proje
Part 1:
RootPanel rootPanel = RootPanel.get();
this.html_panel_id = HTMLPanel.createUniqueId();
html_panel = new HTMLPanel("");
rootPanel.add(html_panel);
Part 2:
public native void recaptcha_show() /*-{
var recaptcha_container_id =
th...@com
Can anyone tell me if an upcoming version of CellTable will include
TreeTable like features (expanding of entire rows including multiple
columns ) I read the survey on the upcoming CellTable features and
this was mentioned in there.
I have read multiple posts asking for solutions to this but there
ho r u
On 2/25/11, Jan Mostert wrote:
> hashbang and hijax
>
> Hashbang will only work on Google though.
>
> --
> Jan Vladimir Mostert
> BEngSci
>
> MyCee Technologies
>
>
> On Fri, Feb 25, 2011 at 6:13 AM, Kurtt wrote:
>
>> I want to add automatically hidden sub-menus in my page, and do this
>>
Hellow everyone, I started to deal with GWT+roo scaffolding ap and
found the idea very cool. Thank you guys!
But I found it hard for me to understanf how to implement custom
"find" methods like for example - findAllEmployeesByName.
I looked all the documentations and it's written there that I
I know that certain methods in my class are never going to be used in
client side. They are specific to server. Can I somehow notify the GWT
compiler to ignore these code fragments either at class level or
method level.
thanks in advance
--
You received this message because you are subscribed to
Hi,
I've got a GWT 2.1 project that has some transparent 8-bit PNGs as
resources. I'm developing on Mac OS X Snow Leopard, and building/
packaging my project (with Maven) works fine. But when I upload it to
our TeamCity CI box (Linux, Ubuntu 9.01) with the same pom.xml, same
local Maven repo, etc.,
Hello guys,
I'm having a problem with the widgets CellTable and FlexTable (or Grid).
I made my layout using a FlexTable. The first row is the header and into the
second row I'm trying to put a CellTable, but the CellTable isn't rendering.
I've tested putting the CellTable into the RootPanel
On Fri, Feb 25, 2011 at 10:14 AM, veenatic wrote:
> Does this mean that "auth token" in the request payload is not of much use?
> Also, I want to understand when i have the token set in the requestfactory
> payload, how to retrieve from the payload when a service call is made by
> requestfactory
Dear all,
I have two projects in my workspace - a master project and a
specialised project which uses the master project as a library. Both
projects are maven based. The master project is using jar packaging so
that I can use this lib in the specialised project. The master project
includes gwt vie
Hi,
In my celltable, i have one button column.
In the fieldAdapter(), i am opening a new window using Window.open(" url",
"_blank", "");
It opens a new window withe the url using the http get() method. I want to
open this window with http post() method. How can i acheive this ?
I think it is not p
Does this mean that "auth token" in the request payload is not of much use?
Also, I want to understand when i have the token set in the requestfactory
payload, how to retrieve from the payload when a service call is made by
requestfactory since i will have to validate the token for every service
If you want to make UiBinder Template Editor the default, choose it through
Open With->Other rather than directly.
--
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.
T
I have the following piece of test code in my application (using GWT
2.1.0):
Date expiry = new Date();
long expiryTime = expiry.getTime();
expiryTime = expiryTime + (1000 * 60 * 60 * 24 * 90);
// 90 days
When I debug this
I have a simple app with spring integration for some reference:
https://github.com/ashtonthomas/beans
important places:
- war/WEB-INF/ spring-servlet.xml & web.xml
- src/appContext
- src/com/billy/bob/server/request/ GwtRpc files etc
GWT/Spring != Rails. You're in a whole new ballgame. There will
RPC uses Ajax so understanding how Ajax works will answer all your
questions.
On Fri, Feb 25, 2011 at 9:49 AM, dreamer wrote:
> Hi,
>
> Not sure how the AsyncCallback works in GWT. Could somebody share
> please?
>
> 1) Will it create a thread and polls the server ?
> or
> 2) Will servers
May I ask why do you need something like that? Basically everything
what you need is inside of gwt-user package.
Let's look what is actually SLF4J. It's just an interface for many
logging frameworks [java.lang, apache.logger , etc]. So when you have
plenty of libraries using different logging fram
Thanks Yegor.
On Feb 24, 9:19 pm, Yegor wrote:
> Hi, PARAG,
>
> Whether "0" is the correct result or not is debatable. After all, an
> empty string is not a number at all, therefore for number zero, the
> zero symbol itself is not a leading zero.
>
> Perhaps the documentation should clarify that
Hi,
Not sure how the AsyncCallback works in GWT. Could somebody share
please?
1) Will it create a thread and polls the server ?
or
2) Will servers register's client IP and when result is available
makes a fresh TCP/IP connection to client
and calls client.
Within this call back,
Hi:
Thank you for your answer Jack, i followed your note and tried, but seem it
did not behave well, the server memory soon increased and finally eat up the
physical memory. i'm using Hibernate JPA 3.6 and Jetty.
About using GWT RPC, i'll try it later.
thanks.
--
You received this message becau
1+
--
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
google-web-toolkit+unsubscr...@googlegroups.com.
For more options,
Hi Thomas,
On Fri, Feb 25, 2011 at 8:49 AM, Thomas Broyer wrote:
> Of course! I didn't mean to imply that you shouldn't secure your app, but
> honestly if someone succeeds in hijacking your session, then he could
> possibly do it before loading the host page, so that your GWT app will run
> with
Search for "EnterButton" in this group. At the top is a class
everyone should have. Below that is a discussion of using sinkEvents
to get key down events from Widgets that normally don't pass them.
Greg
On Feb 25, 7:59 am, El Mentecato Mayor
wrote:
> If you want to do it when a PasswordTextBox
If you want to do it when a PasswordTextBox is on focus for example
(this is from my sign-in page):
passwordTextBox.addKeyPressHandler(new KeyPressHandler() {
public void onKeyPress(KeyPressEvent event) {
if (((int)event.getCharCode()) == 13) { // User hit
"Enter" key
Would you want some random web page to be able to start your printer
going, printing out whatever the writer of that web page wants,
without any warning to you, or any way to stop it?
No?
Then no, you can't print from a web application running in a properly
functioning web browser w/o first putti
Hi awesome people
I'm trying to control which of the columns in a CellTable will trigger a
SelectionChangeEvent by implementing CellPreviewEvent.Handler.
The problem is that even if I cancel the SelectionChangeEvent, the
CSS-styles for *selected rows* are still applied (
.cellTableKeyboardSele
Does anyone have any thoughts?
/O
--
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
google-web-toolkit+unsubscr...@goog
Of course! I didn't mean to imply that you shouldn't secure your app, but
honestly if someone succeeds in hijacking your session, then he could
possibly do it before loading the host page, so that your GWT app will run
with the hijacked session, and the "auth token in the request payload" won't
See the discussion and suggestions here...
http://code.google.com/p/google-web-toolkit/issues/detail?id=6029
--
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 unsu
Thank you John, Brian and zakness. All of you were spot on!
I was confusing descendant selectors and multiple selectors. I guess the
reason I was having such a hard time figuring out this one was because the
parent TR had many of the same styles applied. This gave the illusion that
the way I w
Just because gin/guice is better than spring ;)
2011/2/24 lascarayf
> Why GWT team do not make a OFFICIAL GWT SPRING INTEGRATION
> DOCUMENT??
>
> --
> 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'm also currently working on an emulation of org.slf4j.Logger and
org.slf4j.LoggerFactory. The emulated LoggerFactory class simply calls
java.util.logging.Logger.getLogger(String) to create a logger, and the
emulation of org.slf4j.Logger that is returned from LoggerFactory wraps the
java.util.
I integrate Spring and gwt-dispatch using this approach:
http://pgt.de/2009/09/16/use-spring-with-gwt-dispatch/
And here is the sample
http://pgt.de/2009/12/09/sample-gwt-dispath-project/
Juan
2011/2/25 Ezequiel Palumbo
>
>
> On 24 feb, 16:48, lascarayf wrote:
> > Why GWT team do not make a
On 24 feb, 16:48, lascarayf wrote:
> Why GWT team do not make a OFFICIAL GWT SPRING INTEGRATION
> DOCUMENT??
Like the other guys well said, there's a lot of ways to do that job,
and it also depends of your needs. I have coded a few lines in order
to use spring beans as RemoteService impleme
JPA provides two modes of flushing query objects namely AUTO and COMMIT
(which are defined in FlushModeType Enumeration). If the AUTO mode is set on
the Query object which is the default one, then any changes made to entity
objects will be reflected the very next time when a select query is made.
T
Not easily
On 25 Feb., 10:53, Neel wrote:
> Hi
>
> Is it possible to print page without open Print Dialog.
--
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 unsu
hi all,
question as above.
uibinder doesn't accept http://fonts.googleapis.com/css?family=Tangerine";>
/bryan
--
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.
On Friday, February 25, 2011 4:04:12 AM UTC+1, zixzigma wrote:
>
> is it possible to use an SL4J adapter in GWT to wrap java.util.logging ?
>
I started working on something like that at work, and we will eventually
open source it.
For now, I can use Slf4J in my client code. In DevMode, it will
Hi Phillipe
Thanks for the interesting comments. I am still trying to fully understand
dependency injection and sometimes I am not sure that I have ;-)
I agree that dependency injection is more powerful and flexible compared to
deferred binding.
So the three cases you described apply when I w
@Brian:
I agree, after thinking a little bit more about that problem and taking your
comments into account I think that deferred binding might not be really
suitable for my use case.
I also agree that the best approach is to set the datasource in the
constructor thus enabling users to use Depe
Just a short note: You can remove the @SuppressWarnings annotation when
using em.createQuery(query, Scenario.class)
Your server code seems ok. We do not use RequestFactory yet but we are
sometimes fetching a lot of entities on our server (Glassfish 3.1 + bundled
Eclipselink 2.2) and haven't see
Dear Philippe,
yeah this was the reason and the workaround works as hell! Many
thanks! This saved my fascination for building GWT apps! :-)
But some questions remain:
Why does this only affect IE7? I first thought that it was a bug
originated in the browser specific generated code. But I could
r
Sorry! Using GWT 2.1
--
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
google-web-toolkit+unsubscr...@googlegroups.com.
Hello everybody!
I've got a problem:
I'm using Hibernate version 3.6 and RequestFactory together to manage
all the database work. Until now i did not run into any problems.
But now I've got the case that I want to update an entity (merge), but
need access to the old values of the entity in the upd
I have the exact same problem, albeit for any browser in fact. As well
keeping record of data providers is not sustainable for me. I am
looking into opening and closing the parent node to refresh but at
this stage I am not sure if it is completely possible.
On Feb 16, 7:05 pm, Lakshitha Ranasinghe
Hi everybody,
I'm using GWT Designer + Google Plugin for Eclipse, and I'd like to
design the GUI with the designer and deploy the resulting app on
Google App Engine. I'm fighting from days with this problem: if I
deploy on GAE an application developed using the GWT Designer, it does
NOT run.
This
Hi
Is it possible to print page without open Print Dialog.
--
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
google-we
I'm having exactly the same problem. The problem started to show up after I
updated java to version 1.6.0_24
$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
$ cat /etc/redhat-release
Fedo
Hi Everyone,
I am wondering how to properly make a list of widgets that have their
editor, and allowing that list to be collapsable. Also as i want to
create that list to have editors, is it proper way to create class
ListDisclosurePanel and implement HasData interface?
Thanks.
--
You received t
hi all:
I'm not sure i'm using requestfactory+JPA the right way even through i
followed the example(expense) step by step. the memory at server side
increase everytime i query some data from Entity, after several
times, the server heap overflow.
server side:
public static List findScenar
The following link should give you a generic overview of the requirements to
make a crawlable ajax application (crawlable by google that is, AFAIK no
other search engine supports this) :
http://code.google.com/web/ajaxcrawling/docs/getting-started.html
>From there, you should be able to google
Greg, thanks for your reply.
I've given a test example above that hangs... I don't understand what
you mean by all those steps :). Just copy-paste the code above and run
it as a gwt testcase.
On Feb 24, 5:48 pm, Greg Dougherty wrote:
> Right before this object's constructor, try to create the ima
90 matches
Mail list logo