Hi,

i'm currently bulding a custom ExceptionHandler.
If a ViewExpired occured, i try to rebuild the view via:

                ViewDeclarationLanguageFactory vdlf =
(ViewDeclarationLanguageFactory)

FactoryFinder.getFactory(FactoryFinder.VIEW_DECLARATION_LANGUAGE_FACTORY);
                ViewDeclarationLanguage vdl =
vdlf.getViewDeclarationLanguage(viewId);

                UIViewRoot viewRoot = vdl.createView(context, viewId);
                context.setViewRoot(viewRoot);

                vdl.buildView(context, viewRoot);

After bulding the view, i try to find a component in the view via a
VisitCallback.
Somehow, the builded ViewRoot does not have any children (childCount == 0).
This works fine in Mojarra.

For testing, i just open a page, restart jetty and click on ajax button.

Any idea? Leo?

Regards,
Thomas

Reply via email to