-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #491 from OpenNTF/feature/issue-469-context-params
Add support for specifying context-param in web.xml in an NSF (fixes #469)
- Loading branch information
Showing
14 changed files
with
230 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
eclipse/nsfs/nsf-jakartaee-example/odp/Code/Jars/fragment.jar
Git LFS file not shown
12 changes: 12 additions & 0 deletions
12
eclipse/nsfs/nsf-jakartaee-example/odp/Code/Jars/fragment.jar.metadata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<note class="form" xmlns="http://www.lotus.com/dxl"> | ||
<item name="$TITLE"> | ||
<text>fragment.jar</text> | ||
</item> | ||
<item name="$Flags"> | ||
<text>34567Cg~,</text> | ||
</item> | ||
<item name="$FileNames" sign="true"> | ||
<text>fragment.jar</text> | ||
</item> | ||
</note> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
eclipse/nsfs/nsf-jakartaee-example/odp/WebContent/WEB-INF/exampleFacelets.taglib.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<facelet-taglib> | ||
<namespace>http://openntf.org/facelets</namespace> | ||
<tag> | ||
<tag-name>exampleFacelet</tag-name> | ||
<source>facelets/exampleFacelet.xhtml</source> | ||
</tag> | ||
</facelet-taglib> |
8 changes: 8 additions & 0 deletions
8
eclipse/nsfs/nsf-jakartaee-example/odp/WebContent/WEB-INF/facelets/exampleFacelet.xhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> | ||
<body> | ||
<ui:composition> | ||
<div class="example-facelet">I am the example facelet</div> | ||
</ui:composition> | ||
</body> | ||
</html> |
16 changes: 16 additions & 0 deletions
16
eclipse/nsfs/nsf-jakartaee-example/odp/WebContent/WEB-INF/web.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" | ||
version="5.0" metadata-complete="false"> | ||
|
||
<context-param> | ||
<param-name>org.openntf.example.param</param-name> | ||
<param-value>I am the param value</param-value> | ||
</context-param> | ||
|
||
<context-param> | ||
<param-name>jakarta.faces.FACELETS_LIBRARIES</param-name> | ||
<param-value>/WEB-INF/exampleFacelets.taglib.xml</param-value> | ||
</context-param> | ||
</web-app> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters