0 Replies Latest reply on Feb 4, 2010 11:40 AM by jyothi a

    page not holding values whn returning to page

    jyothi a Newbie

      Hi



      I have a panel with some h:inputtext boxes where i can enter the values. For some input feilds i have to select the values from the other page .I can get the value from the second page to the first page but the values in the rest of the input feilds of the first page disappear when i return back to the first page


      What do i do to retain the values of the rest of the inputfeilds when returning from the other page


      my panel in the first page is




      <rich:simpleTogglePanel  switchType="ajax"  >
                 <f:facet name="header">Search</f:facet>
                  <h:panelGrid columns="2"  style="text-align: right;">
                  
                  <s:decorate template="../layout/display.xhtml">
                      <ui:define name="label">LLoyds IMO #</ui:define>
                      <h:inputText id="lloyds" value="#{imvessel.lloydsImoNumber}"/>
                  </s:decorate>
                  
                  <s:decorate template="../layout/display.xhtml">
                      <ui:define name="label">Vessel Code</ui:define>
                      <h:inputText id="lloyds" value="#{imvessel.vesselCode}"/>
                  </s:decorate>
                  
                  <s:decorate template="../layout/display.xhtml">
                      <ui:define name="label">Vessel Name</ui:define>
                      <h:inputText id="lloyds" value="#{imvessel.vesselName}"/>
                  </s:decorate>
                  
                  <s:decorate template="../layout/display.xhtml">
                      <ui:define name="label">SCAC</ui:define>
                      <h:inputText id="lloyds" value="#{imvessel.scacCode}"/>
                      <s:link value="Select" view="/admin_configuration_transportation/IcCarrierList.xhtml">
                                  <f:param name="from1" value="transportation_ocean/ImVesselList"/>
                          </s:link>
                  </s:decorate>
                  
                  </h:panelGrid>
                 </rich:simpleTogglePanel>





      Thanks in advance