<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Arial">Hi,<br>
      <br>
      I have this style:<br>
      <br>
      'var style_pdi = new OpenLayers.StyleMap({<br>
                                  "default": new OpenLayers.Style({<br>
                                      strokeColor: "#000000",<br>
                                      strokeOpacity: .7,<br>
                                      strokeWidth: 3,<br>
                                      fillColor: "#ff0000",<br>
                                      fillOpacity: 0,<br>
                                      cursor: "pointer",<br>
                                      label: "${nome}",<br>
                                      externalGraphic:
      "/img/simbologia_layers/pdi/" + "${id}" + ".png"<br>
                                      })....'<br>
      <br>
      When I turn on the layer with this style, OL tries to open a image
      like that '.../undefined.png' despite getting the attribute id
      value.<br>
      If I use another attribute like 'name' works. Its some bug with
      PK? If i run <br>
      '>>>
      pontos_interesse_auditados.features[1].attributes.id'  in firebug
      all works well, i receive the id value. In this case 5.<br>
      <br>
      Thanks<br>
    </font>
  </body>
</html>