RE: How to access session scope attributes via JSF EL

2009-03-09 Thread Madhav Bhargava
Hi Andrew, Thanks for the response. I am setting a session attribute in custom PhaseListener after validation phase is over. Before the response is rendered the property in session scope has already been set to either true or false. I am not sure why accessing the property is not yielding me

Re: How to access session scope attributes via JSF EL

2009-03-05 Thread Andrew Robinson
Unless you set #{sessionScope.someBooleanProperty} to true it will return null, and null is the same as false in terms of the disabled attribute. -Andrew On Wed, Mar 4, 2009 at 11:54 PM, Madhav Bhargava madhav_bharg...@infosys.com wrote: Hi All, In a JSP I need to disable a component

How to access session scope attributes via JSF EL

2009-03-04 Thread Madhav Bhargava
Hi All, In a JSP I need to disable a component based on an attribute's value in HttpSession. http://developers.sun.com/docs/jscreator/help/jsp-jsfel/jsf_expression_language_intro.html The above link mentions that session scope can be accessed using an implicit object - sessionScope I tried to