You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Galen Dunkleberger <ga...@gmail.com> on 2005/08/12 04:51:10 UTC
MyFaces VariableResolverImpl and Facelets
Anyone know why #{request.serverName} doesn't return anything and logs
a '[VariableResolverImpl] Variable 'request' could not be resolved.'
message? I'm debugging through the VariableResolverImpl class and
don't see how the request object would ever get returned. But I know
it worked without facelets. Any ideas or am I just missing something
entirely?
Thanks,
Galen
Re: MyFaces VariableResolverImpl
Posted by Martin Marinschek <ma...@gmail.com>.
You would need to look into the VariableResolverImpl.
HTH,
regards,
Martin
On 8/12/05, Galen Dunkleberger <ga...@gmail.com> wrote:
> Sorry to keep harping on this but could some please tll me how the
> request variable gets resolved in an EL expression
> like...#{request.serverName}? I'm looking through the source and can't
> figure out where it happens...I look through the source for JSF-RI 1.2
> and it's quite easy to find how that variable gets resolved...so what
> magic is myfaces using?
> Thanks,
> Galen
>
> ---------- Forwarded message ----------
> From: Galen Dunkleberger <ga...@gmail.com>
> Date: Aug 11, 2005 8:51 PM
> Subject: MyFaces VariableResolverImpl and Facelets
> To: MyFaces Discussion <us...@myfaces.apache.org>
>
>
> Anyone know why #{request.serverName} doesn't return anything and logs
> a '[VariableResolverImpl] Variable 'request' could not be resolved.'
> message? I'm debugging through the VariableResolverImpl class and
> don't see how the request object would ever get returned. But I know
> it worked without facelets. Any ideas or am I just missing something
> entirely?
> Thanks,
> Galen
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German
MyFaces VariableResolverImpl
Posted by Galen Dunkleberger <ga...@gmail.com>.
Sorry to keep harping on this but could some please tll me how the
request variable gets resolved in an EL expression
like...#{request.serverName}? I'm looking through the source and can't
figure out where it happens...I look through the source for JSF-RI 1.2
and it's quite easy to find how that variable gets resolved...so what
magic is myfaces using?
Thanks,
Galen
---------- Forwarded message ----------
From: Galen Dunkleberger <ga...@gmail.com>
Date: Aug 11, 2005 8:51 PM
Subject: MyFaces VariableResolverImpl and Facelets
To: MyFaces Discussion <us...@myfaces.apache.org>
Anyone know why #{request.serverName} doesn't return anything and logs
a '[VariableResolverImpl] Variable 'request' could not be resolved.'
message? I'm debugging through the VariableResolverImpl class and
don't see how the request object would ever get returned. But I know
it worked without facelets. Any ideas or am I just missing something
entirely?
Thanks,
Galen