Skip to content

Instantly share code, notes, and snippets.

@JohnLockwood
Last active August 29, 2015 14:16
Show Gist options
  • Save JohnLockwood/b78fe21aa47685f7adba to your computer and use it in GitHub Desktop.
Save JohnLockwood/b78fe21aa47685f7adba to your computer and use it in GitHub Desktop.
Just a preliminary index page for a JSF demo site.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<title>JavaCodeGeeks</title>
</h:head>
<h:body>
<p><h:outputText value="#{helloWorldBean.msg}"/></p>
<p>Here is a link to the editor page, JSF style: <h:outputLink id="link1" value="editor.xhtml">
<h:outputText value="editor.xhtml"/>
</h:outputLink></p>
<p>And here's a plain old HTML link to a page <a href="test2.xhtml">test2.xhtml</a></p>
<p>Source to this page is below:</p>
<p><script src="https://gist.github.com/JohnLockwood/b78fe21aa47685f7adba.js"></script></p>
</h:body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment