[jboss-user] [JBoss Seam] - Re: #{conversationList} appears to be empty

b.reeve do-not-reply at jboss.com
Fri Sep 28 16:25:36 EDT 2007


This is the conversations.xhtml page

  | <div xmlns="http://www.w3.org/1999/xhtml"
  |      xmlns:c="http://java.sun.com/jstl/core"
  |      xmlns:ui="http://java.sun.com/jsf/facelets"
  |      xmlns:f="http://java.sun.com/jsf/core"
  |      xmlns:h="http://java.sun.com/jsf/html"
  |      xmlns:s="http://jboss.com/products/seam/taglib">
  | 
  | <div class="section">
  |     <h:form>
  |         <h:outputText value="#{empty conversationList}" />
  |     </h:form>
  | </div>
  | </div>
  | 

And this is the page that includes the conversations.xhtml

  | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  | <html xmlns="http://www.w3.org/1999/xhtml"
  | 	xmlns:f="http://java.sun.com/jsf/core"
  | 	xmlns:h="http://java.sun.com/jsf/html"
  | 	xmlns:c="http://java.sun.com/jsp/jstl/core"
  | 	xmlns:ui="http://java.sun.com/jsf/facelets">
  | 	<head>
  | 		<title><ui:insert name="pageTitle"></ui:insert></title>	       
  | 	</head>
  | 	<body>        
  | 	<ui:include src="/header.xhtml" />
  | 	<div class="wrapper"> 
  | 		<h4><ui:insert name="pageHeader">Page Not found</ui:insert></h4>
  | 		<ui:insert name="pageBody">Page Not found</ui:insert>
  | 	</div>
  | 	<ui:include src="/conversations.xhtml" />
  | 	<ui:include src="/copyright.xhtml" />       
  |     </body>
  |   </html>
  | 
So whenever i try hitting any page I am getting the UnsupportedOperationException, when I remove the #{conversationList} everything is fine. Am I missing something to get the conversationList component, because I am getting the conversationEntries correctly.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089855#4089855

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089855



More information about the jboss-user mailing list