0

I have a drop down menu that allows users to select a proposal that is stored in a database, title, justification, status, creator etc.

The drop down is working and shows the current proposals but I can't seem to get the rest of the data from it when it is selected in the outputText tags.

<h:selectOneMenu value="#{nameBean.prop}" id="resident">
    <f:selectItems value="#{nameBean.allProposals}" var="p" itemLabel="#{p.proposal_title}" itemValue="#{p}"/>
</h:selectOneMenu>
            
            
            
<h:outputText value="#{prop.proposal_title}"></h:outputText>
<h:outputText value="#{prop.proposal_justification}"/>

0 Answers0