Sunday, July 29, 2007

RENDER_RESPONSE Phase

The RENDER_RESPONSE phase is also responsible for saving the state of the component.
When I first read this, I thought, should not the method that invokes this save the state of the component? However, this will not allow us to implement saving the state on the client. Because when we save the state on the client, the state must be saved before the response stream is closed (actually before the response is totally rendered).

Be careful to not delete/modify any components in the saveState method.
If we change the state of components in the saveState method, we risk jeopardizing the integrity of the component.

Should all HTTP requests always be to the component that was last rendered?
I am not sure... need to think about it???