Hi,
You can have many onModuleLoad() but only one EntryPoint class for one
project in GWT
Prajakta
--
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
first i thought it is hard to decide which front end/ widget framework to
use (i decided to use pure gwt because of flexibility) but now after writing
first small prototypes and reading about best practices and MVP, i came to
conclusion that the much harder decision is how to implement MVP or
Hi
I am looking for some example / tutorial for GWT , HIBERNATE , SPRING ,
MYSQL Integration
I've been looking on google for that but no success ,
Any help would be appreciated..
thanks
junaid
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
Hi,
What I need to do is to implement column sorting functionality with
CellTable. AFAIK in GWT 2.2 such functionality is already implemented
but could be used only with ListDataProvider. I need to use an
AsyncDataProvider (because of an large amount of data). Does anybody
have any ideas or an
I finally got it working.
The problem was that my demandes variable, which contains the list of data
that i want to use to populate the celltable, was not initialized ...
Thanks to SVR for pointing it out in the first place !
On Mon, Apr 25, 2011 at 3:40 PM, SVR svr...@gmail.com wrote:
I didnt
Hi,
Thanks for this reply, in the similar line I would like to know what is the
best way to get Scrollability on CellTable.
Please share your thoughts on the same.
Thanks in advance!
Saida.
On Wed, Apr 27, 2011 at 2:28 PM, Celinio cel...@gmail.com wrote:
I finally got it working.
The
As of GWT 2.0 you should use
ClientBundle:
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideClientBundle.html
If you really have to use ImageBundle from GWT 1.6/1.7 you only have to use
the @gwt.resource tag if the filename does not match the method name or if
the image is in a
Hi,
I'm using GWT 2.2 and I have:
@UiField InputElement searchText;
TextBox.wrap(searchText).addKeyPressHandler(new KeyPressHandler() {
public void onKeyPress(KeyPressEvent event) {
if (event.getCharCode() == KeyCodes.KEY_ENTER)
I had the same issue,
Did you check on other browsers, because in some browsers it worked
On Wed, Apr 27, 2011 at 3:52 PM, julio antongiuli...@gmail.com wrote:
Hi,
I'm using GWT 2.2 and I have:
@UiField InputElement searchText;
TextBox.wrap(searchText).addKeyPressHandler(new
I started using the approach of part
1http://code.google.com/webtoolkit/articles/mvp-architecture.html
2 years ago (after Ray Ryan's famous talk at I/O) and switched to the one of
part 2 http://code.google.com/webtoolkit/articles/mvp-architecture-2.html
soon after (a couple months or so). It
GWT abstracts many browser discrepancies, but not the fact that Firefox has
an awful logic re. keypress events. For Firefox, every key pressed generates
a keypress events (whereas others only do so for printable characters);
which means getCharCode/getUnicodeCharCode will be 0 in those cases.
I'm using for test Firefox 4.0.1 at the moment, btw I just tried with
Chrome 10 and it works.
So it looks like a bug in GWT. In case any workaround?
Thanks
Julio
On Apr 27, 11:29 am, riyaz ahmed sunez.ri...@gmail.com wrote:
I had the same issue,
Did you check on other browsers, because in
Maybe you can try using event.getNativeEvent().getKeyCode() instead of
getCharCode().
--
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,
Hello,
I am currently developing a small prototyp using the HTML 5 canvas
element included in GWT 2.2
The focus of this prototyp is in evaluating the multi-touch event of
the HTML 5 canvas.
Basically I have some questions about HTML 5 and multi-touch and I
hope someone can help me answer them!
I am running Windows XP 64bit, just in case it is relevant to the
multi-touch simulation...
On 27 Apr., 13:04, StrongSteve swe.sta...@gmail.com wrote:
Hello,
I am currently developing a small prototyp using the HTML 5 canvas
element included in GWT 2.2
The focus of this prototyp is in
Hi all,
Reading your two posts, and if it helps you (tanteanni) to be more confident
if you have two opinions encouraging the same approach, I will say that I
completely agree with Thomas: I couldn´t live without MVP once I have
understand it and know its advantages over other design patterns
I am also using the MVP approach described in Large scale application
development and MVP - Part II.
It is really nice to have a delegate interface that is known to the view and
is used to delegate UI events to methods. The view can then use UiBinder's
@UiHandler and can also do simple logic
thx for explicitly pointing to part2 - 'til now i didn't read it because i
thought it is all about how to use uiBinder but now i found ...you quickly
realize that something has to give. Either the presenter needs to know more
about the view (making it hard to swap out views for other
Am Mittwoch, 27. April 2011 13:32:47 UTC+2 schrieb ernesto.reig:
But Thomas, there´s something I don´t understand, when you say Activities
however are in no way related to MVP. Activities are the Presenters in the
MVP pattern, I mean, they own the views and there happens the logic
event.getNativeEvent().getKeyCode() works thanks
and keydown event as suggested by Thomas too
Julio
On Apr 27, 11:59 am, Jens jens.nehlme...@gmail.com wrote:
Maybe you can try using event.getNativeEvent().getKeyCode() instead of
getCharCode().
--
You received this message because you are
Thank you Jens,
I understand what you have said. Well, the thing is that I have used the
Activity as a Presenter in all my web apps (putting a Presenter object in
the view, implementing the presenter interface in the Activity and setting
this as the Presenter of the view) and I haven´t think of
I'm planning to start a screencast with the complete steps to build a
simple bugtracker in TDD.
We didn't use any framework for mvp in gwt, but we created our classes
when we needed.
gook luck and thankyou for the feednback.
cheers
Uberto
On Tue, Apr 26, 2011 at 9:09 AM, Piotr Kosmowski
Only when I load your page under IE8 Compatibility mode the Benutzername is
not filled with test. IE8 works fine as well as 64bit IE8.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Hi,
I suggest that you clean your project then compile again and check
--
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
Hi,
anyone has idea how to turn off creation of this directory? It takes on my
web app 125 MB.
http://www.google.com/codesearch/p?hl=en#A1edwVHBClQ/user/src/com/google/gwt/logging/server/StackTraceDeobfuscator.javaq=symbolMaps%20package:http://google-web-toolkit%5C.googlecode%5C.comsa=Ncd=3ct=rc
Hi all,
tried to develop a sample GWT portlet to be deployed to a PLUTO
Portal. I used RPC to get records from a known oracle database. Gui
and comments works fine but the asynch call get's lost with a
JAVA.IO.STREAM error. Any idea?
--
You received this message because you are subscribed to
Hi,
I am a fresher with GWT and am using GWT with Apache Derby database
and Hibernate for OR mapping
We faced the same problem of IncompatibleRemoteServiceException and
followed the same solution given on this group.But the error still
persisted.
Then we placed the hibernate.cfg files and the
Hi,
I suggest you clean your Project,then compile again and see if its
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send
Good question. I haven't done a web app yet that uses activities/places, so
I have only read a lot about it.
But if you have a token like #ListPersonDetailsPlace:1 to list details of a
person with database id 1, an activity could load that person from the
database and set it to the presenter
Hi julio,
there's also an open issue in the issue tracker for GWT:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5558
It is increasingly annoying that the docs in
http://code.google.com/webtoolkit/doc/latest/tutorial/manageevents.html are
not updated to reflect this issue.
HTH
On Wednesday, April 27, 2011 1:32:47 PM UTC+2, ernesto.reig wrote:
But Thomas, there´s something I don´t understand, when you say Activities
however are in no way related to MVP. Activities are the Presenters in the
MVP pattern, I mean, they own the views and there happens the logic
Many thanks Thomas for your advice, I am able to get it done!
Really appreciate for your help :D
Kind Regards
Andy
--
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
Hi,
Well, on clicking the image reload the page with different widgets.
I tried using the Clickhandler for the image but it threw a series of
exception like
com.google.gwt.event.shared.UmbrellaException: One or more exceptions
caught, see full set in UmbrellaException#getCauses
at
my confusion is raising?! (did someone read my answer? i kindly ask that
someone may pay attention to it)
thomas i don't know if i understand the relation (i it exists) between MVP
and places and activitie? It'd be in most case a brad practice... does
this mean that is bad practice if places
There's really no such thing as a GWT page vs. a regular page. The
way GWT works isn't very much like using a traditional javascript
library like jquery and such, you end up writing what ever you need
your popup panel to do in java and then you'll compile that java code
into a javascript file
I've managed to work around the problem. The main thing that made the
difference was importing the initial project into eclipse using the
native eclipse command Import - Existing project rather than the
command that I believe is provided by m2eclipse, i.e. Import... /
Existing maven project.
It
Hi
I have added a cell table in my application and customized its CSS
following the steps in this thread:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/7592e4e4bc2728dd
By default the Up or Down arrow image that appears with the sorted
column is displayed before the
IE can not handle NullPointerExceptions as well as others. I corrected
the NullPointer and now it works.
Setting the GWT output style to DETAILED allowed me to identify what
was wrong.
For future notice, the maven plugin config:
plugin
groupIdorg.codehaus.mojo/groupId
Hi, i have a problem on adding dblclick event when extending
AbstractCell.
This way works:
CellFolder cell = new AbstractCellFolder(dblclick)
{}
But when i try to create a class i have an error:Syntax error on
tokens, AnnotationName expected instead
private static class CartellaCell
Thank you, but it does not change the fact that the style gets applied
to the PopupPanel as well as the glass. The issue is that the
PopupPanel is below and not above the glass.
On Apr 26, 10:14 pm, SVR svr...@gmail.com wrote:
You could try setting your own style (a different background etc)
Take a look in
http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellTable.html
at the ColumnSorting with AsyncDataProvider.
On Apr 27, 4:42 am, Opal maciek.op...@gmail.com wrote:
Hi,
What I need to do is to implement column sorting functionality with
CellTable. AFAIK in GWT 2.2 such
We are having problems with IE8 and FlexTables and Grids.
FireFox and Crome work great.
In IE8 we will get that GWT message warning about a script running
long, do you want to continue.
I have implemented all the things I have found in the past. Not
attaching the Flextable to the partent until
Well, I thought I had the problem worked around, but, darn it, it came
back. Then I re-read through all of the posts of the folks who tried
to help me and it turns out that Thomas Broyer's post pointed to the
exact problem. Specifically, when doing a clean before my build I
clean out the spurious
I'd try another browser to see if it behaves the same. The only other thing
that comes to mind related to performance is the fact that a lot of files
get generated in the Temp directory. However, this should affect the first
load as well. It's still probably a good idea to clear those out.
I don't believe that's the full stack trace. A bit further down the screen it will probably give you
a hint as to what happened.
Alan
On 4/27/2011 6:22 AM, Patssay wrote:
Hi,
Well, on clicking the image reload the page with different widgets.
I tried using the Clickhandler for the image
On Wednesday, April 27, 2011 3:28:53 PM UTC+2, tanteanni wrote:
my confusion is raising?! (did someone read my answer? i kindly ask that
someone may pay attention to it)
thomas i don't know if i understand the relation (i it exists) between MVP
and places and activitie? It'd be in most
Hehe well your only chance would be to use CellTable (but that needs at
least GWT 2.1), build some pagination into your app so that you do not
display all data at once or you generate the whole table as a pure html
string and call setInnerHtml (its basically what CellTable does). The last
one
Actually, you should thank Salvador
Diaz: https://twitter.com/#!/salvadordiaz/status/60746056354369536
--
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
Have you tried popup.setWidget(this)?
I have a WizardViewImpl.ui.xml and in its corresponding java file I do:
private final PopupPanel wizardPopup;
... and in constructor after initWidget ...
this.wizardPopup = new PopupPanel(false, false);
this.wizardPopup.setGlassEnabled(true);
Thx to all of you, confusion is disappearing (slowly) :-)
So the bottom line is: a good practice would be to use MVP (part2 -Way) in
conjunction with places and activities(mainly for history management -
ignoring history management of part1 - but also as a more abstract kind of
hey,
i want to create a uiBinder wchich creates all of the gwt widgets in
order to organize and refactore my code.
but i can't find a real well organized document concerning uiBinder am
using Grids and FlexTables in my code so i was'nt able to find
anything concerning gris or flex table and while
Personally I don´t like using other frameworks to aid with the MVP
implementation. I would use Activity´s and Place´s but using the MVP
philosophy, i.e., the Activity acts as the Presenter of the view also. It
holds the view. The view has a Presenter object (the interface that
implements the
Well, I was not asking for a proof, but thanks anyway :) I know it is
possible to do that, the Expenses sample works that way...
I was just wondering why you were saying that Activity´s don´t have anything
to do with MVP, cause they are the backbone of my MVP implementations (they
are the
As you are a bit confused how things play together I think it would be the
best to go without a MVP Framework for now. Create a small example app using
places and activities along with some Ui components that are implemented
using the MVP part 2 approach. You can also integrate Gin (and maybe
Hi all,
I set my project up so that gwt will build to src/main/webapp, but I
also check in src/main/webapp to subversion. index.html, web.xml,
etc. When I run the project in eclipse, the build process or google
plugin will delete all the .svn directories. I have tried one
suggested solution
True, Salvador's suggestion is one approach, but the problem with
following the suggestion is that its contrary to the setup you get out
of the box by importing a project generated by the gwt-maven-
archetype, i.e. hosted mode for the imported project uses src/main/
webapp. Personally, I like the
On Wed, Apr 27, 2011 at 10:21 AM, David Durham
david.durham...@gmail.com wrote:
When I run the project in eclipse, the build process or google
plugin will delete all the .svn directories.
I should say, it will delete all .svn directories in the
src/main/webapp tree. So it will delete:
On Wednesday, April 27, 2011 4:55:06 PM UTC+2, tanteanni wrote:
Is it possible (or probably preferable) to aid the implementation of MVP
by a MVP-Framework (like those mentioned above)? or would this raise some
conflicts with gwt's places and ativities?
GWTP and Mvp4g both do much more
Google recommends that you launch from the target/myproject-version
directory and I believe this really is what you should do:
http://code.google.com/eclipse/docs/faq.html#gwt_with_maven
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To
It might be the javascript validation turned on in eclipse, disable it
under Validators in project properties
On 27 Kwi, 17:37, David Durham david.durham...@gmail.com wrote:
On Wed, Apr 27, 2011 at 10:21 AM, David Durham
david.durham...@gmail.com wrote:
When I run the project in eclipse, the
This is the Marquee Tag I use :
MARQUEE id=marquee onMouseOver=this.stop() onMouseOut=this.start()
scrollAmount=7 direction=left width=100% height=20%
And Thank you
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group,
Are you setting the war directory to the web app directory instead
of the target/snapshot?? This caused the issue for us.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
If you're using grids/flex table, can you just write a static table or do
you have to dynamically add content to the rows?
g:HTMLPanel
Table .../Table
/g:HTMLPanel
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this
I am having an issue in my code with my Presenter being unable to
update the contents of a Listbox in my View.
One thing I've noticed it that by setting a break point on the
initWidget within the view's constructor, the class seems to be
initialized twice, making me wonder if there is an
Hi,
I found my problem.
FYI for anyone facing this in the future.
I created a new GWT compile run configuration in eclipse.
The compiler output for a 1.71. project is set by default to 'www' .
For the GWT 2.2 plug it expects the output to be set to 'war' which
makes sense, since this is the new
Hi,
I am trying to use Flowpanel to display a bunch of images
on the left part of the browser. As per my search , the css proprty
float:left needs to be set for the children of the panel however
this is not workoing. the panel still loads the images one below the
other
in a vertical manner.
Could
I have a CellList containing a number of custom Cells – and in each cell I
have 5 image icons to carry out a specific action. To invoke the action - I
have override the onBrowserEvent am consuming the click events but the
problem is that I can’t work out if it was image 1, image 2 etc that
I fixed the bug with the wrongly enabled forward button when setting
setRangeLimited(false); with this override:
@Override
public boolean hasNextPage() {
if(this.getPage()(this.getPageCount()-1)) {
I am designing a page using GWT designer and this is the hierarchy
rootPanel
||
VerticalPanel
||
FlexTable
Now whenever I try to add a textbox to Flextable the mouse just
doesn't pick it. and I 'm unable to add it.
When I switch to Editor mode I can add the textbox and it shows no
error.
I have a servlet which is extending RemoteServlet for RPC.In that
servlet I have a method, for client side.how to add values to that
method, from my normal servlet.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this
I fixed the problem with the enabled forward button when setting
setRangeLimited(false) with this override:
@Override
public boolean hasNextPage() {
if(this.getPage()(this.getPageCount()-1)) {
return
I fixed the bug with the invalid enabled next page button while
setting setRangeLimited(false) by overwriting the hasNextPage()
method:
/* (non-Javadoc)
* @see
com.google.gwt.user.cellview.client.SimplePager#hasNextPage()
*/
[ERROR] The requested type
com.google.gwt.sample.mobilewebapp.shared.TaskProxy is not assignable
to com.google.gwt.requestfactory.shared.EntityProxy or
com.google.gwt.requestfactory.shared.ValueProxy
[ERROR] Unexpected error
com.google.gwt.requestfactory.server.UnexpectedException: The
requested
hmm maybe this can help :
http://larkolicio.us/ScrollTable/ExperimentTables.html
http://stackoverflow.com/questions/4073624/a-gwt-celltable-with-frozen-header-and-initial-column
On Wed, Apr 27, 2011 at 11:04 AM, saida dhanavath dhana@gmail.comwrote:
Hi,
Thanks for this reply, in the
Hello again, I have found this right now:
http://seewah.blogspot.com/2009/02/gwt-tips-2-nocachejs-getting-cached-in.html
Has anyone try something like this?
Thanks
On 25 abr, 23:54, SrArcos srar...@gmail.com wrote:
Hello all!
I am trying configure Tomcat 6.0.26 for GWT but I am new in Tomcat
I would recommend not using Struts with GWT, Struts (and Spring MVC)
are web 1.0 technologies. I would recommend using RPC for actions
that need to talk to the server using googles nice RPC framework.
If you have a mashup (old Struts app that you want to add GWT to)
I would suggest taking a
agreed
On Wed, Apr 27, 2011 at 9:22 PM, Adligo sc...@adligo.com wrote:
I would recommend not using Struts with GWT, Struts (and Spring MVC)
are web 1.0 technologies. I would recommend using RPC for actions
that need to talk to the server using googles nice RPC framework.
If you have a
I believe that:
If you is using struts1 and would like use GWT integrated with
Struts1...
STOP NOW!
You should to create a RequestBuilder for each Action on Struts...
And create a form that represent your struts form
Is a big job do this...
If you would like use GWT, consider first to use
@adligo
I agree with you too!
On 27 abr, 22:22, Adligo sc...@adligo.com wrote:
I would recommend not using Struts with GWT, Struts (and Spring MVC)
are web 1.0 technologies. I would recommend using RPC for actions
that need to talk to the server using googles nice RPC framework.
If you
If I want to do this:
---
ParentC extends Child extends UIObject{
public append(C child){
..
}
}
---
Here the interface ItemView must extend IsWidget,otherwise child can't
be
thanks to all of you!
all of you suggest the same way (rarely enough :-)): try to work with the
tools offered by gwt and use them the way they meant for. and obey to
MVP!(the only part i tried already)
(should gin/guice also remain untouched?) do you use gin/guice?
so i'll read part2, read
LGTM
http://gwt-code-reviews.appspot.com/1422811/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM
http://gwt-code-reviews.appspot.com/1425808/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1420809/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1420809/diff/4006/dev/core/src/com/google/gwt/dev/javac/CompiledClass.java
File dev/core/src/com/google/gwt/dev/javac/CompiledClass.java (right):
http://gwt-code-reviews.appspot.com/1420809/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 10086
Author: her...@google.com
Date: Wed Apr 27 03:02:03 2011
Log: Fixing setInnerHTML calls on attach/detach sections.
Review at http://gwt-code-reviews.appspot.com/1422811
http://code.google.com/p/google-web-toolkit/source/detail?r=10086
Modified:
I am noticing that while unnecessary casts of an EnumType to (Enum) no
longer happen, there is still a cast generated, for the EnumType itself.
Is that necessary?
E.g., I'm seeing code like this:
Fruit fruit = Fruit.APPLE;
int i = fruit.ordinal();
ending up in the AST like this (from
http://gwt-code-reviews.appspot.com/1409802/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1425810/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1425810/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/1409802/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM
http://gwt-code-reviews.appspot.com/1425810/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM
http://gwt-code-reviews.appspot.com/1420809/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM
http://gwt-code-reviews.appspot.com/1380806/diff/25001/user/src/com/google/gwt/safehtml/shared/UriUtils.java
File user/src/com/google/gwt/safehtml/shared/UriUtils.java (right):
LGTM
http://gwt-code-reviews.appspot.com/1422807/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 10088
Author: zun...@google.com
Date: Wed Apr 27 07:16:38 2011
Log: Removed unecessary @Override
http://code.google.com/p/google-web-toolkit/source/detail?r=10088
Modified:
/trunk/dev/core/src/com/google/gwt/dev/javac/testing/JavaSource.java
committed as r10087
http://gwt-code-reviews.appspot.com/1425808/
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
LGTM with nits.
http://gwt-code-reviews.appspot.com/1380806/diff/29005/user/src/com/google/gwt/resources/client/ImageResource.java
File user/src/com/google/gwt/resources/client/ImageResource.java
(right):
On 2011/04/26 21:10:21, jlabanca wrote:
On Tue, Apr 26, 2011 at 4:57 PM, Jeff Larsen
mailto:larse...@gmail.com wrote:
Drag n Drop doesn't work in ie8 (expected). Perhaps use deferred
binding to
get rid of the templates portion for all versions of ie9. Otherwise
those templates are pretty
1 - 100 of 152 matches
Mail list logo