I've asked this question previously and I think that I phrased it badly.
So, here goes again.
This web app's welcome page contains a single <h:commandLink> that routes to a page upon which I need to display a list of db rows.
I retrieve the rows using a listener class defined in the web.xml file. I get the rows ok and I assign the rows (as a List object) to a managed bean - patientBackingBean - that has a property - patientList -that corresponds to the list.
However, when I use <h:dataTable in my
jsp I see no results. The datatable tag looks like this-
><h:dataTable id="patlistid"
first="0"
rows="0"
value="#{patientBackingBean.patientList}"
var="patlist"
rowClasses="list-row-odd,list-row-even"
headerClass="table-header"
width="75%">
<h:column>
<f:facet name="header">
<h:outputText value="Select"/>
</f:facet>
<h:selectBooleanCheckbox onclick="this.form.submit();" />
</h:column>
<h:column rendered="#{patient.patientId}">
<f:facet name="header">
<h:outputText value="#{res[\'patient.patientid\']}"/>
</f:facet>
<h:outputText value="#{patlist.patientId}"/>
</h:column>
and so on for each column.
I know that FacesContext is initialized at this point.
Any one have an answer?
TIA...