|
List Info
Thread: EL problem
|
|
| EL problem |

|
2007-08-29 10:12:14 |
|
Hi,
This problem might have been addressed already within the mailing list. I went trough the archives but was unable to find anything (now is the search string "EL problem" not the best search string)
I'm in the process of upgrading to Tomcat 6 (6.0.14) and MyFaces 1.2.0. I have a major problem with the EL. My JSF pages are using EL but know they all resolve to empty strings (all EL on JSF pages, on JSPs they work).
For example the following fails:
<% taglib uri="http://java.sun.com/jsf/core
" prefix="f" %> <% taglib uri="http://java.sun.com/jsf/html
" prefix="h" %> <html>
<head> <link rel="stylesheet" href="../../stylesheets/main.css" type="text/css"/>
</head>
<html> ...
<p>Test:${pageContext.request.contextPath}, ${param.foo} </p> <f:view>
<p>Test:${pageContext.request.contextPath}, ${param.foo} </p>
... </html>
On both locations the result of the EL is empty.
Is this a known bug, does it have to do with libraries that i have available in the lib?
Any help is welcome,
Kind regards,
Raphael
|
| Re: EL problem |

|
2007-08-29 14:29:10 |
Hi, does it work if you use #{...} instead of ${...}? I seem
to recall
a bug in myfaces 1.2.0 that has been fixed recently and it
should be
fixed in the current snaphots (try
myfaces-1.2.1-SNAPSHOT)...
Cheers,
Bruno
On 29/08/2007, Raphael Parree <rparree gmail.com> wrote:
> Hi,
>
> This problem might have been addressed already within
the mailing list. I
> went trough the archives but was unable to find
anything (now is the search
> string "EL problem" not the best search
string)
>
> I'm in the process of upgrading to Tomcat 6 (6.0.14)
and MyFaces 1.2.0. I
> have a major problem with the EL. My JSF pages are
using EL but know they
> all resolve to empty strings (all EL on JSF pages, on
JSPs they work).
>
> For example the following fails:
>
> <% taglib uri="http://java.sun.com/jsf/
core " prefix="f" %>
> <% taglib uri="http://java.sun.com/jsf/
html " prefix="h" %>
> <html>
> <head>
> <link rel="stylesheet"
href="../../stylesheets/main.css"
> type="text/css"/>
> </head>
> <html>
> ...
>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
> <f:view>
>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
> ...
> </html>
>
>
> On both locations the result of the EL is empty.
>
> Is this a known bug, does it have to do with libraries
that i have available
> in the lib?
>
> Any help is welcome,
>
> Kind regards,
>
> Raphael
>
>
>
|
|
| RE: EL problem |
  France |
2007-08-30 00:49:57 |
Bruno,
Thanks for your reply...
Yes I had tried that it gave me the following error:
#{..} is not allowed in template text
Which makes sense, as the EL is not inside JSF but in the
regular JSP part
of the page.
Where can I find myfaces-1.2.1-SNAPSHOT? On the snapshot
page
(http
://people.apache.org/builds/myfaces/nightly/) I only
find 1.1.6
releases.
This is used in a production environment, does this snapshot
only contain
bugfixes since the stable release 1.2.0? (no major
refactoring, new
functionality etc)
Tx.,
Raphael
-----Original Message-----
From: Bruno Aranda [mailto:brunoaranda gmail.com]
Sent: 29 August 2007 21:29
To: MyFaces Discussion
Subject: Re: EL problem
Hi, does it work if you use #{...} instead of ${...}? I seem
to recall
a bug in myfaces 1.2.0 that has been fixed recently and it
should be
fixed in the current snaphots (try
myfaces-1.2.1-SNAPSHOT)...
Cheers,
Bruno
On 29/08/2007, Raphael Parree <rparree gmail.com> wrote:
> Hi,
>
> This problem might have been addressed already within
the mailing list. I
> went trough the archives but was unable to find
anything (now is the
search
> string "EL problem" not the best search
string)
>
> I'm in the process of upgrading to Tomcat 6 (6.0.14)
and MyFaces 1.2.0. I
> have a major problem with the EL. My JSF pages are
using EL but know they
> all resolve to empty strings (all EL on JSF pages, on
JSPs they work).
>
> For example the following fails:
>
> <% taglib uri="http://java.sun.com/jsf/
core " prefix="f" %>
> <% taglib uri="http://java.sun.com/jsf/
html " prefix="h" %>
> <html>
> <head>
> <link rel="stylesheet"
href="../../stylesheets/main.css"
> type="text/css"/>
> </head>
> <html>
> ...
>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
> <f:view>
>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
> ...
> </html>
>
>
> On both locations the result of the EL is empty.
>
> Is this a known bug, does it have to do with libraries
that i have
available
> in the lib?
>
> Any help is welcome,
>
> Kind regards,
>
> Raphael
>
>
>
|
|
| Re: EL problem |
  Austria |
2007-08-30 09:50:22 |
Hello,
Most probably you're referring to this issue:
ht
tps://issues.apache.org/jira/browse/MYFACES-1670, aren't
you? I've
tested Raphael's JSP locally and it's really the same
problem. "mvn
-Dmyfaces.version=1.2.0 jetty:run" reproduces the error
whereas "mvn
-Dmyfaces.version=1.2.1-SNAPSHOT jetty:run" doesn't. If
Raphael doesn't
want to switch to MyFaces 1.2.1-SNAPSHOT, why not patching
MyFaces locally?
regards,
Bernhard
P.S: I would have attached my sample application, but the
spam
protection doesn't "like" it ..
Bruno Aranda wrote:
> Hi, does it work if you use #{...} instead of ${...}? I
seem to recall
> a bug in myfaces 1.2.0 that has been fixed recently and
it should be
> fixed in the current snaphots (try
myfaces-1.2.1-SNAPSHOT)...
>
> Cheers,
>
> Bruno
>
> On 29/08/2007, Raphael Parree <rparree gmail.com> wrote:
>
>> Hi,
>>
>> This problem might have been addressed already
within the mailing list. I
>> went trough the archives but was unable to find
anything (now is the search
>> string "EL problem" not the best search
string)
>>
>> I'm in the process of upgrading to Tomcat 6
(6.0.14) and MyFaces 1.2.0. I
>> have a major problem with the EL. My JSF pages are
using EL but know they
>> all resolve to empty strings (all EL on JSF pages,
on JSPs they work).
>>
>> For example the following fails:
>>
>> <% taglib uri="http://java.sun.com/jsf/
core " prefix="f" %>
>> <% taglib uri="http://java.sun.com/jsf/
html " prefix="h" %>
>> <html>
>> <head>
>> <link rel="stylesheet"
href="../../stylesheets/main.css"
>> type="text/css"/>
>> </head>
>> <html>
>> ...
>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>> <f:view>
>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>> ...
>> </html>
>>
>>
>> On both locations the result of the EL is empty.
>>
>> Is this a known bug, does it have to do with
libraries that i have available
>> in the lib?
>>
>> Any help is welcome,
>>
>> Kind regards,
>>
>> Raphael
>>
>>
>>
>>
>
>
|
|
| RE: EL problem |
  France |
2007-08-30 10:10:05 |
Bernhard,
Thanks for your reply...it seems that indeed I am referring
to that issue. I
would like to test the same as you did. Which pom do you use
to execute the
mvn commands below (IOW what do I check out of SVN....)
Again Bernhard tx,
Raphael
-----Original Message-----
From: Bernhard Huemer [mailto:bernhard.huemer gmail.com]
Sent: 30 August 2007 16:50
To: MyFaces Discussion
Subject: Re: EL problem
Hello,
Most probably you're referring to this issue:
ht
tps://issues.apache.org/jira/browse/MYFACES-1670, aren't
you? I've
tested Raphael's JSP locally and it's really the same
problem. "mvn
-Dmyfaces.version=1.2.0 jetty:run" reproduces the error
whereas "mvn
-Dmyfaces.version=1.2.1-SNAPSHOT jetty:run" doesn't. If
Raphael doesn't
want to switch to MyFaces 1.2.1-SNAPSHOT, why not patching
MyFaces locally?
regards,
Bernhard
P.S: I would have attached my sample application, but the
spam
protection doesn't "like" it ..
Bruno Aranda wrote:
> Hi, does it work if you use #{...} instead of ${...}? I
seem to recall
> a bug in myfaces 1.2.0 that has been fixed recently and
it should be
> fixed in the current snaphots (try
myfaces-1.2.1-SNAPSHOT)...
>
> Cheers,
>
> Bruno
>
> On 29/08/2007, Raphael Parree <rparree gmail.com> wrote:
>
>> Hi,
>>
>> This problem might have been addressed already
within the mailing list. I
>> went trough the archives but was unable to find
anything (now is the
search
>> string "EL problem" not the best search
string)
>>
>> I'm in the process of upgrading to Tomcat 6
(6.0.14) and MyFaces 1.2.0. I
>> have a major problem with the EL. My JSF pages are
using EL but know they
>> all resolve to empty strings (all EL on JSF pages,
on JSPs they work).
>>
>> For example the following fails:
>>
>> <% taglib uri="http://java.sun.com/jsf/
core " prefix="f" %>
>> <% taglib uri="http://java.sun.com/jsf/
html " prefix="h" %>
>> <html>
>> <head>
>> <link rel="stylesheet"
href="../../stylesheets/main.css"
>> type="text/css"/>
>> </head>
>> <html>
>> ...
>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>> <f:view>
>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>> ...
>> </html>
>>
>>
>> On both locations the result of the EL is empty.
>>
>> Is this a known bug, does it have to do with
libraries that i have
available
>> in the lib?
>>
>> Any help is welcome,
>>
>> Kind regards,
>>
>> Raphael
>>
>>
>>
>>
>
>
|
|
| Re: EL problem |
  Austria |
2007-08-30 10:33:04 |
Hello,
Actually I've ment that Bruno is referring to that issue
("[...] I seem
to recall a bug in myfaces 1.2.0 that has been fixed
recently [...]")
but never mind! I've
attached the POM I've been using.
regards,
Bernhard
Raphael Parree wrote:
> Bernhard,
>
> Thanks for your reply...it seems that indeed I am
referring to that issue. I
> would like to test the same as you did. Which pom do
you use to execute the
> mvn commands below (IOW what do I check out of
SVN....)
>
> Again Bernhard tx,
>
> Raphael
>
>
> -----Original Message-----
> From: Bernhard Huemer [mailto:bernhard.huemer gmail.com]
> Sent: 30 August 2007 16:50
> To: MyFaces Discussion
> Subject: Re: EL problem
>
> Hello,
>
> Most probably you're referring to this issue:
> ht
tps://issues.apache.org/jira/browse/MYFACES-1670, aren't
you? I've
> tested Raphael's JSP locally and it's really the same
problem. "mvn
> -Dmyfaces.version=1.2.0 jetty:run" reproduces the
error whereas "mvn
> -Dmyfaces.version=1.2.1-SNAPSHOT jetty:run"
doesn't. If Raphael doesn't
> want to switch to MyFaces 1.2.1-SNAPSHOT, why not
patching MyFaces locally?
>
> regards,
> Bernhard
>
> P.S: I would have attached my sample application, but
the spam
> protection doesn't "like" it ..
>
> Bruno Aranda wrote:
>
>> Hi, does it work if you use #{...} instead of
${...}? I seem to recall
>> a bug in myfaces 1.2.0 that has been fixed recently
and it should be
>> fixed in the current snaphots (try
myfaces-1.2.1-SNAPSHOT)...
>>
>> Cheers,
>>
>> Bruno
>>
>> On 29/08/2007, Raphael Parree <rparree gmail.com> wrote:
>>
>>
>>> Hi,
>>>
>>> This problem might have been addressed already
within the mailing list. I
>>> went trough the archives but was unable to find
anything (now is the
>>>
> search
>
>>> string "EL problem" not the best
search string)
>>>
>>> I'm in the process of upgrading to Tomcat 6
(6.0.14) and MyFaces 1.2.0. I
>>> have a major problem with the EL. My JSF pages
are using EL but know they
>>> all resolve to empty strings (all EL on JSF
pages, on JSPs they work).
>>>
>>> For example the following fails:
>>>
>>> <% taglib uri="http://java.sun.com/jsf/
core " prefix="f" %>
>>> <% taglib uri="http://java.sun.com/jsf/
html " prefix="h" %>
>>> <html>
>>> <head>
>>> <link rel="stylesheet"
href="../../stylesheets/main.css"
>>> type="text/css"/>
>>> </head>
>>> <html>
>>> ...
>>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>>> <f:view>
>>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>>> ...
>>> </html>
>>>
>>>
>>> On both locations the result of the EL is
empty.
>>>
>>> Is this a known bug, does it have to do with
libraries that i have
>>>
> available
>
>>> in the lib?
>>>
>>> Any help is welcome,
>>>
>>> Kind regards,
>>>
>>> Raphael
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
|
|
|
| RE: EL problem |
  France |
2007-08-30 10:39:08 |
Bernhard,
Gotcha...it has been a long day ;)
What do I need to check out of SVN...the trunk produces a
1.1.6
snapshot....do I need to checkout
http://svn.apache.org/repos/asf/myfaces/core/branche
s/1_2_1?
Tx.,
Raphael
-----Original Message-----
From: Bernhard Huemer [mailto:bernhard.huemer gmail.com]
Sent: 30 August 2007 17:33
To: MyFaces Discussion
Subject: Re: EL problem
Hello,
Actually I've ment that Bruno is referring to that issue
("[...] I seem
to recall a bug in myfaces 1.2.0 that has been fixed
recently [...]")
but never mind! I've
attached the POM I've been using.
regards,
Bernhard
Raphael Parree wrote:
> Bernhard,
>
> Thanks for your reply...it seems that indeed I am
referring to that issue.
I
> would like to test the same as you did. Which pom do
you use to execute
the
> mvn commands below (IOW what do I check out of
SVN....)
>
> Again Bernhard tx,
>
> Raphael
>
>
> -----Original Message-----
> From: Bernhard Huemer [mailto:bernhard.huemer gmail.com]
> Sent: 30 August 2007 16:50
> To: MyFaces Discussion
> Subject: Re: EL problem
>
> Hello,
>
> Most probably you're referring to this issue:
> ht
tps://issues.apache.org/jira/browse/MYFACES-1670, aren't
you? I've
> tested Raphael's JSP locally and it's really the same
problem. "mvn
> -Dmyfaces.version=1.2.0 jetty:run" reproduces the
error whereas "mvn
> -Dmyfaces.version=1.2.1-SNAPSHOT jetty:run"
doesn't. If Raphael doesn't
> want to switch to MyFaces 1.2.1-SNAPSHOT, why not
patching MyFaces
locally?
>
> regards,
> Bernhard
>
> P.S: I would have attached my sample application, but
the spam
> protection doesn't "like" it ..
>
> Bruno Aranda wrote:
>
>> Hi, does it work if you use #{...} instead of
${...}? I seem to recall
>> a bug in myfaces 1.2.0 that has been fixed recently
and it should be
>> fixed in the current snaphots (try
myfaces-1.2.1-SNAPSHOT)...
>>
>> Cheers,
>>
>> Bruno
>>
>> On 29/08/2007, Raphael Parree <rparree gmail.com> wrote:
>>
>>
>>> Hi,
>>>
>>> This problem might have been addressed already
within the mailing list.
I
>>> went trough the archives but was unable to find
anything (now is the
>>>
> search
>
>>> string "EL problem" not the best
search string)
>>>
>>> I'm in the process of upgrading to Tomcat 6
(6.0.14) and MyFaces 1.2.0.
I
>>> have a major problem with the EL. My JSF pages
are using EL but know
they
>>> all resolve to empty strings (all EL on JSF
pages, on JSPs they work).
>>>
>>> For example the following fails:
>>>
>>> <% taglib uri="http://java.sun.com/jsf/
core " prefix="f" %>
>>> <% taglib uri="http://java.sun.com/jsf/
html " prefix="h" %>
>>> <html>
>>> <head>
>>> <link rel="stylesheet"
href="../../stylesheets/main.css"
>>> type="text/css"/>
>>> </head>
>>> <html>
>>> ...
>>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>>> <f:view>
>>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>>> ...
>>> </html>
>>>
>>>
>>> On both locations the result of the EL is
empty.
>>>
>>> Is this a known bug, does it have to do with
libraries that i have
>>>
> available
>
>>> in the lib?
>>>
>>> Any help is welcome,
>>>
>>> Kind regards,
>>>
>>> Raphael
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
|
|
| Re: EL problem |
  Austria |
2007-08-30 11:04:31 |
Hello,
well as you've said previously that you don't want to move
to
1.2.1-SNAPSHOT yet, you'd better use the 1.2.0 branch. That
would be
http://svn.apache.org/repos/asf/myfaces/core/branch
es/1_2_0/. Apply the
patch, rebuild myfaces .. there you go!
regards,
Bernhard
Raphael Parree wrote:
> Bernhard,
>
> Gotcha...it has been a long day ;)
>
> What do I need to check out of SVN...the trunk produces
a 1.1.6
> snapshot....do I need to checkout
> http://svn.apache.org/repos/asf/myfaces/core/branche
s/1_2_1?
>
> Tx.,
>
> Raphael
>
>
> -----Original Message-----
> From: Bernhard Huemer [mailto:bernhard.huemer gmail.com]
> Sent: 30 August 2007 17:33
> To: MyFaces Discussion
> Subject: Re: EL problem
>
> Hello,
>
> Actually I've ment that Bruno is referring to that
issue ("[...] I seem
> to recall a bug in myfaces 1.2.0 that has been fixed
recently [...]")
> but never mind! I've
attached the POM I've been using.
>
> regards,
> Bernhard
>
> Raphael Parree wrote:
>
>> Bernhard,
>>
>> Thanks for your reply...it seems that indeed I am
referring to that issue.
>>
> I
>
>> would like to test the same as you did. Which pom
do you use to execute
>>
> the
>
>> mvn commands below (IOW what do I check out of
SVN....)
>>
>> Again Bernhard tx,
>>
>> Raphael
>>
>>
>> -----Original Message-----
>> From: Bernhard Huemer [mailto:bernhard.huemer gmail.com]
>> Sent: 30 August 2007 16:50
>> To: MyFaces Discussion
>> Subject: Re: EL problem
>>
>> Hello,
>>
>> Most probably you're referring to this issue:
>> ht
tps://issues.apache.org/jira/browse/MYFACES-1670, aren't
you? I've
>> tested Raphael's JSP locally and it's really the
same problem. "mvn
>> -Dmyfaces.version=1.2.0 jetty:run" reproduces
the error whereas "mvn
>> -Dmyfaces.version=1.2.1-SNAPSHOT jetty:run"
doesn't. If Raphael doesn't
>> want to switch to MyFaces 1.2.1-SNAPSHOT, why not
patching MyFaces
>>
> locally?
>
>> regards,
>> Bernhard
>>
>> P.S: I would have attached my sample application,
but the spam
>> protection doesn't "like" it ..
>>
>> Bruno Aranda wrote:
>>
>>
>>> Hi, does it work if you use #{...} instead of
${...}? I seem to recall
>>> a bug in myfaces 1.2.0 that has been fixed
recently and it should be
>>> fixed in the current snaphots (try
myfaces-1.2.1-SNAPSHOT)...
>>>
>>> Cheers,
>>>
>>> Bruno
>>>
>>> On 29/08/2007, Raphael Parree <rparree gmail.com> wrote:
>>>
>>>
>>>
>>>> Hi,
>>>>
>>>> This problem might have been addressed
already within the mailing list.
>>>>
> I
>
>>>> went trough the archives but was unable to
find anything (now is the
>>>>
>>>>
>> search
>>
>>
>>>> string "EL problem" not the best
search string)
>>>>
>>>> I'm in the process of upgrading to Tomcat 6
(6.0.14) and MyFaces 1.2.0.
>>>>
> I
>
>>>> have a major problem with the EL. My JSF
pages are using EL but know
>>>>
> they
>
>>>> all resolve to empty strings (all EL on JSF
pages, on JSPs they work).
>>>>
>>>> For example the following fails:
>>>>
>>>> <% taglib uri="http://java.sun.com/jsf/
core " prefix="f" %>
>>>> <% taglib uri="http://java.sun.com/jsf/
html " prefix="h" %>
>>>> <html>
>>>> <head>
>>>> <link rel="stylesheet"
href="../../stylesheets/main.css"
>>>> type="text/css"/>
>>>> </head>
>>>> <html>
>>>> ...
>>>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>>>> <f:view>
>>>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>>>> ...
>>>> </html>
>>>>
>>>>
>>>> On both locations the result of the EL is
empty.
>>>>
>>>> Is this a known bug, does it have to do
with libraries that i have
>>>>
>>>>
>> available
>>
>>
>>>> in the lib?
>>>>
>>>> Any help is welcome,
>>>>
>>>> Kind regards,
>>>>
>>>> Raphael
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>
>
|
|
| RE: EL problem |
  France |
2007-08-30 11:27:10 |
Bernhard,
You might be right, I am indeed a bit reluctant to move to a
snapshot except
when it only contains bug fixes and no big refactoring
efforts or new
functionality. I take it from you reaction that I am in that
case better off
with the 1.2.0 version ;)
Thanks a lot I will let you know if it worked.
Kind regards,
Raphael
-----Original Message-----
From: Bernhard Huemer [mailto:bernhard.huemer gmail.com]
Sent: 30 August 2007 18:05
To: MyFaces Discussion
Subject: Re: EL problem
Hello,
well as you've said previously that you don't want to move
to
1.2.1-SNAPSHOT yet, you'd better use the 1.2.0 branch. That
would be
http://svn.apache.org/repos/asf/myfaces/core/branch
es/1_2_0/. Apply the
patch, rebuild myfaces .. there you go!
regards,
Bernhard
Raphael Parree wrote:
> Bernhard,
>
> Gotcha...it has been a long day ;)
>
> What do I need to check out of SVN...the trunk produces
a 1.1.6
> snapshot....do I need to checkout
> http://svn.apache.org/repos/asf/myfaces/core/branche
s/1_2_1?
>
> Tx.,
>
> Raphael
>
>
> -----Original Message-----
> From: Bernhard Huemer [mailto:bernhard.huemer gmail.com]
> Sent: 30 August 2007 17:33
> To: MyFaces Discussion
> Subject: Re: EL problem
>
> Hello,
>
> Actually I've ment that Bruno is referring to that
issue ("[...] I seem
> to recall a bug in myfaces 1.2.0 that has been fixed
recently [...]")
> but never mind! I've
attached the POM I've been using.
>
> regards,
> Bernhard
>
> Raphael Parree wrote:
>
>> Bernhard,
>>
>> Thanks for your reply...it seems that indeed I am
referring to that
issue.
>>
> I
>
>> would like to test the same as you did. Which pom
do you use to execute
>>
> the
>
>> mvn commands below (IOW what do I check out of
SVN....)
>>
>> Again Bernhard tx,
>>
>> Raphael
>>
>>
>> -----Original Message-----
>> From: Bernhard Huemer [mailto:bernhard.huemer gmail.com]
>> Sent: 30 August 2007 16:50
>> To: MyFaces Discussion
>> Subject: Re: EL problem
>>
>> Hello,
>>
>> Most probably you're referring to this issue:
>> ht
tps://issues.apache.org/jira/browse/MYFACES-1670, aren't
you? I've
>> tested Raphael's JSP locally and it's really the
same problem. "mvn
>> -Dmyfaces.version=1.2.0 jetty:run" reproduces
the error whereas "mvn
>> -Dmyfaces.version=1.2.1-SNAPSHOT jetty:run"
doesn't. If Raphael doesn't
>> want to switch to MyFaces 1.2.1-SNAPSHOT, why not
patching MyFaces
>>
> locally?
>
>> regards,
>> Bernhard
>>
>> P.S: I would have attached my sample application,
but the spam
>> protection doesn't "like" it ..
>>
>> Bruno Aranda wrote:
>>
>>
>>> Hi, does it work if you use #{...} instead of
${...}? I seem to recall
>>> a bug in myfaces 1.2.0 that has been fixed
recently and it should be
>>> fixed in the current snaphots (try
myfaces-1.2.1-SNAPSHOT)...
>>>
>>> Cheers,
>>>
>>> Bruno
>>>
>>> On 29/08/2007, Raphael Parree <rparree gmail.com> wrote:
>>>
>>>
>>>
>>>> Hi,
>>>>
>>>> This problem might have been addressed
already within the mailing list.
>>>>
> I
>
>>>> went trough the archives but was unable to
find anything (now is the
>>>>
>>>>
>> search
>>
>>
>>>> string "EL problem" not the best
search string)
>>>>
>>>> I'm in the process of upgrading to Tomcat 6
(6.0.14) and MyFaces 1.2.0.
>>>>
> I
>
>>>> have a major problem with the EL. My JSF
pages are using EL but know
>>>>
> they
>
>>>> all resolve to empty strings (all EL on JSF
pages, on JSPs they work).
>>>>
>>>> For example the following fails:
>>>>
>>>> <% taglib uri="http://java.sun.com/jsf/
core " prefix="f" %>
>>>> <% taglib uri="http://java.sun.com/jsf/
html " prefix="h" %>
>>>> <html>
>>>> <head>
>>>> <link rel="stylesheet"
href="../../stylesheets/main.css"
>>>> type="text/css"/>
>>>> </head>
>>>> <html>
>>>> ...
>>>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>>>> <f:view>
>>>>
<p>Test:${pageContext.request.contextPath},
${param.foo} </p>
>>>> ...
>>>> </html>
>>>>
>>>>
>>>> On both locations the result of the EL is
empty.
>>>>
>>>> Is this a known bug, does it have to do
with libraries that i have
>>>>
>>>>
>> available
>>
>>
>>>> in the lib?
>>>>
>>>> Any help is welcome,
>>>>
>>>> Kind regards,
>>>>
>>>> Raphael
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>
>
|
|
[1-9]
|
|