Results 1 to 2 of 2

Thread: spring:message inside a meta content argument

  1. #1
    Join Date
    Dec 2011
    Posts
    2

    Question spring:message inside a meta content argument

    Hi there

    Im trying to fill the content argument of a meta tag inside a site, dynamically.

    example:

    HTML Code:
    <meta name="description" content="<spring:message code="${page.metaDescriptionKey}" />">
    This produces the error:

    Code:
     The value of attribute "content" associated with an element type "null" must not contain the '<' character.
    Surely this comes from using a spring tag inside the argument but how would you solve this? I want to keep the content language-dynamic.

    Thanks for any hints

  2. #2
    Join Date
    Dec 2011
    Posts
    2

    Default

    Problem stills exists. Anyone?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •