Resource Menu


RE : New module
Now my problem is with the jsp pages. I can't display contacts in the address book:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ls" uri="http://www.libresource.org/taglib" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>

<html> <head> <title><fmt:message key="adressbook.view.adressbook.title"/></title> </head> <body> <div id="viewAdressBook">

<div id="description"> ${ls:render(resource.uri,adressbook.description)} </div> <br/>

<div id="actions"> <a href="${ls:path(resource.uri)}?action=post"><fmt:message key="adressbook.view.adressbook.new"/></a> </div> <br/>

<div id="content"> <fmt:setBundle basename="resources/application"/> <display:table name="contacts" sort="list" defaultorder="descending" id="C" pagesize="20" class="lsTable" requestURI="${ls:path(resource.uri)}" defaultsort="3"> <display:column title="Nom" sortable="true" sortProperty="contact.name" headerClass="name" class="name" align="left"> <a href="${ls:path(c.contact.uri)}">${ls:render(resource.uri,c.contact.name)}</a> </display:column> </display:table>

</div>

</div> </body> </html>

It founds the items in the adress book but it display nothing. The variable contact.uri is null!!!! Why?
posted by reya at Mar 2, 2008 5:24 AM