Hello,
I'm a JSF-noob(tm) and fresh convert from Struts so there might be something with the lifecycle I don't understund but...
I'm trying to make a DB-configurable application using a phase
listener that iterates over all the components in the tree and applies
attributes, validators etc to them the id can be found in a map of
description objects (or hide the component if the user doesn't have
access to it)
I can't however make the changes take effect when running the
page for the first time. I attached the listener to all phases and the
debug code shows that it is doing a setRendered(false) for a component
but it still shows up! When I navigate back to the page the component
disappears. Something with phases being skipped when there is nothing
to restore? If so, is there a way to get around this (by using some
other "for every page" method)?
Help is appreciated since this would really add some nice configurability for our application.
-Nik
- Component manipulation in phase listener Nicklas Karlsson
- Re: Component manipulation in phase listener Simon Kitching
- Re: Component manipulation in phase listener Nicklas Karlsson
- Re: Component manipulation in phase listener Simon Kitching
- Re: Component manipulation in phase list... Nicklas Karlsson
- Re: Component manipulation in phase list... Nicklas Karlsson
- Re: Component manipulation in phase... Simon Kitching
- Re: Component manipulation in phase listener Dennis Byrne
- Re: Component manipulation in phase listener Nicklas Karlsson

