Author: adubovsky
Date: 2008-12-10 11:08:47 -0500 (Wed, 10 Dec 2008)
New Revision: 11703
Modified:
trunk/test-applications/jsp/src/main/java/togglePanel/TogglePanel.java
trunk/test-applications/jsp/src/main/webapp/Editor/Editor.jsp
trunk/test-applications/jsp/src/main/webapp/PickList/PickList.jsp
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.jsp
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp
trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp
trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanelProperty.jsp
trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarthProperty.jsp
Log:
minor changes
Modified: trunk/test-applications/jsp/src/main/java/togglePanel/TogglePanel.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/togglePanel/TogglePanel.java 2008-12-10
16:07:30 UTC (rev 11702)
+++ trunk/test-applications/jsp/src/main/java/togglePanel/TogglePanel.java 2008-12-10
16:08:47 UTC (rev 11703)
@@ -1,5 +1,8 @@
package togglePanel;
+import javax.faces.event.ActionEvent;
+import javax.faces.event.ValueChangeEvent;
+
import org.richfaces.component.html.HtmlTogglePanel;
import util.componentInfo.ComponentInfo;
@@ -10,18 +13,35 @@
private String stateOrder;
private String switchType;
private HtmlTogglePanel htmlTogglePanel = null;
+ private boolean immediate = false;
public void addHtmlTogglePanel(){
ComponentInfo info = ComponentInfo.getInstance();
info.addField(htmlTogglePanel);
}
+ public void actionListener(ActionEvent e) {
+ System.out.println("!!! actionListener work !!!");
+ }
+
+ public void valueChangeListener(ValueChangeEvent e) {
+ System.out.println("!!! ValueChangeEvent work !!!");
+ }
+
public TogglePanel() {
initialState="asus";
switchType="server";
stateOrder="asus,benq,toshiba";
}
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+
public String getInitialState() {
return initialState;
}
Modified: trunk/test-applications/jsp/src/main/webapp/Editor/Editor.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Editor/Editor.jsp 2008-12-10 16:07:30 UTC
(rev 11702)
+++ trunk/test-applications/jsp/src/main/webapp/Editor/Editor.jsp 2008-12-10 16:08:47 UTC
(rev 11703)
@@ -10,7 +10,7 @@
value="#{editor.value}" width="#{editor.width}"
height="#{editor.height}" theme="#{editor.theme}"
onchange="#{event.onchange}" oninit="#{event.oninit}"
- onsave="#{event.onsave}" onsetup="#{event.onsetup}"
+ onsetup="#{event.onsetup}"
autoResize="#{editor.autoResize}" converter="#{editor.convert}"
converterMessage="converterMessage"
immediate="#{editor.immediate}"
rendered="#{editor.rendered}" required="#{editor.required}"
Modified: trunk/test-applications/jsp/src/main/webapp/PickList/PickList.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PickList/PickList.jsp 2008-12-10 16:07:30
UTC (rev 11702)
+++ trunk/test-applications/jsp/src/main/webapp/PickList/PickList.jsp 2008-12-10 16:08:47
UTC (rev 11703)
@@ -7,7 +7,7 @@
showButtonsLabel="#{pickList.showButtonLabels}"
valueChangeListener="#{pickList.valueChangeListener}"
controlClass="#{style.controlClass}"
- listClass="#{style.listClass}"
+ listClass="#{style.listClass}"
style="#{style.style}" styleClass="#{style.styleClass}"
copyAllControlLabel="#{pickList.copyAllControlLabel}"
copyControlLabel="#{pickList.copyControlLabel}"
@@ -24,7 +24,7 @@
required="#{pickList.required}"
requiredMessage="#{pickList.requiredMessage}"
onclick="#{event.onclick}"
- ondblclick="#{event.ondblclick}"
+ ondblclick="#{event.ondblclick}"
onkeydown="#{event.onkeydown}"
onkeypress="#{event.onkeypress}"
onkeyup="#{event.onkeyup}"
Modified:
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp 2008-12-10
16:07:30 UTC (rev 11702)
+++
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp 2008-12-10
16:08:47 UTC (rev 11703)
@@ -1,34 +1,48 @@
-<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j" %>
-<%@ taglib
uri="http://richfaces.org/rich" prefix="rich" %>
+<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="simpleTogglePanelSubviewID">
- <rich:simpleTogglePanel id="stpIncludeID"
switchType="client">
- <f:facet name="closeMarker">
- <h:outputText value="Close it"/>
- </f:facet>
+ <rich:simpleTogglePanel id="stpIncludeID"
switchType="client">
+ <f:facet name="closeMarker">
+ <h:outputText value="Close it" />
+ </f:facet>
- <f:facet name="openMarker">
- <h:outputText value="Open it"/>
- </f:facet>
- <h:selectOneMenu value="#{richBean.srcContainer}"
onchange="submit();">
- <f:selectItems value="#{richBean.listContainer}"/>
- </h:selectOneMenu>
- <jsp:include flush="true"
page="${richBean.pathComponentContainer}"/>
- </rich:simpleTogglePanel>
- <rich:simpleTogglePanel
binding="#{simpleTogglePanel.htmlSimpleTogglePanel}" id="sTP"
bodyClass="body" headerClass="head" label="simpleTogglePanel with
some text" action="#{simpleTogglePanel.act}"
actionListener="#{simpleTogglePanel.actListener}"
- width="#{simpleTogglePanel.width}"
height="#{simpleTogglePanel.height}"
switchType="#{simpleTogglePanel.switchType}"
- style="#{style.style}"
styleClass="#{style.styleClass}"
- oncollapse="#{event.oncollapse}"
onbeforedomupdate="#{event.onbeforedomupdate}"
onexpand="#{event.onexpand}" opened="#{event.opened}"
onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
onmouseup="#{event.onmouseup}">
- <f:facet name="closeMarker">
- <h:outputText value="Close It"/>
- </f:facet>
- <f:facet name="openMarker">
- <h:outputText value="Open It"/>
- </f:facet>
- <f:verbatim>
+ <f:facet name="openMarker">
+ <h:outputText value="Open it" />
+ </f:facet>
+ <h:selectOneMenu value="#{richBean.srcContainer}"
onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}" />
+ </h:selectOneMenu>
+ <jsp:include flush="true"
page="${richBean.pathComponentContainer}" />
+ </rich:simpleTogglePanel>
+ <rich:simpleTogglePanel
+ binding="#{simpleTogglePanel.htmlSimpleTogglePanel}" id="sTP"
+ bodyClass="body" headerClass="head"
+ label="simpleTogglePanel with some text"
+ action="#{simpleTogglePanel.act}"
+ actionListener="#{simpleTogglePanel.actListener}"
+ width="#{simpleTogglePanel.width}"
+ height="#{simpleTogglePanel.height}"
+ switchType="#{simpleTogglePanel.switchType}"
style="#{style.style}"
+ styleClass="#{style.styleClass}" oncollapse="#{event.oncollapse}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onexpand="#{event.onexpand}" opened="#{event.opened}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
+ ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" immediate="true">
+ <f:facet name="closeMarker">
+ <h:outputText value="Close It" />
+ </f:facet>
+ <f:facet name="openMarker">
+ <h:outputText value="Open It" />
+ </f:facet>
+ <f:verbatim>
Some text... Some text... Some text... Some text... Some text... Some text...
Some text... Some text...
Some text... Some text... Some text... Some text... Some text... Some text...
Some text... Some text...
Some text... Some text... Some text... Some text... Some text... Some text...
Some text... Some text...
@@ -36,27 +50,48 @@
Some text... Some text... Some text... Some text... Some text... Some text...
Some text... Some text...
Some text... Some text... Some text... Some text... Some text... Some text...
Some text... Some text...
</f:verbatim>
- <h:outputLink
value="http://www.jboss.com/"><f:verbatim>Link</f:v...
- </rich:simpleTogglePanel>
+ <h:outputLink
value="http://www.jboss.com/">
+ <f:verbatim>Link</f:verbatim>
+ </h:outputLink>
+ </rich:simpleTogglePanel>
- <rich:simpleTogglePanel id="sTP1" headerClass="head"
label="simpleTogglePanel wiht image"
width="#{simpleTogglePanel.width}" action="#{simpleTogglePanel.act}"
actionListener="#{simpleTogglePanel.actListener}"
- height="#{simpleTogglePanel.height}"
rendered="#{simpleTogglePanel.rendered}"
switchType="#{simpleTogglePanel.switchType}"
- opened="false" onclick="#{event.onclick}"
oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}"
onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}">
- <h:graphicImage value="/pics/podb109_61.jpg" width="500"
height="300"></h:graphicImage>
- </rich:simpleTogglePanel>
+ <rich:simpleTogglePanel id="sTP1" headerClass="head"
+ label="simpleTogglePanel wiht image"
+ width="#{simpleTogglePanel.width}"
action="#{simpleTogglePanel.act}"
+ actionListener="#{simpleTogglePanel.actListener}"
+ height="#{simpleTogglePanel.height}"
+ rendered="#{simpleTogglePanel.rendered}"
+ switchType="#{simpleTogglePanel.switchType}" opened="false"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
+ ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}">
+ <h:graphicImage value="/pics/podb109_61.jpg" width="500"
height="300"></h:graphicImage>
+ </rich:simpleTogglePanel>
- <rich:simpleTogglePanel id="sTP2" label="Focus
simpleTogglePanle" width="#{simpleTogglePanel.width}"
ignoreDupResponses="true" action="#{simpleTogglePanel.act}"
actionListener="#{simpleTogglePanel.actListener}"
- focus="#{simpleTogglePanel.focus}"
onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
onmouseup="#{event.onmouseup}">
- <f:facet name="closeMarker">
- <h:graphicImage
value="/pics/ajax_stoped.gif"></h:graphicImage>
- </f:facet>
- <f:facet name="openMarker">
- <h:graphicImage
value="/pics/ajax_process.gif"></h:graphicImage>
- </f:facet>
- <rich:simpleTogglePanel id="INsTP">
- <h:panelGrid columns="2">
- <h:graphicImage value="/pics/podb109_61.jpg"
width="250px" height="200px"></h:graphicImage>
- <f:verbatim>
+ <rich:simpleTogglePanel id="sTP2" label="Focus
simpleTogglePanle"
+ width="#{simpleTogglePanel.width}" ignoreDupResponses="true"
+ action="#{simpleTogglePanel.act}"
+ actionListener="#{simpleTogglePanel.actListener}"
+ focus="#{simpleTogglePanel.focus}" onclick="#{event.onclick}"
+ oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
onmouseup="#{event.onmouseup}">
+ <f:facet name="closeMarker">
+ <h:graphicImage value="/pics/ajax_stoped.gif"></h:graphicImage>
+ </f:facet>
+ <f:facet name="openMarker">
+ <h:graphicImage
value="/pics/ajax_process.gif"></h:graphicImage>
+ </f:facet>
+ <rich:simpleTogglePanel id="INsTP">
+ <h:panelGrid columns="2">
+ <h:graphicImage value="/pics/podb109_61.jpg" width="250px"
+ height="200px"></h:graphicImage>
+ <f:verbatim>
Some text... Some text... Some text... Some text... Some text... Some
text... Some text... Some text...
Some text... Some text... Some text... Some text... Some text... Some
text... Some text... Some text...
Some text... Some text... Some text... Some text... Some text... Some
text... Some text... Some text...
@@ -64,13 +99,14 @@
Some text... Some text... Some text... Some text... Some text... Some
text... Some text... Some text...
Some text... Some text... Some text... Some text... Some text... Some
text... Some text... Some text...
</f:verbatim>
- </h:panelGrid>
- </rich:simpleTogglePanel>
- </rich:simpleTogglePanel>
+ </h:panelGrid>
+ </rich:simpleTogglePanel>
+ </rich:simpleTogglePanel>
<h:panelGrid id="simpleTogglePanelActionID" columns="1">
- <a4j:commandButton value="Show action"
reRender="simpleTogglePanelActionID" style=" width :
95px;"></a4j:commandButton>
+ <a4j:commandButton value="Show action"
+ reRender="simpleTogglePanelActionID" style=" width :
95px;"></a4j:commandButton>
<h:outputText value="#{simpleTogglePanel.action}" />
<h:outputText value="#{simpleTogglePanel.actionListener}" />
- </h:panelGrid>
- <rich:spacer height="20px"></rich:spacer>
+ </h:panelGrid>
+ <rich:spacer height="20px"></rich:spacer>
</f:subview>
Modified:
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.jsp 2008-12-10
16:07:30 UTC (rev 11702)
+++
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanelProperty.jsp 2008-12-10
16:08:47 UTC (rev 11703)
@@ -4,7 +4,8 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="stpPropertySubviewID">
-<h:commandButton value="add test"
action="#{simpleTogglePanel.addHtmlSimpleTogglePanel}"></h:commandButton>
+ <h:commandButton value="add test"
+ action="#{simpleTogglePanel.addHtmlSimpleTogglePanel}"></h:commandButton>
<h:panelGrid columns="2" border="1">
<h:outputText value="Width:">
</h:outputText>
@@ -33,6 +34,7 @@
</h:panelGrid>
<br />
<br />
+ <%--
<div style="FONT-WEIGHT: bold;">rich:findComponent</div>
<h:panelGrid columns="2">
<rich:column>
@@ -42,4 +44,5 @@
<h:outputText value="#{rich:findComponent('sTP').value}" />
</rich:column>
</h:panelGrid>
+ --%>
</f:subview>
\ No newline at end of file
Modified:
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp 2008-12-10
16:07:30 UTC (rev 11702)
+++
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp 2008-12-10
16:08:47 UTC (rev 11703)
@@ -163,10 +163,12 @@
</h:panelGrid>
<br />
<br />
+ <%--
<div style="FONT-WEIGHT: bold;">rich:findComponent</div>
<h:panelGrid columns="2">
<a4j:commandLink value="getSubmitedValue"
reRender="findID"></a4j:commandLink>
<h:outputText id="findID"
value="#{rich:findComponent('suggestionBoxId').submitedValue}"/>
</h:panelGrid>
+ --%>
</f:subview>
\ No newline at end of file
Modified: trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp 2008-12-10
16:07:30 UTC (rev 11702)
+++ trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp 2008-12-10
16:08:47 UTC (rev 11703)
@@ -5,18 +5,26 @@
<f:subview id="togglePanelSubviewID">
- <rich:togglePanel id="panel1"
binding="#{togglePanel.htmlTogglePanel}"
switchType="#{togglePanel.switchType}" initialState="asus"
stateOrder="asus,blank" styleClass="#{style.styleClass}"
style="width:300px!important;#{style.style};"
- onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
onkeydown="#{event.onkeydown}"
- onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
onmousedown="#{event.onmousedown}"
- onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
- onmouseup="#{event.onmouseup}">
+ <rich:togglePanel id="panel1"
binding="#{togglePanel.htmlTogglePanel}"
+ switchType="#{togglePanel.switchType}" initialState="asus"
+ stateOrder="asus,blank" styleClass="#{style.styleClass}"
+ style="width:300px!important;#{style.style};"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ immediate="#{togglePanel.immediate}"
+ valueChangeListener="#{togglePanel.valueChangeListener}">
<f:facet name="blank">
<rich:panel>
<f:facet name="header">
<h:panelGroup>
- <rich:toggleControl id="toggleControl_blank"
for="togglePanelSubviewID:panel1">
+ <rich:toggleControl id="toggleControl_blank"
+ for="togglePanelSubviewID:panel1">
<h:outputText value="Expand" style="font-weight: bold;"
/>
- <h:graphicImage url="/pics/collapse.gif" style="border-width:
0px;" />
+ <h:graphicImage url="/pics/collapse.gif"
+ style="border-width: 0px;" />
</rich:toggleControl>
</h:panelGroup>
</f:facet>
@@ -27,16 +35,21 @@
<rich:panel style="overflow: auto">
<f:facet name="header">
<h:panelGroup>
- <rich:toggleControl id="toggleControl_panel1"
for="togglePanelSubviewID:panel1">
+ <rich:toggleControl id="toggleControl_panel1"
+ for="togglePanelSubviewID:panel1">
<h:outputText value="Collapse" style="font-weight: bold;"
/>
<h:graphicImage url="/pics/expand.gif" style="border-width:
0px;" />
</rich:toggleControl>
</h:panelGroup>
</f:facet>
- <h:panelGrid columns="2" border="0" style="width:
100%;background-color: white;">
- <h:graphicImage url="/pics/asus.jpg" height="300"
width="300" alt="asus.jpg" />
+ <h:panelGrid columns="2" border="0"
+ style="width: 100%;background-color: white;">
+ <h:graphicImage url="/pics/asus.jpg" height="300"
width="300"
+ alt="asus.jpg" />
+ <h:inputText value="input" required="true" />
<h:panelGroup>
- <h:outputText style="font: 18px;font-weight: bold;" value="Asus F
3 Tc" />
+ <h:outputText style="font: 18px;font-weight: bold;"
+ value="Asus F 3 Tc" />
<f:verbatim>
Processor: AMD Turion 64 X 2 - 1600 Mhz<br />
RAM: 1024 Mb<br />
@@ -45,7 +58,9 @@
Video: NVIDIA GeForce Go 7300<br />
Drive: DVD- RW DL<br />
</f:verbatim>
- <h:outputLink
value="http://www.jboss.com/"><f:verbatim>Link</f:v...
+ <h:outputLink
value="http://www.jboss.com/">
+ <f:verbatim>Link</f:verbatim>
+ </h:outputLink>
</h:panelGroup>
</h:panelGrid>
</rich:panel>
@@ -57,26 +72,35 @@
<br />
</f:verbatim>
- <rich:togglePanel id="panel2"
switchType="#{togglePanel.switchType}"
initialState="#{togglePanel.initialState}"
- stateOrder="#{togglePanel.stateOrder}" onclick="#{event.onclick}"
ondblclick="#{event.ondblclick}"
- onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
- onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
- onmouseup="#{event.onmouseup}">
+ <rich:togglePanel id="panel2"
switchType="#{togglePanel.switchType}"
+ initialState="#{togglePanel.initialState}"
+ stateOrder="#{togglePanel.stateOrder}" onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
immediate="#{togglePanel.immediate}">
<f:facet name="asus">
<rich:panel>
<f:facet name="header">
<h:panelGroup>
- <h:outputText value="Customizable toggle panel"
style="font-weight: bold;" />
- <rich:toggleControl id="toggleControl_panel_1"
for="togglePanelSubviewID:panel2">
+ <h:outputText value="Customizable toggle panel"
+ style="font-weight: bold;" />
+ <rich:toggleControl id="toggleControl_panel_1"
+ for="togglePanelSubviewID:panel2">
<h:outputText value="Next"></h:outputText>
<h:graphicImage url="/pics/expand.gif" style="border-width:
0px;" />
</rich:toggleControl>
</h:panelGroup>
</f:facet>
- <h:panelGrid columns="2" border="0" style="width:
100%;background-color: white;">
- <h:graphicImage url="/pics/asus.jpg" height="300"
width="300" alt="asus.jpg" />
+ <h:panelGrid columns="2" border="0"
+ style="width: 100%;background-color: white;">
+ <h:graphicImage url="/pics/asus.jpg" height="300"
width="300"
+ alt="asus.jpg" />
+ <h:inputText value="input" required="true" />
<h:panelGroup>
- <h:outputText style="font: 18px;font-weight: bold;" value="Asus F
3 Tc" />
+ <h:outputText style="font: 18px;font-weight: bold;"
+ value="Asus F 3 Tc" />
<f:verbatim>
Processor: AMD Turion 64 X 2 - 1600 Mhz<br />
RAM: 1024 Mb<br />
@@ -94,17 +118,22 @@
<rich:panel>
<f:facet name="header">
<h:panelGroup>
- <h:outputText value="Customizable toggle panel"
style="font-weight: bold;" />
- <rich:toggleControl id="toggleControl_panel_2"
for="togglePanelSubviewID:panel2">
+ <h:outputText value="Customizable toggle panel"
+ style="font-weight: bold;" />
+ <rich:toggleControl id="toggleControl_panel_2"
+ for="togglePanelSubviewID:panel2">
<h:outputText value="Next"></h:outputText>
<h:graphicImage url="/pics/expand.gif" style="border-width:
0px;" />
</rich:toggleControl>
</h:panelGroup>
</f:facet>
- <h:panelGrid columns="2" border="0" style="width:
100%;background-color: yellow;">
- <h:graphicImage url="/pics/benq.jpg" height="300"
width="300" alt="benq.jpg" />
+ <h:panelGrid columns="2" border="0"
+ style="width: 100%;background-color: yellow;">
+ <h:graphicImage url="/pics/benq.jpg" height="300"
width="300"
+ alt="benq.jpg" />
<h:panelGroup>
- <h:outputText style="font: 18px;font-weight: bold;" value="BenQ A
52" />
+ <h:outputText style="font: 18px;font-weight: bold;"
+ value="BenQ A 52" />
<f:verbatim>
Processor: Core Duo T2250 (1.73GHz)<br />
RAM: 1024 Mb<br />
@@ -122,17 +151,22 @@
<rich:panel>
<f:facet name="header">
<h:panelGroup>
- <h:outputText value="Customizable toggle panel"
style="font-weight: bold;" />
- <rich:toggleControl id="toggleControl_panel_3"
for="togglePanelSubviewID:panel2">
+ <h:outputText value="Customizable toggle panel"
+ style="font-weight: bold;" />
+ <rich:toggleControl id="toggleControl_panel_3"
+ for="togglePanelSubviewID:panel2">
<h:outputText value="Next"></h:outputText>
<h:graphicImage url="/pics/expand.gif" style="border-width:
0px;" />
</rich:toggleControl>
</h:panelGroup>
</f:facet>
- <h:panelGrid columns="2" border="0" style="width:
100%;background-color: orange;">
- <h:graphicImage url="/pics/toshiba.jpg" height="300"
width="300" alt="toshiba.jpg" />
+ <h:panelGrid columns="2" border="0"
+ style="width: 100%;background-color: orange;">
+ <h:graphicImage url="/pics/toshiba.jpg" height="300"
width="300"
+ alt="toshiba.jpg" />
<h:panelGroup>
- <h:outputText style="font: 18px;font-weight: bold;"
value="Toshiba Satellite A 100-784" />
+ <h:outputText style="font: 18px;font-weight: bold;"
+ value="Toshiba Satellite A 100-784" />
<f:verbatim>
Processor: Intel Core Duo T2250 - 1.73GHz<br />
RAM: 1024 Mb<br />
Modified: trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanelProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanelProperty.jsp 2008-12-10
16:07:30 UTC (rev 11702)
+++
trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanelProperty.jsp 2008-12-10
16:08:47 UTC (rev 11703)
@@ -30,9 +30,13 @@
<f:selectItem itemLabel="ajax" itemValue="ajax" />
<a4j:support event="onclick"
reRender="panel1,panel2"></a4j:support>
</h:selectOneRadio>
+
+ <h:outputText value="immediate:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{togglePanel.immediate}"
onchange="submit();"/>
</h:panelGrid>
<br />
<br />
+ <%--
<div style="FONT-WEIGHT: bold;">rich:findComponent</div>
<h:panelGrid columns="2">
<rich:column>
@@ -42,4 +46,5 @@
<h:outputText value="#{rich:findComponent('panel2').stateOrder}"
/>
</rich:column>
</h:panelGrid>
+ --%>
</f:subview>
\ No newline at end of file
Modified:
trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarthProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarthProperty.jsp 2008-12-10
16:07:30 UTC (rev 11702)
+++
trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarthProperty.jsp 2008-12-10
16:08:47 UTC (rev 11703)
@@ -67,6 +67,7 @@
<br />
<h:commandButton value="add test"
action="#{virtualEarth.addHtmlVirtualEarth}"></h:commandButton>
<br />
+ <%--
<div style="FONT-WEIGHT: bold;">rich:findComponent</div>
<h:panelGrid columns="2">
<rich:column>
@@ -76,4 +77,5 @@
<h:outputText
value="#{rich:findComponent('vEarthID').rendererType}" />
</rich:column>
</h:panelGrid>
+ --%>
</f:subview>
\ No newline at end of file