You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2021/02/17 12:49:57 UTC
[myfaces-homepage] branch master updated: docs: fix syntax
This is an automated email from the ASF dual-hosted git repository.
tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-homepage.git
The following commit(s) were added to refs/heads/master by this push:
new c508935 docs: fix syntax
new 24dafc4 Merge pull request #20 from lofwyr14/master
c508935 is described below
commit c508935c3385b97f5fabaffee8dbe2d87162b760
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Wed Feb 17 13:45:16 2021 +0100
docs: fix syntax
---
coreConceptsCacheElExpressions.md | 4 ++--
coreConceptsWhitespaceCompression.md | 13 +++++++------
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/coreConceptsCacheElExpressions.md b/coreConceptsCacheElExpressions.md
index 4a49273..6dc0528 100644
--- a/coreConceptsCacheElExpressions.md
+++ b/coreConceptsCacheElExpressions.md
@@ -41,8 +41,8 @@ b.xhtml
c.xhtml
```xml
<ui:composition>
- <h:outputText value="#{var1}/>
- <h:outputText value="#{var2}/>
+ <h:outputText value="#{var1}"/>
+ <h:outputText value="#{var2}"/>
</ui:composition>
```
If a.xhtml view is constructed before b.xhtml, #{var2} will be cached, even if this is not wanted and then when b.xhtml is called, the expression will not work correctly.
diff --git a/coreConceptsWhitespaceCompression.md b/coreConceptsWhitespaceCompression.md
index 8008f55..347f9e1 100644
--- a/coreConceptsWhitespaceCompression.md
+++ b/coreConceptsWhitespaceCompression.md
@@ -12,12 +12,13 @@ Just add this into your `faces-config.xml` file:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd"
version="2.2">
-<faces-config-extension>
- <facelets-processing>
- <file-extension>.xhtml</file-extension>
- <process-as>xhtml</process-as>
- <oam-compress-spaces>true</oam-compress-spaces>
- </facelets-processing>
+ <faces-config-extension>
+ <facelets-processing>
+ <file-extension>.xhtml</file-extension>
+ <process-as>xhtml</process-as>
+ <oam-compress-spaces>true</oam-compress-spaces>
+ </facelets-processing>
+ </faces-config-extension>
</faces-config>
```