darshakshah1988 / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
0 stars 1 forks source link

HTMLInformationWindow not working for gmaps4jsf 1.1.4 #159

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I had an application that uses gmaps4jsf 1.1.3. In this application I create 
the markers from backing bean and add it on the map like this:
map.getChildren().add(newMark); and on each marker I added a 
HTMLInformationWindow like this:
newMark.getChildren().add(inf);

After changing to gmaps4jsf 1.1.4 and after changing import from 
com.googlecode.gmaps4jsf.component.htmlInformationWindow.HTMLInformationWindow 
to com.googlecode.gmaps4jsf.component.window.HTMLInformationWindow

I got the folowing error:
java.lang.NoSuchMethodError: 
com.googlecode.gmaps4jsf.util.ComponentUtils.pad(Ljavax/faces/component/UICompon
ent;)Ljava/lang/String;
    at com.googlecode.gmaps4jsf.component.window.HTMLInfoWindowRenderer.encodeBegin(HTMLInfoWindowRenderer.java:40)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:934)
    at javax.faces.render.Renderer.encodeChildren(Renderer.java:148)

If I remove line:
newMark.getChildren().add(inf);
 Then the application works but the InfWindow is not displayed. Using gmaps4jsf 1.1.3 EVerything worked.
Am I doing something wrong? Or is this a bug?

Regards Corneliu

Original issue reported on code.google.com by madmcc...@gmail.com on 10 Mar 2011 at 7:27

GoogleCodeExporter commented 8 years ago
I haven't seen issue 158. Maybe is the same problem

Original comment by madmcc...@gmail.com on 10 Mar 2011 at 7:29

GoogleCodeExporter commented 8 years ago
I got the same problem in issue 158

Original comment by hon...@gmail.com on 11 Mar 2011 at 9:19

GoogleCodeExporter commented 8 years ago
I will investigate.

Original comment by Hazem.sa...@gmail.com on 9 May 2011 at 5:56

GoogleCodeExporter commented 8 years ago

Original comment by Hazem.sa...@gmail.com on 28 May 2011 at 1:10