<?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">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<head>
<title><ui:insert name="title">Hello World</ui:insert></title>
</head>
<body>
<div id="header"></div>
<div id="content"><ice:form>
<ice:outputLabel value="Your Name:" for="txtName"></ice:outputLabel>
<ice:inputText id="txtName" value="#{managedBean.name}"></ice:inputText>
<ice:commandButton value="Say Hello"
actionListener="#{managedBean.sayHello}"></ice:commandButton>
<ice:outputText value="#{managedBean.greeting}"
style="color: blue; font-size: 16pt;"></ice:outputText>
</ice:form></div>
</body>
</html>
Running the Project
Eclipse Icefaces Portlet project
Hi Isuru, thanks for your tutorial.
Do you know any way to create an IceFaces portlet project using Eclipse?
Regards
Brus
Post new comment