This is regarding a JavaEE web application which uses JSF, JPA and Primefaces.
In a large JSF page, a table needs to be populated by a list of items. The first column display the name of the items as an output label. The second column has an input text to record user input. The third column displays a value which is calculated considering several factors and take a relatively long time.
I want to display the page with data for the first two columns, but the third Colum data need to be filled after the complete page is displayed to the user. This is to minimize the user waiting a long time before starting the data entry. As the user starts seeing the page, the third column needs to be populated as the data is made available.
Is this possible to be achieved in JSF? If needed I can use OminiPages, but not technologies like Spring and Struts.
<table>
<ui:repeat id="rptItems"
value="#{clientEncounterComponentItemController.items}"
var="ii" >
<tr>
<td>
<p:outputLabel for="itStC" value="#{ii.name}" ></p:outputLabel>
</td>
<td>
<p:inputText id="itStC" value="#{ii.shortTextValue}" >
</p:inputText>
</td>
<td>
<h:panelGroup rendered="#{ii.displayLastResult}" >
<p:outputLabel id="lblResult" value="#{clientEncounterComponentItemController.findFormsetValue(ii)}" ></p:outputLabel>
</h:panelGroup>
</td>
</tr>
</ui:repeat>
</table>