Announcement Announcement Module
Collapse
No announcement yet.
spring:message inside a meta content argument Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Problem stills exists. Anyone?

    Comment

    Working...
    X