List Info

Thread: create/restore View




create/restore View
user name
2007-10-24 08:46:21
Hi!

The JSF ViewHandler defines two methods regarding creation
of views
* createView
* restoreView

As far as I've understood things (might not be complete
yet),
restoreView is to recreate the view based on the postback
data while
createView is to create a new fresh tree.

I'd like to instrument the view after it has been created,
now, I do not
know exactly if the view has been created of restored.

The FaceletViewHandler does nothing in createView ... why is
 the
creation of the view done in renderView?

I think I should be able to create my own ViewHandler
derived from the
Facelets one, but I wonder what is the technical reason to
do things in
renderView.


Ciao,
Mari

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )