Hi,

We have developed a number of data capture screens and we now have the
requirement to view them in a read only mode for certain users.

We would like to do this centrally without the need to go back and modify
all the pages. So our idea was to try to implement this in a PhaseListener
in the RENDER_RESPONSE phase. If we do it in the beforePhase() method it
will be too early as the components have not been created initially and if
we leave it to the afterPhase() method it's too late as the response has
been committed. 

Is there any way to modify the rendered mark up in a
PhaseListener.afterPhase() method in the RENDER_RESPONSE phase? (I know its
already been commited!!!)

I guess our only other options are to implement this in the renderers or go
back and modify all the pages.

Any ideas?

Thanks in advance
-- 
View this message in context: 
http://www.nabble.com/Implementing-Read-Only-Mode-in-a-PhaseListener-tf3889062.html#a11024312
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to