Announcement Announcement Module
Collapse
No announcement yet.
Spring tags are not being evaluated in Custom Tags Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring tags are not being evaluated in Custom Tags

    I'm trying to use <spring:message> tag in my custom tag, something like this:
    <templateut name='title' content='<spring:message code="directory.title.home" />' direct='true'/>

    But, it's not being evaluated.
    I even tried putting this in a scriplet...
    <%
    String title = "<spring:message code=\"directory.title.home\"/>";
    %>

    <templateut name='title' content='<%=title%>' direct='true'/>


    this way, it's evaluating title as "<spring:message...."

    Can someone please help me ??

    Thanks...

  • #2
    Ty:
    Code:
    <c&#58;set var="title"><spring&#58;message code=\"directory.title.home\"/></c&#58;set>
    <template&#58;put name='title' content='<%=title%>' direct='true'/>

    Comment

    Working...
    X