<div><br></div><div>Na primeira situação qual o valor da variavel <span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">fldName?</span></div><div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">e pretendia </span></div><div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> window.open('</span><a href="http://localhost/documentos/" target="_blank" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">http://localhost/documentos/</a><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">' + fldName,</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">'.pdf');</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">ou</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> window.open('</span><a href="http://localhost/documentos/" target="_blank" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">http://localhost/documentos/</a><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">' + fldName + </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">'.pdf');</span></div>
<div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><br></div><br><br><div class="gmail_quote">No dia 1 de Outubro de 2012 14:40, Luis Leitao <span dir="ltr"><<a href="mailto:luis_rleitao@hotmail.com" target="_blank">luis_rleitao@hotmail.com</a>></span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ainda em relação a este post.<br>
<br>
Se eu fizer a ligação directamente ao funciona bem, mas assim terei que<br>
criar uma ligação para cada um, o que não é de todo desejável.<br>
<div class="im"><br>
<br>
...<br>
// Sample Hyperlink function for result window<br>
openHyperlink: function(layer, fldName, fldValue) {<br>
switch(layer) {<br>
case 'PARECERES':<br>
//if (fldName == 'INF_NUM') {<br>
</div> window.open('<a href="http://localhost/documentos/14311.pdf'" target="_blank">http://localhost/documentos/14311.pdf'</a>);<br>
<div class="im"> //}<br>
break;<br>
<br>
default:<br>
alert ('See function openHyperlink in custom.js: ' + layer +<br>
' - ' + fldName + ' - ' + fldValue);<br>
....<br>
<br>
<br>
</div>Já alguém experimentou a fómula em documentos em pdf, ou somente com<br>
pisquisa na net?<br>
Porque, a fómula de pesquisa por nome na wiki funciona muito bem, mas quando<br>
tranponho para os pdf's... nada.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/Hyperlink-com-documentos-pdf-tp5005214p5005559.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/Hyperlink-com-documentos-pdf-tp5005214p5005559.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the OSGeo Portuguese Local Chapter mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Portugal mailing list<br>
<a href="mailto:Portugal@lists.osgeo.org">Portugal@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/portugal" target="_blank">http://lists.osgeo.org/mailman/listinfo/portugal</a><br>
</div></div></blockquote></div><br>