Sorry forgot to include the WEB-INF/classes/displaytag.properties basic.empty.showtable=true paging.banner.onepage= export.pdf=false
---------------------------------------------------- Plant More Tree wrote: > > Hi guys, > > I am using appfuse 1.9.4 (jsf/facelets version). I tried to integrate > displaytag 1.1.1 with it but it just doesn't display anything. My xhtml > page is as follow: > > -------------------------------------------------------------------- > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:c="http://java.sun.com/jstl/core" > xmlns:f="http://java.sun.com/jsf/core" > xmlns:h="http://java.sun.com/jsf/html" > xmlns:ui="http://java.sun.com/jsf/facelets" > xmlns:t="http://myfaces.apache.org/tomahawk" > xmlns:v="http://corejsf.com/validator" > xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" > xmlns:dis="http://displaytag.sf.net"> > > <f:view> > <f:loadBundle var="text" basename="#{basePage.bundleName}"/> > <head> > <title>Todoss</title> > </head> > > <dis:table name="requestScope.home.sharedUrlList"> > <dis:column property="title" /> > </dis:table> > </f:view> > </html> > -------------------------------------------------------------------- > > > my backingbean is as follow: > -------------------------------------------------------------------- > public class Home extends BasePage implements Serializable { > > ...... > > private List <SharedUrl> sharedUrlList; > > private SharedUrlManager sharedUrlManager; > > public List<SharedUrl> getSharedUrlList() { > return sharedUrlList; > } > > public String retrieve(){ > sharedUrlList = sharedUrlManager.getAllSharedUrl(); > System.out.println("\n\n sharedUrlList = > "+sharedUrlList.size()); // > this size is 2 > return "home"; > } > > } > -------------------------------------------------------------------- > > > The POJO is as follows : > -------------------------------------------------------------------- > public class SharedUrl implements Serializable{ > private String title; > private String description; > ...... > } > -------------------------------------------------------------------- > > if I use typical foreach loop in the xhtml page like below : > -------------------------------------------------------------------- > <table> > <c:forEach var="url" items="${requestScope.home.sharedUrlList}"> > <tr> > <td>${url.title}</td> > <td>${url.description}</td> > </tr> > </c:forEach> > </table> > -------------------------------------------------------------------- > > then I can see the data is displayed on the page. > > I am not sure if i am missing some configuration or other issue. > Appreciate very much if someone could advice me on this issue. > > Thanks & Regards, > Mark > > > > -- View this message in context: http://www.nabble.com/Displaytag-1.1.1-unable-to-display-anything-...-tp17106430p17506659.html Sent from the DisplayTag - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user