You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2004/12/30 10:35:07 UTC
cvs commit: incubator-myfaces/webapps/wap/web index.jsp
matzew 2004/12/30 01:35:06
Modified: build build.xml build.default.properties
doc release-notes.txt
src/documentation/content/xdocs/community contributors.xml
. NOTICE.txt
Added: webapps/wap/web/examples selectManyProcess.jsp selectOne.jsp
messages.jsp message.jsp commandLink.jsp
selectOneProcess.jsp photo.wbmp outputText.jsp
inputFields.jsp selectBooleanProcess.jsp
messageProcess.jsp commandButton.jsp
commandButtonProcess.jsp commandLinkProcess.jsp
selectMany.jsp panelGrid.jsp inputFieldsProcess.jsp
index.jsp dataTable.jsp messagesProcess.jsp
graphicImage.jsp selectBoolean.jsp
webapps/wap/web/WEB-INF navigation.xml wap-faces-config.xml
beans.xml web.xml
webapps/wap/src ListBean.java IntegerBean.java
StringBean.java SelectBean.java Items.java
TodayDate.java DayRecord.java Statistic.java
build/wap-webapp build.xml
conf/wap web.xml
lib xjavadoc-1.0.3.jar xdoclet-1.2.1.jar
webapps/wap/web index.jsp
Log:
added a new RenderKit for WML. Thanks to Jir� �aloudek
Revision Changes Path
1.1 incubator-myfaces/webapps/wap/web/examples/selectManyProcess.jsp
Index: selectManyProcess.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="commandLink">
<p>
<f:view>
<wap:form>
Your choiseses:
<wap:dataTable value="#{selectBean.equipments}" var="equipments" >
<wap:column>
<wap:outputText value="#{equipments}" />
</wap:column>
</wap:dataTable>
<br/>
<wap:commandLink action="back" ><wap:outputText value="back"/></wap:commandLink>
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/selectOne.jsp
Index: selectOne.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="selectOne example">
<p>
<f:view>
<wap:form>
<wap:selectOne id="languageList1" value="#{stringBean.language}">
<f:selectItems value="#{languages.list}" />
</wap:selectOne>
<wap:commandLink action="ok"><wap:outputText value="submit" /></wap:commandLink>
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/messages.jsp
Index: messages.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="messages example">
<p>
<f:view>
<wap:form>
Enter number from 0 to 10:
<wap:inputText id="inputNumber1" value="#{integerBean.number}" format="2N" >
<f:validateLongRange minimum="0" maximum="10" />
</wap:inputText>
This value is required:
<wap:inputText id="inputString1" value="#{stringBean.name}" required="true" />
<wap:messages />
<br/>
<wap:commandLink action="success" ><wap:outputText value="submit" /></wap:commandLink>
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/message.jsp
Index: message.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="message example">
<p>
<f:view>
<wap:form>
Enter number from 0 to 10:
<wap:inputText id="inputNumber1" value="#{integerBean.number}" format="2N">
<f:validateLongRange minimum="0" maximum="10" />
</wap:inputText>
<wap:message for="inputNumber1" />
<br/>
<wap:commandLink action="success" ><wap:outputText value="submit" /></wap:commandLink>
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/commandLink.jsp
Index: commandLink.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="cart1" title="CommandLink example">
<p>
<f:view>
<wap:form>
<i>Name:</i>
<wap:inputText value="#{stringBean.name}" />
<wap:commandLink action="ok">
<b><wap:outputText value="send"/></b>
</wap:commandLink><br/>
<wap:commandLink action="commandButton"><wap:outputText value="commandButton example"/></wap:commandLink>
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/selectOneProcess.jsp
Index: selectOneProcess.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="selectOne example">
<p>
<f:view>
<wap:form>
Your prefered language is: <wap:outputText value="#{stringBean.language}" />
<br/>
<wap:commandLink action="back" ><wap:outputText value="back"/></wap:commandLink>
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/photo.wbmp
<<Binary file>>
1.1 incubator-myfaces/webapps/wap/web/examples/outputText.jsp
Index: outputText.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="outputText example">
<p>
<f:view>
<i>Today is:</i><br/>
<wap:outputText value="#{todayDate.date}" >
<f:convertDateTime dateStyle="full" />
</wap:outputText>
<wap:form>
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/inputFields.jsp
Index: inputFields.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="inputFields example">
<p>
<f:view>
<wap:form>
<i>Name:</i><br/>
<wap:inputText id="name1" value="#{stringBean.name}" required="true" />
<i>Password:</i><br/>
<wap:inputSecret value="#{stringBean.password}" />
<wap:message for="name1" />
<wap:commandButton action="login" value="login" />
<wap:commandButton value="reset" type="reset" />
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/selectBooleanProcess.jsp
Index: selectBooleanProcess.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="commandLink">
<p>
<f:view>
<wap:form>
Your choise:
<wap:outputText value="#{selectBean.boolValue}" />
<br/>
<wap:commandLink action="back" ><wap:outputText value="back"/></wap:commandLink>
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/messageProcess.jsp
Index: messageProcess.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="message example">
<p>
<f:view>
<wap:form>
Number <wap:outputText value="#{integerBean.number}" /> is valid.
<br/><br/>
<wap:commandLink action="back" ><wap:outputText value="back"/></wap:commandLink>
<wap:commandButton action="backToIndex" type="prev" value="go back" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/commandButton.jsp
Index: commandButton.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="cart1" title="CommandButton example">
<p>
<f:view>
<wap:form>
<i>Name:</i>
<wap:inputText value="#{stringBean.name}" />
<wap:commandButton action="ok" value="send" />
<wap:commandButton value="reset" type="reset" />
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/commandButtonProcess.jsp
Index: commandButtonProcess.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="commandButton">
<p>
<f:view>
<wap:form>
<i>Your name is:</i><br/>
<wap:outputText value="#{stringBean.name}" /><br/><br/>
<wap:commandLink action="back" ><wap:outputText value="back"/></wap:commandLink>
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/commandLinkProcess.jsp
Index: commandLinkProcess.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="commandLink">
<p>
<f:view>
<wap:form>
<i>Your name is:</i><br/>
<wap:outputText value="#{stringBean.name}" /><br/><br/>
<wap:commandLink action="back" ><wap:outputText value="back"/></wap:commandLink>
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/selectMany.jsp
Index: selectMany.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="selectMany example">
<p>
<f:view>
<wap:form>
<wap:selectMany value="#{selectBean.equipments}" required="true" >
<f:selectItems value="#{items.equipments}" />
</wap:selectMany>
<wap:commandLink action="ok"><wap:outputText value="submit" /></wap:commandLink>
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/panelGrid.jsp
Index: panelGrid.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="panelGrid example">
<p>
<f:view>
<wap:form>
<wap:panelGrid title="title" columns="2">
<f:facet name="header">
<wap:panelGroup>
<wap:outputText value="column1" />
<wap:outputText value="column2" />
</wap:panelGroup>
</f:facet>
<wap:panelGroup>
<!-- grid nested in one panel cell -->
<wap:panelGrid columns="3">
<wap:outputText value="Grid" />
<wap:outputText value=" in " />
<wap:outputText value="grid" />
</wap:panelGrid>
</wap:panelGroup>
<!-- elements nested in panelGroup will be rendered to one cell -->
<wap:panelGroup>
<wap:outputText value="1" />
<wap:outputText value="2" />
<wap:outputText value="3" />
</wap:panelGroup>
<wap:outputText value="column1" />
<wap:outputText value="column2" />
<wap:outputText value="column1" />
<wap:outputText value="column2" />
<f:facet name="footer">
<wap:panelGroup>
<wap:outputText value="footer1" />
<wap:outputText value="footer2" />
</wap:panelGroup>
</f:facet>
</wap:panelGrid>
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/inputFieldsProcess.jsp
Index: inputFieldsProcess.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="commandLink">
<p>
<f:view>
<wap:form>
<i>name:</i><br/>
<wap:outputText value="#{stringBean.name}" /><br/><br/>
<i>password:</i><br/>
<wap:outputText value="#{stringBean.password}" /><br/><br/>
<wap:commandLink action="back" ><wap:outputText value="back"/></wap:commandLink>
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/index.jsp
Index: index.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="cart1" title="Examples">
<p>
<f:view>
<wap:form>
<i>Examples:</i>
<wap:commandLink action="commandButton"><wap:outputText value="commandButton"/></wap:commandLink><br/>
<wap:commandLink action="commandLink"><wap:outputText value="commandLink"/></wap:commandLink><br/>
<wap:commandLink action="dataTable"><wap:outputText value="dataTable"/></wap:commandLink><br/>
<wap:commandLink action="graphicImage"><wap:outputText value="graphicImage"/></wap:commandLink><br/>
<wap:commandLink action="inputFields"><wap:outputText value="inputFields"/></wap:commandLink><br/>
<wap:commandLink action="message"><wap:outputText value="message"/></wap:commandLink><br/>
<wap:commandLink action="messages"><wap:outputText value="messages"/></wap:commandLink><br/>
<wap:commandLink action="outputText"><wap:outputText value="outputText"/></wap:commandLink><br/>
<wap:commandLink action="panelGrid"><wap:outputText value="panelGrid"/></wap:commandLink><br/>
<wap:commandLink action="selectBoolean"><wap:outputText value="selectBoolean"/></wap:commandLink><br/>
<wap:commandLink action="selectMany"><wap:outputText value="selectMany"/></wap:commandLink><br/>
<wap:commandLink action="selectOne"><wap:outputText value="selectOne"/></wap:commandLink><br/>
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/dataTable.jsp
Index: dataTable.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="dataTable example">
<p>
<f:view>
<wap:form>
<wap:dataTable title="Number of users:" value="#{statistic.records}" var="record" >
<wap:column>
<f:facet name="header">
<wap:outputText value="day:" />
</f:facet>
<b><wap:outputText value="#{record.date}" >
<f:convertDateTime dateStyle="short" />
</wap:outputText></b>
</wap:column>
<wap:column>
<f:facet name="header">
<wap:outputText value="no of visitors:" />
</f:facet>
<wap:outputText value="#{record.visitors}" />
<f:facet name="footer">
<wap:outputText value="#{statistic.summary}" />
</f:facet>
</wap:column>
</wap:dataTable>
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/messagesProcess.jsp
Index: messagesProcess.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="messages example">
<p>
<f:view>
<wap:form>
Number <wap:outputText value="#{integerBean.number}" /> is valid.<br/>
Entered string: <wap:outputText value="#{stringBean.name}" /><br/>
<wap:commandLink action="back" ><wap:outputText value="back"/></wap:commandLink>
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/graphicImage.jsp
Index: graphicImage.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="graphicImage example">
<p>
<f:view>
This is a wbmp image:
<wap:graphicImage url="./photo.wbmp" alt="Pat image" />
<wap:form>
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/examples/selectBoolean.jsp
Index: selectBoolean.jsp
===================================================================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/wap" prefix="wap" %>
<wml>
<card id="card1" title="selectBoolean example">
<p>
<f:view>
<wap:form>
Example:<br/>
<wap:selectBoolean value="#{selectBean.boolValue}">
<wap:outputText value="value" />
</wap:selectBoolean>
<br/>
<wap:commandLink action="ok"><wap:outputText value="submit"/></wap:commandLink>
<wap:commandButton action="backToIndex" type="prev" value="examples" />
</wap:form>
</f:view>
</p>
</card>
</wml>
1.1 incubator-myfaces/webapps/wap/web/WEB-INF/navigation.xml
Index: navigation.xml
===================================================================
<<navigation-rule>
<from-view-id>/examples/index.jsp</from-view-id>
<navigation-case>
<from-outcome>commandButton</from-outcome>
<to-view-id>/examples/commandButton.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>commandLink</from-outcome>
<to-view-id>/examples/commandLink.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>dataTable</from-outcome>
<to-view-id>/examples/dataTable.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>graphicImage</from-outcome>
<to-view-id>/examples/graphicImage.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>inputFields</from-outcome>
<to-view-id>/examples/inputFields.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>message</from-outcome>
<to-view-id>/examples/message.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>messages</from-outcome>
<to-view-id>/examples/messages.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>outputText</from-outcome>
<to-view-id>/examples/outputText.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>panelGrid</from-outcome>
<to-view-id>/examples/panelGrid.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>selectBoolean</from-outcome>
<to-view-id>/examples/selectBoolean.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>selectMany</from-outcome>
<to-view-id>/examples/selectMany.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>selectOne</from-outcome>
<to-view-id>/examples/selectOne.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/commandButton.jsp</from-view-id>
<navigation-case>
<from-outcome>ok</from-outcome>
<to-view-id>/examples/commandButtonProcess.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/commandButtonProcess.jsp</from-view-id>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/examples/commandButton.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/commandLink.jsp</from-view-id>
<navigation-case>
<from-outcome>ok</from-outcome>
<to-view-id>/examples/commandLinkProcess.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>commandButton</from-outcome>
<to-view-id>/examples/commandButton.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/commandLinkProcess.jsp</from-view-id>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/examples/commandLink.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/dataTable.jsp</from-view-id>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/graphicImage.jsp</from-view-id>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/inputFields.jsp</from-view-id>
<navigation-case>
<from-outcome>login</from-outcome>
<to-view-id>/examples/inputFieldsProcess.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/inputFieldsProcess.jsp</from-view-id>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/examples/inputFields.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/message.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/examples/messageProcess.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/messageProcess.jsp</from-view-id>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/examples/message.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/messages.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/examples/messagesProcess.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/messagesProcess.jsp</from-view-id>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/examples/messages.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/outputText.jsp</from-view-id>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/panelGrid.jsp</from-view-id>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/selectBoolean.jsp</from-view-id>
<navigation-case>
<from-outcome>ok</from-outcome>
<to-view-id>/examples/selectBooleanProcess.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/selectBooleanProcess.jsp</from-view-id>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/examples/selectBoolean.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/selectOne.jsp</from-view-id>
<navigation-case>
<from-outcome>ok</from-outcome>
<to-view-id>/examples/selectOneProcess.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/selectOneProcess.jsp</from-view-id>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/examples/selectOne.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/selectMany.jsp</from-view-id>
<navigation-case>
<from-outcome>ok</from-outcome>
<to-view-id>/examples/selectManyProcess.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>backToIndex</from-outcome>
<to-view-id>/examples/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/examples/selectManyProcess.jsp</from-view-id>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/examples/selectMany.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<!-- HTML navigation -->
<navigation-rule>
<from-view-id>/html.jsp</from-view-id>
<navigation-case>
<from-outcome>ok</from-outcome>
<to-view-id>/processHtml.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/processHtml.jsp</from-view-id>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/html.jsp</to-view-id>
</navigation-case>
</navigation-rule>
1.1 incubator-myfaces/webapps/wap/web/WEB-INF/wap-faces-config.xml
Index: wap-faces-config.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd"[
<!ENTITY beans SYSTEM "beans.xml">
<!ENTITY navigation SYSTEM "navigation.xml">
]>
<faces-config>
<application>
<!--<default-render-kit-id>WML_BASIC</default-render-kit-id>-->
<default-render-kit-id>WML_BASIC</default-render-kit-id>
</application>
<converter>
<converter-id>MyConv</converter-id>
<converter-class>javax.faces.convert.DateTimeConverter</converter-class>
</converter>
<!--<validator>
<validator-id>LRValidator</validator-id>
<validator-class>javax.faces.validator.LongRangeValidator</validator-class>
</validator>-->
&beans;
&navigation;
</faces-config>
1.1 incubator-myfaces/webapps/wap/web/WEB-INF/beans.xml
Index: beans.xml
===================================================================
<managed-bean>
<managed-bean-name>stringBean</managed-bean-name>
<managed-bean-class>StringBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>name</property-name>
<value></value>
</managed-property>
<managed-property>
<property-name>password</property-name>
<value></value>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>integerBean</managed-bean-name>
<managed-bean-class>IntegerBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>statistic</managed-bean-name>
<managed-bean-class>Statistic</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>todayDate</managed-bean-name>
<managed-bean-class>TodayDate</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>selectBean</managed-bean-name>
<managed-bean-class>SelectBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>items</managed-bean-name>
<managed-bean-class>Items</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>languages</managed-bean-name>
<managed-bean-class>ListBean</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
<managed-property>
<property-name>list</property-name>
<list-entries>
<value-class>javax.faces.model.SelectItem</value-class>
<value>#{language1}</value>
<value>#{language2}</value>
<value>#{language3}</value>
</list-entries>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>language1</managed-bean-name>
<managed-bean-class>javax.faces.model.SelectItem</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
<managed-property>
<property-name>label</property-name>
<value>english</value>
</managed-property>
<managed-property>
<property-name>value</property-name>
<value>english</value>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>language2</managed-bean-name>
<managed-bean-class>javax.faces.model.SelectItem</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
<managed-property>
<property-name>label</property-name>
<value>germany</value>
</managed-property>
<managed-property>
<property-name>value</property-name>
<value>germany</value>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>language3</managed-bean-name>
<managed-bean-class>javax.faces.model.SelectItem</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
<managed-property>
<property-name>label</property-name>
<value>czech</value>
</managed-property>
<managed-property>
<property-name>value</property-name>
<value>czech</value>
</managed-property>
</managed-bean>
1.1 incubator-myfaces/webapps/wap/web/WEB-INF/web.xml
Index: web.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>JavaServer Faces Web Spotreba</description>
<display-name>WapFaces - test aplication</display-name>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
<description>
The ServletContext init parameter consulted by the StateManager to tell
where the state should be saved. Valid values are given as the values
of the constants: STATE_SAVING_METHOD_CLIENT or STATE_SAVING_METHOD_SERVER.
</description>
</context-param>
<context-param>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>true</param-value>
<description>
Set this flag to true if you want the JavaServer Faces
Reference Implementation to validate the XML in your
faces-config.xml resources against the DTD. Default
value is false.
</description>
</context-param>
<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>true</param-value>
<description>
Set this flag to true if you want the JavaServer Faces
Reference Implementation to verify that all of the application
objects you have configured (components, converters,
renderers, and validators) can be successfully created.
Default value is false.
</description>
</context-param>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>
<listener>
<listener-class>net.sourceforge.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<security-constraint>
<!-- This security constraint illustrates how JSP pages
with JavaServer Faces components can be protected from
being accessed without going through the Faces Servlet.
The security constraint ensures that the Faces Servlet will
be used or the pages will not be processed. -->
<display-name>Restrict access to JSP pages</display-name>
<web-resource-collection>
<web-resource-name>
Restrict access to JSP pages
</web-resource-name>
<url-pattern>/index.jsp</url-pattern>
<url-pattern>/html.jsp</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>
With no roles defined, no access granted
</description>
</auth-constraint>
</security-constraint>
</web-app>
1.1 incubator-myfaces/webapps/wap/src/ListBean.java
Index: ListBean.java
===================================================================
/*
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import java.util.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class ListBean {
private static Log log = LogFactory.getLog(ListBean.class);
private List list;
public List getList() {
return list;
}
public void setList(List list) {
this.list = list;
}
}
1.1 incubator-myfaces/webapps/wap/src/IntegerBean.java
Index: IntegerBean.java
===================================================================
/*
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class IntegerBean {
private static Log log = LogFactory.getLog(IntegerBean.class);
private Integer number;
public Integer getNumber() {
return number;
}
public void setNumber(Integer number) {
this.number = number;
}
}
1.1 incubator-myfaces/webapps/wap/src/StringBean.java
Index: StringBean.java
===================================================================
/*
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class StringBean {
private static Log log = LogFactory.getLog(StringBean.class);
private String name;
private String password;
private String language;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getLanguage() {
return language;
}
public void setLanguage(String language) {
this.language = language;
}
}
1.1 incubator-myfaces/webapps/wap/src/SelectBean.java
Index: SelectBean.java
===================================================================
/*
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class SelectBean {
private static Log log = LogFactory.getLog(SelectBean.class);
private boolean boolValue;
private String[] equipments;
public boolean isBoolValue() {
return boolValue;
}
public void setBoolValue(boolean boolValue) {
this.boolValue = boolValue;
}
public String[] getEquipments() {
return equipments;
}
public void setEquipments(String[] equipments) {
this.equipments = equipments;
}
}
1.1 incubator-myfaces/webapps/wap/src/Items.java
Index: Items.java
===================================================================
/*
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import javax.faces.model.SelectItem;
import javax.faces.model.SelectItemGroup;
import java.util.*;
/**
*
* @author Jijik
*/
public class Items {
private List equipments = null;
/** Creates a new instance of LanguageItems */
public Items() {
equipments = new ArrayList();
SelectItemGroup first = new SelectItemGroup("braking");
SelectItemGroup second = new SelectItemGroup("equipment");
SelectItem[] array1 = {new SelectItem("abs"), new SelectItem("esp")};
SelectItem[] array2 = {new SelectItem("radio"), new SelectItem("gps"), new SelectItem("mobil set")};
first.setSelectItems(array1);
second.setSelectItems(array2);
equipments.add(first);
equipments.add(second);
}
public List getEquipments() {
return equipments;
}
public void setEquipments(List equipments) {
this.equipments = equipments;
}
}
1.1 incubator-myfaces/webapps/wap/src/TodayDate.java
Index: TodayDate.java
===================================================================
/*
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import java.util.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class TodayDate {
private static Log log = LogFactory.getLog(TodayDate.class);
private Date date = null;
public Date getDate() {
return (new Date());
}
}
1.1 incubator-myfaces/webapps/wap/src/DayRecord.java
Index: DayRecord.java
===================================================================
/*
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import java.util.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class DayRecord {
private static Log log = LogFactory.getLog(DayRecord.class);
private Date date = null;
private int visitors = 0;
public DayRecord(Date date, int visitors){
this.date = date;
this.visitors = visitors;
}
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date = date;
}
public int getVisitors() {
return visitors;
}
public void setVisitors(int visitors) {
this.visitors = visitors;
}
}
1.1 incubator-myfaces/webapps/wap/src/Statistic.java
Index: Statistic.java
===================================================================
/*
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import java.util.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class Statistic {
private static Log log = LogFactory.getLog(Statistic.class);
private int summary;
private DayRecord records[];
// inserts random statistic data
public Statistic(){
int rows = 3;
records = new DayRecord[rows];
Calendar cal = Calendar.getInstance();
Random rnd = new Random();
for (int i = 0; i < rows; i++){
cal.set(2004, 5, i);
records[i] = new DayRecord(cal.getTime(), rnd.nextInt(5000));
}
}
public DayRecord[] getRecords() {
return records;
}
public void setRecords(DayRecord[] records) {
this.records = records;
}
public int getSummary() {
summary = 0;
for (int i = 0; i < records.length; i++)
summary += records[i].getVisitors();
return(summary);
}
}
1.70 +191 -7 incubator-myfaces/build/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/incubator-myfaces/build/build.xml,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- build.xml 29 Dec 2004 13:31:10 -0000 1.69
+++ build.xml 30 Dec 2004 09:35:06 -0000 1.70
@@ -16,6 +16,9 @@
<property name="build.dir" location="${project.dir}/build"/>
<property name="conf.dir" location="${project.dir}/conf"/>
<property name="apps.dir" location="${project.dir}/webapps"/>
+ <property name="wml.src" location="${project.dir}/src/wml"/>
+ <property name="xdoclet.src" location="${project.dir}/src/xdoclet"/>
+ <property name="generated.src" location="${project.dir}/src/generated"/>
<!-- Properties -->
@@ -28,9 +31,12 @@
<property name="api.classes" location="${temp.dir}/myfaces-api/classes"/>
<property name="share.classes" location="${temp.dir}/myfaces-share/classes"/>
+ <property name="wml.classes" location="${temp.dir}/myfaces-wml/classes"/>
+ <property name="xdoclet.classes" location="${temp.dir}/myfaces-xdoclet/classes"/>
<property name="impl.classes" location="${temp.dir}/myfaces-impl/classes"/>
<property name="components.classes" location="${temp.dir}/myfaces-components/classes"/>
+
<property name="resolved-tlds.dir" location="${temp.dir}/myfaces-tlds"/>
<!-- classpath for compiling api classes -->
@@ -81,6 +87,23 @@
<pathelement location="${api.classes}"/>
<pathelement location="${share.classes}"/>
</path>
+
+ <!-- classpath for compiling wmlRenderKit classes -->
+ <path id="wml.classpath.path">
+ <pathelement location="${commons-codec.jar}"/>
+ <pathelement location="${commons-beanutils.jar}"/>
+ <pathelement location="${commons-collections.jar}"/>
+ <pathelement location="${commons-digester.jar}"/>
+ <pathelement location="${commons-logging.jar}"/>
+ <pathelement location="${api.classes}"/>
+ <pathelement location="${share.classes}"/>
+ <pathelement location="${impl.classes}"/>
+ <pathelement location="${jstl.jar}"/>
+ <pathelement location="${build.dir}/WEB-INF/classes/"/>
+ <pathelement location="${jsp-2.0.jar}"/>
+ <pathelement location="${servlet-jsp.jar}"/>
+ </path>
+
<!-- classpath for javadoc creation -->
<path id="javadoc.class.path">
@@ -100,6 +123,13 @@
<pathelement location="${commons-digester.jar}"/>
</path>
+ <path id="xdoclet.classpath">
+ <pathelement location="${xdoclet.jar}"/>
+ <pathelement location="${xjavadoc.jar}"/>
+ <pathelement location="${commons-collections.jar}"/>
+ <pathelement location="${commons-logging.jar}"/>
+ </path>
+
<target name="myfaces-jsf-api-jar"
description="builds the myfaces-jsf-api.jar file"
depends="-compile-api">
@@ -300,7 +330,7 @@
<target name="bin-release"
- depends="myfaces-jsf-api-jar, myfaces-impl-jar, myfaces-extensions-jar, myfaces-jar, javadoc, tlddoc"
+ depends="myfaces-jsf-api-jar, myfaces-impl-jar, myfaces-extensions-jar, myfaces-jar, myfaces-wap-jar, javadoc, tlddoc"
description="creates the binary release file myfaces-x.x.x.tgz (don't forget to adjust manifest.properties!)">
<tar destfile="${project.dir}/myfaces-${manifest.impl.version}.tgz"
@@ -339,8 +369,13 @@
<tarfileset file="${myfaces-extensions.jar}"
prefix="myfaces-${manifest.impl.version}/lib" />
<tarfileset file="${myfaces.jar}"
- prefix="myfaces-${manifest.impl.version}/lib" />
- </tar>
+ prefix="myfaces-${manifest.impl.version}/lib" />
+ <tarfileset file="${myfaces-wap.jar}"
+ prefix="myfaces-${manifest.impl.version}/lib" />
+ <tarfileset file="${myfaces-xdoclet.jar}"
+ prefix="myfaces-${manifest.impl.version}/lib" />
+
+ </tar>
</target>
@@ -368,6 +403,10 @@
prefix="myfaces-${manifest.impl.version}/src/share"/>
<tarfileset dir="${myfaces.src}"
prefix="myfaces-${manifest.impl.version}/src/myfaces"/>
+ <tarfileset dir="${wml.src}"
+ prefix="myfaces-${manifest.impl.version}/src/wml"/>
+ <tarfileset dir="${xdoclet.src}"
+ prefix="myfaces-${manifest.impl.version}/src/xdoclet"/>
<tarfileset dir="${cactus.src}"
prefix="myfaces-${manifest.impl.version}/src/cactus"/>
<tarfileset dir="${junit.src}"
@@ -396,9 +435,15 @@
target="release"/>
</target>
-
- <target name="all"
- depends="bin-release, src-release, examples-release, tiles-release"
+ <target name="wap-release"
+ description="creates the wap examples release file myfaces-x.x.x-tiles-example.tgz (don't forget to adjust manifest.properties!)">
+ <ant dir="${project.dir}/build/wap-webapp"
+ antfile="build.xml"
+ inheritall="false"
+ target="release"/>
+ </target>
+ <target name="all"
+ depends="bin-release, src-release, examples-release, tiles-release, wap-release"
description="builds all release files">
</target>
@@ -420,10 +465,14 @@
<fileset file="${myfaces-impl.jar}" />
<fileset file="${myfaces-extensions.jar}" />
<fileset file="${myfaces.jar}" />
+ <fileset file="${myfaces-wap.jar}" />
+ <fileset file="${myfaces-xdoclet.jar}" />
<fileset file="${project.dir}/myfaces-*.tgz" />
<fileset dir="${doc.dir}/javadoc" />
<fileset dir="${doc.dir}/tlddoc" />
- <fileset dir="${api.classes}"/>
+ <fileset dir="${wml.classes}"/>
+ <fileset dir="${generated.src}"/>
+ <fileset dir="${api.classes}"/>
<fileset dir="${share.classes}"/>
<fileset dir="${impl.classes}"/>
<fileset dir="${components.classes}"/>
@@ -486,6 +535,141 @@
</target>
+
+ <target name="-compile-wml" depends="-compile-impl" >
+ <mkdir dir="${wml.classes}"/>
+ <javac srcdir="${share.src}"
+ destdir="${share.classes}"
+ optimize="${javac.optimize}"
+ debug="${javac.debug}"
+ classpathref="share.class.path">
+ </javac>
+ </target>
+
+
+ <!-- ============================= PREPARE XDOCLET MODULE ======================================-->
+ <target name="prepareXDoclet" description="compile XDoclet classes and create XML module descriptor">
+ <mkdir dir="${xdoclet.classes}"/>
+ <javac srcdir="${xdoclet.src}" destdir="${xdoclet.classes}" includes="**/*.java"
+ classpathref="xdoclet.classpath" />
+
+ <taskdef name="xdoclet" classname="xdoclet.DocletTask" classpathref="xdoclet.classpath" />
+ <xdoclet destdir="${xdoclet.classes}" verbose="false" >
+ <fileset dir="${xdoclet.src}">
+ <include name="org/apache/myfaces/xdoclet/*.java" />
+ </fileset>
+
+ <template templateFile="${xdoclet.src}/org/apache/myfaces/xdoclet/resources/xdoclet-xml.xdt"
+ destinationfile="xdoclet.xml" />
+ </xdoclet>
+
+ <jar destfile="${myfaces-xdoclet.jar}" compress="true">
+ <!-- manifest -->
+ <manifest>
+ <attribute name="Built-By" value="${user.name}"/>
+ <section name="myfaces.apache.org">
+ <attribute name="Implementation-Title" value="${manifest.impl.title}"/>
+ <attribute name="Implementation-Version" value="${manifest.impl.version} (${TODAY})"/>
+ <attribute name="Implementation-Vendor" value="${manifest.impl.vendor}"/>
+ </section>
+ </manifest> <fileset dir="${xdoclet.classes}" >
+ <include name="**/*.*" />
+ <exclude name="**/xdoclet.xml" />
+ </fileset>
+ <fileset dir="${xdoclet.src}" >
+ <include name="**/*.xdt" />
+ <exclude name="**/xdoclet-xml.xdt" />
+ </fileset>
+ <metainf dir="${xdoclet.classes}" includes="xdoclet.xml" />
+ </jar>
+ </target>
+
+
+
+ <!-- ============================= XDOCLET - GENEREATE SOURCE CODE =====================================-->
+ <target name="codegen" depends="prepareXDoclet" description="generate components and taglibs">
+ <taskdef name="wapfaces" classname="xdoclet.DocletTask" classpathref="xdoclet.classpath" >
+ <classpath>
+ <pathelement path="${myfaces-xdoclet.jar}" />
+ </classpath>
+ </taskdef>
+
+ <mkdir dir="${generated.src}" />
+ <wapfaces destdir="${generated.src}" verbose="true" >
+ <fileset dir="${wml.src}">
+ <include name="org/apache/myfaces/wap/def/*.java" />
+ </fileset>
+
+ <component destinationFile="{0}.java">
+ <packageSubstitution packages="def" substituteWith="component" />
+ </component>
+
+ <tag destinationFile="{0}Tag.java">
+ <packageSubstitution packages="def" substituteWith="taglib" />
+ </tag>
+
+ <taglib destinationFile="myfaces_wap.tld" />
+ <facesconfig destinationFile="faces-config.xml" />
+ </wapfaces>
+
+ <xmlvalidate warn="false" file="${generated.src}/myfaces_wap.tld">
+ <dtd publicId="-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
+ location="res/dtds/web-jsptaglibrary_1_2.dtd" />
+ </xmlvalidate>
+ <xmlvalidate warn="false" file="${generated.src}/faces-config.xml">
+ <dtd publicId="-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ location="res/dtds/web-facesconfig_1_1.dtd" />
+ </xmlvalidate>
+ </target>
+
+ <!-- ============================= BUILD TAG LIBRARY ===========================================-->
+ <target name="myfaces-wap-jar" depends="codegen"
+ description="Compile Java files, copy static files and create jar archive." >
+
+ <mkdir dir="${wml.classes}"/>
+ <javac srcdir="${wml.src}" destdir="${wml.classes}" classpathref="wml.classpath.path">
+ <include name="org/apache/myfaces/wap/base/**/*.java" />
+ <classpath>
+ <pathelement location="${wml.classes}"/>
+ </classpath>
+ </javac>
+
+
+ <javac srcdir="${generated.src}" destdir="${wml.classes}">
+ <include name="**/*.java" />
+ <classpath refid="wml.classpath.path"/>
+ </javac>
+
+ <javac srcdir="${wml.src}" destdir="${wml.classes}" classpathref="wml.classpath.path">
+ <include name="**/*.java" />
+ <exclude name="org/apache/myfaces/wap/base/**/*.java" />
+ <exclude name="org/apache/myfaces/wap/def/**/*.java" />
+ <classpath>
+ <pathelement location="${wml.classes}"/>
+ </classpath>
+ </javac>
+
+ <copy todir="${wml.classes}/META-INF">
+ <fileset dir="${generated.src}">
+ <include name="*.tld" />
+ <include name="faces-config.xml" />
+ </fileset>
+ </copy>
+
+ <jar jarfile="${myfaces-wap.jar}" basedir="${wml.classes}">
+ <!-- manifest -->
+ <manifest>
+ <attribute name="Built-By" value="${user.name}"/>
+ <section name="myfaces.apache.org">
+ <attribute name="Implementation-Title" value="${manifest.impl.title}"/>
+ <attribute name="Implementation-Version" value="${manifest.impl.version} (${TODAY})"/>
+ <attribute name="Implementation-Vendor" value="${manifest.impl.vendor}"/>
+ </section>
+ </manifest>
+ </jar>
+ </target>
+
+
<target name="resolve-tld-entities">
<mkdir dir="${resolved-tlds.dir}"/>
<!-- resolve TLD entities (for containers that do not support entities within TLDs) -->
1.21 +12 -0 incubator-myfaces/build/build.default.properties
Index: build.default.properties
===================================================================
RCS file: /home/cvs/incubator-myfaces/build/build.default.properties,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- build.default.properties 13 Nov 2004 22:00:04 -0000 1.20
+++ build.default.properties 30 Dec 2004 09:35:06 -0000 1.21
@@ -44,6 +44,15 @@
# File path to struts file for tile support
struts.jar = ${project.dir}/lib/optional/struts.jar
+# File path to xdoclet
+xdoclet.jar = ${project.dir}/lib/xdoclet-1.2.1.jar
+
+# File path to xjavadoc
+xjavadoc.jar = ${project.dir}/lib/xjavadoc-1.0.3.jar
+
+#File path to myfaces-xdoclet
+myfaces-xdoclet.jar = ${project.dir}/lib/myfaces-xdoclet.jar
+
# Destination file path of MyFaces JSF-API implementation archive to be created
myfaces-jsf-api.jar = ${project.dir}/lib/myfaces-jsf-api.jar
@@ -52,6 +61,9 @@
# Destination file path of MyFaces extensions archive to be created
myfaces-extensions.jar = ${project.dir}/lib/myfaces-extensions.jar
+
+# Destination file path of MyFaces WML RenderKIt
+myfaces-wap.jar = ${project.dir}/lib/myfaces-wap.jar
# Destination file path of MyFaces complete archive to be created
myfaces.jar = ${project.dir}/lib/myfaces.jar
1.154 +3 -2 incubator-myfaces/doc/release-notes.txt
Index: release-notes.txt
===================================================================
RCS file: /home/cvs/incubator-myfaces/doc/release-notes.txt,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- release-notes.txt 24 Dec 2004 15:25:45 -0000 1.153
+++ release-notes.txt 30 Dec 2004 09:35:06 -0000 1.154
@@ -2,11 +2,12 @@
=====================
----------------------------------------------------------------------
-Changes in Release 1.0.9 beta
+Changes in Release 1.0.8 beta_RC2
+* added a new RenderKit, that renders WML. Thanks to Jir� �aloudek for his contribution
* upgrade the components use the ExtensionsFilter
this means you don't need to include the myfaces javascripts and style sheets in your app anymore.
----------------------------------------------------------------------
-Changes in Release 1.0.8 beta
+Changes in Release 1.0.8 beta_RC1
* move to Apache Incubator (root package is now "org.apache.myfaces")
* providing a tld for MyFaces custom components, that still contains
the 'old' sf-URI name for backward compatibility
1.1 incubator-myfaces/build/wap-webapp/build.xml
Index: build.xml
===================================================================
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE project [
<!ENTITY tomcat-build SYSTEM "file:../tomcat/tomcat-build.xmlf">
]>
<project name="myfaces-wap-example" default="run-wap">
<property environment="env"/>
<!-- Constants -->
<property name="project.dir" location="${basedir}/../.."/>
<property name="wap.dir" location="${project.dir}/webapps/wap"/>
<property name="wap.src" location="${wap.dir}/src"/>
<property name="wap.web" location="${wap.dir}/web"/>
<property name="web-inf.classes.dir" location="${wap.web}/WEB-INF/classes"/>
<property name="web-inf.lib.dir" location="${wap.web}/WEB-INF/lib"/>
<property name="myfaces.doc" location="${project.dir}/doc"/>
<!-- Properties -->
<property file="../build.local.properties"/>
<property file="../build.default.properties"/>
<property file="../manifest.properties"/>
<!-- Temporary dir. May be overridden in build.local.properties -->
<property name="temp.dir" location="${env.TEMP}/wap-example"/>
<!-- Tomcat -->
<property name="tomcat.war.file" location="${temp.dir}/myfaces-wap.war"/>
<property name="tomcat.context.path" value="/myfaces"/>
<!-- classpath for compiling -->
<path id="wap.class.path">
<pathelement location="${servlet-jsp.jar}"/>
<pathelement location="${jsp-2.0.jar}"/>
<pathelement location="${jstl.jar}"/>
<pathelement location="${myfaces.jar}"/>
<pathelement location="${myfaces-wap.jar}"/>
<pathelement location="${myfaces-jsf-api.jar}"/>
<pathelement location="${commons-logging.jar}"/>
</path>
<target name="run-wap"
description="creates wap war and deploys it" >
<ant dir="${project.dir}/build/wap-webapp" antfile="build.xml" target="-war" inheritall="false"/>
<antcall target="tomcat-deploy-app"/>
<echo message="browse to http://${tomcat.server}:${tomcat.port}${tomcat.context.path}"/>
</target>
<target name="clean"
description="deletes all files that were built">
<delete quiet="true" failonerror="false" includeEmptyDirs="true">
<fileset dir="${web-inf.classes.dir}"/>
<fileset dir="${web-inf.lib.dir}"/>
<fileset file="${project.dir}/myfaces-*-wap.tgz"/>
<fileset file="${wap.web}/WEB-INF/web.xml"/>
<fileset file="${wap.web}/WEB-INF/faces-config.xml"/>
<fileset file="${temp.dir}/myfaces-wap-example.war" />
</delete>
</target>
<target name="-compile-and-copy-libs"
depends="-myfaces-jar"
description="compiles the wap java classes to WEB-INF/classes and copies all needed libs to WEB-INF/lib">
<mkdir dir="${web-inf.classes.dir}" />
<javac srcdir="${wap.src}"
destdir="${web-inf.classes.dir}"
optimize="${javac.optimize}"
debug="${javac.debug}"
classpathref="wap.class.path">
</javac>
<copy todir="${web-inf.classes.dir}">
<fileset dir="${wap.src}"
includes="**"
excludes="**/*.java
**/package.html"/>
</copy>
</target>
<target name="-war" depends="-compile-and-copy-libs">
<mkdir dir="${temp.dir}" />
<tstamp>
<format property="TODAY" pattern="yyyy-MM-dd HH:mm" locale="en"/>
</tstamp>
<war destfile="${temp.dir}/myfaces-wap-example.war"
webxml="${project.dir}/conf/wap/web.xml">
<manifest>
<section name="${manifest.section}">
<attribute name="Implementation-Title" value="${manifest.impl.title}"/>
<attribute name="Implementation-Version" value="${manifest.impl.version} (${TODAY})"/>
<attribute name="Implementation-Vendor" value="${manifest.impl.vendor}"/>
</section>
</manifest>
<lib file="${commons-codec.jar}"/>
<lib file="${commons-el.jar}"/>
<lib file="${commons-logging.jar}"/>
<lib file="${commons-beanutils.jar}"/>
<lib file="${commons-collections.jar}"/>
<lib file="${commons-digester.jar}"/>
<lib file="${jstl.jar}"/>
<lib file="${myfaces.jar}"/>
<lib file="${myfaces-wap.jar}"/>
<!--lib file="${myfaces-jsf-api.jar}"/-->
<classes dir="${web-inf.classes.dir}" />
<fileset dir="${wap.web}"
excludes="WEB-INF/classes/**,
WEB-INF/lib/**,
WEB-INF/web.xml " />
</war>
</target>
<target name="release"
depends="-compile-and-copy-libs, -war"
description="creates the wap-webapp release file myfaces-x.x.x-wap.tgz (don't forget to adjust manifest.properties!)">
<tar destfile="${project.dir}/myfaces-${manifest.impl.version}-wap-example.tgz"
compression="gzip">
<tarfileset dir="${myfaces.doc}"
excludes="javadoc/**/*
tlddoc/**/*"
prefix="myfaces-${manifest.impl.version}/doc"/>
<tarfileset dir="${wap.web}"
excludes="WEB-INF/classes/**/*,
WEB-INF/lib/**/*"
prefix="myfaces-${manifest.impl.version}/webapps/wap/web"/>
<tarfileset dir="${temp.dir}"
includes="myfaces-wap-example.war"
prefix="myfaces-${manifest.impl.version}"/>
</tar>
</target>
<target name="-myfaces-jar" description="create myfaces.jar if necessary" >
<available file="${myfaces.jar}" property="myfaces.jar.available"/>
<antcall target="-create-myfaces-jar"/>
</target>
<target name="-create-myfaces-jar" unless="myfaces.jar.available"
description="creates myfaces.jar via main buildfile" >
<ant dir="${project.dir}/build" antfile="build.xml" target="myfaces-jar" inheritall="false"/>
</target>
<target name="-myfaces-jsf-api-jar" description="create myfaces.jar if necessary" >
<available file="${myfaces-jsf-api.jar}" property="myfaces.jar.available"/>
<antcall target="-create-myfaces-jsf-api-jar"/>
</target>
<target name="-create-myfaces-jsf-api-jar" unless="myfaces.jar.available"
description="creates myfaces-jsf-api.jar via main buildfile" >
<ant dir="${project.dir}/build" antfile="build.xml" target="myfaces-jsf-api-jar" inheritall="false"/>
</target>
</project>
1.1 incubator-myfaces/conf/wap/web.xml
Index: web.xml
===================================================================
<?xml version="1.0"?>
<!--
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>
/WEB-INF/wap-faces-config.xml
</param-value>
<description>
Comma separated list of URIs of (additional) faces config files.
(e.g. /WEB-INF/my-config.xml)
See JSF 1.0 PRD2, 10.3.2
</description>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
<description>
State saving method: "client" or "server" (= default)
See JSF Specification 2.5.2
</description>
</context-param>
<!-- Listener, that does all the startup work (configuration, init). -->
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
</web-app>
1.1 incubator-myfaces/lib/xjavadoc-1.0.3.jar
<<Binary file>>
1.1 incubator-myfaces/lib/xdoclet-1.2.1.jar
<<Binary file>>
1.3 +1 -0 incubator-myfaces/src/documentation/content/xdocs/community/contributors.xml
Index: contributors.xml
===================================================================
RCS file: /home/cvs/incubator-myfaces/src/documentation/content/xdocs/community/contributors.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- contributors.xml 23 Dec 2004 08:17:05 -0000 1.2
+++ contributors.xml 30 Dec 2004 09:35:06 -0000 1.3
@@ -42,6 +42,7 @@
<tr><td>Jesse Wilson</td></tr>
<tr><td>Heath Borders-Wing</td></tr>
<tr><td>Bruno Aranda</td></tr>
+ <tr><td>Jirí Žaloudek (WML RenderKit)</td></tr>
</table>
</section>
1.2 +3 -1 incubator-myfaces/NOTICE.txt
Index: NOTICE.txt
===================================================================
RCS file: /home/cvs/incubator-myfaces/NOTICE.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- NOTICE.txt 29 Jul 2004 16:01:10 -0000 1.1
+++ NOTICE.txt 30 Dec 2004 09:35:06 -0000 1.2
@@ -1,3 +1,5 @@
-This product includes software developed by
+This product includes software developed by:
The Apache Software Foundation (http://www.apache.org/).
+Xdoclet project (http://xdoclet.sf.net) License for
+Xdoclet is BSD.
\ No newline at end of file
1.1 incubator-myfaces/webapps/wap/web/index.jsp
Index: index.jsp
===================================================================
<a href="./examples/index.jsf">There can you find exaples of WML pages - open in your wap browser</a>