how to do an automated page navigation
Here is what I want:
- Click a button in Page1,
- Go to Page2 and some method in Page2 is automatically activated
- After the method in Page2 is done, it automatically goes to Page1.
How to make the method in Page2 automatically activated without users interaction?
Thanks in advance,
[322 byte] By [
field] at [2007-11-26 10:59:50]

# 1
Faces does not allow for that without modification of the underlying stages not normally exposed by Creator. However, you could use a jsp redirect (or redirect from within your java code) to go back to page 1. However, this is not the same as the faces navigation model, but instead a direct url re-direct. A major flaw in my opinion.