Cool ... 

thks for your fast response ^^

--
Ariel Falduto
[email protected]




On Jun 1, 2012, at 11:48 AM, Andrea Aime wrote:

> On Fri, Jun 1, 2012 at 4:20 PM, Ariel Falduto <[email protected]> wrote:
> Hi guys, im trying to make this sentence ...
> 
> ...
> <PointSymbolizer>
>  <Graphic>
>    <ExternalGraphic>
>      <OnlineResource xlink:type = "simple" xlink:href = "${URL_RECURSO}"/>
>      <Format>image/png</Format>
>    </ExternalGraphic>
>  </Graphic>
> </PointSymbolizer>
> ...
> 
> but geoserver throws me in console some thing like:
> 
> ERROR [lite.StyledShapePainter] - ShapePainter has been asked to paint a null 
> style!!
> 
> woow ... but the variable was an value like:
> 
> http://foo.com/public/images/D3B02AA2-3B12-4212-9B03-3493EC18DA78.png
> 
> buuuut the BEST part is ... if i make partial expression IT WORKS !!!
> 
> ...
> <PointSymbolizer>
>  <Graphic>
>    <ExternalGraphic>
>      <OnlineResource xlink:type = "simple" xlink:href = 
> "http://foo.com/public/images/${ID_RECURSO}.png"/>
>      <Format>image/png</Format>
>    </ExternalGraphic>
>  </Graphic>
> </PointSymbolizer>
> ...
> 
> whats wrong ?? why i need to define mixin string ... not is possible to 
> define whole expresion attribute at xlink:href ??
> 
> Exactly, it's not possible, as it's not a valid URL anymore. The code carries 
> the URL around for a bit, in the form
> of a Java URL, so it has to be valid. Expression substitution happens only 
> later.
> 
> Cheers
> Andrea
>  
> -- 
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
> 
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> 
> phone: +39 0584 962313
> fax:      +39 0584 962313
> mob:    +39 339 8844549
> 
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
> 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to