Giter VIP home page Giter VIP logo

gmaps4jsf's People

Stargazers

 avatar

Watchers

 avatar  avatar

gmaps4jsf's Issues

Re-rendering of map using richfaces a4j:push or a4j:poll

I'm trying to re-render the google map leveraging a4j:push and
a4j:poll. I'm using richfaces3.1.6 and gmaps4jsf1.1.1 deployed on
JBoss Application Server 4.0.5. 

               <f:view>
                       <h:form id="form">
                               <a4j:push interval="1000"
eventProducer="#{push.addListener}"
                                       reRender="push, grid" id="push"
enabled="true" />
                               <h:panelGroup id="grid">
                                       <m:map id="gmap"
binding="#{push.gmap}"></m:map>
                               </h:panelGroup>
                       </h:form>
               </f:view>

The map was bound a backing bean where markers were asynchronously
added to the map. 

The map was not visible (blank) when the a4j was trying to re-render. I
experienced the same behavior with both push and poll. However if I use the
browser to reload the page, the map will show up and then disappear again
when a4j re-render interval kicks in. In my prototype, I used JMS message
to asynchronously update the map (adding custom markers to the map). The
behavior that I described occurred only when you have a background thread
asynchronously updating the map and use a4j to re-render the page. If I
used the commandButton or commandLink which was visible in the page to
trigger the update, the map was re-rendered correctly because clicking the
commandButton or the commandLink forces the re-draw of the whole page.


Original issue reported on code.google.com by [email protected] on 21 Oct 2008 at 5:52

Sourcecode: NetBeans cannot see additional sources

What steps will reproduce the problem?
1. Checkout or browse the repository via SVN
2. Open project in NetBeans 6.5
3. NetBeans syntax-highlighter shows "not found/cannot resolve" error on
class Map, MapControl ...

What is the expected output? What do you see instead?
 - no syntax-highlight errors

What version of the product are you using? On what operating system?
 - Windows XP, java sdk 1.6_03, NetBeans 6.5

Please provide any additional information below.
 - Its a addition to Issue 14, see:
http://code.google.com/p/gmaps4jsf/issues/detail?id=14 
 - please add following plugin to core pom.xml (module core)

    <build>
        <plugins> 
             <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>1.2</version>
                <executions>
                    <execution>
                        <id>add-source</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>add-source</goal>
                        </goals>
                        <configuration>
                            <sources>
                                <source>target/maven-jsf-plugin</source>
                            </sources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
...

Original issue reported on code.google.com by [email protected] on 21 Dec 2008 at 2:13

m:polyline does not work with ui:repeat

What steps will reproduce the problem?
1. Put ui:repeat in your m:map
2. Put m:polyline with two m:point's
3. The map does not render these lines

What is the expected output? What do you see instead?
Expected output is several lines with provided latitude, longitudes.

What version of the product are you using? On what operating system?
gmaps4jsf-core-1.1.2-SNAPSHOT.jar

Please provide any additional information below.
<ui:repeat var="line" value="#{testBean.lines">
<m:polyline lineWidth="4" hexaColor="#{line.color}" geodesic="true">
   <m:point latitude="#{line.fromLatitude}" longitude="#line.fromLongitude}" />
   <m:point latitude="#{line.toLatitude}" longitude="#line.toLongitude}" />
</m:polyline>
</ui:repeat>        

Where line is a class as follows:

--------
public class Line implements Serializable {

    private static final long serialVersionUID = 4330830181018279835L;

    private String color;
    private double fromLatitude;
    private double fromLongitude;

    private double toLatitude;
    private double toLongitude;

... /with its getters/setters written..




Original issue reported on code.google.com by [email protected] on 26 Mar 2009 at 3:56

map center and zoom for multiple markers

When placing multiple markers on a map, it would be great if the center of
the map (lat, long) and zoom could be dynamically set.  It's possible to do
this in javascript by using the gmaps api GLatLngBounds class.  This would
be very helpful for when you have multiple markers and don't know how
spread out they will be.

What is the expected output? What do you see instead?
Right now, you have to manually set the center and zoom.  

Here's a code snippet of how this is possible using javascript.  The var
bounds is of interest:

    <div id="map_canvas" style="width:500px; height:500px">&nbsp;</div>
    <script type="text/javascript">
        //<![CDATA[
    var gmap;
    if (GBrowserIsCompatible()) {
        var bounds = new GLatLngBounds();

        function renderMapj_id81() {
            function createMarkersFunctionj_id81(map_base_variable) {
                function createIconFunctionj_id83() {
                    var iconObject = new GIcon(G_DEFAULT_ICON);
                    iconObject.iconSize = new GSize(20, 34);
                    iconObject.shadowSize = new GSize(37, 34);
                    iconObject.iconAnchor = new GPoint(9, 34);
                    iconObject.infoWindowAnchor = new GPoint(9, 2);
                    iconObject.image = "/img/googlemapTack.png";
                    return iconObject;
                }
                var marker_j_id82 = new GMarker(new GLatLng(42.3567,
-71.0528), {draggable: false, icon: createIconFunctionj_id83()});
                setBounds(42.3567, -71.0528);
                map_base_variable.addOverlay(marker_j_id82);
                function createIconFunctionj_id85() {
                    var iconObject = new GIcon(G_DEFAULT_ICON);
                    iconObject.iconSize = new GSize(20, 34);
                    iconObject.shadowSize = new GSize(37, 34);
                    iconObject.iconAnchor = new GPoint(9, 34);
                    iconObject.infoWindowAnchor = new GPoint(9, 2);
                    iconObject.image = "/img/googlemapTack.png";
                    return iconObject;
                }
                var marker_j_id84 = new GMarker(new GLatLng(42.3589,
-71.0512), {draggable: false, icon: createIconFunctionj_id85()});
                setBounds(42.3589, -71.0512);
                map_base_variable.addOverlay(marker_j_id84);
            }
            function setBounds(lat, lng){
                bounds.extend(new GLatLng(lat, lng));
            }
            function createHTMLInfoWindowsFunctionj_id81(map_base_variable) {
            }
            function createMapControlsFunctionj_id81(map_base_variable) {
                var mapControlPosition_j_id96 = new
GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(10, 10));
                map_base_variable.addControl(new GLargeMapControl(),
mapControlPosition_j_id96);
                var mapControlPosition_j_id97 = new
GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(10, 10));
                map_base_variable.addControl(new GMapTypeControl(),
mapControlPosition_j_id97);
            }
            function createEventListenersFunctionj_id81(map_base_variable) {
            }
            function createPolylinesFunctionj_id81(map_base_variable) {
            }
            function createPolygonsFunctionj_id81(map_base_variable) {
            }
            function createGroundOverlaysFunctionj_id81(map_base_variable) {
            }
            var map_base_variable = new
GMap2(document.getElementById("map_canvas"));
            map_base_variable.setCenter(new GLatLng(0, 0), 0);
            createHTMLInfoWindowsFunctionj_id81(map_base_variable);
            createMarkersFunctionj_id81(map_base_variable);
            createPolylinesFunctionj_id81(map_base_variable);
            createPolygonsFunctionj_id81(map_base_variable);
            map_base_variable.setMapType(G_NORMAL_MAP);
            createEventListenersFunctionj_id81(map_base_variable);
            createMapControlsFunctionj_id81(map_base_variable);
            createGroundOverlaysFunctionj_id81(map_base_variable);

map_base_variable.setZoom(map_base_variable.getBoundsZoomLevel(bounds));
            map_base_variable.setCenter(bounds.getCenter());
            gmap = map_base_variable;
        }
        // Inject code on the load of the window
        var oldonload = window.onload;
        if (typeof window.onload != 'function') {
            window.onload = renderMapj_id81;
        } else {
            window.onload = function() {
                if (oldonload) {
                    oldonload();
                }
                renderMapj_id81();
            }
        }
        //]]>
    </script>

Original issue reported on code.google.com by [email protected] on 3 Nov 2008 at 8:56

ui:repeat not working inside m:map

What steps will reproduce the problem?
1. Create a jsf page with:
<m:map...>
 <ui:repeat var="loc" value="${somecollection">
   <m:marker lat="loc.lat" long="loc.long"/>
 </ui:repeat>
</m:map>
2. View the page.
NB: c:forEach does work correctly.
NB2: other facelets tags may not work either.

What is the expected output? What do you see instead?
Expected: List of markers placed on a map.
Actual: Nothing.

What version of the product are you using? On what operating system?
Latest source, Windows XP, Firefox.

Please provide any additional information below.
As there is a work around this is not an important issue. However, jstl 
and facelet tags on the same page do not always cooperate and only one 
style should be used.

Original issue reported on code.google.com by [email protected] on 1 Oct 2008 at 2:13

Creating multiple markers

In the current version, creating of single markers only is provided.
For creating a set of markers, an own component as a child of the map would 
be great to create multiple markers with just one component.

A list of markers might be passed by an attribute (list of Marker-Class?).

Original issue reported on code.google.com by [email protected] on 27 Oct 2008 at 6:38

gmaps4jsf does not show the map with adf rich faces when af:document is in the page

What steps will reproduce the problem?
1. when I put af:document in the jsf page the map is not shown there is no
error
2.
3.

What is the expected output? What do you see instead?
The map is not shown. there is some css or javascript conflict.

What version of the product are you using? On what operating system?
jdeveloper 11g , adf rich faces 11g on windows xp , with ie7 and ff3

Please provide any additional information below.

thanks Edwin Biemond

biemond  at gmail dot com

Original issue reported on code.google.com by biemond on 21 Nov 2008 at 10:38

Geocoding Address String

What steps will reproduce the problem?
1. Display multiple markers on the map when we are given addresses 
corresponding to those markers (latitudes and longitudes remain unknown 
parameters).
2. So we require a interface (Geocoder) to determine Geocodes for the given 
address (or)
3. Allow Marker class to take address attribute just like you provided for 
Map Class to display a map centered to that given address

What is the expected output? What do you see instead?
NA

What version of the product are you using? On what operating system?
latest source, Windows XP, IE, firefox, Chrome, Opera.

Please provide any additional information below.
-NA-

Original issue reported on code.google.com by [email protected] on 27 Dec 2008 at 12:55

Marquee component for Map

Enhancement
The user can draw a marquee over the map control.

What is the expected output?
Some kind of layer or box marking the marquee.


What version of the product are you using? On what operating system?
1.1.2 facelets. vista, firefox 3.0.9

Please provide any additional information below.
The use of the marquee would be to facilitate spatial searching for records
held in databases. The marquee would provide 4 points (x1,y1,x2,y2)
representing the corners of its boundary and be made accessible to jsf
calls, etc.

Original issue reported on code.google.com by [email protected] on 4 May 2009 at 12:42

Wish: Add print functionality for map (like googles map button "print" "send")

What steps will reproduce the wish?
1. Display a map
2. Show a additional link or button to print the map
2. Show a additional link or button to send the map by email (open clients
mail client)

What is the expected output? What do you see instead?
 - not functionality yet

What version of the product are you using? On what operating system?
 - all versions

Please provide any additional information below.
 - add a additonial component to render a print and email button/link


Original issue reported on code.google.com by [email protected] on 21 Dec 2008 at 2:26

Line-Component

A probably good feature would be, to make use of an additional layer to 
place a line on it.
Following attributes would make sense:

- longitude_start
- longitude_end
- latitude_start
- latitude_end
- color (e.g. #000000)
- label (label to place along the line)

If this component seems feasible further attributes would make sense as 
well:

- showDistance (along the line, meassured in meters)
- lineDecoration (solid, pointed, bidrectional-arrows, unidirectional 
arrows)

Original issue reported on code.google.com by [email protected] on 1 Apr 2009 at 4:31

SVN doesnt have many source files

What steps will reproduce the problem?
1. Checkout or browse the repository via SVN 
2. Look for the source files under com/googlecode/gmaps4jsf/component
3. Only Map and streetMapviewer can be found, other components cannot be 
found eg Marker, Icon..also the libraries for AbrstractMojo is not in the 
repository.

What is the expected output? What do you see instead?
complete source and libraries, but many compnnents are missing in source 
and some libraries

What version of the product are you using? On what operating system?
Version 1.1.1 from Nov 8 '08 /win XP


Please provide any additional information below.

Keep up the good work.If I find the source sooner, I would like to 
contribute to this as well.Thanks!!

Original issue reported on code.google.com by [email protected] on 19 Nov 2008 at 9:59

Adding custom text on map

Hi,

Is there any way for adding labels to markers or any point on selected
latitude & longitude (will be visible without clicking on hint), but i
could not see anyway that we can do.

Thanks

Original issue reported on code.google.com by [email protected] on 10 Dec 2008 at 1:50

Enhancement: add "address" attribute to streetViewPanorama component

This is an enhancement request.
It will be cool and very helpful if we can add an "address" attribute to
the streetViewPanorama component. I have to do some work around to get the
streetview points to the same address as the map since the I am using the
"address" attribute for the map.

Original issue reported on code.google.com by [email protected] on 13 Nov 2008 at 3:10

No Class Def Error

What steps will reproduce the problem?
1. downloaded the war file
2. built the file using Ant
3. using Weblogic 9.2 

What is the expected output? : Map
What do you see instead? Exception


What version of the product are you using? On what operating system?
Windows XP


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 May 2009 at 9:03

Click EventListener reacts only to a polygons border

I add an instance of
 com.googlecode.gmaps4jsf.component.eventlistener.EventListener
   EventListener event = new EventListener();
   event.setEventName("click");
   event.setJsFunction("myevent");

to an instance of 
 com.googlecode.gmaps4jsf.component.polygon.Polygon

like this:
 poygon.getChildren().add(event);

Result: 
The jsFunction myevent() is only called when I click on the border of the
polygon, not inside the polygon.


Original issue reported on code.google.com by [email protected] on 23 Jan 2009 at 11:27

Custom Marker Image

There is no option for the marker tag to specify a custom image as seen with:
http://code.google.com/apis/maps/documentation/examples/icon-custom.html

Original issue reported on code.google.com by [email protected] on 27 Sep 2008 at 3:14

Draggable Marker's latitude, longitute attribute does not change on Backing Bean?

Hi,

Draggable Marker does not change value of Backing Bean's mapped attribute. 
I think, I am doing something wrong?

<m:marker draggable="true" longitude="#{MapBean.longitude}"
                              latitude="#{MapBean.latitude}"/>

  <managed-bean>
    <managed-bean-name>MapBean</managed-bean-name>
    <managed-bean-class>com.test.MapBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
  </managed-bean>

Original issue reported on code.google.com by [email protected] on 10 Dec 2008 at 3:35

infinite recursion when using multiple Google maps

>What steps will reproduce the problem?
1. When I use 4 different maps, all browsers show me a JavaScript infinite
recursion.

>What is the expected output? What do you see instead?
Because of the infinite recursion you don't see the maps.

>What version of the product are you using? On what operating system?
gmaps4jsf-core-1.1.2-SNAPSHOT-14-Feb-2009.jar on Windows XP

>Please provide any additional information below.
See the attachet file for some sample code to paste in.


Original issue reported on code.google.com by [email protected] on 3 Mar 2009 at 2:45

Attachments:

htmlInfoWindow should be a child of the marker component

As requested by damian:

"This came about from viewing the examples and seeing that there was no
clean support for opening/closing information boxes. The example is to
show simple and complex coordinate between the m:map and other jsf
components.

Simple: There are 9 markers on a map, each one a member of the Brady
family. Clicking on a marker should bring up an information box with a
picture of the Brady and bio data. Potentially the marker could be a
thumbnail.

Viewing the source markers and infos are tied to a coordinate. Having
checked in the google maps api a marker has an info 'set' on it. This
binding could be done in jsf two ways:

<m:marker info="${bean.myinfo}" .../>

or:

<m:marker ...
<!-- child element-->
<m:info/>
</m:marker>

Inside the m:map a suitable iterator can produce m:markers (possibly
ice:panelSeries - which has nothing to do with panels). jstl tags
don't like to cooperate inside jsf.

Complex: There is a 3x3 grid of the Brady Bunch family next to a map.
Clicking on a Brady family member creates a marker on the map or moves
to the marker. clicking on the marker opens the info. This will be a
common scenario of locating 'things', such as members of a dvd store
and where rented out dvds are. e.g. query for Iron Man dvd, get a
result set, and start locating rented copies.

damian."

Original issue reported on code.google.com by [email protected] on 27 Sep 2008 at 9:12

Improvement of Marker-Component

Due to the fact, that during some UseCases, a huge amount of markers can be 
placed on the map.
Therefore, it would make sense to add and delete markers automatically on 
demand.

This could be realized to get the max_x, max_y, min_x, min_y coordinates of 
the current view and check, which markers have been added as tags to the 
map.
Those markers should then be placed and organized seperately.
If the view changes (e.g. panning the map), all placed markers would be 
processed, to see if the marker is still in the view and still has to be 
shown.
All other markers are then processd to check if it is required to show 
them.

A reason for that improvement would be, that this might reduce the amount 
of markers at the same time on the map. From experience I can tell you, 
that this affects the performance of the map enormously.

Original issue reported on code.google.com by [email protected] on 1 Apr 2009 at 4:37

Enhancement: Add 'color', 'character' and 'size' to <m:marker> component.

This is a request for a new feature, not a defect report.

Google Maps reference link for details:
http://code.google.com/apis/maps/documentation/staticmaps/#MarkerDescriptors

Google Maps allows one to specify a size, color, and character for each
marker displayed on a map. This is a request to expose those same fields,
already supported by Google maps, in the <m:marker> tag.

All three of these attributes are optional.

Details on new attributes, taken from reference page:

# {size} (optional) specifies the size of marker from the set {tiny, mid,
small}. If no size parameter is set, the marker will appear in its default
(normal) size.

# {color} (optional) specifies a color from the set {black, brown, green,
purple, yellow, blue, gray, orange, red, white}.

# {alphanumeric-character} (optional) specifies a single lowercase
alphanumeric character from the set {a-z, 0-9}. Note that default and mid
sized markers are the only markers capable of displaying an
alphanumeric-character parameter. tiny and small markers are not capable of
displaying an alphanumeric-character.

Examples of usage when implemented by Gmap4JSF:

<m:marker latitude="#{loc.geoLat}" longitude="#{loc.geoLng}" color="red"
character="a" size="tiny"/>
<m:marker latitude="#{loc.geoLat}" longitude="#{loc.geoLng}" color="blue"
character="b" size="mid"/>
<m:marker latitude="#{loc.geoLat}" longitude="#{loc.geoLng}" color="green"
character="c" size="small"/>
<m:marker latitude="#{loc.geoLat}" longitude="#{loc.geoLng}" color="green"
character="d" /> <!-- no size, so "normal" used -->

There is a brief discussion of these attributes on the wiki at:
http://code.google.com/p/gmaps4jsf/wiki/markerComponent

Currently, I have an application that relies on a set of 26 icons to
display on the resulting map. Implementing this feature will let me delete
those icons and use those supplied by Google's Map instead.

Original issue reported on code.google.com by [email protected] on 3 Feb 2009 at 9:48

m:icon imageURL not practical

The attribut 'imageURL' of the icon tag is actually not as good as the
official javascript.

the only way to define the image URL is to write it directly
(http://google...). it's not possible to give a javascript function (to
define the url dynamically) or a backin bean function (never called...). 
I don't want to be forced to write a static url, my website must have
dynamic reference to its images.


What is the expected output? What do you see instead?
For me, a JSF tag must be able to call a backinBean, or it's not a real JSF
component, isn't it?

What version of the product are you using? On what operating system?
MacOS and WinXP, gmaps4jsf 1.1.1

Please provide any additional information below.
Server: glassfishV2
other technologies used on the same page: richfaces, tomahawk.

Original issue reported on code.google.com by [email protected] on 12 Feb 2009 at 8:46

Build source with NetBeans6.5: missing additional source folders

What steps will reproduce the problem?
1. Checkout source from SVN
2. Open source in IDE NetBeans 6.5
3. Core-Project: Has error on syntax-highlighter like "Map" not found

What is the expected output? What do you see instead?
 no errors in syntax-highlighter

What version of the product are you using? On what operating system?
 Windows XP, Java SDK 1.6_03, NetBeans 6.5


Please provide any additional information below.
 - this issue was first reported under Issue-14
 - add additional plugin to pom.xml of core project (module core)

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>1.2</version>
                <executions>
                    <execution>
                        <id>add-source</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>add-source</goal>
                        </goals>
                        <configuration>
                            <sources>
                                <source>target/maven-jsf-plugin</source>
                            </sources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

With this plugin, NetBeans is able to see the external sources.


Original issue reported on code.google.com by [email protected] on 21 Dec 2008 at 2:02

iconComponent not found in 1.1.1 facelets war file

What steps will reproduce the problem?
1. Diff the 1.1 jar against the 1.1.1 war
2. Icon is not included

What is the expected output? What do you see instead?
The following is the generated error message:
/modules/shared/map.xhtml @56,115 <m:icon> Tag Library supports namespace:
http://code.google.com/p/gmaps4jsf, but no tag was defined for name: icon

What version of the product are you using? On what operating system?
1.1.1-facelets war on XP Pro

Please provide any additional information below.

Would you mind expediting this as I am needing to include numbered icons in
a demo ASAP.  Thanks!


Original issue reported on code.google.com by [email protected] on 7 Oct 2008 at 2:14

jsVariable for iconComponent

When creating multiple markers through use of a backing bean, unique
jsVariable names are able to be assigned to the markers but not the icons.
This leads to all of the markers having the same image.


This may also be problematic for htmlInformationWindowComponent, but I have
not tested this yet.

Original issue reported on code.google.com by [email protected] on 30 Sep 2008 at 4:47

multiple issues with IE8

>What steps will reproduce the problem?
1. test some examples from http://mashups.s43.eatj.com/gmaps4jsf-
examples/home.jsf.

>What is the expected output? What do you see instead?
Things should work. Many just render nearly nothing.

>What version of the product are you using? On what operating system?
The online version with Internet Explorer 8 on Windows XP.

>Please provide any additional information below.
The examples at http://code.google.com/apis/maps/documentation/examples/ 
do work.


Original issue reported on code.google.com by [email protected] on 19 Mar 2009 at 9:17

Argument one or more are null error

What steps will reproduce the problem?
1. I had JSF project set it up in Eclipse JEE Ganymede
2. I am using the latest version of GMaps4JSF
3. I am working on the simple map display on a web page.

What is the expected output? What do you see instead?
Instead of a map, I am getting an error as
"org.apache.jasper.JasperException: java.lang.NullPointerException: 
Argument Error: One or more parameters are null.
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspS
ervletWrapper.java:522)"

What version of the product are you using? On what operating system?
GMaps4JSF-core.1.1.1.jar, Windows

Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 17 Jan 2009 at 8:43

Icon CoordAnchor not working

What steps will reproduce the problem?
1. Inside a marker tag, 
2. <m:icon ... xCoordAnchor="6" yCoordAnchor="20" />


What is the expected output? What do you see instead?
Expected:
...;iconObject.iconAnchor = new GPoint(6, 20);...

Instead,
...;iconObject.iconAnchor = new GPoint(9, 34);...

What version of the product are you using? On what operating system?
gmaps4jsf-core-1.1.1-SNAPSHOT.jar, Slackware Linux

Please provide any additional information below.


Original issue reported on code.google.com by efspaz on 6 Nov 2008 at 4:43

htmlInformationWindowComponent does not show up when declared a child of a marker component

What steps will reproduce the problem?

The information window does not show up if I declare it as a child of the
marker component

<m:marker draggable="true" jsVariable="marker">
    <m:htmlInformationWindow htmlText="#{backingBean.googleMapAddress}"/> 
</m:marker> 


What is the expected output? What do you see instead?
Expected: htmlInformationWindow component show up.
Instead: htmlInformationWindow does NOT show up

What version of the product are you using?
gmaps4jsf-core-1.1.0.jar




Original issue reported on code.google.com by [email protected] on 13 Nov 2008 at 3:03

Problem markers


Hello!!

When I add any markers in a map then the result is this exceptions,  

avax.servlet.ServletException: 

java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/
lang/String;
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)
    org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
    org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
    org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)

I think that the problem can be because the version of java is 1.4.2.

Thacks 

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Gmaps4JSF 1.1.1, Mac OS 10.3.9 , Java 1.4.2

Please provide any additional information below.
MyFaces 1.1.5, Tomahawk 1.1.6


Original issue reported on code.google.com by [email protected] on 11 Mar 2009 at 5:18

XHTML 1.0 Transitional compliance

>What steps will reproduce the problem?
1. Install https://addons.mozilla.org/de/firefox/addon/249
2. Run your gmaps4jsf code.
3. Observe the validator reports.

>What is the expected output? What do you see instead?
The code gmaps4jsf generates (or the filters do add) should be valid
to at least XHTML transitional. So DIV should be div, and script should
have the attribute type, and so on.

>What version of the product are you using? On what operating system?
gmaps4jsf-core-1.1.2-SNAPSHOT-14-Feb-2009.jar on Windows XP

>Please provide any additional information below.
Reason: Many people use XHTML-validators as a runtime test to discover
strange bugs such as an returned empty list. It disturbs when you see
that the validator complains just because of an used other component.


Original issue reported on code.google.com by [email protected] on 3 Mar 2009 at 2:41

gmaps4jsf support for SSL

We are using SSL on our production server - when using IE the error message
"secure and non-secure items are on the page - do you want to show unsecure
items?"

Reproduce:
1. use your webserver (tomcat) with https
2. embed your google-maps-api-key
3. call your jsf-pagehttp://code.google.com/p/gmaps4jsf/issues/entry
New Issue - gmaps4jsf - Google Code

the error message seems clear because the google-maps-api-script is
embedded with http://... - see also:
http://code.google.com/support/bin/answer.py?answer=65301&topic=10946

I found a workaround described in google-groups:
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/d18120f47082
9e82/1c13019ca18f1e79%231c13019ca18f1e79?pli=1

but drawbacks are described in this post and I think it is not that easy
realized with gmaps4jsf component

is there any workaround or solution that can fix this ssl issue?

Original issue reported on code.google.com by [email protected] on 13 Apr 2009 at 4:16

Integrating with Trinidad


I am trying integrate trinidad with gmaps4jsf, its not working. Simply 
<m:map> tag being ignored doesn't o/p to the browser (Looked at the 
view/source, no map tag)


Here is the sample

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:fh="http://java.sun.com/jsf/html"
          xmlns:m="http://code.google.com/p/gmaps4jsf"
          xmlns:trh="http://myfaces.apache.org/trinidad/html"
          xmlns:tr="http://myfaces.apache.org/trinidad" >
  <jsp:directive.page contentType="text/html;charset=utf-8"/>

  <f:view>
    <tr:document title="Apache Trinidad Demo Index">

    <trh:head title="The Title">
        <trh:script source="http://maps.google.com/maps?
file=api&amp;v=2&amp;key=ABQIAAAAcaMUiyc-
07DEBn90oFncfxTBfUk9TZrBRaIteybtnU2KziHEpRQbDMBzqbmcj7egGGhLiDUpFOVDCw"/>
    </trh:head>

       <tr:form>
          <m:map width="1000px" height="300px" latitude="30.01" 
longitude="31.14" />
     </tr:form>
    </tr:document>
  </f:view>
</jsp:root>

Original issue reported on code.google.com by [email protected] on 26 Sep 2008 at 8:32

Native iphone UI support

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 11 Apr 2009 at 2:40

The information window does not show up if I declare it as a inside ui:repeat

What steps will reproduce the problem?
1. Have a UI Repeat block 
2. As a child to the marker component, add a htmlinformation block
3.

What is the expected output? What do you see instead?
Observe the htmlinformation does not comeup inthe map. 

What version of the product are you using? On what operating system?
1.1.2

Please provide any additional information below.
Here is the code I use

<ui:repeat  var="testcenter" value="#{testcenters.centers}">

                <m:marker latitude="#{testcenter.latitude}"
longitude="#{testcenter.longitude}"/>
            <m:htmlInformationWindow  htmlText="#{testcenter.description}"/>
            </ui:repeat>

The markers come up correctly, but the information window fails to come up.

Original issue reported on code.google.com by [email protected] on 25 Mar 2009 at 9:30

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.