This content has been marked as final.
Show 2 replies
-
1. usage of cookies in RichFaces
nbelaevski Jan 18, 2011 10:55 AM (in response to ilya40umov)Ilya,
JSF provides ExternalContext methods to operate with cookies. I think implementation of HTTP cookies will be the main problem with wrapping such functionality as a component - cookies should be added before response is committed, however component rendering won't guarantee this.
-
2. usage of cookies in RichFaces
ilya40umov Jan 18, 2011 11:07 AM (in response to nbelaevski)Yes. I understand that practically it works because these's always some sort of buffering and we even can add some cookies at the moment when a part of response already has been put into the stream writer. So the main problem is that JSF is not a complete MVC and thus M and C are not always before rendering V.