26 lines
1.0 KiB
HTML
Raw Normal View History

2016-05-21 11:28:31 +02:00
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2016-05-21 11:28:31 +02:00
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<title><h:outputText value="#{msg['message.welcome']}"/></title>
</h:head>
<h:body>
<h:form>
<f:ajax render="theGrid">
<h:panelGrid id="theGrid" columns="3">
<h:outputText value="Username"/>
<h:inputText id="firstName" required="true" requiredMessage="#{msg['message.valueRequired']}"
value="#{registration.userName}"/>
<h:message for="firstName"/>
<h:commandButton value="#{msg['label.saveButton']}" action="#{registration.createNewUser}"/>
<h:outputText value="#{registration.operationMessage}"/>
</h:panelGrid>
</f:ajax>
</h:form>
</h:body>
2016-05-21 11:28:31 +02:00
</html>