InvictusApollo / gmaps4jsf

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

JSF content for htmlInformationWindow #115

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a map with a marker and a HTML information window inside the marker
2. add JSF content to the information window

eg.
<m:map width="500px" height="500px" latitude="45.03" longitude="25.87">
                <m:marker latitude="45.03" longitude="25.87">
                    <m:htmlInformationWindow htmlText="">
                        <h:commandLink
actionListener="#{bean.action}">Action!</h:commandLink>
                    </m:htmlInformationWindow>
                </m:marker>
            </m:map>

What is the expected output? What do you see instead?
Expected: The JSF content should be rendered in the information window.
Result: Map not rendered, javascript printed on the output

What version of the product are you using? On what operating system?
gmaps4jsf 1.1.3-u3, JSF 2.0.2 on Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by florinan...@gmail.com on 13 May 2010 at 8:53

GoogleCodeExporter commented 9 years ago
Still an issue in 3.0.0, a partially workaround is to create the HTML in the 
backing bean:
<m:htmlInformationWindow htmlText="#{controller.getDescriptionHTML()}" />

Of course this doesn't allow the creation of JSF links, etc.

Original comment by frederik...@gmail.com on 7 Jun 2013 at 9:25