Author: sergeyhalipov
Date: 2007-10-03 12:09:48 -0400 (Wed, 03 Oct 2007)
New Revision: 3231
Modified:
trunk/ui/gmap/src/main/templates/gmap.jspx
Log:
http://jira.jboss.com/jira/browse/RF-899
Modified: trunk/ui/gmap/src/main/templates/gmap.jspx
===================================================================
--- trunk/ui/gmap/src/main/templates/gmap.jspx 2007-10-03 16:00:53 UTC (rev 3230)
+++ trunk/ui/gmap/src/main/templates/gmap.jspx 2007-10-03 16:09:48 UTC (rev 3231)
@@ -29,9 +29,12 @@
<h:styles>css/gmap.xcss</h:styles>
<h:scripts>new
org.ajax4jsf.javascript.PrototypeScript(),script/gmap.js</h:scripts>
-<div id="#{clientId}" class="dr-gmap rich-gmap
#{component.attributes['styleClass']}"
- x:passThruWithExclusions="id, styleClass, class"
->
+<div id="#{clientId}" class="dr-gmap rich-gmap
#{component.attributes['styleClass']}" >
+
+ <f:call name="utils.encodePassThruWithExclusions">
+ <f:parameter value="id,class" />
+ </f:call>
+
<script type="text/javascript"
src="http://maps.google.com/maps?file=api&v=2&key=#{... />
<script type="text/javascript">
//<![CDATA[