Author: ayanul
Date: 2007-09-06 14:30:12 -0400 (Thu, 06 Sep 2007)
New Revision: 2802
Added:
trunk/test-applications/facelets/src/main/webapp/pages/Div.xhtml
trunk/test-applications/facelets/src/main/webapp/pages/Test.xhtml
Removed:
trunk/test-applications/facelets/src/main/webapp/Div/
Modified:
trunk/test-applications/facelets/src/main/java/scrollableDataTable/ScrollableDataTable.java
trunk/test-applications/facelets/src/main/java/tabPanel/TabPanel.java
trunk/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml
trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml
trunk/test-applications/facelets/src/main/webapp/DradAndDrop/DragAndDrop.xhtml
trunk/test-applications/facelets/src/main/webapp/DropDownMenu/DDMenu.xhtml
trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml
trunk/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml
trunk/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml
trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml
trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml
trunk/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml
trunk/test-applications/facelets/src/main/webapp/Panel/panel2.xhtml
trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml
trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml
trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml
trunk/test-applications/facelets/src/main/webapp/Separator/Separator.xhtml
trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml
trunk/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml
trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml
trunk/test-applications/facelets/src/main/webapp/TabPanel/TabPanel.xhtml
trunk/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml
trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml
trunk/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml
trunk/test-applications/facelets/src/main/webapp/Tree/Tree.xhtml
trunk/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml
trunk/test-applications/facelets/src/main/webapp/WEB-INF/
trunk/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
trunk/test-applications/facelets/src/main/webapp/inputNumberSlider/inputNumberSlider.xhtml
trunk/test-applications/facelets/src/main/webapp/inputNumberSpinner/inputNumberSpinner.xhtml
trunk/test-applications/facelets/src/main/webapp/pages/main.xhtml
trunk/test-applications/facelets/src/main/webapp/styles/styles.css
Log:
Modified:
trunk/test-applications/facelets/src/main/java/scrollableDataTable/ScrollableDataTable.java
===================================================================
---
trunk/test-applications/facelets/src/main/java/scrollableDataTable/ScrollableDataTable.java 2007-09-06
18:16:01 UTC (rev 2801)
+++
trunk/test-applications/facelets/src/main/java/scrollableDataTable/ScrollableDataTable.java 2007-09-06
18:30:12 UTC (rev 2802)
@@ -9,14 +9,15 @@
{
private ArrayList<Data> data;
private String [] priority = {"blocker", "critical",
"major", "minor", "trivial"};
- private String [] priorityIcon = {"priority_blocker.gif",
"priority_critical.gif", "priority_major.gif",
"priority_minor.gif", "priority_trivial.gif"};
+ private String [] priorityIcon = {"/pics/sdt/priority_blocker.gif",
"/pics/sdt/priority_critical.gif", "/pics/sdt/priority_major.gif",
"/pics/sdt/priority_minor.gif", "/pics/sdt/priority_trivial.gif"};
public ScrollableDataTable() {
data = new ArrayList<Data>();
-
+ int k;
for(int i = 0; i < 10000; i++) {
- data.add(new Data("Bug " + new Random().nextInt(10 + i), i,priority[new
Random().nextInt(5)], "fds"));
+ k = new Random().nextInt(5);
+ data.add(new Data("Bug " + new Random().nextInt(10 + i), i,priority[k],
priorityIcon[k]));
}
}
Modified: trunk/test-applications/facelets/src/main/java/tabPanel/TabPanel.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/tabPanel/TabPanel.java 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/java/tabPanel/TabPanel.java 2007-09-06
18:30:12 UTC (rev 2802)
@@ -17,6 +17,7 @@
private String inactiveTabStyle;
private String contentStyle;
private String BtnLabel="ON";
+ private boolean immediate;
private boolean rendered;
@@ -37,6 +38,7 @@
inactiveTabStyle=null;
contentStyle=null;
+ immediate = false;
rendered=true;
disabledTab=false;
@@ -185,5 +187,13 @@
public void setBtnLabel(String btnLabel) {
BtnLabel = btnLabel;
}
+
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
}
Modified: trunk/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Calendar/Calendar.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,14 +1,9 @@
-<!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:a4j="http://richfaces.org/a4j"
+<h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:rich="http://richfaces.org/rich">
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:h="http://java.sun.com/jsf/html">
-<f:view>
- <head>
- <title></title>
- <style type="text/css">
+ <style type="text/css">
.smallText {
font-size: xx-small;
}
@@ -21,114 +16,116 @@
background-color: #0087FF;
}
</style>
- </head>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
- <body>
- <a4j:outputPanel ajaxRendered="true">
- <h:messages showDetail="true" showSummary="true"/>
- </a4j:outputPanel>
- <h:form>
- <br />
- <br />
- <rich:calendar
- id="calendar"
- dataModel="#{calendarDataModel}"
- locale="#{calendarBean.locale}"
- popup="#{calendarBean.popup}"
- datePattern="#{calendarBean.pattern}"
- weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
- value="#{calendarBean.selectedDate}"
- currentDate="#{calendarBean.currentDate}"
- jointPoint="#{calendarBean.jointPoint}"
- direction="#{calendarBean.direction}"
- buttonLabel="PopUp"
- enableManualInput="#{calendarBean.enableManualInput}"
- showInput="#{calendarBean.showInput}"
- boundaryDatesMode="#{calendarBean.boundary}">
- <f:facet name="optionalHeader">
- <h:outputText value="optionalHeader Facet" />
- </f:facet>
- <f:facet name="optionalFooter">
- <h:outputText value="optionalFooter Facet" />
- </f:facet>
- <f:validator validatorId="org.richfaces.CalendarValidator" />
-
- <h:panelGrid columns="2">
- <f:verbatim><span style="padding: 2px;"
>{day}</span></f:verbatim>
-
- </h:panelGrid>
- </rich:calendar>
-
- <h:panelGrid columns="2">
- <h:outputText value="Select Locale:" />
- <h:selectOneRadio onchange="submit()" value="en/US"
valueChangeListener="#{calendarBean.selectLocale}">
- <f:selectItem itemLabel="US" itemValue="en/US"/>
- <f:selectItem itemLabel="DE" itemValue="de/DE"/>
- <f:selectItem itemLabel="FR" itemValue="fr/FR"/>
- <f:selectItem itemLabel="RU" itemValue="ru/RU"/>
- </h:selectOneRadio>
- <h:outputText value="Popup Mode:" />
- <h:selectBooleanCheckbox value="#{calendarBean.popup}"
onclick="submit()"/>
- <h:outputText value="Custom day labels:" />
- <h:selectBooleanCheckbox value="#{calendarBean.useCustomDayLabels}"
onclick="submit()"/>
- <h:outputText value="Select Date Pattern:"/>
- <h:selectOneMenu value="MMM d, yyyy" onchange="submit()"
valueChangeListener="#{calendarBean.selectPattern}">
- <f:selectItem itemLabel="d/M/yy" itemValue="d/M/yy"/>
- <f:selectItem itemLabel="dd/M/yy" itemValue="dd/M/yy"/>
- <f:selectItem itemLabel="d/MMM/y" itemValue="d/MMM/y"/>
- <f:selectItem itemLabel="MMM d, yyyy" itemValue="MMM d,
yyyy"/>
- </h:selectOneMenu>
- <h:inputText id="selectdate"/><h:commandButton
type="button" value="Select Date"
onclick="$(this.form.id+':calendar').component.selectDate(this.form[this.form.id+':selectdate'].value);"/>
- <h:outputText value="Select Popup Joint Point:" />
- <h:selectOneRadio onchange="submit()"
value="#{calendarBean.jointPoint}"
valueChangeListener="#{calendarBean.selectJointPoint}">
- <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right"/>
- <f:selectItem itemLabel="bottom-left"
itemValue="bottom-left"/>
- <f:selectItem itemLabel="top-right"
itemValue="top-right"/>
- <f:selectItem itemLabel="top-left"
itemValue="top-left"/>
- </h:selectOneRadio>
- <h:outputText value="Select Popup Direction:" />
- <h:selectOneRadio onchange="submit()"
value="#{calendarBean.direction}"
valueChangeListener="#{calendarBean.selectDirection}">
- <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right"/>
- <f:selectItem itemLabel="bottom-left"
itemValue="bottom-left"/>
- <f:selectItem itemLabel="top-right"
itemValue="top-right"/>
- <f:selectItem itemLabel="top-left"
itemValue="top-left"/>
- <f:selectItem itemLabel="auto" itemValue="auto"/>
- </h:selectOneRadio>
- <h:outputText value="BoundaryDatesMode:" />
- <h:selectOneRadio onclick="submit()"
value="#{calendarBean.boundary}">
- <f:selectItem itemLabel="inactive"
itemValue="inactive"/>
- <f:selectItem itemLabel="select" itemValue="select"/>
- <f:selectItem itemLabel="scroll"
itemValue="scroll"/>
- </h:selectOneRadio>
- <h:outputText value="EnableManualInput:"></h:outputText>
- <h:selectBooleanCheckbox value="#{calendarBean.enableManualInput}"
- onclick="submit()">
- </h:selectBooleanCheckbox>
- <h:outputText value="ShowInput:"></h:outputText>
- <h:selectBooleanCheckbox value="#{calendarBean.showInput}"
- onclick="submit()">
- </h:selectBooleanCheckbox>
-
-
+ <rich:calendar id="calendar" dataModel="#{calendarDataModel}"
+ locale="#{calendarBean.locale}" popup="#{calendarBean.popup}"
+ datePattern="#{calendarBean.pattern}"
+ weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
+ value="#{calendarBean.selectedDate}"
+ currentDate="#{calendarBean.currentDate}"
+ jointPoint="#{calendarBean.jointPoint}"
+ direction="#{calendarBean.direction}" buttonLabel="PopUp"
+ enableManualInput="#{calendarBean.enableManualInput}"
+ showInput="#{calendarBean.showInput}"
+ boundaryDatesMode="#{calendarBean.boundary}">
+ <f:facet name="optionalHeader">
+ <h:outputText value="optionalHeader Facet" />
+ </f:facet>
+ <f:facet name="optionalFooter">
+ <h:outputText value="optionalFooter Facet" />
+ </f:facet>
+ <f:validator validatorId="org.richfaces.CalendarValidator" />
- </h:panelGrid>
-
- <h:outputText value="Current date: "/>
- <h:outputText value="#{calendarBean.currentDateAsText}" />
- <f:verbatim><br /></f:verbatim>
- <h:outputText value="Selected date: "/>
- <h:outputText value="#{calendarBean.selectedDate}" />
- <f:verbatim><br /></f:verbatim>
-
- <h:commandButton value="Submit"/>
-
-
-
- </h:form>
+ <h:panelGrid columns="2">
+ <f:verbatim>
+ <span style="padding: 2px;">{day}</span>
+ </f:verbatim>
- <h:form>
+ </h:panelGrid>
+ </rich:calendar>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="Select Locale:" />
+ <h:selectOneRadio onchange="submit()" value="en/US"
+ valueChangeListener="#{calendarBean.selectLocale}">
+ <f:selectItem itemLabel="US" itemValue="en/US" />
+ <f:selectItem itemLabel="DE" itemValue="de/DE" />
+ <f:selectItem itemLabel="FR" itemValue="fr/FR" />
+ <f:selectItem itemLabel="RU" itemValue="ru/RU" />
+ </h:selectOneRadio>
+ <h:outputText value="Popup Mode:" />
+ <h:selectBooleanCheckbox value="#{calendarBean.popup}"
+ onclick="submit()" />
+ <h:outputText value="Custom day labels:" />
+ <h:selectBooleanCheckbox value="#{calendarBean.useCustomDayLabels}"
+ onclick="submit()" />
+ <h:outputText value="Select Date Pattern:" />
+ <h:selectOneMenu value="MMM d, yyyy" onchange="submit()"
+ valueChangeListener="#{calendarBean.selectPattern}">
+ <f:selectItem itemLabel="d/M/yy" itemValue="d/M/yy" />
+ <f:selectItem itemLabel="dd/M/yy" itemValue="dd/M/yy" />
+ <f:selectItem itemLabel="d/MMM/y" itemValue="d/MMM/y" />
+ <f:selectItem itemLabel="MMM d, yyyy" itemValue="MMM d, yyyy"
/>
+ </h:selectOneMenu>
+ <h:inputText id="selectdate" />
+ <h:commandButton type="button" value="Select Date"
+ onclick="$(this.form.id+':calendar').component.selectDate(this.form[this.form.id+':selectdate'].value);"
/>
+ <h:outputText value="Select Popup Joint Point:" />
+ <h:selectOneRadio onchange="submit()"
+ value="#{calendarBean.jointPoint}"
+ valueChangeListener="#{calendarBean.selectJointPoint}">
+ <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left"
/>
+ <f:selectItem itemLabel="top-right" itemValue="top-right"
/>
+ <f:selectItem itemLabel="top-left" itemValue="top-left" />
+ </h:selectOneRadio>
+ <h:outputText value="Select Popup Direction:" />
+ <h:selectOneRadio onchange="submit()"
+ value="#{calendarBean.direction}"
+ valueChangeListener="#{calendarBean.selectDirection}">
+ <f:selectItem itemLabel="bottom-right"
itemValue="bottom-right" />
+ <f:selectItem itemLabel="bottom-left" itemValue="bottom-left"
/>
+ <f:selectItem itemLabel="top-right" itemValue="top-right"
/>
+ <f:selectItem itemLabel="top-left" itemValue="top-left" />
+ <f:selectItem itemLabel="auto" itemValue="auto" />
+ </h:selectOneRadio>
+ <h:outputText value="BoundaryDatesMode:" />
+ <h:selectOneRadio onclick="submit()"
value="#{calendarBean.boundary}">
+ <f:selectItem itemLabel="inactive" itemValue="inactive" />
+ <f:selectItem itemLabel="select" itemValue="select" />
+ <f:selectItem itemLabel="scroll" itemValue="scroll" />
+ </h:selectOneRadio>
+ <h:outputText value="EnableManualInput:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.enableManualInput}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+ <h:outputText value="ShowInput:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{calendarBean.showInput}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
+
+
+
+ </h:panelGrid>
+
+ <h:outputText value="Current date: " />
+ <h:outputText value="#{calendarBean.currentDateAsText}" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+ <h:outputText value="Selected date: " />
+ <h:outputText value="#{calendarBean.selectedDate}" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
+
+ <h:commandButton value="Submit" />
+ <f:verbatim>
+ <br />
+ </f:verbatim>
<h:commandLink value="Back"
action="main"></h:commandLink>
- </h:form>
- </body>
-</f:view>
-</html>
+</h:form>
+
Modified:
trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++
trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSlider.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,12 +1,10 @@
-<!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:f="http://java.sun.com/jsf/core"
+ <a4j:form id="form1" reRender="list-body"
ajaxSubmit="true"
+ ignoreDupResponses="true" requestDelay="100"
+
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:rich="http://richfaces.org/rich">
-<f:view>
- <head>
- <title></title>
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
<style type="text/css">
body{
@@ -49,16 +47,8 @@
.list-table2{
border:1px solid #bed6f8;
}
-
-
-
</style>
-
- </head>
- <body>
- <a4j:form id="form1" reRender="list-body"
ajaxSubmit="true"
- ignoreDupResponses="true" requestDelay="100">
-
+
<a4j:region id="stat1">
<a4j:outputPanel id="slider-body">
@@ -131,10 +121,5 @@
</h:dataTable>
</a4j:outputPanel>
</a4j:region>
+ <h:commandLink value="Back"
action="main"></h:commandLink>
</a4j:form>
- <h:form>
- <h:commandLink value="Back"
action="main"></h:commandLink>
- </h:form>
- </body>
-</f:view>
-</html>
Modified: trunk/test-applications/facelets/src/main/webapp/DradAndDrop/DragAndDrop.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/DradAndDrop/DragAndDrop.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++
trunk/test-applications/facelets/src/main/webapp/DradAndDrop/DragAndDrop.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,13 +1,9 @@
-<!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"
+ <h:form id="form"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:h="http://java.sun.com/jsf/html">
-<f:view>
- <head>
- <title></title>
- <style type="text/css">
+ <style type="text/css">
.dropzoneDecoration {
width: 70px; height: 70px; border: 2px dotted navy;
}
@@ -22,13 +18,6 @@
padding: 10px;
}
</style>
- </head>
- <body>
- <h:form id="form">
- <rich:panel>
- <h:selectOneRadio binding="#{skinBean.component}" />
- <h:commandLink action="#{skinBean.change}" value="set skin"
/>
- </rich:panel>
<h:panelGroup id="dragValueText">
<h:outputText value="#{dndBean.dragValue}" />
@@ -199,6 +188,4 @@
<h:messages />
</a4j:outputPanel>
</h:form>
- </body>
-</f:view>
-</html>
+
Modified: trunk/test-applications/facelets/src/main/webapp/DropDownMenu/DDMenu.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/DropDownMenu/DDMenu.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/DropDownMenu/DDMenu.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,21 +1,15 @@
-<!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"
+ <h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:c="http://java.sun.com/jsp/jstl/core">
-<f:view>
- <head>
<style>
.mousemove {
border: 3px dotted green;
padding: 5px;
}
</style>
- </head>
- <body>
- <h:form>
<h:panelGrid columns="3">
<h:panelGrid columns="2">
<h:outputText value="HideDelay (ms):" />
@@ -163,6 +157,4 @@
<a4j:log></a4j:log>
</h:form>
- </body>
-</f:view>
-</html>
+
Modified: trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Effect/Effect.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,15 +1,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:h="http://java.sun.com/jsf/html"
+ <h:form
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.ajax4jsf.org/rich"
-
xmlns:a4j="http://richfaces.org/a4j">
-
-<f:view contentType="text/html">
-
- <body onload="hideFrm1(),hideFrm2(),hideFrm3(),hideFrm4(),hideFrm5()">
- <h:messages />
- <h:form id="indexID">
+
xmlns:a4j="http://richfaces.org/a4j"
onsubmit="hideFrm1(),hideFrm2(),hideFrm3(),hideFrm4(),hideFrm5()">
+ <rich:panel id="indexID">
<h:outputText value="Menu:" />
<h:panelGrid columns="2">
<h:outputText value="1." />
@@ -42,9 +35,9 @@
Components.</font></span>
</f:verbatim>
</h:panelGrid>
- </h:form>
+ </rich:panel>
- <h:form id="frm1">
+ <rich:panel id="frm1">
<h:outputText value="JSF Components:" />
<h:panelGrid id="panGrID" columns="2">
@@ -109,9 +102,9 @@
<br />
<span onclick="hideFrm1(),showIndexID()"><font
color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm2">
+ <rich:panel id="frm2">
<h:outputText
value="JSF Component with Event and non-jsf target (onclick, onmouseout)"
/>
@@ -138,9 +131,9 @@
<br />
<span onclick="hideFrm2(),showIndexID()"><font
color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm3">
+ <rich:panel id="frm3">
<h:outputText
value="JSF Component with Event and jsf target (onclick, onmouseout)" />
@@ -164,9 +157,9 @@
<br />
<span onclick="hideFrm3(),showIndexID()"><font
color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm4">
+ <rich:panel id="frm4">
<h:outputText value="1. (Event 2)" />
<h:graphicImage id="img_1_ID" value="/pics/asus.jpg"
width="200px"
height="150px" />
@@ -196,10 +189,10 @@
<br />
<span onclick="hideFrm4(),showIndexID()"><font
color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
- <h:form id="frm5">
- <h:panelGrid id="panGrID" columns="2">
+ <rich:panel id="frm5">
+ <h:panelGrid id="panelGrdID" columns="2">
<f:verbatim>
<span onclick="hideRichPanel()"><font
color="blue">Hide
Panel</font> </span>
@@ -271,7 +264,7 @@
<br />
<span onclick="hideFrm5(),showIndexID()"><font
color="blue">Close</font></span>
</f:verbatim>
- </h:form>
+ </rich:panel>
<rich:effect for="indexID" name="hideIndexID"
type="SlideUp" />
@@ -295,10 +288,8 @@
<rich:effect for="backFrmID" name="hideBackFrm"
type="Fade" />
<rich:effect for="backFrmID" name="showBackFrm"
type="Appear" />
- <h:form id="backFrmID">
+ <rich:panel id="backFrmID">
<h:commandLink value="Back"
action="main"></h:commandLink>
-
- </h:form>
- </body>
-</f:view>
-</html>
+ </rich:panel>
+</h:form>
+
Modified: trunk/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml 2007-09-06 18:16:01
UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Gmap/Gmap.xhtml 2007-09-06 18:30:12
UTC (rev 2802)
@@ -1,16 +1,10 @@
-<!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"
+ <h:form
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
-
-<f:view contentType="text/html">
-
- <body>
- <h:form>
<rich:gmap id="gm" lat="37.97" zoom="#{gmap.zoom}"
gmapVar="map"
gmapKey="ABQIAAAAxU6W9QEhFLMNdc3ATIu-VxT2yXp_ZAY8_ufC3CFXhHIE1NvwkxRkrpOGzxH8_ud3inE9pG1845-FCA"
style="width:500px;height:400px"
@@ -110,6 +104,3 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
- </body>
-</f:view>
-</html>
\ No newline at end of file
Modified: trunk/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Insert/Insert.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,14 +1,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"
+ <h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
-<f:view>
- <head>
- </head>
- <body>
- <h:form>
<h:messages />
<rich:panel id="panelID" header="Highlight: #{insert.highlight};
File: #{insert.src}">
@@ -49,7 +43,4 @@
<h:selectBooleanCheckbox value="#{insert.rendered}"
onchange="submit();"/>
</h:panelGrid>
<h:commandLink value="Back"
action="main"></h:commandLink>
- </h:form>
- </body>
-</f:view>
-</html>
\ No newline at end of file
+ </h:form>
\ No newline at end of file
Modified: trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Message/Message.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,15 +1,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"
+ <h:form
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-<f:view>
- <head>
- <link rel="stylesheet" type="text/css"
href="/styles/app.css" />
- </head>
- <body>
- <h:form>
<rich:panel>
<h:panelGrid columns="2">
<h:outputText value="1." />
@@ -165,11 +158,8 @@
</h:outputText>
</rich:messages>
</rich:panel>
- </h:form>
- <h:form>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
- </body>
-</f:view>
-</html>
-
Modified: trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++
trunk/test-applications/facelets/src/main/webapp/ModalPanel/ModalPanel.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,17 +1,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"
+ <h:form id="MPform"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
-<f:view>
- <head>
- <link rel="stylesheet"
- href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
- type="text/css" />
- </head>
- <body>
- <h:form id="MPform">
<rich:modalPanel id="MPid" minHeight="#{modalPanel.minHeight}"
minWidth="#{modalPanel.minWidth}" height="#{modalPanel.height}"
width="#{modalPanel.width}" moveable="#{modalPanel.moveable}"
@@ -72,6 +63,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
-</body>
-</f:view>
-</html>
+
Modified: trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2D.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -4,7 +4,6 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
-<f:view>
<head>
<link rel="stylesheet"
href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
@@ -99,5 +98,5 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</body>
-</f:view>
+
</html>
Modified: trunk/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml 2007-09-06 18:16:01
UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Panel/Panel.xhtml 2007-09-06 18:30:12
UTC (rev 2802)
@@ -1,16 +1,9 @@
-<!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"
+ <h:form
xmlns:rich="http://richfaces.org/rich"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:c="http://java.sun.com/jstl/core">
-<f:view>
- <head>
- </head>
- <body>
- <h:form>
- <h:messages></h:messages>
<h:outputText
value="Panel 1, rendered: #{!panel.rendered}; Panel 2, rendered
#{panel.rendered};"></h:outputText>
@@ -18,7 +11,7 @@
<rich:panel rendered="#{!panel.rendered}" id="p1"
style="width:#{panel.width};height:#{panel.height};overflow:auto;">
<f:facet name="header">
- <h:outputText id="t1" value="#{panel.title[0]} (Panel
1)" />
+ <h:outputText id="t1" value="#{panel.title[0]} (Panel 1)"
/>
</f:facet>
<rich:panel>
@@ -76,6 +69,5 @@
<br />
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
- </body>
-</f:view>
-</html>
+
+
Modified: trunk/test-applications/facelets/src/main/webapp/Panel/panel2.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Panel/panel2.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Panel/panel2.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,14 +1,10 @@
-<!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"
+ <h:form
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
-
-<f:view>
- <head>
- <style>
+ <style>
.panel {
vertical-align:top;
}
@@ -52,9 +48,6 @@
}
</style>
- </head>
- <body>
- <h:form>
<h:panelGrid columnClasses="panel" border="0"
columns="3">
<rich:panel styleClass="top">
<f:facet name="header">
@@ -143,10 +136,9 @@
<h:outputText value="inside the form" />
</h:form>
</rich:panel>
- </h:form>
- <h:form>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
<h:commandLink value="Back to Panel"
action="BackP"></h:commandLink>
</h:form>
- </body>
-</f:view>
-</html>
+
Modified: trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/PanelBar/PanelBar.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,18 +1,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"
+ <h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich">
-<f:view>
- <head>
- <link rel="stylesheet"
- href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
- type="text/css" />
- </head>
-
- <body>
- <h:form>
<h:messages></h:messages>
<rich:panelBar id="pBId" height="#{panelBar.height}"
@@ -78,6 +68,3 @@
</h:panelGrid>
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
- </body>
-</f:view>
-</html>
Modified: trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/PanelMenu/PanelMenu.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,29 +1,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"
+ <h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich">
-
-
-<head>
-<style>
- .sPanel
- {
- background: gray;
- }
- .body
- {
- background-color: pink;
- border: green 3px solid;
- background: gray;
- }
- </style>
-</head>
-
-<body>
-<f:view>
- <h:form>
<rich:panelMenu id="panelMenuID"
disabled="#{panelMenu.disabled}"
width="#{panelMenu.width}" selectedChild="thisChild"
expandSingle="#{panelMenu.expandSingle}" mode="#{panelMenu.mode}"
@@ -560,6 +539,3 @@
</f:verbatim>
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
-</f:view>
-</body>
-</html>
Modified:
trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++
trunk/test-applications/facelets/src/main/webapp/ScrollableDataTable/ScrollableDataTable.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,13 +1,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"
+ <h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
-<f:view>
- <head></head>
- <body>
- <h:form>
<rich:scrollableDataTable var="sdt" value="#{scrollableDT.data}"
rows="30" width="400px">
<rich:column width="100px" sortable="false">
@@ -38,7 +33,4 @@
<h:outputText value="#{sdt.data3}" />
</rich:column>
</rich:scrollableDataTable>
- </h:form>
- </body>
-</f:view>
-</html>
\ No newline at end of file
+ </h:form>
\ No newline at end of file
Modified: trunk/test-applications/facelets/src/main/webapp/Separator/Separator.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Separator/Separator.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Separator/Separator.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,19 +1,10 @@
-<!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"
+ <h:form
xmlns:rich="http://richfaces.org/rich"
xmlns:scriptfree="http://jakarta.apache.org/taglibs/standard/scriptf...
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:c="http://java.sun.com/jstl/core">
-<f:view>
- <head>
- <link rel="stylesheet"
- href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
- type="text/css" />
- </head>
- <body>
- <h:form>
<h:messages></h:messages>
<h:outputText value="Event:"></h:outputText>
<rich:separator height="20px" width="300px"
@@ -71,8 +62,4 @@
value="#{separator.btnLabel}" />
</h:panelGrid>
<h:commandLink value="Back"
action="main"></h:commandLink>
-
</h:form>
- </body>
-</f:view>
-</html>
Modified:
trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++
trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,11 +1,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"
+ <h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
-<f:view>
- <head>
<style type="text/css">
.head
{
@@ -16,11 +13,6 @@
background-color: pink;
}
</style>
- </head>
- <body>
- <h:messages></h:messages>
- <h:form>
-
<rich:simpleTogglePanel id="sTP" bodyClass="body"
headerClass="head"
label="simpleTogglePanel with some text"
width="#{simpleTogglePanel.width}"
@@ -107,6 +99,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
- </body>
-</f:view>
-</html>
+
Modified: trunk/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Spacer/Spacer.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,12 +1,9 @@
-<!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"
+ <h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:sql="http://java.sun.com/jsp/jstl/sql">
-<f:view>
- <head>
<style type="text/css">
.text
{
@@ -17,11 +14,6 @@
background-color: aqua;
}
</style>
- </head>
- <body>
-
- <h:messages></h:messages>
- <h:form>
<h:outputText value="Event:"></h:outputText>
<rich:spacer id="spacerIdEven" rendered="#{spacer.rendered}"
style="border: 3px solid red; background: blue;"
@@ -62,6 +54,3 @@
</f:verbatim>
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
- </body>
-</f:view>
-</html>
Modified:
trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++
trunk/test-applications/facelets/src/main/webapp/SuggestionBox/SuggestionBox.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,16 +1,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"
+ <h:form id="suggestionbox_form"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
-<f:view>
- <head>
- <title></title>
- </head>
-
- <body>
- <h:form id="suggestionbox_form">
<f:verbatim>Suggestion Box will suggest you Town's names if it's started
with the "a" or "A" letter
<br />
</f:verbatim>
@@ -132,7 +124,3 @@
</h:panelGrid>
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
-
- </body>
-</f:view>
-</html>
Modified: trunk/test-applications/facelets/src/main/webapp/TabPanel/TabPanel.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/TabPanel/TabPanel.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/TabPanel/TabPanel.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,15 +1,10 @@
-<!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"
+<h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:c="http://java.sun.com/jsp/jstl/core">
-<f:view>
-<head>
-<link rel="stylesheet"
- href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
- type="text/css" />
+
<style type="text/css">
.text
{
@@ -20,13 +15,8 @@
border: thick;
background-color: green
}
-
</style>
-</head>
-<body>
-<h:form>
- <h:messages></h:messages>
-
+
<rich:tabPanel id="tabPanelId"
headerAlignment="#{tabPanel.headerAlignment}"
width="#{tabPanel.width}" height="#{tabPanel.height}"
@@ -132,6 +122,3 @@
</h:panelGrid>
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
-</body>
-</f:view>
-</html>
Modified: trunk/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++
trunk/test-applications/facelets/src/main/webapp/TogglePanel/TogglePanel.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,17 +1,10 @@
-<!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"
+
+ <h:form id="tooggleTest"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:ui="http://java.sun.com/jsf/facelets">
-<f:view>
- <head></head>
-
- <body>
- <h:form id="tooggleTest">
- <h:messages></h:messages>
-
<rich:togglePanel id="panel1"
switchType="#{togglePanel.switchType}"
initialState="asus" stateOrder="asus,blank"
style="width:300px!important">
@@ -170,9 +163,10 @@
</rich:panel>
</f:facet>
</rich:togglePanel>
-
- <br />
- <br />
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
<rich:separator height="5px" width="500px" />
<h:panelGrid columns="2" cellpadding="5px"
cellspacing="5px">
@@ -204,6 +198,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
<ui:debug hotkey="L"></ui:debug>
</h:form>
- </body>
-</f:view>
-</html>
+
Modified: trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/ToolBar/ToolBar.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,17 +1,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"
+ <h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
-<f:view>
- <head>
- <link rel="stylesheet"
- href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
- type="text/css "></link>
- </head>
- <body>
- <h:form>
<h:messages></h:messages>
<rich:toolBar id="toolBarId" width="#{toolBar.width}"
@@ -67,6 +58,3 @@
</h:panelGrid>
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
- </body>
-</f:view>
-</html>
Modified: trunk/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Tooltip/Tooltip.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,14 +1,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"
+ <h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
-<f:view>
- <head>
- </head>
- <body>
- <h:form>
<h:messages></h:messages>
<h:outputText value="DEFAULT VALUE:"></h:outputText>
@@ -141,10 +135,9 @@
<!-- h:inputText value="ddd"
onclick="toolTipAttach();alert(document.getElementById('lkjl'))"
/-->
- </h:form>
- <h:form>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
- </body>
-</f:view>
-</html>
+
Modified: trunk/test-applications/facelets/src/main/webapp/Tree/Tree.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Tree/Tree.xhtml 2007-09-06 18:16:01
UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/Tree/Tree.xhtml 2007-09-06 18:30:12
UTC (rev 2802)
@@ -1,17 +1,9 @@
-<!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"
+ <h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:dnd="http://richfaces.ajax4jsf.org/drag-drop">
-<f:view>
- <head>
- <meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" />
- <title>Tree</title>
- </head>
- <body>
- <h:form>
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
@@ -128,6 +120,3 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
- </body>
-</f:view>
-</html>
Modified:
trunk/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++
trunk/test-applications/facelets/src/main/webapp/VirtualEarth/VirtualEarth.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,14 +1,10 @@
-<!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"
+ <h:form
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
-<f:view contentType="text/html">
- <body>
- <h:form>
<h:panelGrid columns="2">
<rich:virtualEarth style="width:800px;" id="gm"
lat="37.97"
dashboardSize="Normal" zoom="#{virtualEarth.zoom}"
mapStyle="Hybrid"
@@ -76,11 +72,8 @@
}
</script>
</a4j:outputPanel>
- </h:form>
- <h:form>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
- </body>
- </f:view>
-</html>
-
Property changes on: trunk/test-applications/facelets/src/main/webapp/WEB-INF
___________________________________________________________________
Name: svn:ignore
- classes
lib
+ classes
lib
*.jsfdia
Modified: trunk/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml 2007-09-06
18:16:01 UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -5,6 +5,10 @@
<navigation-rule>
<from-view-id>/pages/main.xhtml</from-view-id>
<navigation-case>
+ <from-outcome>TestDiv</from-outcome>
+ <to-view-id>/pages/Div.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
<from-outcome>Spinner</from-outcome>
<to-view-id>/inputNumberSpinner/inputNumberSpinner.xhtml</to-view-id>
</navigation-case>
@@ -109,13 +113,13 @@
<to-view-id>/Insert/Insert.xhtml</to-view-id>
</navigation-case>
<navigation-case>
- <from-outcome>TestDiv</from-outcome>
- <to-view-id>/Div/Div.xhtml</to-view-id>
- </navigation-case>
- <navigation-case>
<from-outcome>SDT</from-outcome>
<to-view-id>/ScrollableDataTable/ScrollableDataTable.xhtml</to-view-id>
</navigation-case>
+ <navigation-case>
+ <from-outcome>Test</from-outcome>
+ <to-view-id>/pages/Test.xhtml</to-view-id>
+ </navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/Panel/Panel.xhtml</from-view-id>
Modified:
trunk/test-applications/facelets/src/main/webapp/inputNumberSlider/inputNumberSlider.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/inputNumberSlider/inputNumberSlider.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++
trunk/test-applications/facelets/src/main/webapp/inputNumberSlider/inputNumberSlider.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,19 +1,9 @@
-<!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"
+
+ <h:form
xmlns:a4j="http://richfaces.org/a4j"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
-<f:view>
- <head>
- <link rel="stylesheet"
- href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
- type="text/css" />
-
- </head>
- <body>
- <h:messages></h:messages>
- <h:form>
<h:outputText value="Event:"></h:outputText>
<rich:inputNumberSlider minValue="0" maxValue="100"
width="300px"
onmousedown="alert('OnMouseDown');"></rich:inputNumberSlider>
@@ -105,10 +95,9 @@
</a4j:commandButton>
</h:panelGrid>
- </h:form>
- <h:form>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
- </body>
-</f:view>
-</html>
+
Modified:
trunk/test-applications/facelets/src/main/webapp/inputNumberSpinner/inputNumberSpinner.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/inputNumberSpinner/inputNumberSpinner.xhtml 2007-09-06
18:16:01 UTC (rev 2801)
+++
trunk/test-applications/facelets/src/main/webapp/inputNumberSpinner/inputNumberSpinner.xhtml 2007-09-06
18:30:12 UTC (rev 2802)
@@ -1,20 +1,10 @@
-<!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"
+ <h:form
xmlns:rich="http://richfaces.org/rich"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:scriptfree="http://jakarta.apache.org/taglibs/standard/scriptf...
-<f:view>
- <head>
- <title></title>
- <link rel="stylesheet"
- href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
- type="text/css "></link>
- </head>
- <body>
- <h:form>
<h:messages></h:messages>
<h:outputText value="Event:"></h:outputText>
<rich:inputNumberSpinner minValue="0" maxValue="10"
@@ -88,7 +78,4 @@
value="#{inputNumberSpinner.btnLabel}" />
</h:panelGrid>
<h:commandLink value="Back"
action="main"></h:commandLink>
- </h:form>
- </body>
-</f:view>
-</html>
+ </h:form>
\ No newline at end of file
Copied: trunk/test-applications/facelets/src/main/webapp/pages/Div.xhtml (from rev 2700,
trunk/test-applications/facelets/src/main/webapp/Div/Div.xhtml)
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/pages/Div.xhtml
(rev 0)
+++ trunk/test-applications/facelets/src/main/webapp/pages/Div.xhtml 2007-09-06 18:30:12
UTC (rev 2802)
@@ -0,0 +1,85 @@
+<!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:a4j="http://richfaces.org/a4j"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+<f:view>
+ <head>
+ <title></title>
+ <link rel="stylesheet"
+ href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
+ type="text/css" />
+ </head>
+ <body>
+ <div id="div_1_ID" style="position: relative;
left:${divBean.left[0]}; top:${divBean.top[0]}; z-index:1;">
+ <div id="div_2_ID" style="position: absolute;
left:${divBean.left[1]}; top:${divBean.top[1]};">
+ <ui:include src="${divBean.src}" />
+ </div>
+ </div>
+
+ <h:form id="forvDivOpthID" style="z-index:5">
+ <div id="divOpthID" style="position:relative"
align="right">
+ <h:panelGrid columns="2">
+ <h:outputText value="Select component:" />
+ <h:selectOneMenu value="#{divBean.src}">
+ <f:selectItem itemValue="/Calendar/Calendar.xhtml"
itemLabel="Calendar" />
+ <f:selectItem itemValue="/DataFilterSlider/DataFilterSlider.xhtml"
itemLabel="Data Filter Slider" />
+ <f:selectItem itemValue="/DataScroller/DS.xhtml" itemLabel="Date
Scroller" />
+ <f:selectItem itemValue="/DradAndDrop/DragAndDrop.xhtml"
itemLabel="Drag And Drop" />
+ <f:selectItem itemValue="/DropDownMenu/DDMenu.xhtml"
itemLabel="Drop Down Menu" />
+ <f:selectItem itemValue="/Effect/Effect.xhtml"
itemLabel="Effect" />
+ <f:selectItem itemValue="/Gmap/Gmap.xhtml" itemLabel="Gmap"
/>
+ <f:selectItem itemValue="/inputNumberSlider/inputNumberSlider.xhtml"
itemLabel="Input Number Slider" />
+ <f:selectItem itemValue="/inputNumberSpinner/inputNumberSpinner.xhtml"
itemLabel="Input Number Spinner" />
+ <f:selectItem itemValue="/Insert/Insert.xhtml"
itemLabel="Insert" />
+ <f:selectItem itemValue="/Message/Message.xhtml"
itemLabel="Message" />
+ <f:selectItem itemValue="/ModalPanel/ModalPanel.xhtml"
itemLabel="Modal Panel" />
+ <f:selectItem itemValue="/Paint2D/Paint2D.xhtml"
itemLabel="Paint2D" />
+ <f:selectItem itemValue="/Panel/Panel.xhtml"
itemLabel="Panel" />
+ <f:selectItem itemValue="/Panel/panel2.xhtml"
itemLabel="Panel2" />
+ <f:selectItem itemValue="/PanelBar/PanelBar.xhtml"
itemLabel="Panel Bar" />
+ <f:selectItem itemValue="/PanelMenu/PanelMenu.xhtml"
itemLabel="Panel Menu" />
+ <f:selectItem itemValue="/Separator/Separator.xhtml"
itemLabel="Separator" />
+ <f:selectItem itemValue="/SimpleTogglePanel/SimpleTogglePanel.xhtml"
itemLabel="Simple Toggle Panel" />
+ <f:selectItem itemValue="/Spacer/Spacer.xhtml"
itemLabel="Spacer" />
+ <f:selectItem itemValue="/SuggestionBox/SuggestionBox.xhtml"
itemLabel="Suggestion Box" />
+ <f:selectItem itemValue="/TabPanel/TabPanel.xhtml" itemLabel="Tab
Panel" />
+ <f:selectItem itemValue="/TogglePanel/TogglePanel.xhtml"
itemLabel="Toggle Panel" />
+ <f:selectItem itemValue="/ToolBar/ToolBar.xhtml" itemLabel="Tool
Bar" />
+ <f:selectItem itemValue="/Tooltip/Tooltip.xhtml"
itemLabel="Tooltip" />
+ <f:selectItem itemValue="/Tree/Tree.xhtml" itemLabel="Tree"
/>
+ <f:selectItem itemValue="/VirtualEarth/VirtualEarth.xhtml"
itemLabel="Virtual Earth" />
+ </h:selectOneMenu>
+
+ <h:commandLink value="Submit"
action="submit();"></h:commandLink>
+ <f:verbatim></f:verbatim>
+
+ <h:outputText value="div 1 left:" />
+ <h:inputText value="#{divBean.left[0]}" >
+ <a4j:support event="onchange"
action="submit();"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="div 1 top:" />
+ <h:inputText value="#{divBean.top[0]}" >
+ <a4j:support event="onchange"
action="submit();"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="div 2 left:" />
+ <h:inputText value="#{divBean.left[1]}" >
+ <a4j:support event="onchange"
action="submit();"></a4j:support>
+ </h:inputText>
+
+
+ <h:outputText value="div 2 top:" />
+ <h:inputText value="#{divBean.top[1]}" >
+ <a4j:support event="onchange"
action="submit();"></a4j:support>
+ </h:inputText>
+ </h:panelGrid>
+ <h:commandLink value="Back"
action="main"></h:commandLink>
+ </div>
+ </h:form>
+ </body>
+</f:view>
+</html>
\ No newline at end of file
Added: trunk/test-applications/facelets/src/main/webapp/pages/Test.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/pages/Test.xhtml
(rev 0)
+++ trunk/test-applications/facelets/src/main/webapp/pages/Test.xhtml 2007-09-06 18:30:12
UTC (rev 2802)
@@ -0,0 +1,82 @@
+<!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:a4j="http://richfaces.org/a4j"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+<f:view>
+ <head>
+ <title></title>
+ <link rel="stylesheet"
+ href="#{facesContext.externalContext.requestContextPath}/styles/styles.css"
+ type="text/css" />
+ </head>
+ <body>
+
+ <ui:include src="${divBean.src}" />
+
+ <h:form id="forvDivOpthID" style="z-index:5">
+ <div id="divOpthID" style="position:relative"
align="right">
+ <h:panelGrid columns="2">
+ <h:outputText value="Select component:" />
+ <h:selectOneMenu value="#{divBean.src}">
+ <f:selectItem itemValue="/Calendar/Calendar.xhtml"
itemLabel="Calendar" />
+ <f:selectItem itemValue="/DataFilterSlider/DataFilterSlider.xhtml"
itemLabel="Data Filter Slider" />
+ <f:selectItem itemValue="/DataScroller/DS.xhtml" itemLabel="Date
Scroller" />
+ <f:selectItem itemValue="/DradAndDrop/DragAndDrop.xhtml"
itemLabel="Drag And Drop" />
+ <f:selectItem itemValue="/DropDownMenu/DDMenu.xhtml"
itemLabel="Drop Down Menu" />
+ <f:selectItem itemValue="/Effect/Effect.xhtml"
itemLabel="Effect" />
+ <f:selectItem itemValue="/Gmap/Gmap.xhtml" itemLabel="Gmap"
/>
+ <f:selectItem itemValue="/inputNumberSlider/inputNumberSlider.xhtml"
itemLabel="Input Number Slider" />
+ <f:selectItem itemValue="/inputNumberSpinner/inputNumberSpinner.xhtml"
itemLabel="Input Number Spinner" />
+ <f:selectItem itemValue="/Insert/Insert.xhtml"
itemLabel="Insert" />
+ <f:selectItem itemValue="/Message/Message.xhtml"
itemLabel="Message" />
+ <f:selectItem itemValue="/ModalPanel/ModalPanel.xhtml"
itemLabel="Modal Panel" />
+ <f:selectItem itemValue="/Paint2D/Paint2D.xhtml"
itemLabel="Paint2D" />
+ <f:selectItem itemValue="/Panel/Panel.xhtml"
itemLabel="Panel" />
+ <f:selectItem itemValue="/Panel/panel2.xhtml"
itemLabel="Panel2" />
+ <f:selectItem itemValue="/PanelBar/PanelBar.xhtml"
itemLabel="Panel Bar" />
+ <f:selectItem itemValue="/PanelMenu/PanelMenu.xhtml"
itemLabel="Panel Menu" />
+ <f:selectItem itemValue="/Separator/Separator.xhtml"
itemLabel="Separator" />
+ <f:selectItem itemValue="/SimpleTogglePanel/SimpleTogglePanel.xhtml"
itemLabel="Simple Toggle Panel" />
+ <f:selectItem itemValue="/Spacer/Spacer.xhtml"
itemLabel="Spacer" />
+ <f:selectItem itemValue="/SuggestionBox/SuggestionBox.xhtml"
itemLabel="Suggestion Box" />
+ <f:selectItem itemValue="/TabPanel/TabPanel.xhtml" itemLabel="Tab
Panel" />
+ <f:selectItem itemValue="/TogglePanel/TogglePanel.xhtml"
itemLabel="Toggle Panel" />
+ <f:selectItem itemValue="/ToolBar/ToolBar.xhtml" itemLabel="Tool
Bar" />
+ <f:selectItem itemValue="/Tooltip/Tooltip.xhtml"
itemLabel="Tooltip" />
+ <f:selectItem itemValue="/Tree/Tree.xhtml" itemLabel="Tree"
/>
+ <f:selectItem itemValue="/VirtualEarth/VirtualEarth.xhtml"
itemLabel="Virtual Earth" />
+ </h:selectOneMenu>
+
+ <h:commandLink value="Submit"
action="submit();"></h:commandLink>
+ <f:verbatim></f:verbatim>
+
+ <h:outputText value="div 1 left:" />
+ <h:inputText value="#{divBean.left[0]}" >
+ <a4j:support event="onchange"
action="submit();"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="div 1 top:" />
+ <h:inputText value="#{divBean.top[0]}" >
+ <a4j:support event="onchange"
action="submit();"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="div 2 left:" />
+ <h:inputText value="#{divBean.left[1]}" >
+ <a4j:support event="onchange"
action="submit();"></a4j:support>
+ </h:inputText>
+
+
+ <h:outputText value="div 2 top:" />
+ <h:inputText value="#{divBean.top[1]}" >
+ <a4j:support event="onchange"
action="submit();"></a4j:support>
+ </h:inputText>
+ </h:panelGrid>
+ <h:commandLink value="Back"
action="main"></h:commandLink>
+ </div>
+ </h:form>
+ </body>
+</f:view>
+</html>
\ No newline at end of file
Modified: trunk/test-applications/facelets/src/main/webapp/pages/main.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/pages/main.xhtml 2007-09-06 18:16:01
UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/pages/main.xhtml 2007-09-06 18:30:12
UTC (rev 2802)
@@ -19,34 +19,8 @@
style="font-size: 30px"></h:outputText></div>
<rich:panel>
<h:panelGrid columns="2" cellpadding="5px"
cellspacing="5px">
- <h:commandLink value="inputNumberSpinner"
action="Spinner"></h:commandLink>
- <h:commandLink value="inputNumberSlider"
action="Slide"></h:commandLink>
- <h:commandLink value="Panel"
action="Panel"></h:commandLink>
- <h:commandLink value="PanelBar"
action="PanelBar"></h:commandLink>
- <h:commandLink value="Gmap"
action="Gmap"></h:commandLink>
- <h:commandLink value="Virtual Earth"
action="VirtualEarth"></h:commandLink>
- <h:commandLink action="Separ"
value="Separator"></h:commandLink>
- <h:commandLink value="Spacer"
action="Spacer"></h:commandLink>
- <h:commandLink value="SimpleTogglePanel"
action="sTP"></h:commandLink>
- <h:commandLink value="TabPanel"
action="TabPanel"></h:commandLink>
- <h:commandLink value="SuggestionBox"
action="Suggest"></h:commandLink>
- <h:commandLink value="Paint2D"
action="Paint"></h:commandLink>
- <h:commandLink value="Tree"
action="Tree"></h:commandLink>
- <h:commandLink value="TogglePanel"
action="TogglePanel"></h:commandLink>
- <h:commandLink value="ToolBar"
action="ToolBar"></h:commandLink>
- <h:commandLink value="Drag and Drop"
action="dnd"></h:commandLink>
- <h:commandLink value="Data Scroller"
action="DS"></h:commandLink>
- <h:commandLink value="Drop Down Menu"
action="DDMenu"></h:commandLink>
- <h:commandLink value="Data Filter Slider"
action="DFS"></h:commandLink>
- <h:commandLink value="Panel Menu"
action="PanelMenu"></h:commandLink>
- <h:commandLink value="Modal Panel"
action="ModalPanel"></h:commandLink>
- <h:commandLink value="Tooltip"
action="Tooltip"></h:commandLink>
- <h:commandLink value="Calendar"
action="Calendar"></h:commandLink>
- <h:commandLink value="Message"
action="Message"></h:commandLink>
- <h:commandLink value="Effect"
action="Effect"></h:commandLink>
- <h:commandLink value="Insert"
action="Insert"></h:commandLink>
<h:commandLink value="Test Div"
action="TestDiv"></h:commandLink>
- <h:commandLink value="ScrollableDataTable"
action="SDT"></h:commandLink>
+ <h:commandLink value="Test"
action="Test"></h:commandLink>
</h:panelGrid>
</rich:panel>
</h:form>
Modified: trunk/test-applications/facelets/src/main/webapp/styles/styles.css
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/styles/styles.css 2007-09-06 18:16:01
UTC (rev 2801)
+++ trunk/test-applications/facelets/src/main/webapp/styles/styles.css 2007-09-06 18:30:12
UTC (rev 2802)
@@ -1,3 +1,32 @@
+.rich-message-label{
+ padding: 0px 10px;
+}
+
+.rich-messages-label{
+ padding: 0px 10px
+}
+
+.rich-message-marker{
+}
+
+.rich-message{
+}
+
+.errorLabel{
+ color: #FF0000;
+}
+
+.warnLabel{
+ color: #0000FF;
+}
+
+.infoLabel{
+ color: #00FF00;
+}
+
+.fatalLabel{
+ color: #FF1493;
+}
.maintext {
font-size: 30px !important;
}