Commit 4f12a6fa by nicku

Käyttäjänhallintaa aloitettu

git-svn-id: https://dev.intra.insomnia.fi/svn/trunk@23 8cf89bec-f6a3-4178-919f-364fb3449fe5
1 parent 476241d7
......@@ -13,7 +13,7 @@
<ui:define name="content">
<h:panelGrid comluns="2">
<h:panelGrid comlumns="2">
<h:outputLabel value="Nick:" /><h:inputText value="#{userView.nick}" />
<h:outputLabel value="Real name" /><h:inputText value="#{userView.Realname}" />
<h:outputLabel value="Address" /><h:inputText value="#{userView.address}" />
......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<title></title>
</h:head>
<h:body>
<ui:composition template="/layout/default-template.xhtml">
<ui:define name="title">EditUser</ui:define>
<ui:define name="header">Edit user</ui:define>
<ui:define name="content">
<h:panelGrid comlumns="2">
<h:outputLabel value="Nick:" /><h:inputText value="#{userView.nick}" />
<h:outputLabel value="Real name" /><h:inputText value="#{userView.Realname}" />
<h:outputLabel value="Address" /><h:inputText value="#{userView.address}" />
<h:outputLabel value="Zip Code" /><h:inputText value="#{userView.zip}" />
<h:outputLabel value="Town" /><h:inputText value="#{userView.town}" />
<h:outputLabel value="Sex" />
<h:selectOneRadio id="sex" value="#{userView.female}">
<f:selectItem id="male" itemLabel="Male" itemValue="male" />
<f:selectItem id="female" itemLabel="Female" itemValue="female" />
</h:selectOneRadio>
<h:commandButton action="#{userView.saveUser()}" value="Save" />
</h:panelGrid>
</ui:define>
<ui:define name="footer">footer</ui:define>
</ui:composition>
</h:body>
</html>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!