G
Guest
Gast
wenn mehrere parameter das aussehen meiner weboberfläche bestimmen sollen, ist JSF dann das richtige für mich?
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<anyxmlelement xmlns:h="http://java.sun.com/jsf/html" />
<anyxmlelement xmlns:f="http://java.sun.com/jsf/core" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Ausgabe Seite Flächeninhalt berechnen</title>
</head>
<body>
<f:view>
<h:form id="inputForm">
Ihre Eingabe war : <h:outputText value="#{Square.length}" />
damit ist der Fl&cheninhalt <h:outputText value="#{Square.area}" />
</h:form>
</f:view>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<anyxmlelement xmlns:h="http://java.sun.com/jsf/html" />
<anyxmlelement xmlns:f="http://java.sun.com/jsf/core" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Eingabe Seite zur Berechnung Flächeninhalt:</title>
</head>
<body>
<f:view>
<h3>
Berechnung Flächeninhalt:
</h3>
<h:form id="inputForm">
Bitte Seitenl&nge eingeben:<h:inputText value="#{Square.length}" />
<h:commandButton value="berechnen" action ="success" />
</h:form>
</f:view>
</body>
</html>