Thank you very much. But just to recap that thread to see that I am not missinterpreting. It is not possible to change components found in the ViewRoot using a ViewHandler or PhaseListener. It is however possible to do this by using a custom UIViewRoot?
Best regards Pichdude Volker Weber-5 wrote: > > Hi, > > 2007/5/25, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: >> You find the components after the renderer phase built by >> encodeChildren. Search for the topic " Change visibility dynamically" >> and you'll find a solution... > > http://www.nabble.com/Change-visibility-dinamically-tf3299810.html > > Regards, > Volker > >> >> Mario >> >> -----Original Message----- >> From: Pich [mailto:[EMAIL PROTECTED] >> Sent: 25 maggio 2007 16.25 >> To: [email protected] >> Subject: Make changes on component using ViewHandler >> >> >> Hi, >> >> I declared a viewhandler that goes through all components and childrens >> components checking for the attribute "permission", which is set on some >> using f:attribute. If it is found I do some stuff finding out if this >> component should be rendered. If no, i setRendered(false) on the >> component. >> >> However, the component still gets rendered and I do not know why? Does >> anybody know why the setting of rendered to false does not have any >> impact? >> >> Best regards >> >> Pichdude >> -- >> View this message in context: >> http://www.nabble.com/Make-changes-on-component-using-ViewHandler-tf3816 >> 438.html#a10804046 >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> >> >> This message is for the designated recipient only and may contain >> privileged, proprietary, or otherwise private information. If you have >> received it in error, please notify the sender immediately and delete the >> original. Any other use of the email by you is prohibited. >> > > -- View this message in context: http://www.nabble.com/Make-changes-on-component-using-ViewHandler-tf3816438.html#a10810666 Sent from the MyFaces - Users mailing list archive at Nabble.com.

