On 6/18/07, Jeremy Thomerson <[EMAIL PROTECTED]> wrote:

I'm just trying to use one of these two solutions in my Wicket app, and am
unsure of a couple things:

- I used gmap (original) first, and it checked out and installed super
easy.  (As a sidenote, for some reason I had to add the dependency to
javax.servlet, servlet-api, 2.3 to my POM after adding gmap to it, which I
did not need before because it was a dependency of jetty or tomcat - don't
know why that happened).
  - then, I tried to use it (i'm using wicket 1.3 from SVN HEAD).  The
example is old, and doesn't work, and when I modified it to work, I received
this exception:


fixed, i've also updated the examples as well, please try now.

WicketMessage: Cannot modify component hierarchy during render phase

Root cause:

org.apache.wicket.WicketRuntimeException: Cannot modify component
hierarchy during render phase
at org.apache.wicket.Component.checkHierarchyChange(Component.java:2849)
at org.apache.wicket.Component.addStateChange (Component.java:2781)
at org.apache.wicket.Component.add(Component.java:788)
at wicket.contrib.gmap.JavaScriptComponent.onComponentTag(
JavaScriptComponent.java:25)


SO - I tried gmap2.  It's not installing as easily (apparently it depends
on you having things checked out into certain places, it doesn't just have a
simple dependency on org.apache.wicket, wicket-1.3.0-INCUBATING-SNAPSHOT,
like everything else).
That's as far as I've gone.  Here's the question:

Which one is working with 1.3 right now?

Once I know that, I can try to use it, and contribute fixes that I find.

If you're curious, here's what I'm converting to Wicket: 
https://www.theatdgroup.com/app/webroot/index.cfm?event=dealer-finder


Thanks!
Jeremy Thomerson





On 6/16/07, Al Maw <[EMAIL PROTECTED]> wrote:
>
> I really think you guys should get together and do this, right now while
> the project still has lots of momentum and the code is fresh. Having two
>
> components, one of which seems to have a superset of the functionality
> of the other, seems a little unnecessary.
>
> I've checked gmap2 out, BTW - very nice. ;-)
>
> Al
>
> Iulian Costan wrote:
> > yap, well done, also maybe we can put together the effort and improve
> > things.
> >
> > /iulian
> >
> > On 6/14/07, Nino Saturnino Martinez Vazquez Wael <
> [EMAIL PROTECTED]>
> > wrote:
> >>
> >> Hi Martin
> >>
> >> Well, both Iulian and me has done a lot of work on this during the
> last
> >> couple of weeks. It's always nice to see to sides of the coin, maybe
> we
> >> should pick the best stuff from our components and join up?
> >>
> >> Currently Iulian are working on upgrading the gmap contrib to wicket
> >> 1.3, we decided not to make a release on wicket 1.2.6 since some of
> the
> >> ajax stuff we are using arent working on the IE browser series(I have
>
> >> another thread concering this). Upon releasing v 1 we will update
> >> confluence so that the features we are using will be shown
> installation
> >> instructions etc, heres a short list of features:
> >>
> >> All updates done via ajax, clicklisteners of all sorts(dragend,
> >> zoomend). Possibility to integrate loading screens. 2 step
> initialized
> >> and  refresh, meaning no visible postbacks, we are using panTo.
> Control
> >> the map serverside eg if user clicks the las vegas button the map
> will
> >> pan to that area. Add overlays at will. Create custom overlays with
> >> tooltips. Since we are using ajax all normal wicket ajax  behavior
> are
> >> also supported from the ajax target.
> >>
> >> Not sure if I forgot anything...
> >>
> >>
> >> regards Nino
> >>
> >> Martin Funk wrote:
> >> > Hi,
> >> >
> >> > may I draw your attention to a little project I was allowed to add
> to
> >> > the wicket-stuff svn repository yesterday.
> >> >
> >> > Being highly inspired by Julians and Nicos wicket-contrib-gmap I
> got
> >> > exited enough to try to create a project that does the same and a
> >> little
> >> > bit more with a little different approach. Kinda bold, since I
> haven't
> >> > looked into JavaScript before. Julian and Nico I hope you don't
> mind
> >> > that I tried to invent the wheel a second time, but if your project
> >> > wouldn't have been around I probably never would have tried. So
> thank
> >> > you for that.
> >> >
> >> > Features:
> >> > There can be more than one GMap on a page, I think there can be
> >> many, at
> >> > least I succeeded with two.
> >> >
> >> > Components may become controls of the GMap. Any Component capable
> of
> >> > firing events can become a controller. The controls are executed
> >> > whenever the named event is fired by the Component. Currently
> ZooOut,
> >> > ZoomIn, PanDirection, AddOverlay and OpenInfoWindow are
> implemented.
> >> >
> >> > Listeners may be added to the GMap. These are called whenever the
> GMap
> >> > fires the corresponding Events. So far a ClickListener and a
> >> > MoveEndListener are implemented. This allows to dynamically update
> any
> >> > Component and the GMap itself.
> >> >
> >> > The events and the controls always do a round trip from the browser
> to
> >> > the server and back, this way any call can be intercepted and
> >> controlled
> >> > on the server side. The network traffic is kept down, since all
> needed
> >> > JavaScript functions are defined in a js-file. So only arguments
> >> have to
> >> > be transfered.
> >> >
> >> > Status:
> >> > Is best described by, consolidating. As I said, being a JavaScript
> >> > newbie and a Java mediocre, it was sort of bold to start this. The
> >> > features in mind I basically cut right through any API ahead of me
> >> > without taking care of any design principles. So if you ever find
> the
> >> > time to look into the code, give feedback! And I fear this project
> >> is in
> >> > need for a lot of feedback.
> >> >
> >> > Last but not least: Installation.
> >> > There is no release currently planed. The code compiles against the
> >> > current HEAD of wicket. So get get wicket from svn as described in
> >> > http://incubator.apache.org/wicket/building-from-svn.html first.
> >> > This project relies on the well maintained structure of wickets
> pom.xml
> >> > files. It needs to be checked out into wicket jdk-1.5 folder:
> >> >
> >> > cd <wickets-jdk-1.5-folder>
> >> > svn co
> >> >
> >>
> 
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2
> >>
> >> > svn co
> >> >
> >>
> 
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2-examples
> >>
> >> >
> >> > This should do the install and get a jetty started for the
> examples:
> >> > mvn -f wicket-contrib-gmap2/pom.xml install
> >> > mvn -f wicket-contrib-gmap2-examples/pom.xml jetty:run
> >> >
> >> > Now browse to:
> >> > http://localhost:8080/wicket-contrib-gmap2-examples/gmap/
> >> > and click around.
> >> >
> >> >
> >> > Have fun,
> >> >
> >> > Martin
> >> >
> >> >
> >> >
> >>
> -------------------------------------------------------------------------
> >> > This SF.net email is sponsored by DB2 Express
> >> > Download DB2 Express C - the FREE version of DB2 express and take
> >> > control of your XML. No limits. Just data. Click to get it now.
> >> > http://sourceforge.net/powerbar/db2/
> >> > _______________________________________________
> >> > Wicket-user mailing list
> >> > Wicket-user@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >> >
> >> >
> >> >
> >>
> >>
> -------------------------------------------------------------------------
> >> This SF.net email is sponsored by DB2 Express
> >> Download DB2 Express C - the FREE version of DB2 express and take
> >> control of your XML. No limits. Just data. Click to get it now.
> >> http://sourceforge.net/powerbar/db2/
> >> _______________________________________________
> >> Wicket-user mailing list
> >> Wicket-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >
> >
> > !DSPAM:4671261c64434991819784!
> >
> >
> >
> ------------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> >
> > !DSPAM:4671261c64434991819784!
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> > !DSPAM:4671261c64434991819784!
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to