This content has been marked as final.
Show 3 replies
-
1. Re: How to reuse code snippets from xhtml pages?
ilya_shaikovsky Jan 19, 2010 10:43 AM (in response to josdaniel)It sounds for me not like pure RF-related question. I think it would be good for you from the beggining to check Facelets reference documentation and pay attention to templating points. -
2. Re: How to reuse code snippets from xhtml pages?
amolfuke Jan 20, 2010 2:48 AM (in response to ilya_shaikovsky)Hi Ilya,
I have set the value in Session , but how to get this value in JSF ??
Is it possible in JSF or not ?
Please find the code -
FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put(KEY, value);
-
3. Re: How to reuse code snippets from xhtml pages?
nbelaevski Jan 20, 2010 8:13 AM (in response to amolfuke)Hi,
Sure it's possible. Take a look at implicit objects in JSF documentation.