@sujaydutta: I'm not familiar with SmartGWT, but I'm guessing it uses a
different 'widget' hierarchy than comes with GWT? If so, it's still
possible, you'll just need to create something similar to the
WidgetPresenter and WidgetDisplay for use with SmartGWT classes. The API
itself is not tied to any particular widget implementation.
For more information:
http://code.google.com/p/gwt-presenter/wiki/GettingStarted
I see you have version 1.1.0-SNAPSHOT. Can I configure my POM to look at
your maven repo (if there is one)?
Funny, posted javadoc describes BasicPresenter<D extents Display> class,
but I can't find BasePresenter class.
I'm trying gwt-presenter for the first time, trying to see how I'll
integrated within my project, first question about the presenter class
implemented here :
why PLACE is public static then it's also returned throw the getPlace()
methode ?
The reason was so that you could create hyperlinks to the location without
needing the Presenter instance. However, the 'replace' branch, which will
soon become the main trunk, has a new Place API, which does not require
Presenter to know about it at all. Instead, you create and register places
directly with the PlaceManager upon construction.
I have a problem with the PlaceManager implementation. PlaceManager class
implements PlaceRequestHandler, but it doesn't listen for
PlaceRequestEvents from the EventBus. Is this a bug? How is
PlaceManager.onPlaceRequest method called?
Any updates on the replace branch becoming the TRUNK ?
I would really like to find out more about the updates to
PlaceManager...Will there be changes to the API anytime soon?
yes,I fund 1.1.1 out in http://borglin.net/gwt-project/?page_id=383,but
this place have not any change,why?
I am also interested on gwt-presenter-1.1.1-replace-SNAPSHOT.
Any updates on when will it be available through the maven repository?
Where can i find tutorials of GWT "Place"?
I am now having trouble compiling my Ginjector derived
class and am receiving the following error.
Rebind result
'net.customware.gwt.presenter.client.place.PlaceManager' must be a
class
[
Does anyone know the cause of this?
i use:
gwt-dispatch-1.1.0.jar
gwt-presenter-1.1.1.jar
many thanks
David
David
This sample code doesn't seem to compile with gwt-presenter-1.1.1. I get
errors on all of the Place instantiations (Place is an abstract class,
apparently), and getPlace and onPlaceRequest don't seem to be overrides.
Are these changes from 1.0.0?
Re: rileylark & afcouer
Yea these people provide open source 'junk, expect to have to work
for "everything". This article -is- from 2009 after all...
I had to make a few changes to the above code, and had to use the version
1.0.0 releases for ALL mentioned modules. The code standard above works,
only in the context for when it was made.
I've managed to upgrade my gwt dispatcher to use 1.1, as well as
presenter(so much pain.. but suppose it was worth it..)
Am now trying to get smartfwt to interface with it nicely (HasWidgets,
HasEvent<suchAndSuch> etc...).
Since the OP obviously doesn't plan on writing up a new article for 2010,
if anyone out there wants the new working code once I complete it, just
shout it out now. Will be checking this site periodically over next few
weeks, so can post it up if anyone wants it.
But yea, basically, just read the docs that come with each module, and
update it as necessary. If you don't want the hassle, just DOWNLOAD the
entire war distro this dude provided at top of article. It works 100%
because it comes with the old jar files.
Hope this info helps, I spent better part of my day sorting this crap out.
Also, make sure you copy your NEW gwt-servlet.jar to the War/webinf/lib
folder. It throws out a bullshit security warning otherwise (missing
Serilization Exception). Wow, Im getting this rush of memories, reminding
of how much I love(sarcasm) Java.
@Juppie7 : Given that you've expressed your desire to share the new code,
if you can provide a link to a short replacement article I would be more
than happy to update this page.
Many thanks,
Robert
The above tutorial is broken for gwt-presenter 1.1.1
Compile error: Cannot instantiate the type Place
Any fixes?
bad...i had to download 1.0.0 again after 1.1.1 just because sample cant be
complied correctly.
could you please update the sample code. Place cannot be instantiated this
way!