Hi I've tested FrameCloudPopup in an html page and work properly.<div>I'm working with <span class="Apple-style-span" style="font-weight: bold;">RichFaces Facelets and JSF</span> technologies to build my web application so </div>
<div> I try to put it in a JSF page I found that the size of the popup is smaller and not the suitable to show all<div>of its contents div..</div><div><br></div><div>Here is a portion of my code<br></div><div><br></div><div>
<div><span class="Apple-style-span" style="font-style: italic;">\\mapEvents.js</span></div><div><span class="Apple-style-span" style="font-style: italic;"> function showPopup(feature) {</span></div><div><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                </span></span><span class="Apple-style-span" style="font-style: italic;">if(feature==undefined) return;</span></div>
<div><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                </span></span></div><div><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                </span></span></div>
<div><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                </span></span><span class="Apple-style-span" style="font-style: italic;">selectedFeature = feature;</span></div>
<div><span class="Apple-style-span" style="font-style: italic;"> </span></div><div><span class="Apple-style-span" style="font-style: italic;"> popup = new OpenLayers.Popup.FramedCloud("chicken", </span></div>
<div><span class="Apple-style-span" style="font-style: italic;"> feature.geometry.getBounds().getCenterLonLat(),</span></div><div><span class="Apple-style-span" style="font-style: italic;"> null,</span></div>
<div><span class="Apple-style-span" style="font-style: italic;"> "<div>" + getFeatureInfo(feature)+"</div>",</span></div><div><span class="Apple-style-span" style="font-style: italic;"> null, true, onFeatureUnselect);</span></div>
<div><span class="Apple-style-span" style="font-style: italic;"> </span></div><div><span class="Apple-style-span" style="font-style: italic;"> feature.popup = popup;</span></div><div><span class="Apple-style-span" style="font-style: italic;"> map.addPopup(popup);</span></div>
<div><span class="Apple-style-span" style="font-style: italic;"> }</span></div><div><span class="Apple-style-span" style="font-style: italic;"><br></span></div><div><div><span class="Apple-style-span" style="font-style: italic;"><br>
</span></div><div><span class="Apple-style-span" style="font-style: italic;"><br></span></div><div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> function getFeatureInfo(feature){</span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> tableStr='<table class="featureInfo">'+ </span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                </span></span><span class="Apple-style-span" style="font-style: italic;">'<caption class="featureInfo">Proyecto</caption>'+</span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                                </span></span><span class="Apple-style-span" style="font-style: italic;">'<tr>'+</span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                        </span></span><span class="Apple-style-span" style="font-style: italic;">'<th >nombre</th>'+</span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                                </span></span><span class="Apple-style-span" style="font-style: italic;">'<th >descripcion</th>'+</span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                                </span></span><span class="Apple-style-span" style="font-style: italic;">'</tr>'+</span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                                </span></span><span class="Apple-style-span" style="font-style: italic;">'<tr>'+ </span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                                </span></span><span class="Apple-style-span" style="font-style: italic;">'<td>'+feature.data.nombre+'</td>'+</span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                                </span></span><span class="Apple-style-span" style="font-style: italic;">'<td>'+feature.data.descripcion+'</td>'+</span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                                </span></span><span class="Apple-style-span" style="font-style: italic;">'</tr>'+</span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">                                </span></span><span class="Apple-style-span" style="font-style: italic;">'</table>'</span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;">hrefStr= "<a href=\""+feature.data.link_ver_pagina +"\" target=\"_blank\">" +"Info"+"</a>";</span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> return tableStr+ hrefStr;</span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> </span><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><span class="Apple-style-span" style="font-style: italic;">        </span></span><span class="Apple-style-span" style="font-style: italic;"> }</span></div><div>The fundamental difference I noticed is that the JSF pages add additional css that the html doesn't include and makes div elements inherit, so I suppose the autosize property of the</div>
<div>OL Popup behaves different .</div><div>Any Help?</div><div>Thanks</div><div>Nacho</div><div><br></div><div><br></div></div></div></div>