JBoss Rich Faces SVN: r8658 - trunk/test-applications/jsp/src/main/webapp/pages/Action.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-05-20 10:29:36 -0400 (Tue, 20 May 2008)
New Revision: 8658
Modified:
trunk/test-applications/jsp/src/main/webapp/pages/Action/EventInfo.jsp
Log:
onbeforehide,onbeforeshow
Modified: trunk/test-applications/jsp/src/main/webapp/pages/Action/EventInfo.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/Action/EventInfo.jsp 2008-05-20 13:50:48 UTC (rev 8657)
+++ trunk/test-applications/jsp/src/main/webapp/pages/Action/EventInfo.jsp 2008-05-20 14:29:36 UTC (rev 8658)
@@ -98,12 +98,13 @@
<f:verbatim><div style="position: relative"><input id="onitemhoverInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
<f:verbatim><div style="position: relative"><input id="ongroupexpandInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
<f:verbatim><div style="position: relative"><input id="oncontextmenuInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
- <f:verbatim><div style="position: relative"><input id="ongroupcollapseInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
-
+ <f:verbatim><div style="position: relative"><input id="ongroupcollapseInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
<f:verbatim><div style="position: relative"><input id="onclearInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
<f:verbatim><div style="position: relative"><input id="onuploadInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
<f:verbatim><div style="position: relative"><input id="onuploadcanceledInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
<f:verbatim><div style="position: relative"><input id="onuploadcompleteInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
<f:verbatim><div style="position: relative"><input id="onsizerejectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
<f:verbatim><div style="position: relative"><input id="ontyperejectedInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onbeforehideInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
+ <f:verbatim><div style="position: relative"><input id="onbeforeshowInputID" type="hidden" value="don't work!" size="42" /></div></f:verbatim>
</f:subview>
16 years, 7 months
JBoss Rich Faces SVN: r8657 - trunk/test-applications/jsp/src/main/webapp/ModalPanel.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-05-20 09:50:48 -0400 (Tue, 20 May 2008)
New Revision: 8657
Modified:
trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
Log:
2 modal panels was added.
Modified: trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp 2008-05-20 13:49:53 UTC (rev 8656)
+++ trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp 2008-05-20 13:50:48 UTC (rev 8657)
@@ -102,7 +102,7 @@
shadowOpacity="#{modalPanel.shadowOpacity}"
showWhenRendered="#{modalPanel.showWhenRendered}"
controlsClass="#{style.controlsClass}"
- headerClass="#{style.headerClass}" styleClass="#{style.styleClass}"
+ styleClass="#{style.styleClass}"
onhide="#{event.onhide}" onmaskclick="#{event.onmaskclick}"
onmaskcontextmenu="#{event.onmaskcontextmenu}"
onmaskdblclick="#{event.onmaskdblclick}"
@@ -111,7 +111,7 @@
onmaskmouseout="#{event.onmaskmouseout}"
onmaskmouseover="#{event.onmaskmouseover}"
onmaskmouseup="#{event.onmaskmouseup}" onmove="#{event.onmove}"
- onresize="#{event.onresize}" onshow="#{event.onshow}">
+ onresize="#{event.onresize}" onshow="#{event.onshow}" >
<br/>
<h:inputText value="input"></h:inputText>
<br/>
16 years, 7 months
JBoss Rich Faces SVN: r8656 - in trunk/samples/richfaces-demo/src/main/webapp: templates/include and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-05-20 09:49:53 -0400 (Tue, 20 May 2008)
New Revision: 8656
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml
trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
Log:
button disabled on sorting demo if not nessesarry
sourceview: bg color changed
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml 2008-05-20 13:26:27 UTC (rev 8655)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml 2008-05-20 13:49:53 UTC (rev 8656)
@@ -123,7 +123,7 @@
</h:panelGrid>
<a4j:commandButton value="Sort Table"
action="#{sortingBean.sortTable}" reRender="table"
- disabled="#{sortingBean.firstSortOption.direction=='UNSORTED'}" />
+ disabled="#{sortingBean.firstSortOption.direction=='UNSORTED' || sortingBean.firstSortOption.item == 0}" />
</rich:panel>
</h:form>
</h:panelGrid>
Modified: trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-05-20 13:26:27 UTC (rev 8655)
+++ trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-05-20 13:49:53 UTC (rev 8656)
@@ -21,7 +21,7 @@
}
.viewsourcebody {
- padding-right: 0px; padding-left: 0px; padding-bottom: 0px; padding-top: 0px
+ padding-right: 0px; padding-left: 0px; padding-bottom: 0px; padding-top: 0px; background-color:#{a4jSkin.generalBackgroundColor}
}
.viewsourceheader {
16 years, 7 months
JBoss Rich Faces SVN: r8655 - trunk/test-applications/jsp/src/main/webapp/CustomizePage.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-05-20 09:26:27 -0400 (Tue, 20 May 2008)
New Revision: 8655
Modified:
trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp
Log:
modalPanel binding
Modified: trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp 2008-05-20 12:52:30 UTC (rev 8654)
+++ trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp 2008-05-20 13:26:27 UTC (rev 8655)
@@ -7,22 +7,54 @@
<html>
<f:view>
<head>
- <f:loadBundle basename="message" var="msg" />
- <title></title>
-
- <link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
</head>
<body>
- <h:panelGroup binding="#{pTComponent.component}">
+ <rich:modalPanel id="modalPanel2ID" minHeight="100" minWidth="200"
+ resizeable="true" keepVisualState="true" showWhenRendered="true" binding="#{modalPanel.myModalPanel}">
- <f:attribute name="var" value="body" />
+ <h:outputLink
+ onclick="Richfaces.hideModalPanel('modalPanel2ID');return false;"
+ value="Close">
+ <f:verbatim>Close</f:verbatim>
+ </h:outputLink>
+ <br />
+ <h:form>
+ <h:inputText value="#{sb.property}" id="text" />
+ <rich:suggestionbox id="suggestionBoxId"
+ suggestionAction="#{sb.autocomplete}" frame="below"
+ value="#{sb.value}" for="text" var="result" width="500" height="500"
+ fetchValue="#{result.text}" minChars="#{sb.minchars}"
+ tokens="#{sb.tokens}" param="param:#{result.text}"
+ eventsQueue="myEventsQueue" ajaxSingle="#{sb.ajaxSingle}"
+ dir="#{sb.dir}" rendered="#{sb.rendered}">
+ <h:column>
+ <h:outputText value="#{result.city}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.contry}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{result.flag}" />
+ </h:column>
+
+ </rich:suggestionbox>
+ <br />
+ <h:commandButton actionListener="#{modalPanel.checkBinding}"
+ value="Binding[Modal Panel]"></h:commandButton>
+ <h:outputText value="#{modalPanel.bindLabel}"></h:outputText>
+ </h:form>
+ </rich:modalPanel>
+
+
+
<h:form id="test">
- <rich:inputNumberSlider ></rich:inputNumberSlider>
+ <rich:inputNumberSlider></rich:inputNumberSlider>
+
+
+ <a onclick="Richfaces.showModalPanel('modalPanel2ID');" href="#">Show
+ MP</a>
+
</h:form>
- </h:panelGroup>
-
- <h:outputText value="#{pttc}" escape="true"></h:outputText>
-
</body>
</f:view>
</html>
16 years, 7 months
JBoss Rich Faces SVN: r8654 - in trunk/samples/richfaces-demo/src/main/webapp: richfaces/paint2D/examples and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-05-20 08:52:30 -0400 (Tue, 20 May 2008)
New Revision: 8654
Modified:
trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/paint2D/examples/painter.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-3417
Modified: trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-05-20 12:50:23 UTC (rev 8653)
+++ trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-05-20 12:52:30 UTC (rev 8654)
@@ -150,12 +150,12 @@
<managed-property>
<property-name>color</property-name>
<property-class>long</property-class>
- <value>0</value>
+ <value>1000</value>
</managed-property>
<managed-property>
<property-name>scale</property-name>
<property-class>float</property-class>
- <value>0</value>
+ <value>2</value>
</managed-property>
<managed-property>
<property-name>text</property-name>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/paint2D/examples/painter.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/paint2D/examples/painter.xhtml 2008-05-20 12:50:23 UTC (rev 8653)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/paint2D/examples/painter.xhtml 2008-05-20 12:52:30 UTC (rev 8654)
@@ -24,7 +24,6 @@
value="#{paintData.color}" step="255" minValue="0"
maxValue="16000000">
<a4j:support event="onchange" reRender=":painter" />
- <f:convertNumber />
</rich:inputNumberSlider>
</h:panelGroup>
@@ -35,7 +34,6 @@
showBoundaryValues="false" showToolTip="false"
value="#{paintData.scale}" step="0.5" minValue="0" maxValue="3">
<a4j:support event="onchange" reRender=":painter" />
- <f:convertNumber />
</rich:inputNumberSlider>
</h:panelGroup>
16 years, 7 months
JBoss Rich Faces SVN: r8653 - trunk/test-applications/jsp/src/main/webapp/ModalPanel.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-05-20 08:50:23 -0400 (Tue, 20 May 2008)
New Revision: 8653
Modified:
trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp 2008-05-20 12:11:02 UTC (rev 8652)
+++ trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp 2008-05-20 12:50:23 UTC (rev 8653)
@@ -6,24 +6,53 @@
<f:subview id="modalPanelSubviewID">
- <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
<f:selectItems value="#{richBean.listContainer}" />
</h:selectOneMenu>
- <rich:modalPanel id="modalPanelID" visualOptions="#{modalPanel.visualOptions}" left="#{modalPanel.left}" top="#{modalPanel.top}" minHeight="#{modalPanel.minHeight}" minWidth="#{modalPanel.minWidth}"
- height="#{modalPanel.height}" width="#{modalPanel.width}" moveable="#{modalPanel.moveable}"
- resizeable="#{modalPanel.resizeable}" keepVisualState="#{modalPanel.keepVisualState}" rendered="#{modalPanel.rendered}"
- zindex="#{modalPanel.zindex}" autosized="#{modalPanel.autosized}" shadowDepth="#{modalPanel.shadowDepth}"
- shadowOpacity="#{modalPanel.shadowOpacity}" showWhenRendered="#{modalPanel.showWhenRendered}"
- controlsClass="#{style.controlsClass}" headerClass="#{style.headerClass}" styleClass="#{style.styleClass}"
- onhide="#{event.onhide}" onmaskclick="#{event.onmaskclick}" onmaskcontextmenu="#{event.onmaskcontextmenu}" onmaskdblclick="#{event.onmaskdblclick}" onmaskmousedown="#{event.onmaskmousedown}" onmaskmousemove="#{event.onmaskmousemove}" onmaskmouseout="#{event.onmaskmouseout}" onmaskmouseover="#{event.onmaskmouseover}" onmaskmouseup="#{event.onmaskmouseup}" onmove="#{event.onmove}" onresize="#{event.onresize}" onshow="#{event.onshow}">
+ <rich:modalPanel id="modalPanelID"
+ visualOptions="#{modalPanel.visualOptions}" left="#{modalPanel.left}"
+ top="#{modalPanel.top}" minHeight="#{modalPanel.minHeight}"
+ minWidth="#{modalPanel.minWidth}" height="#{modalPanel.height}"
+ width="#{modalPanel.width}" moveable="#{modalPanel.moveable}"
+ resizeable="#{modalPanel.resizeable}"
+ keepVisualState="#{modalPanel.keepVisualState}"
+ rendered="#{modalPanel.rendered}" zindex="#{modalPanel.zindex}"
+ autosized="#{modalPanel.autosized}"
+ shadowDepth="#{modalPanel.shadowDepth}"
+ shadowOpacity="#{modalPanel.shadowOpacity}"
+ showWhenRendered="#{modalPanel.showWhenRendered}"
+ controlsClass="#{style.controlsClass}"
+ headerClass="#{style.headerClass}" styleClass="#{style.styleClass}"
+ onhide="#{event.onhide}" onmaskclick="#{event.onmaskclick}"
+ onmaskcontextmenu="#{event.onmaskcontextmenu}"
+ onmaskdblclick="#{event.onmaskdblclick}"
+ onmaskmousedown="#{event.onmaskmousedown}"
+ onmaskmousemove="#{event.onmaskmousemove}"
+ onmaskmouseout="#{event.onmaskmouseout}"
+ onmaskmouseover="#{event.onmaskmouseover}"
+ onmaskmouseup="#{event.onmaskmouseup}" onmove="#{event.onmove}"
+ onresize="#{event.onresize}" onshow="#{event.onshow}"
+ >
<f:facet name="header">
<h:outputText value="Heder goes here..." />
</f:facet>
<f:facet name="controls">
- <h:graphicImage value="/pics/error.gif" onclick="Richfaces.hideModalPanel('modalPanelID');return false;" />
+ <h:graphicImage value="/pics/error.gif"
+ onclick="Richfaces.hideModalPanel('modalPanelID');return false;" />
</f:facet>
<h:outputText value="This is Modal Panel example" styleClass="text1" />
+ <h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
+ <f:selectItems value="#{richBean.listContainer}" />
+ </h:selectOneMenu>
+ <applet code="ArcTest.class" width="400" height="400"
+
+ codebase="http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/"
+
+ alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason.">
+
+ Your browser is completely ignoring the <APPLET> tag!
+ </applet>
<h:inputText value="#{modalPanel.inputTextTest}" />
<h:selectOneListbox value="#{modalPanel.selectOneListboxTest}">
<f:selectItem itemLabel="1" itemValue="1" />
@@ -35,47 +64,139 @@
<br />
<br />
</f:verbatim>
-
- <h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
-
+ <rich:spacer width="20" height="20"></rich:spacer>
+ <a4j:commandButton value="submit" onclick="submit"></a4j:commandButton>
+ <h:outputLink value="http://www.jboss.com/">
+ <f:verbatim>Link</f:verbatim>
+ </h:outputLink>
+
<f:verbatim>
<br />
<br />
</f:verbatim>
- <a4j:commandLink onclick="Richfaces.showModalPanel('modalPanel2ID');return false;" value="show ModalPanel 2">
+ <a4j:commandLink
+ onclick="Richfaces.showModalPanel('modalPanel2ID');return false;"
+ value="show ModalPanel 2">
</a4j:commandLink>
<f:verbatim>
<br />
<br />
- </f:verbatim>
- <h:outputLink onclick="Richfaces.hideModalPanel('modalPanelID');return false;" value="Close">
+ </f:verbatim>
+ <h:outputLink
+ onclick="Richfaces.hideModalPanel('modalPanelID');return false;"
+ value="Close">
<f:verbatim>Close</f:verbatim>
- </h:outputLink>
- <jsp:include flush="true" page="${richBean.pathComponentContainer}" />
+ </h:outputLink>
</rich:modalPanel>
-
- <rich:modalPanel id="modalPanel2ID" minHeight="100" minWidth="200" >
- <h:outputText value="text"></h:outputText>
- <h:inputText value="input"></h:inputText>
- <h:outputLink onclick="Richfaces.hideModalPanel('modalPanel2ID');return false;" value="Close">
- <f:verbatim>Close</f:verbatim>
- </h:outputLink>
- </rich:modalPanel>
-
- <a onclick="Richfaces.showModalPanel('modalPanelID');" href="#">Show MP</a>
+ <rich:modalPanel id="modalPanel2ID" visualOptions="#{modalPanel.visualOptions}" left="#{modalPanel.left}"
+ top="#{modalPanel.top}" minHeight="#{modalPanel.minHeight}"
+ minWidth="#{modalPanel.minWidth}" height="550"
+ width="850" moveable="false"
+ resizeable="false"
+ keepVisualState="#{modalPanel.keepVisualState}"
+ rendered="#{modalPanel.rendered}" zindex="#{modalPanel.zindex}"
+ autosized="#{modalPanel.autosized}"
+ shadowDepth="#{modalPanel.shadowDepth}"
+ shadowOpacity="#{modalPanel.shadowOpacity}"
+ showWhenRendered="#{modalPanel.showWhenRendered}"
+ controlsClass="#{style.controlsClass}"
+ headerClass="#{style.headerClass}" styleClass="#{style.styleClass}"
+ onhide="#{event.onhide}" onmaskclick="#{event.onmaskclick}"
+ onmaskcontextmenu="#{event.onmaskcontextmenu}"
+ onmaskdblclick="#{event.onmaskdblclick}"
+ onmaskmousedown="#{event.onmaskmousedown}"
+ onmaskmousemove="#{event.onmaskmousemove}"
+ onmaskmouseout="#{event.onmaskmouseout}"
+ onmaskmouseover="#{event.onmaskmouseover}"
+ onmaskmouseup="#{event.onmaskmouseup}" onmove="#{event.onmove}"
+ onresize="#{event.onresize}" onshow="#{event.onshow}">
+ <br/>
+ <h:inputText value="input"></h:inputText>
+ <br/>
+ <h:outputLink
+ onclick="Richfaces.hideModalPanel('modalPanel2ID');return false;"
+ value="Close">
+ <f:verbatim>Close</f:verbatim>
+ </h:outputLink>
+ <rich:pickList id="pickListID" value="#{pickList.value}"
+ showButtonsLabel="#{pickList.showButtonLabels}"
+ valueChangeListener="#{pickList.valueChangeListener}"
+ controlClass="#{style.controlClass}" listClass="#{style.listClass}"
+ style="#{style.style}" styleClass="#{style.styleClass}"
+ copyAllControlLabel="#{pickList.copyAllControlLabel}"
+ copyControlLabel="#{pickList.copyControlLabel}"
+ disabled="#{pickList.copyControlLabel}"
+ immediate="#{pickList.immediate}"
+ listsHeight="#{pickList.listsHeight}"
+ moveControlsVerticalAlign="#{pickList.moveControlsVerticalAlign}"
+ removeAllControlLabel="#{pickList.removeAllControlLabel}"
+ removeControlLabel="#{pickList.removeControlLabel}"
+ rendered="#{pickList.rendered}"
+ sourceListWidth="#{pickList.sourceListWidth}"
+ title="#{pickList.title}" switchByClick="#{pickList.switchByClick}"
+ targetListWidth="#{pickList.targetListWidth}"
+ required="#{pickList.required}"
+ requiredMessage="#{pickList.requiredMessage}"
+ 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}"
+ binding="#{pickList.myPickList}">
+ <f:selectItem itemValue="selectItem" itemLabel="selectItem" />
+ <f:selectItem itemValue="selectItem 1" itemLabel="selectItem 1" />
+ <f:selectItem itemValue="selectItem 2" itemLabel="selectItem 2" />
+ <f:selectItems value="#{pickList.data}" />
+ </rich:pickList>
+ <br/>
+ <a4j:commandButton reRender="pickListTargetID" value="refresh target"></a4j:commandButton>
+ <h:dataTable id="pickListTargetID" value="#{pickList.value}" var="list" border="1">
+ <h:column>
+ <h:outputText value="#{list}"></h:outputText>
+ </h:column>
+ </h:dataTable>
+ </rich:modalPanel>
+ <rich:modalPanel id="_panel" minHeight="100" minWidth="200"
+ moveable="true">
+ <f:facet name="header">
+ <h:outputText value="Events..." />
+ </f:facet>
+ <f:facet name="controls">
+ <h:graphicImage value="/pics/error.gif"
+ onclick="Richfaces.hideModalPanel('_panel');" />
+ </f:facet>
+
+ <h:outputText value="Eventsaaaaaaaaaaaaaaaa ..." />
+ <rich:calendar popup="true" />
+ </rich:modalPanel>
+ <a onclick="Richfaces.showModalPanel('modalPanelID');" href="#">Show
+ MP</a>
+ <br/>
+ <a4j:commandLink
+ onclick="Richfaces.showModalPanel('modalPanel2ID');return false;"
+ value="show ModalPanel 2">
+ </a4j:commandLink>
+
<f:verbatim>
<br />
<br />
</f:verbatim>
- <h:graphicImage value="/pics/info.gif" onclick="Richfaces.showModalPanel('modalPanelID');" />
+ <h:graphicImage value="/pics/info.gif"
+ onclick="Richfaces.showModalPanel('_panel');" />
<f:verbatim>
<br />
<br />
</f:verbatim>
- <div style="position: relative; font-size: 50px; z-index: 2; color: navy">z-index</div>
-
+ <div
+ style="position: relative; font-size: 50px; z-index: 2; color: navy">z-index</div>
+ <br/>
</f:subview>
16 years, 7 months
JBoss Rich Faces SVN: r8652 - trunk/samples/richfaces-demo/src/main/webapp/css.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-05-20 08:11:02 -0400 (Tue, 20 May 2008)
New Revision: 8652
Modified:
trunk/samples/richfaces-demo/src/main/webapp/css/common.css
Log:
bottom border removed from references panel
Modified: trunk/samples/richfaces-demo/src/main/webapp/css/common.css
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/css/common.css 2008-05-20 11:42:14 UTC (rev 8651)
+++ trunk/samples/richfaces-demo/src/main/webapp/css/common.css 2008-05-20 12:11:02 UTC (rev 8652)
@@ -138,6 +138,7 @@
background-color: transparent;
border : 1px solid #FFFFFF;
padding : 10px 10px 10px 20px;
+ border-bottom:none;
}
.panel_documents div{
background-color: transparent;
16 years, 7 months
JBoss Rich Faces SVN: r8651 - in trunk/samples/richfaces-demo/src/main: webapp/richfaces/push and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-05-20 07:42:14 -0400 (Tue, 20 May 2008)
New Revision: 8651
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/push/PushBean.java
trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/examples/push.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml
Log:
push example corrections and description.
Modified: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/push/PushBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/push/PushBean.java 2008-05-20 11:18:31 UTC (rev 8650)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/push/PushBean.java 2008-05-20 11:42:14 UTC (rev 8651)
@@ -31,7 +31,6 @@
public void addListener(EventListener listener) {
synchronized (listener) {
- System.out.println("PushBean.addListener()");
if (this.listener != listener) {
this.listener = (PushEventListener) listener;
}
@@ -39,11 +38,9 @@
}
public void run() {
- System.out.println("PushBean.run() executed");
while (thread != null) {
try {
- System.out.println(((new Date()).getTime()-startDate.getTime())>=60000);
- if (((new Date()).getTime()-startDate.getTime())>=20000) {
+ if (((new Date()).getTime()-startDate.getTime())>=60000) {
stop();
}
uuid = UUID.randomUUID().toString();
@@ -57,7 +54,6 @@
}
public String getUuid() {
- System.out.println(uuid + "returned");
return uuid;
}
@@ -66,10 +62,8 @@
thread = new Thread(this);
thread.setDaemon(true);
thread.start();
- System.out.println("PushBean.start()");
setStartDate(new Date());
setEnabled(true);
- System.out.println("thread started");
}
}
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/examples/push.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/examples/push.xhtml 2008-05-20 11:18:31 UTC (rev 8650)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/examples/push.xhtml 2008-05-20 11:42:14 UTC (rev 8651)
@@ -20,9 +20,9 @@
</h:panelGroup>
<h:panelGroup>
<a4j:commandButton value="Start" action="#{push.start}"
- ajaxSingle="true" rendered="#{!push.enabled}" reRender="push"/>
+ ajaxSingle="true" rendered="#{!push.enabled}" reRender="push, out"/>
<a4j:commandButton value="Stop" action="#{push.stop}"
- ajaxSingle="true" rendered="#{push.enabled}" reRender="push"/>
+ ajaxSingle="true" rendered="#{push.enabled}" reRender="push, out"/>
</h:panelGroup>
</h:panelGrid>
</rich:panel>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml 2008-05-20 11:18:31 UTC (rev 8650)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/push/usage.xhtml 2008-05-20 11:42:14 UTC (rev 8651)
@@ -58,17 +58,34 @@
<p>Thus, component 'push' uses asynchronous model instead of
polls.</p>
<p>
- Push example using <b>Runabble</b> interface (should be described.)
+ There is simple <b>Push </b>example using <b>Runabble</b> interface.
</p>
+ <p>
+ When you hit <b>Start</b> button new Thread will be started and alive
+ for a minute. It will generate random Uuid once in a ten seconds.
+ </p>
+ <p>
+ Push component will fire the request after uuid generation event sent
+ and update the output field displaying new uuid value.
+ </p>
<fieldset class="demo_fieldset"><legend
class="demo_legend">Push Demo</legend>
<div class="sample-container"><ui:include
- src="/richfaces/push/examples/push.xhtml" /> <ui:include
- src="/templates/include/sourceview.xhtml">
+ src="/richfaces/push/examples/push.xhtml" />
+
+ <ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/push/examples/push.xhtml" />
<ui:param name="openlabel" value="View Page Source" />
- </ui:include></div>
+ </ui:include>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
+ value="/richfaces/push/snippets/PushBean.java" />
+ <ui:param name="openlabel" value="View PushBean code" />
+ <ui:param name="sourcetype" value="java" />
+ </ui:include>
+
+ </div>
</fieldset>
</ui:define>
16 years, 7 months
JBoss Rich Faces SVN: r8650 - in trunk/samples: richfaces-demo/src/main/java/org/richfaces/demo/fileUpload and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-05-20 07:18:31 -0400 (Tue, 20 May 2008)
New Revision: 8650
Modified:
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panel.xcss
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/use-with-data-table.xhtml
trunk/samples/richfaces-demo/src/main/webapp/templates/include/references.xhtml
Log:
laguna: classes for panels without headers added
fileUpload: synchronization problem corrected
toolTip: main header added to table
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss 2008-05-20 09:31:52 UTC (rev 8649)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss 2008-05-20 11:18:31 UTC (rev 8650)
@@ -81,6 +81,8 @@
<u:selector name=".rich-mpnl-mask-div">
</u:selector>
-
+ <u:selector name=".rich-laguna-mpnl-no-header">
+ <u:style name="background-image" value="none"/>
+ </u:selector>
</f:template>
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panel.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panel.xcss 2008-05-20 09:31:52 UTC (rev 8649)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panel.xcss 2008-05-20 11:18:31 UTC (rev 8650)
@@ -46,4 +46,7 @@
</f:resource>
</u:style>
</u:selector>
+ <u:selector name=".rich-laguna-panel-no-header">
+ <u:style name="background-image" value="none"/>
+ </u:selector>
</f:template>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java 2008-05-20 09:31:52 UTC (rev 8649)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java 2008-05-20 11:18:31 UTC (rev 8650)
@@ -31,10 +31,10 @@
public FileUploadBean() {
}
- public void paint(OutputStream stream, Object object) throws IOException {
+ public synchronized void paint(OutputStream stream, Object object) throws IOException {
stream.write(getFiles().get((Integer)object).getData());
}
- public void listener(UploadEvent event) throws Exception{
+ public synchronized void listener(UploadEvent event) throws Exception{
UploadItem item = event.getUploadItem();
File file = new File();
file.setLength(item.getData().length);
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml 2008-05-20 09:31:52 UTC (rev 8649)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/examples/withTable.xhtml 2008-05-20 11:18:31 UTC (rev 8650)
@@ -46,6 +46,9 @@
<h:form>
<rich:dataTable value="#{toolTipData.vehicles}" width="400"
var="vehicle" rowKeyVar="row">
+ <f:facet name="header">
+ <h:outputText value="Car Store"/>
+ </f:facet>
<rich:column>
<f:facet name="header">
<h:outputText value="##" />
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/use-with-data-table.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/use-with-data-table.xhtml 2008-05-20 09:31:52 UTC (rev 8649)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/toolTip/use-with-data-table.xhtml 2008-05-20 11:18:31 UTC (rev 8650)
@@ -8,8 +8,11 @@
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
<p>
- This little example shows how ToolTip could be used in DataTable
+ This little example shows how ToolTip could be used in DataTable.
</p>
+ <p>
+ Perform <b>mouseover </b> at any 'Make' cell in order to get car details.
+ </p>
<div class="sample-container">
<ui:include src="/richfaces/toolTip/examples/withTable.xhtml"/>
<ui:include src="/templates/include/sourceview.xhtml">
Modified: trunk/samples/richfaces-demo/src/main/webapp/templates/include/references.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/templates/include/references.xhtml 2008-05-20 09:31:52 UTC (rev 8649)
+++ trunk/samples/richfaces-demo/src/main/webapp/templates/include/references.xhtml 2008-05-20 11:18:31 UTC (rev 8650)
@@ -6,7 +6,7 @@
xmlns:rich="http://richfaces.org/rich">
<ui:composition>
<f:loadBundle var="path" basename="org/richfaces/demo/common/path"/>
-<rich:panel styleClass="panel_documents">
+<rich:panel styleClass="panel_documents" bodyClass="rich-laguna-panel-no-header">
<strong>#{componentNavigator.currentComponent.name}</strong>
<ul>
<li><h:outputLink target="_blank" value="#{path.dgPath}#{componentNavigator.currentComponent != null ? componentNavigator.currentComponent.devGuideLocation : 'index.html'}">Developers Guide</h:outputLink></li>
16 years, 7 months
JBoss Rich Faces SVN: r8649 - trunk/docs/userguide.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2008-05-20 05:31:52 -0400 (Tue, 20 May 2008)
New Revision: 8649
Modified:
trunk/docs/userguide/pom.xml
Log:
http://jira.jboss.com/jira/browse/RF-3403
new ga styles are applied
Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml 2008-05-20 09:09:37 UTC (rev 8648)
+++ trunk/docs/userguide/pom.xml 2008-05-20 09:31:52 UTC (rev 8649)
@@ -720,12 +720,12 @@
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0.Beta1</version>
+ <version>1.1.0</version>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0.Beta1</version>
+ <version>1.1.0</version>
<type>jdocbook-style</type>
</dependency>
<!--dependency>
16 years, 7 months