You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/10/20 23:57:58 UTC

DO NOT REPLY [Bug 50126] New: EL for JSF 1.2 doesn't work on JSP-Tag-Files (*.tag)

https://issues.apache.org/bugzilla/show_bug.cgi?id=50126

           Summary: EL for JSF 1.2 doesn't work on JSP-Tag-Files (*.tag)
           Product: Tomcat 6
           Version: 6.0.26
          Platform: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: lofwyr@apache.org


Created an attachment (id=26189)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26189)
Maven 2 example project.

When have a Tag File like WEB-INF/tags/layout/page.tag with an EL expression
inside like
  <h:outputText value="Does the EL work in Tag Files? 1 + 1 = #{ 1 + 1 }"/>
The expression will not be evaluated.
In JSP files it works.

Bug exists in version 6.0.26, 6.0.28, 6.0.29:
output: 1 + 1 = #{ 1 + 1 }

In version 6.0.24 there is no problem:
output: 1 + 1 = 2

I've attached a zipped Maven 2 project. A call of "mvn package" will build a
war file.

The problem also exists with MyFaces and Mojarra (use -P mojarra for maven)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50126] EL for JSF 1.2 doesn't work on JSP-Tag-Files (*.tag)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50126

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
         OS/Version|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-10-20 19:00:08 EDT ---
You are using an implicit tag library with no TLD so the JSP version defaults
2.0 (as per the JSP 2.1 spec). Deferred EL is treated as literal text in JSP
2.0 and earlier.

The change between 6.0.24 and 6.0.26 was the fix for bug 48668 that tightened
up the handling of deferred syntax.

If you need further assistance with this, please ask on the users mailing list.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50126] EL for JSF 1.2 doesn't work on JSP-Tag-Files (*.tag)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50126

--- Comment #2 from lofwyr <lo...@apache.org> 2010-10-21 05:14:29 EDT ---
Thanks for the quick reply. After defining the version in the "implicit.tld" it
works fine.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org