Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTMLInformationWindow not working for gmaps4jsf 1.1.4 #159

Closed
GoogleCodeExporter opened this issue Mar 23, 2016 · 4 comments
Closed

HTMLInformationWindow not working for gmaps4jsf 1.1.4 #159

GoogleCodeExporter opened this issue Mar 23, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 10 Mar 2011 at 7:27

@GoogleCodeExporter
Copy link
Author

I haven't seen issue 158. Maybe is the same problem

Original comment by [email protected] on 10 Mar 2011 at 7:29

@GoogleCodeExporter
Copy link
Author

I got the same problem in issue 158

Original comment by [email protected] on 11 Mar 2011 at 9:19

@GoogleCodeExporter
Copy link
Author

I will investigate.

Original comment by [email protected] on 9 May 2011 at 5:56

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 28 May 2011 at 1:10

  • Changed state: Duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant