More prettier (#8990)
This commit is contained in:
parent
2535a758f7
commit
ba996ba77b
|
@ -1,13 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Example</title>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>Example</title>
|
||||
|
||||
<script type="text/javascript" language="javascript" src="greeting/greeting.nocache.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<p id="buttonContainer"></p>
|
||||
<p id="messageContainer"></p>
|
||||
</body>
|
||||
</html>
|
||||
<script
|
||||
type="text/javascript"
|
||||
language="javascript"
|
||||
src="greeting/greeting.nocache.js"
|
||||
></script>
|
||||
</head>
|
||||
<body>
|
||||
<p id="buttonContainer"></p>
|
||||
<p id="messageContainer"></p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,23 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en"
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://xmlns.jcp.org/jsf/html">
|
||||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html">
|
||||
<h:head>
|
||||
<title>Hello, World!</title>
|
||||
</h:head>
|
||||
<h:body>
|
||||
<h:form id="app-form">
|
||||
<p>
|
||||
<h:outputLabel for="name" value="Enter your name" required="true"/>
|
||||
<h:inputText id="name" value="#{greetingForm.name}"/>
|
||||
<h:message for="name"/>
|
||||
<h:outputLabel for="name" value="Enter your name" required="true" />
|
||||
<h:inputText id="name" value="#{greetingForm.name}" />
|
||||
<h:message for="name" />
|
||||
</p>
|
||||
<p>
|
||||
<h:commandButton id="submit" value="Say hello" action="#{greetingForm.submit()}"/>
|
||||
<h:commandButton id="submit" value="Say hello" action="#{greetingForm.submit()}" />
|
||||
</p>
|
||||
<p>
|
||||
<h:outputText id="output-message" value="#{greetingForm.message}"/>
|
||||
<h:outputText id="output-message" value="#{greetingForm.message}" />
|
||||
</p>
|
||||
</h:form>
|
||||
</h:body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<f:view xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||||
xmlns:f="http://xmlns.jcp.org/jsf/core"
|
||||
contentType="text/html"
|
||||
encoding="UTF-8">
|
||||
<ui:composition>
|
||||
Hello
|
||||
</ui:composition>
|
||||
</f:view>
|
||||
<f:view
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||||
xmlns:f="http://xmlns.jcp.org/jsf/core"
|
||||
contentType="text/html"
|
||||
encoding="UTF-8"
|
||||
>
|
||||
<ui:composition> Hello </ui:composition>
|
||||
</f:view>
|
||||
|
|
|
@ -1,24 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en"
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://java.sun.com/jsf/html">
|
||||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html">
|
||||
<head>
|
||||
<title>Hello, World!</title>
|
||||
</head>
|
||||
<body>
|
||||
<h:form id="app-form">
|
||||
<p>
|
||||
<h:outputLabel for="name" value="Enter your name" required="true"/>
|
||||
<h:inputText id="name" value="#{greetingForm.name}"/>
|
||||
<h:message for="name"/>
|
||||
<h:outputLabel for="name" value="Enter your name" required="true" />
|
||||
<h:inputText id="name" value="#{greetingForm.name}" />
|
||||
<h:message for="name" />
|
||||
</p>
|
||||
<p>
|
||||
<h:commandButton id="submit" value="Say hello" action="#{greetingForm.submit()}">
|
||||
</h:commandButton>
|
||||
</p>
|
||||
<p>
|
||||
<h:outputText id="output-message" value="#{greetingForm.message}"/>
|
||||
<h:outputText id="output-message" value="#{greetingForm.message}" />
|
||||
</p>
|
||||
</h:form>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
<f:view xmlns:f="http://java.sun.com/jsf/core"
|
||||
xmlns:ui="http://java.sun.com/jsf/facelets">
|
||||
<ui:composition>
|
||||
Hello
|
||||
</ui:composition>
|
||||
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets">
|
||||
<ui:composition> Hello </ui:composition>
|
||||
</f:view>
|
||||
|
|
|
@ -1,23 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en"
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:h="http://xmlns.jcp.org/jsf/html">
|
||||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html">
|
||||
<h:head>
|
||||
<title>Hello, World!</title>
|
||||
</h:head>
|
||||
<h:body>
|
||||
<h:form id="app-form">
|
||||
<p>
|
||||
<h:outputLabel for="name" value="Enter your name" required="true"/>
|
||||
<h:inputText id="name" value="#{greetingForm.name}"/>
|
||||
<h:message for="name"/>
|
||||
<h:outputLabel for="name" value="Enter your name" required="true" />
|
||||
<h:inputText id="name" value="#{greetingForm.name}" />
|
||||
<h:message for="name" />
|
||||
</p>
|
||||
<p>
|
||||
<h:commandButton id="submit" value="Say hello" action="#{greetingForm.submit()}"/>
|
||||
<h:commandButton id="submit" value="Say hello" action="#{greetingForm.submit()}" />
|
||||
</p>
|
||||
<p>
|
||||
<h:outputText id="output-message" value="#{greetingForm.message}"/>
|
||||
<h:outputText id="output-message" value="#{greetingForm.message}" />
|
||||
</p>
|
||||
</h:form>
|
||||
</h:body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<f:view xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||||
xmlns:f="http://xmlns.jcp.org/jsf/core"
|
||||
contentType="text/html"
|
||||
encoding="UTF-8">
|
||||
<ui:composition>
|
||||
Hello
|
||||
</ui:composition>
|
||||
</f:view>
|
||||
<f:view
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||||
xmlns:f="http://xmlns.jcp.org/jsf/core"
|
||||
contentType="text/html"
|
||||
encoding="UTF-8"
|
||||
>
|
||||
<ui:composition> Hello </ui:composition>
|
||||
</f:view>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>PLAIN HTML</title>
|
||||
</head>
|
||||
<head>
|
||||
<title>PLAIN HTML</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>HELLO!</h1>
|
||||
</body>
|
||||
<body>
|
||||
<h1>HELLO!</h1>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org">
|
||||
<body>
|
||||
<span wicket:id="message" id="message">Message goes here</span>
|
||||
</body>
|
||||
<body>
|
||||
<span wicket:id="message" id="message">Message goes here</span>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue