AnsweredAssumed Answered

Diplay values from a Java class into  FTL file

Question asked by croc on Aug 3, 2010

I have a class that connects to the database and get the values. I want to display this values into the FTL file, How do i do that?

I have another example working in jsp, which uses jstl.

<sql:query var="result" dataSource="jdbc/alfresco">
            SELECT value, name FROM DDLIST

From there i display the values

<select name="colors">
      <c:forEach var="row" items="${result.rows}">
           <option value="${row.value}">${}</option>

I need something like the one above but in ftl, or a way to get values that i have in a java class into ftl, so that i can view them on runtime.