Summary: | Wrong getValueReference behaviour with Facelets parameter expressions | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | JustasR <justas.ratkevicius> |
Component: | Servlet & JSP API | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.0.22 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: | Test case for ValueReference returning null |
Description
JustasR
2012-01-09 09:11:20 UTC
Can you provide small simple web application that demonstrates the problem? That SimpleNode that you operate on - what is its exact className? (Which one of subclasses of SimpleNode that is?) Created attachment 28130 [details]
Test case for ValueReference returning null
I use SystemEventListener event javax.faces.event.PreRenderComponentEvent to intercept component render process ant try to get component ValueExpression and ValueReference from it (class TestSystemEventListener).
I use Facelets custom components with taglib file (not composite component).
Returned ValueReference is always null.
Null is returned from node AstIdentifier (super class SimpleNode)
I print returned ValueReference value to console.
I think I have this fixed but I'd like to confirm this with the test case. Please provide some details (the URL being the most important) of how this test case is meant to be used. Fixed based on the spec language for getValueReference() |