Author: ilya_shaikovsky
Date: 2011-01-26 04:11:23 -0500 (Wed, 26 Jan 2011)
New Revision: 21229
Added:
trunk/examples/richfaces-showcase/src/main/webapp/images/dnd/
trunk/examples/richfaces-showcase/src/main/webapp/images/dnd/accept.gif
trunk/examples/richfaces-showcase/src/main/webapp/images/dnd/default.gif
trunk/examples/richfaces-showcase/src/main/webapp/images/dnd/reject.gif
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml
Log:
dnd indicator updated.
Added: trunk/examples/richfaces-showcase/src/main/webapp/images/dnd/accept.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/examples/richfaces-showcase/src/main/webapp/images/dnd/accept.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/richfaces-showcase/src/main/webapp/images/dnd/default.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/examples/richfaces-showcase/src/main/webapp/images/dnd/default.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/richfaces-showcase/src/main/webapp/images/dnd/reject.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/examples/richfaces-showcase/src/main/webapp/images/dnd/reject.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml 2011-01-26
08:52:22 UTC (rev 21228)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml 2011-01-26
09:11:23 UTC (rev 21229)
@@ -83,9 +83,6 @@
<rich:popupPanel header="Edit Car Details" id="editPane">
<h:form>
- <a4j:outputPanel ajaxRendered="true">
- <h:messages />
- </a4j:outputPanel>
<h:panelGrid columns="3" id="editGrid">
<h:outputText value="Vendor" />
<h:outputText value="#{carsBean.editedCar.vendor}" />
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml 2011-01-26
08:52:22 UTC (rev 21228)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml 2011-01-26
09:11:23 UTC (rev 21229)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <h:outputStylesheet>
+ <style>
.panelc { width:25%; }
.valign { vertical-align:top; }
.dropTargetPanel { width: 90%; }
@@ -22,9 +22,25 @@
border:1px solid gray;
padding:2px
}
- .accept{border:2px solid green}
- .reject{border:2px solid red}
- </h:outputStylesheet>
+ .rf-ind-drag.default{
+ padding-left:30px;
+ background-image:
url("#{facesContext.externalContext.requestContextPath}/images/dnd/default.gif");
+ background-position: 5px;
+ background-repeat: no-repeat;
+ }
+ .accept{
+ background-image:
url("#{facesContext.externalContext.requestContextPath}/images/dnd/accept.gif");
+ background-position: 5px;
+ background-repeat: no-repeat;
+ border:2px solid green
+ }
+ .reject{
+ border:2px solid red;
+ background-image:
url("#{facesContext.externalContext.requestContextPath}/images/dnd/reject.gif");
+ background-position: 5px;
+ background-repeat: no-repeat;
+ }
+ </style>
<rich:dragIndicator id="ind" acceptClass="accept"
rejectClass="reject" draggingClass="default">
Drag the item to proper area..
</rich:dragIndicator>