Hi Susan,

Susan Cline wrote:
> Hi,
> 
> Here's the use of the saveState in the FlightList.jsp
> file:
> 
> <t:saveState value="#{flightConfig}" />
> <t:saveState value="#{flight}" />
> 
> Within this page I'm using a datatable to get the
> available flights in the flightConfig bean:
> 
> <t:dataTable id="data" styleClass="scrollerTable"
> headerClass="standardTable_Header"
> footerClass="standardTable_Header"
> rowClasses="standardTable_Row1,standardTable_Row2"
>                                       
> columnClasses="standardTable_ColumnCentered,standardTable_ColumnCentered,standardTable_ColumnCentered,standardTable_ColumnCentered,standardTable_ColumnCentered"
> var="flight" value="#{flightConfig.availableFlights}"
> preserveDataModel="false" rows="5">
>                                               <h:column>
>                                                       
> <h:commandLink action="#{flight.selectedFlight}" >
>                                                       <h:outputText 
> value="#{flight.flightId}" />
>                                                       </h:commandLink>
> 

the saveState tag does not work for the datatables local variable
'flight'. This bean is set into request(?) by the datatable before
processing each row and i think it should removed after then.
Did you get an exception when accessing the 'flight' bean on your
CreditCard.jsp page?



> Any comments about what is happening with the
> saveState tag?  Am I not using it correctly?
> 
> Also, is the way I am putting the flightBean into the
> session object and retreiving it an okay way to do it?
> 
> Thanks,
> 
> Susan
> 

Regards
  Volker

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

Reply via email to