isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Haywood <...@haywood-associates.co.uk>
Subject Re: isis-wicket-gmap3 version 1.10.0-SNAPSHOT not found
Date Fri, 06 Nov 2015 22:35:47 GMT
If on 1.10.0-SNAPSHOT, and there are no objects that have a non-null
Location, then the map is suppressed completely.  Previously we used to
render a map anyway, albeit one with no pins on it - that map was centered
on the "default location"- seemingly google's HQ in Silicon Valley.

HTH
Dan


On 6 November 2015 at 22:32, Stephen Cameron <steve.cameron.62@gmail.com>
wrote:

> Just having a look at that now :)
> I cannot see Javascript errors (I'll recheck) but there are differences in
> the HTML.
>
> In the working demo I see:
>
> <div class="collectionContentsAsLocatables">
> <div id="mapcf" class="map" wicketsource="
>
> org.isisaddons.wicket.gmap3.cpt.ui:CollectionOfEntitiesAsLocatables.java:94"
>  style="margin-left: auto; margin-right: auto;">
> <div id="mapdf" wicketsource="org.wicketstuff.gmap:GMap.java:117"
> style="width:
> 100%; height: 100%; position: relative; background-color: rgb(229, 227,
> 223); overflow: hidden;">
> <div class="gm-style" style="position: absolute; left: 0px; top: 0px;
> overflow: hidden; width: 100%; height: 100%; z-index: 0;">
> <div style="position: absolute; left: 0px; top: 0px; overflow: hidden;
> width: 100%; height: 100%; z-index: 0; cursor: url("
> http://maps.gstatic.com/mapfiles/openhand_8_8.cur"), default;">
>
> In mine I just see:
>
> <div class="collectionContentsAsLocatables">
> <div id="id14f" class="map" style="margin-left: auto; margin-right: auto;">
> <div id="id155" style="width:100%; height:100%"></div>
> </div>
> </div>
>
> Is that difference due to what is generated server-side?
>
>
>
> On Sat, Nov 7, 2015 at 9:22 AM, Dan Haywood <dan@haywood-associates.co.uk>
> wrote:
>
> > On 6 November 2015 at 20:53, Cesar Lugo <cesar.lugo@sisorg.com.mx>
> wrote:
> >
> > > Hello Stephen. Well, I am not part of the Isis team just a user
> learning
> > > like you are now, but I can tell you the same thing you describe and
> > having
> > > to click on a menu option, and the problem was actually the Internet
> > > Explorer browser which didn't have the google maps plugin.
> >
> >
> > @Cesar:
> > Bit confused by this... there is no google maps plugin?  I usually use
> > Chrome, but just double checked the demo app using IE 11 (emulated bck to
> > IE 8) and rendered ok.
> >
> >
> >
> > > But in your case, if it worked before then it might be something else.
> > > Maybe the ISIS team could help, I hope you find the solution. I am
> using
> > > 1.9.0 and it is working just fine. Cesar.
> > >
> > >
> > @Steve:
> > Best I can suggest is to switch on developer tools and see if any
> > Javascript errors are being logged.
> >
> >
> > Dan
> >
> >
> >
> > > -----Original Message-----
> > > From: Stephen Cameron [mailto:steve.cameron.62@gmail.com]
> > > Sent: Thursday, November 5, 2015 7:14 PM
> > > To: users@isis.apache.org
> > > Subject: Re: isis-wicket-gmap3 version 1.10.0-SNAPSHOT not found
> > >
> > > Hi Cesar,
> > >
> > > I had it working before and now something is broken in my app :( All
> the
> > > AppManifest is fine I think. I see the Map menu option on collections
> of
> > > Locatable objects, and it tries to load the map but fails for some
> > reason.
> > > I have to click on a main menu option to switch the view, I cannot get
> > > back to a table view of that collection, so it seems to be stalled,
> > kinda...
> > >
> > > I have a simple test class that shows the same behaviour as above in my
> > > app, but which works fine when I use it within the isis gmap wicket
> > > component demo. So I have done something in my project to break the
> > > component's rendering.
> > >
> > > Cheers
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Fri, Nov 6, 2015 at 2:03 AM, Cesar Lugo <cesar.lugo@sisorg.com.mx>
> > > wrote:
> > >
> > > > When I started using gmap3, I ran into 2 issues, first one, didn't
> > > > registered in the AppManifest (similarly to what happened with the
> > > > security add-on). Then, I was running it using MS Internet Explorer,
> > > > which by default does not have the appropriate plugin installed. When
> > > > I registered it in the AppManifest and used Firefox or Chrome it
> > > > worked just fine. I hope that might help.
> > > >
> > > > -----Original Message-----
> > > > From: Stephen Cameron [mailto:steve.cameron.62@gmail.com]
> > > > Sent: Thursday, November 5, 2015 5:01 AM
> > > > To: users@isis.apache.org
> > > > Subject: Re: isis-wicket-gmap3 version 1.10.0-SNAPSHOT not found
> > > >
> > > > It was due to me having built it locally I think, when I deleted that
> > > > project from eclipse all was good again.
> > > >
> > > > But I still cannot see a map in my application, it seems to go into a
> > > > error condition as I cannot switch back to a table view, will
> > > > investigate more tomorrow.
> > > >
> > > > I have everything else working now so happy about that :)
> > > >
> > > > On Thu, Nov 5, 2015 at 8:26 PM, Stephen Cameron <
> > > > steve.cameron.62@gmail.com>
> > > > wrote:
> > > >
> > > > > Eclipse is just confused I think.
> > > > >
> > > > > On Thu, Nov 5, 2015 at 8:20 PM, Stephen Cameron <
> > > > > steve.cameron.62@gmail.com> wrote:
> > > > >
> > > > >> Thanks, it gets downloaded fine, but Eclipse is still complaining
> > > > >> that its not available, something not right.
> > > > >>
> > > > >> :(
> > > > >>
> > > > >> On Thu, Nov 5, 2015 at 7:54 PM, Jeroen van der Wal
> > > > >> <jeroen@stromboli.it>
> > > > >> wrote:
> > > > >>
> > > > >>> Snaphots are available [1], the 1.9.0 release too [2]. Perhaps
> the
> > > > >>> usual cleanup, 'rm -Rf
> > > > >>> ~/.m2/repository/org/isisaddons/wicket/gmap3;
> > > > >>> mvn clean install', might bring it back in?
> > > > >>>
> > > > >>> [1]
> > > > >>>
> > > > >>>
> http://repository-estatio.forge.cloudbees.com/snapshot/org/isisadd
> > > > >>> on s/wicket/gmap3/isis-wicket-gmap3-cpt/
> > > > >>> [2]
> > > > >>>
> > > > >>>
> http://search.maven.org/#artifactdetails%7Corg.isisaddons.wicket.g
> > > > >>> ma p3%7Cisis-wicket-gmap3-cpt%7C1.9.0%7Cjar
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>> On 5 November 2015 at 09:05, Stephen Cameron
> > > > >>> <steve.cameron.62@gmail.com
> > > > >>> >
> > > > >>> wrote:
> > > > >>>
> > > > >>> > Hi Dan, Jeroen, ?
> > > > >>> >
> > > > >>> > Has isis-wicket-gmap3 module version 1.10.0-SNAPSHOT
been
> > > > >>> > removed from maven repository on purpose?
> > > > >>> >
> > > > >>> > I tried the 1.9.0 version with Isis 1.10.0-SNAPSHOT
and don't
> > > > >>> > see
> > > > >>> anything
> > > > >>> > appearing on a map as yet. Not sure where to start to
fix it as
> > > yet.
> > > > >>> Not a
> > > > >>> > high priority though.
> > > > >>> >
> > > > >>> > Steve Cameron
> > > > >>> >
> > > > >>>
> > > > >>
> > > > >>
> > > > >
> > > >
> > > >
> > > > ---
> > > > This email has been checked for viruses by Avast antivirus software.
> > > > https://www.avast.com/antivirus
> > > >
> > > >
> > >
> > >
> > > ---
> > > This email has been checked for viruses by Avast antivirus software.
> > > https://www.avast.com/antivirus
> > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message