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>