On Wed, Oct 13, 2010 at 8:57 AM, Katrin Saul <[email protected]> wrote:
> Hi,
>
> I've a problem with external graphic.
>
> If I try  to get external graphic dynamically - the field 'geomname' holds
> the name of svg (first example)
>
>               <ExternalGraphic>
>                 <OnlineResource xlink:type="simple"
> xlink:href="http://localhost:8080/geoserver/www/styles/${strToLowerCase(geomname)}"/>
>                 <Format>image/svg+xml</Format>
>               </ExternalGraphic>
>
> and  part of name in this example :
>
>               <ExternalGraphic>
>                <OnlineResource xlink:type="simple"
> xlink:href="http://localhost:8080/geoserver/www/styles/${strToLowerCase(geomname)}.svg"/>
>                 <Format>image/svg+xml</Format>
>               </ExternalGraphic>

Hummm... might it be the attribute name is misspelled, maybe using the
wrong case?
(e.g., could it be GeomName or GEOMNAME? See the layer config page to
have a list of the attributes
 and their proper spelling/case)

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-----------------------------------------------------

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to