Announcement Announcement Module
Collapse
No announcement yet.
Need to render JSTL EL stored in a database field (templatin) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need to render JSTL EL stored in a database field (templatin)

    Does anyone know how I can dynamically render fields from a database?

    For example, I have a form where I store "My name is ${person.name}." in a field.

    No matter what I try, the show page renders as "My name is ${person.name}." instead of my desired result of "My name is Fred Flintstone."

    How can I make it so that my show page renders the JSTL EL ${person.name} on my page?

  • #2
    Not sure what exactly is going wrong for you. If you are using Roo 1.1 you can take a look at the tagx libraries which use EL extensively. Generally you are better off using a tag like <c:out or <spring:eval as they provide default escaping of your attribute values.

    -Stefan

    Comment

    Working...
    X