Skip to main content

Source code revision

svn

summary: http://java.net/jira/browse/JAVASERVERFACES-3094
revision: 12734
author: edburns
date: 2013-12-19 22:18:15 UTC (1 year)
message: http://java.net/jira/browse/JAVASERVERFACES-3094

Special thanks to Manfred Riem and Max Starets on this issue.

SECTION: Modified Files
----------------------------
M jsf-ri/src/main/java/com/sun/faces/facelets/compiler/TextUnit.java

- flushTextBuffer() is the very important method that starts the process
of flushing out text such as

direct EL: >#{outputTextInlineBean.data}< outputText: ><

to the underlying buffer. Within this method, modify the call of
ELText.parse() to pass the alias. This is necessary when a Location
object is constructed in order to create a
ContextualCompositeValueExpression.

M jsf-ri/src/main/java/com/sun/faces/facelets/el/ELText.java

- Make a variant of parse() that takes an alias. Use that alias to
allow for the creation of a Location object, which is necessary to
create a ContextualCompositeValueExpression, which is necessary to
correctly deal with expressions starting with #{cc}.

A test/agnostic/facelets/cc/src/main/webapp/outputTextInline.xhtml
A test/agnostic/facelets/cc/src/main/webapp/resources/outputText
A test/agnostic/facelets/cc/src/main/webapp/resources/outputText/outputTextInline1.xhtml
A test/agnostic/facelets/cc/src/main/webapp/resources/outputText/outputTextInline1b.xhtml
A test/agnostic/facelets/cc/src/main/java/com/sun/faces/test/agnostic/facelets/composite/OutputTextInlineBean.java
A test/agnostic/facelets/cc/src/test/java/com/sun/faces/test/agnostic/facelets/composite/Issue3094IT.java

- Test content, authored by Manfred.
Change Path Actions
M branches/MOJARRA_2_2X_ROLLING/jsf-ri/src/main/java/com/sun/faces/facelets/compiler/TextUnit.java
M branches/MOJARRA_2_2X_ROLLING/jsf-ri/src/main/java/com/sun/faces/facelets/el/ELText.java
A branches/MOJARRA_2_2X_ROLLING/test/agnostic/facelets/cc/src/main/java/com/sun/faces/test/agnostic/facelets/composite/OutputTextInlineBean.java
A branches/MOJARRA_2_2X_ROLLING/test/agnostic/facelets/cc/src/main/webapp/outputTextInline.xhtml
A branches/MOJARRA_2_2X_ROLLING/test/agnostic/facelets/cc/src/main/webapp/resources/outputText
A branches/MOJARRA_2_2X_ROLLING/test/agnostic/facelets/cc/src/main/webapp/resources/outputText/outputTextInline1.xhtml
A branches/MOJARRA_2_2X_ROLLING/test/agnostic/facelets/cc/src/main/webapp/resources/outputText/outputTextInline1b.xhtml
A branches/MOJARRA_2_2X_ROLLING/test/agnostic/facelets/cc/src/test/java/com/sun/faces/test/agnostic/facelets/composite/Issue3094IT.java
 
 
Close
loading
Please Confirm
Close