This is sampleEvent02.
It is similar to sampleEvent01 and running at the same context.
The advantage of this approach is that the pages are all loaded at initialization time, so the only thing you need to send and receive from the server is data.