I'm getting a really weird exception that I don't beleive I should be
getting.

javax.faces.el.PropertyNotFoundException: Bean: java.util.HashMap$Values,
property: shortName

Here's the jsf:
(take a look at the t:columns)
<body>
        <f:view>
                <t:dataTable id="projectsDataTable" var="project"
value="#{projectBacker.projects}">
                        <t:column id="projectNameColumn">
                                <f:facet name="header"><h:outputText
value="Status"/></f:facet>
                                <h:outputText value="#{project.status}"/>
                        </t:column>
                        <t:column id="projectNameColumn">
                                <f:facet name="header"><h:outputText 
value="Project
Name"/></f:facet>
                                <h:outputText value="#{project.name}"/>
                        </t:column>
                        <t:columns value="#{developerBacker.developers}" 
var="developer"
id="shortNameColumns">
                                <f:facet name="header"><h:outputText
value="#{developer.shortName}"/></f:facet>
                                <h:outputText 
value="#{developer.shortName}"/>
                        </t:columns>
                        <t:column id="dueDateColumn">
                                <f:facet name="header"><h:outputText 
value="Date
Due"/></f:facet>
                                <h:outputText value="#{project.dueDate}"/>
                        </t:column>
                        <t:column id="modifiedColumn">
                                <f:facet name="header"><h:outputText 
value="Last
Modified"/></f:facet>
                                <h:outputText value="#{project.lastModified} 
by
#{project.lastModifier}"/>
                        </t:column>
                </t:dataTable>
        </f:view>
</body>

 
I've confirmed that the t:columns is iterating through the list and the
variable is in fact a Developer. I did this by h :o utputTexting the
developer variable.
 
Developer is a simple public class that contains the following
        public String getShortName() {
                return shortName;
        }
 
 
        public void setShortName(String shortName) {
                this.shortName = shortName;
        }


 
Any help would be endlessly appreciated.
- Octoberdan
--
View this message in context: 
http://www.nabble.com/Property-can%27t-be-found-that%27s-definitely-there%21-t1311944.html#a3495762
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to