Skip to Content
0
Jan 10, 2008 at 06:27 PM

Retaining internal table values

29 Views

Hi Everyone,

I have a simple MVC application where I need to know about retaining data displayed as a table on the view...Here is the more detailed explanation.

I have a controller calling a view.

On the view I have a submit button and other input elements ,once i click on this it would

call the controller's doHandleevent and fetch some values from the model class's method and display it on the view.the table is attribute of the model class and binded onto the view.

So the question is ,Once thisd table is populated

next time I perofrm any action on the view ,it would call the doHandlevent of the controller,But do I have this internalk table to access the data??

I do understand that form_fields is used to retain the values that were selected on the page ...but how do i get the internal table back without having to read from the database.

Thanks,

Mithun H.Salgar