Skip to Content
0
Former Member
Jan 20, 2006 at 01:17 PM

Problem regarding lifetime of controller in MVC

7 Views

Hi all,

I am new to MVC. I am using framesets. left frame is having all navigation links.

Right frame is the target frame in which the view related to navigated link is shown.

I have two pages to be shown in right frame:

1. Request.do and Request.htm : Leave request page having input boxes to fill data and submit button.

2. Approve.do and Approve.htm : Approve page to approve leave request.

In the left frame I display navigation page, having two links:

1.Request -


calls Request.do in right frame

2.Approve -


calls Approve.do in right frame

When I click on request link and fill some enteries, without submitting, I click on approve link.

then I again navigate to request page. The entries made earliar are retained in the request page.

I have to use stateful because if I use stateless then after do_handle_event, do_init is called and all controller attributes are initialised.

How can I handle that?

Regards,

Sameer