I currently have the following in my JSP:
<bjsf:form id="fleetForm">
<bjsf:inputHidden value="#{fleetBean.fleet.number}"/>
<bjsf:panelGrid columns="2">
<bjsf:outputLabel for="fleetName" value="#{label.fleetName}"/>
<bjsf:outputText id="fleetName" value="#{fleetBean.fleet.name}"/>
<bjsf:outputLabel for="description" value="#{label.description}"/>
<bjsf:outputText id="description" value="#{fleetBean.fleet.description}"/>
</bjsf:panelGrid>
</bjsf:form>
<bjsf:inputHidden value="#{fleetBean.fleet.number}"/>
<bjsf:panelGrid columns="2">
<bjsf:outputLabel for="fleetName" value="#{label.fleetName}"/>
<bjsf:outputText id="fleetName" value="#{fleetBean.fleet.name}"/>
<bjsf:outputLabel for="description" value="#{label.description}"/>
<bjsf:outputText id="description" value="#{fleetBean.fleet.description}"/>
</bjsf:panelGrid>
</bjsf:form>
The managed bean 'fleetBean' is request scoped and I'm trying to avoid making it session scoped. When I submit the form, the fleetBean.fleet.number is not resubmitted, presumably since it has not changed. But because my bean is request scoped I have no other way of knowing what the 'number' of the 'fleet' should be. Is there any way to force it to resubmit even if it's not dirty?
Thanks.

Hi kvecchione, The question
18 December, 2007 - 17:37 — SenakaHi kvecchione,
The question is why are you not using session scope if you do want to preserve the data? As this will be persistent for the entire session until destroyed.
-Senaka