Thanks.  I only asked because it had been like that since the initial commit 
and I am not very familiar with this component.

Dennis Byrne

>-----Original Message-----
>From: Bruno Aranda [mailto:[EMAIL PROTECTED]
>Sent: Friday, January 13, 2006 07:44 PM
>To: 'MyFaces Discussion'
>Subject: Re: NPE with custom.scope.ScopeUtils
>
>I guess you are true. I think that the ScopeUtils.isEl should be
>
>beanName.startsWith(EL_BEGIN) && beanName.endsWith(EL_END);
>
>(note the removal of quotes from EL_BEGIN and the removal of the '!'
>before beanName.endsWith)
>
>I've changed that in the SVN, hoping to be enough awake to commit
>things. Thanks Dennis,
>
>Bruno
>
>2006/1/13, Dennis Byrne <[EMAIL PROTECTED]>:
>> I am getting a NPE in ScopeUtils.getManagedBean when making a non-faces 
>> request -> faces response .   The problem goes away if I place the following 
>> at the top of getManagedBean ...
>>
>>         if(FacesContext.getCurrentInstance() == null)
>>            return null;
>>
>> Also, in ScopeUtils.isEl, should it be
>>    beanName.startsWith("EL_BEGIN")
>> or
>>    beanName.startsWith(EL_BEGIN)  ?
>>
>>
>>
>


Reply via email to