JBoss Rich Faces SVN: r4604 - branches/3.1.x/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2007-12-07 14:09:02 -0500 (Fri, 07 Dec 2007)
New Revision: 4604
Added:
branches/3.1.x/docs/userguide/en/src/main/resources/images/contextMenu_classes.png
Log:
http://jira.jboss.com/jira/browse/RF-1298 - add screenshot for style classes
Added: branches/3.1.x/docs/userguide/en/src/main/resources/images/contextMenu_classes.png
===================================================================
(Binary files differ)
Property changes on: branches/3.1.x/docs/userguide/en/src/main/resources/images/contextMenu_classes.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 10 months
JBoss Rich Faces SVN: r4603 - in trunk/extensions/portletbridge: portletbridge-impl and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-12-07 14:07:34 -0500 (Fri, 07 Dec 2007)
New Revision: 4603
Added:
trunk/extensions/portletbridge/portletbridge-api/
trunk/extensions/portletbridge/portletbridge-impl/
trunk/extensions/portletbridge/portletbridge-impl/pom.xml
Removed:
trunk/extensions/portletbridge/portlet/
Log:
Split portletbridge into api and implementation
Copied: trunk/extensions/portletbridge/portletbridge-api (from rev 4602, trunk/extensions/portletbridge/portlet)
Added: trunk/extensions/portletbridge/portletbridge-impl/pom.xml
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/pom.xml (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-impl/pom.xml 2007-12-07 19:07:34 UTC (rev 4603)
@@ -0,0 +1,82 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>extensions</artifactId>
+ <groupId>org.richfaces</groupId>
+ <version>3.2.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.extensions</groupId>
+ <artifactId>portlet</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <name>ajax4jsf portlet brige</name>
+ <url>http://labs.jboss.com/wiki/Ajax4jsf/a4j-portlet</url>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>portlet-api</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>1.2_05</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ <version>1.2_05</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ <version>1.1.14</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-impl</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-test</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Property changes on: trunk/extensions/portletbridge/portletbridge-impl/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Date Revision Author
16 years, 10 months
JBoss Rich Faces SVN: r4602 - in trunk/extensions: portletbridge and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-12-07 14:05:26 -0500 (Fri, 07 Dec 2007)
New Revision: 4602
Added:
trunk/extensions/portletbridge/portlet/
Removed:
trunk/extensions/portlet/
Log:
Split portletbridge into api and implementation
Copied: trunk/extensions/portletbridge/portlet (from rev 4600, trunk/extensions/portlet)
16 years, 10 months
JBoss Rich Faces SVN: r4601 - trunk/extensions.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-12-07 14:04:35 -0500 (Fri, 07 Dec 2007)
New Revision: 4601
Added:
trunk/extensions/portletbridge/
Log:
Split portletbridge into api and implementation
16 years, 10 months
JBoss Rich Faces SVN: r4600 - in branches/3.1.x/samples: orderingListDemo/src/main/webapp/pages and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-12-07 12:52:27 -0500 (Fri, 07 Dec 2007)
New Revision: 4600
Modified:
branches/3.1.x/samples/listShuttleDemo/src/main/webapp/pages/index.jsp
branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp
Log:
Allow skin changing even if main component is not validated.
Modified: branches/3.1.x/samples/listShuttleDemo/src/main/webapp/pages/index.jsp
===================================================================
--- branches/3.1.x/samples/listShuttleDemo/src/main/webapp/pages/index.jsp 2007-12-07 17:37:25 UTC (rev 4599)
+++ branches/3.1.x/samples/listShuttleDemo/src/main/webapp/pages/index.jsp 2007-12-07 17:52:27 UTC (rev 4600)
@@ -15,15 +15,12 @@
<h:messages />
</a4j:outputPanel>
- <h:form>
- <h:selectOneRadio binding="#{skinBean.component}" />
- <h:commandLink action="#{skinBean.change}" value="set skin" />
- <br />
-
- <%--
-
- --%>
-
+ <h:form id="skinForm" >
+ <h:selectOneRadio binding="#{skinBean.component}" />
+ <h:commandLink action="#{skinBean.change}" value="set skin" />
+ <h:outputText value=" Current skin: #{skinBean.skin}" /><br />
+ </h:form>
+ <h:form id="form" >
<ls:listShuttle id="listShuttle" var="item" sourceValue="#{listShuttleDemoBean.source}" targetValue="#{listShuttleDemoBean.target}"
orderControlsVisible="#{listShuttleDemoBean.orderControlsVisible}"
fastOrderControlsVisible="#{listShuttleDemoBean.fastOrderControlsVisible}"
Modified: branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp
===================================================================
--- branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp 2007-12-07 17:37:25 UTC (rev 4599)
+++ branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp 2007-12-07 17:52:27 UTC (rev 4600)
@@ -30,10 +30,12 @@
<h:messages />
</a4j:outputPanel>
- <h:form id="form" >
+ <h:form id="skinForm" >
<h:selectOneRadio binding="#{skinBean.component}" />
<h:commandLink action="#{skinBean.change}" value="set skin" />
- <br />
+ <h:outputText value=" Current skin: #{skinBean.skin}" /><br />
+ </h:form>
+ <h:form id="form" >
<a4j:status startText="START" startStyle="color: red;"
stopText="STOP" stopStyle="color: green;" />
<br />
16 years, 10 months
JBoss Rich Faces SVN: r4599 - branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-12-07 12:37:25 -0500 (Fri, 07 Dec 2007)
New Revision: 4599
Modified:
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss
Log:
align moved to class
Modified: branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss
===================================================================
--- branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss 2007-12-07 17:37:21 UTC (rev 4598)
+++ branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss 2007-12-07 17:37:25 UTC (rev 4599)
@@ -98,6 +98,7 @@
}
.rich-list-shuttle-caption {
+ text-align: left;
padding : 1px;
}
16 years, 10 months
JBoss Rich Faces SVN: r4598 - in branches/3.1.x/ui/orderingList/src/main: templates/org/richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-12-07 12:37:21 -0500 (Fri, 07 Dec 2007)
New Revision: 4598
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx
Log:
align moved to class
Modified: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss 2007-12-07 17:33:12 UTC (rev 4597)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss 2007-12-07 17:37:21 UTC (rev 4598)
@@ -82,6 +82,7 @@
}
.rich-ordering-list-caption {
+ text-align: left;
height: 8px;
padding : 3px 3px 3px 8px
}
Modified: branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx 2007-12-07 17:33:12 UTC (rev 4597)
+++ branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx 2007-12-07 17:37:21 UTC (rev 4598)
@@ -35,7 +35,7 @@
<table id="#{clientId}table" cellpadding="0" cellspacing="0" class="rich-ordering-list-body">
<tbody>
<tr style="#{this:getCaptionDisplay(context, component)}" >
- <td align="left" colspan="2" class="rich-ordering-list-caption">
+ <td colspan="2" class="rich-ordering-list-caption">
<f:call name="encodeCaption"/>
</td>
</tr>
16 years, 10 months
JBoss Rich Faces SVN: r4597 - trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-12-07 12:33:12 -0500 (Fri, 07 Dec 2007)
New Revision: 4597
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java
Log:
'href' attribute added to HTML class
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java 2007-12-07 17:31:30 UTC (rev 4596)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java 2007-12-07 17:33:12 UTC (rev 4597)
@@ -245,6 +245,7 @@
public static final String CHARSET_ATTR = "charset";
public static final String COORDS_ATTR = "coords";
public static final String HREFLANG_ATTR = "hreflang";
+ public static final String HREF_ATTR = "href";
public static final String REL_ATTR = "rel";
public static final String REV_ATTR = "rev";
public static final String SHAPE_ATTR = "shape";
@@ -901,4 +902,4 @@
writer.writeText(eventName + ": ''", null);
}
}
-}
\ No newline at end of file
+}
16 years, 10 months
JBoss Rich Faces SVN: r4596 - in branches/3.1.x/samples/richfaces-demo/src/main: java/org/richfaces/demo/tree and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2007-12-07 12:31:30 -0500 (Fri, 07 Dec 2007)
New Revision: 4596
Added:
branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList.xhtml
branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/
branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/
branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml
branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/orderingList.xhtml
Modified:
branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/common/ComponentNavigator.java
branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/Library.java
branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/Song.java
branches/3.1.x/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
branches/3.1.x/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-1191
Modified: branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/common/ComponentNavigator.java
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/common/ComponentNavigator.java 2007-12-07 17:19:25 UTC (rev 4595)
+++ branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/common/ComponentNavigator.java 2007-12-07 17:31:30 UTC (rev 4596)
@@ -118,6 +118,10 @@
return ret;
}
+ public List getSelectComponents() {
+ return getFilteredComponents("richSelect");
+ }
+
public List getRichDragDropComponents() {
return getFilteredComponents("richDragDrop");
}
Modified: branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/Library.java
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/Library.java 2007-12-07 17:19:25 UTC (rev 4595)
+++ branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/Library.java 2007-12-07 17:31:30 UTC (rev 4596)
@@ -3,8 +3,10 @@
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
+import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
+import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
@@ -111,7 +113,9 @@
} while (read>0);
String buf = os.toString();
StringTokenizer toc1 = new StringTokenizer(buf,"\n");
+ int index = 0;
while (toc1.hasMoreTokens()) {
+ index++;
String str = toc1.nextToken();
StringTokenizer toc2 = new StringTokenizer(str, "\t");
String songTitle = toc2.nextToken();
@@ -125,6 +129,7 @@
album.setYear(new Integer(albumYear));
Song song = new Song(getNextId());
song.setTitle(songTitle);
+ song.setTrackNumber(index);
album.addSong(song);
}
} catch (IOException e) {
@@ -144,4 +149,21 @@
this.state2 = state2;
}
+ public void walk(TreeNode node, List<TreeNode> appendTo, Class<? extends TreeNode> type) {
+ if (type.isInstance(node)){
+ appendTo.add(node);
+ }
+ Iterator<Map.Entry<Object, TreeNode>> iterator = node.getChildren();
+ while(iterator.hasNext()) {
+ walk(iterator.next().getValue(), appendTo, type);
+ }
+
+ }
+
+ public ArrayList getLibraryAsList(){
+ ArrayList appendTo = new ArrayList();
+ walk(this, appendTo, Song.class);
+ return appendTo;
+ }
+
}
Modified: branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/Song.java
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/Song.java 2007-12-07 17:19:25 UTC (rev 4595)
+++ branches/3.1.x/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/Song.java 2007-12-07 17:31:30 UTC (rev 4596)
@@ -19,6 +19,13 @@
public Song(long id) {
this.id = id;
}
+
+ public Song(long id, int index) {
+ this.trackNumber=index;
+ this.id = id;
+ System.out.println(index);
+ }
+
public void addChild(Object identifier, TreeNode child) {
throw new UnsupportedOperationException("Songs do not have children");
Modified: branches/3.1.x/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2007-12-07 17:19:25 UTC (rev 4595)
+++ branches/3.1.x/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2007-12-07 17:31:30 UTC (rev 4596)
@@ -69,4 +69,5 @@
portlet= ajaxMisc, Ajax Portlet, /images/ico_common.gif, /images/cn_AjaxPortlet.gif, RichFacesComponentsLibrary.html#portlet, jbossajax4jsf/freezone/docs/tlddoc/a4j/portlet.html, jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIPortlet.html, /richfaces/portlet.jsf
effect= richMisc, Effect, /images/ico_common.gif, /images/cn_Effect.gif, RichFacesComponentsLibrary.html#effect, jbossrichfaces/freezone/docs/tlddoc/rich/effect.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIEffect.html, /richfaces/effect.jsf
contextMenu= richMenu, Context Menu, /images/ico_dropDownMenu.gif, /images/cn_contextMenu.gif, RichFacesComponentsLibrary.html\#contextMenu, jbossrichfaces/freezone/docs/tlddoc/rich/contextMenu.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIContextMenu.html, /richfaces/contextMenu.jsf
-componentControl=richMisc, Component Control, /images/ico_common.gif, /images/cn_componentControl.gif, RichFacesComponentsLibrary.html\#componentControl, jbossrichfaces/freezone/docs/tlddoc/rich/componentControl.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIcomponentControl.html, /richfaces/componentControl.jsf
\ No newline at end of file
+componentControl= richMisc, Component Control, /images/ico_common.gif, /images/cn_componentControl.gif, RichFacesComponentsLibrary.html\#componentControl, jbossrichfaces/freezone/docs/tlddoc/rich/componentControl.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIcomponentControl.html, /richfaces/componentControl.jsf
+orderingList= richSelect, Ordering List, /images/ico_DataTable.gif, /images/cn_orderingList.gif, RichFacesComponentsLibrary.html\#orderingList, jbossrichfaces/freezone/docs/tlddoc/rich/orderingList.html, jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIorderingList.html, /richfaces/orderingList.jsf
\ No newline at end of file
Added: branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml (rev 0)
+++ branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml 2007-12-07 17:31:30 UTC (rev 4596)
@@ -0,0 +1,26 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ 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:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <style>
+ .cent{
+ text-align:center;
+ }
+</style>
+ <rich:orderingList value="#{library.libraryAsList}" var="lib" listHeight="300px">
+ <rich:column>
+ <f:facet name="header">
+ Song Name
+ </f:facet>
+ <h:outputText value="#{lib.title}"></h:outputText>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ Album Title
+ </f:facet>
+ <h:outputText value="#{lib.album.title}"></h:outputText>
+ </rich:column>
+ </rich:orderingList>
+</ui:composition>
\ No newline at end of file
Added: branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/orderingList.xhtml
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/orderingList.xhtml (rev 0)
+++ branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/orderingList.xhtml 2007-12-07 17:31:30 UTC (rev 4596)
@@ -0,0 +1,42 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ 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">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <p>
+ <b>orderingList</b> component allows to reorder items in a list.
+ </p>
+ <p>
+ Ordering List could contain several columns in list representation. And it
+ also has strong keyboard support out of the box.
+ </p>
+ <p><b>Example.</b>Manage simple playlist represented via Ordering List:</p>
+ <div class="sample-container">
+ <ui:include src="/richfaces/orderingList/example/playlist.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/orderingList/example/playlist.xhtml"/>
+ </ui:include>
+
+ </div>
+ <p>
+ In this example you may select some songs (using mouse and Ctrl/Shift keys) and move them
+ within the list using controls.
+ </p>
+
+ <p>
+ Content definition for this component - analogous to any Iteration component.
+ So, all you need is define collection in Ordering List <b>value</b> attribute
+ and iterate the collection in nested columns through <b>var</b> attribute.
+ </p>
+ <p>
+ In order to set initially selected rows or to process submitted selection -
+ use <b>selection</b> attribute.
+ </p>
+ </ui:define>
+
+ </ui:composition>
+</html>
Added: branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList.xhtml
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList.xhtml (rev 0)
+++ branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList.xhtml 2007-12-07 17:31:30 UTC (rev 4596)
@@ -0,0 +1,20 @@
+<!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: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">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Ordering List Component</ui:define>
+ <ui:define name="body">
+ <rich:tabPanel switchType="server" styleClass="top_tab" contentClass="content_tab" headerClass="header_tabs_class" inactiveTabClass="inactive_tab" activeTabClass="active_tab">
+ <rich:tab label="Usage">
+ <ui:include src="/richfaces/orderingList/orderingList.xhtml"/>
+ </rich:tab>
+ <ui:include src="/templates/include/tagInfo.xhtml">
+ <ui:param name="path" value="rich/orderingList"/>
+ </ui:include>
+ </rich:tabPanel>
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/3.1.x/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml 2007-12-07 17:19:25 UTC (rev 4595)
+++ branches/3.1.x/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml 2007-12-07 17:31:30 UTC (rev 4596)
@@ -7,7 +7,7 @@
<ui:composition>
<rich:panel styleClass="panel_menu">
-<rich:panelBar selectedPanel="#{componentNavigator.currentComponent.group}" height="550" width="100%">
+<rich:panelBar selectedPanel="#{componentNavigator.currentComponent.group}" height="600" width="100%">
<rich:panelBarItem id="ajaxSupport" label="Ajax Support">
<ui:include src="/templates/include/components-group.xhtml" >
<ui:param name="components" value="#{componentNavigator.ajaxSupport}" />
@@ -58,6 +58,11 @@
<ui:param name="components" value="#{componentNavigator.richInputs}" />
</ui:include>
</rich:panelBarItem>
+ <rich:panelBarItem id="richSelect" label="Rich Selects">
+ <ui:include src="/templates/include/components-group.xhtml" >
+ <ui:param name="components" value="#{componentNavigator.selectComponents}" />
+ </ui:include>
+ </rich:panelBarItem>
<rich:panelBarItem id="richMisc" label="Rich Miscellaneous">
<ui:include src="/templates/include/components-group.xhtml" >
<ui:param name="components" value="#{componentNavigator.richMisc}" />
16 years, 10 months
JBoss Rich Faces SVN: r4595 - in management/design/listShuttle/markup: shuttle_images and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-12-07 12:19:25 -0500 (Fri, 07 Dec 2007)
New Revision: 4595
Added:
management/design/listShuttle/markup/shuttle_images/bg_header.png
management/design/listShuttle/markup/shuttle_images/bg_press.png
Modified:
management/design/listShuttle/markup/Shuttle.html
management/design/listShuttle/markup/shuttle_images/back.gif
management/design/listShuttle/markup/shuttle_images/back_all.gif
management/design/listShuttle/markup/shuttle_images/bottom.gif
management/design/listShuttle/markup/shuttle_images/down.gif
management/design/listShuttle/markup/shuttle_images/move.gif
management/design/listShuttle/markup/shuttle_images/move_all.gif
management/design/listShuttle/markup/shuttle_images/top.gif
management/design/listShuttle/markup/shuttle_images/up.gif
Log:
New markup added: http://jira.jboss.com/jira/browse/RF-1175
Modified: management/design/listShuttle/markup/Shuttle.html
===================================================================
--- management/design/listShuttle/markup/Shuttle.html 2007-12-07 17:14:00 UTC (rev 4594)
+++ management/design/listShuttle/markup/Shuttle.html 2007-12-07 17:19:25 UTC (rev 4595)
@@ -5,28 +5,112 @@
<style>
.shuttle_header{padding : 1px;}
- .shuttle_label{font-family : Arial; font-size :11px; font-weight : bold;}
- .shuttle_out_label{padding : 3px 3px 3px 8px}
- .shuttle_in_label{padding : 3px 3px 3px 0px}
+ .shuttle_label{font-family : Arial; font-size :11px; font-weight : bold;padding : 3px 3px 3px 0px;}
- .shuttle_body{border : 1px solid #bfbfc0; background-color : #e7f2fb;}
+ .shuttle_body{border : 0px solid #C0C0C0;} /*tableBorderColor*/
- .shuttle_list{overflow : auto; width : 200px; height : 150px; background : #FFFFFF; border : 1px solid #bfbfc0;}
- .shuttle_outputlist{ margin : 0px 8px 8px 8px;}
- .shuttle_inputlist{ margin : 0px 8px 8px 0px;}
+ .shuttle_list{
+ overflow : auto;
+ width : 200px;
+ background : #FFFFFF; /*tableBackgroundColor*/
+ border : 0px solid #C0C0C0; /*tableBorderColor*/
+ }
+ .shuttle_borderlist{
+ padding : 0px;
+ border : 1px solid #C0C0C0;
+ height : 100%;
+ vertical-align : top;
+ }
- .shuttle_button_layout{padding : 15px 8px 15px 0px;}
- .shuttle_button{background : #4A75B5; border : 1px solid #bfbfc0; margin-bottom : 3px; cursor : pointer; padding : 1px}
- .shuttle_button_dis{background : #bfbfc0; border : 1px solid #bfbfc0; margin-bottom : 3px; padding : 1px}
- .shuttle_button_press{background : #4A75B5; border : 1px solid #bfbfc0; margin-bottom : 3px; padding : 2px 0px 0px 2px}
+ .shuttle_button_layout{
+ padding : 15px 8px 15px 8px;
+ }
+ .shuttle_button_border{
+ border : 1px solid #C0C0C0; /*tableBorderColor*/
+ margin-bottom : 3px;
+ }
+ .shuttle_button{
+ background : url(shuttle_images/bg_header.png) /*from additionalBackgroundColor to trimColor*/ top left #C6D6EA /*trimColor*/ repeat-x;
+ cursor : pointer;
+ padding : 2px;
+ font-family : Arial;
+ font-size :11px;
+ }
+ .shuttle_button_light{
+ background : url(shuttle_images/bg_header.png) /*from additionalBackgroundColor to headerGradientColor*/ top left #C6D6EA /*trimColor*/ repeat-x;
+ border : 1px solid #E79A00; /*selectControlColor*/
+ cursor : pointer;
+ padding : 1px;
+ font-family : Arial;
+ font-size :11px;
+ }
+ .shuttle_button_dis{
+ background : #C0C0C0; /*tableBorderColor*/
+ border : 1px solid #C0C0C0; /*tableBorderColor*/
+ margin-bottom : 3px;
+ padding : 1px}
+ .shuttle_button_press{
+ background : url(shuttle_images/bg_press.png) /*from additionalBackgroundColor to trimColor*/ top left repeat-x #EAF0F8; /* additionalBackgroundColor*/
+ border : 1px solid #E79A00; /*selectControlColor*/
+ padding : 2px 0px 0px 2px;
+ font-family : Arial;
+ font-size :11px;
+ }
.shuttle_center_button_col_valign{vertical-align : middle}
.shuttle_right_button_col_valign{vertical-align : middle}
#internal_tab{width : 100%}
#internal_tab .shuttle_endcol{border-right : 0px}
- #internal_tab td{color : #000000; font-family : Arial; font-size :11px; border-bottom : 1px solid #bfbfc0;border-right : 1px solid #bfbfc0; padding : 2px}
- #internal_tab th{background : #4A75B5; color : #FFFFFF; font-family : Arial; font-size :11px; font-weight : normal; border-bottom : 1px solid #bfbfc0;border-right : 1px solid #bfbfc0; padding : 2px}
- #internal_tab tr.shuttle_select{background : #EAF0F8}
- #internal_tab tr.shuttle_currant{background : #C6D6EA}
+ #internal_tab td{
+ font-family : Arial;
+ font-size :11px;
+ border-bottom : 1px solid #FFFFFF; /*tableBorderColor*/
+ border-top : 1px solid #FFFFFF; /*tableBackgroundColor*/
+ padding : 2px}
+ #internal_tab th{
+ background : url(shuttle_images/bg_header.png) /*from additionalBackgroundColor to trimColor*/ top left repeat-x #C6D6EA; /*trimColor*/
+ color : #000000;
+ font-family : Arial;
+ font-size :11px;
+ font-weight : normal;
+ border-bottom : 1px solid #C0C0C0; /*tableBorderColor*/
+ border-right : 1px solid #C0C0C0; /*tableBorderColor*/
+ border-left : 1px solid #EAF0F8; /*additionalBackgroundColor*/
+ border-top : 1px solid #FFFFFF; /*tableBackgroundColor*/
+ padding : 2px}
+ #internal_tab tr.shuttle_select td{
+ background : #C6D6EA; /*trimColor*/
+ border-bottom : 1px solid #ffffff; /*tableBorderColor*/
+ border-top : 1px solid #C6D6EA; /*tableBackgroundColor*/
+ }
+ #internal_tab tr.shuttle_currant td{
+ border-bottom : 1px solid #E79A00; /*selectControlColor*/
+ border-top : 1px solid #E79A00; /*selectControlColor*/
+ }
+
+ #internal_tab tr.shuttle_currant td.shuttle_firstcol{
+ border-left : 1px solid #E79A00; /*selectControlColor*/
+ }
+
+ #internal_tab tr.shuttle_currant td.shuttle_endcol{
+ border-right : 1px solid #E79A00; /*selectControlColor*/
+ }
+
+ a.shuttle_button_selection{
+ text-decoration : none;
+ color : #000000; /*generalTextColor*/
+ display : block;
+ }
+ .shuttle_button_content{
+ font-family : Arial;
+ font-size :11px;
+ padding : 0px 4px 0px 1px;
+ text-align : left;
+ }
+ .shuttle_ico{
+ vertical-align: middle;
+ margin-right : 3px;
+ }
+
</style>
</head>
@@ -35,18 +119,18 @@
<table border="0" cellpadding="0" cellspacing="0" class="shuttle_body">
<tr>
<td colspan="2" class="shuttle_header">
- <div class="shuttle_label shuttle_out_label">Source List</div>
+ <div class="shuttle_label">Source List</div>
</td>
<td colspan="2" class="shuttle_header">
- <div class="shuttle_label shuttle_in_label">Target List</div>
+ <div class="shuttle_label">Destination List</div>
</td>
</tr>
<tr>
- <td>
- <div class="shuttle_list shuttle_outputlist">
+ <td class="shuttle_borderlist">
+ <div class="shuttle_list">
<table border="0" cellpadding="0" cellspacing="0" id="internal_tab">
<tr>
- <th nowrap>
+ <th nowrap class="shuttle_firstcol">
Header 1
</th>
<th nowrap>
@@ -57,7 +141,7 @@
</th>
</tr>
<tr>
- <td nowrap>
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -67,8 +151,8 @@
Content 3
</td>
</tr>
- <tr>
- <td nowrap>
+ <tr class="shuttle_select">
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -79,7 +163,7 @@
</td>
</tr>
<tr class="shuttle_select">
- <td nowrap>
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -90,7 +174,7 @@
</td>
</tr>
<tr>
- <td nowrap>
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -100,8 +184,8 @@
Content 3
</td>
</tr>
- <tr class="shuttle_currant">
- <td nowrap>
+ <tr class="shuttle_select shuttle_currant">
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -112,7 +196,7 @@
</td>
</tr>
<tr class="shuttle_select">
- <td nowrap>
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -123,7 +207,7 @@
</td>
</tr>
<tr>
- <td nowrap>
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -134,7 +218,7 @@
</td>
</tr>
<tr>
- <td nowrap>
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -145,7 +229,7 @@
</td>
</tr>
<tr>
- <td nowrap>
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -160,18 +244,19 @@
</td>
<td class="shuttle_center_button_col_valign">
<div class="shuttle_button_layout">
- <div class="shuttle_button" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><img src="shuttle_images/move.gif" width="15" height="15" alt="" border="0"></div>
- <div class="shuttle_button" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><img src="shuttle_images/back.gif" width="15" height="15" alt="" border="0"></div>
- <div class="shuttle_button" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><img src="shuttle_images/move_all.gif" width="15" height="15" alt="" border="0"></div>
- <div class="shuttle_button" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><img src="shuttle_images/back_all.gif" width="15" height="15" alt="" border="0"></div>
+ <div class="shuttle_button_border"><div class="shuttle_button" onmouseover="this.className='shuttle_button_light'" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><a href="#" class="shuttle_button_selection"><div class="shuttle_button_content"><img src="shuttle_images/move.gif" width="15" height="15" alt="" border="0" class="shuttle_ico">Move</div></a></div></div>
+ <div class="shuttle_button_border"><div class="shuttle_button" onmouseover="this.className='shuttle_button_light'" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><a href="#" class="shuttle_button_selection"><div class="shuttle_button_content"><img src="shuttle_images/back.gif" width="15" height="15" alt="" border="0" class="shuttle_ico">Back</div></a></div></div>
+ <div class="shuttle_button_border"><div class="shuttle_button" onmouseover="this.className='shuttle_button_light'" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><a href="#" class="shuttle_button_selection"><div class="shuttle_button_content"><img src="shuttle_images/move_all.gif" width="15" height="15" alt="" border="0" class="shuttle_ico">Move All</div></a></div></div>
+ <div class="shuttle_button_border"><div class="shuttle_button" onmouseover="this.className='shuttle_button_light'" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><a href="#" class="shuttle_button_selection"><div class="shuttle_button_content"><img src="shuttle_images/back_all.gif" width="15" height="15" alt="" border="0" class="shuttle_ico">Back All</div></a></div></div>
</div>
</td>
- <td>
- <div class="shuttle_list shuttle_inputlist">
+ <td class="shuttle_borderlist">
+
+ <div class="shuttle_list">
<table border="0" cellpadding="0" cellspacing="0" id="internal_tab">
<tr>
- <th nowrap>
+ <th nowrap class="shuttle_firstcol">
Header 1
</th>
<th nowrap>
@@ -182,7 +267,18 @@
</th>
</tr>
<tr>
+ <td nowrap class="shuttle_firstcol">
+ Content 1
+ </td>
<td nowrap>
+ Content 2
+ </td>
+ <td nowrap class="shuttle_endcol">
+ Content 3
+ </td>
+ </tr>
+ <tr class="shuttle_select">
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -192,8 +288,8 @@
Content 3
</td>
</tr>
- <tr>
- <td nowrap>
+ <tr class="shuttle_select">
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -203,8 +299,8 @@
Content 3
</td>
</tr>
- <tr class="shuttle_currant">
- <td nowrap>
+ <tr>
+ <td nowrap class="shuttle_firstcol">
Content 1
</td>
<td nowrap>
@@ -219,10 +315,10 @@
</td>
<td class="shuttle_right_button_col_valign">
<div class="shuttle_button_layout">
- <div class="shuttle_button" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><img src="shuttle_images/up.gif" width="15" height="15" alt="" border="0"></div>
- <div class="shuttle_button" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><img src="shuttle_images/down.gif" width="15" height="15" alt="" border="0"></div>
- <div class="shuttle_button" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><img src="shuttle_images/top.gif" width="15" height="15" alt="" border="0"></div>
- <div class="shuttle_button_dis"><img src="shuttle_images/bottom.gif" width="15" height="15" alt="" border="0"></div>
+ <div class="shuttle_button_border"><div class="shuttle_button" onmouseover="this.className='shuttle_button_light'" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><a href="#" class="shuttle_button_selection"><div class="shuttle_button_content"><img src="shuttle_images/up.gif" width="15" height="15" alt="" border="0" class="shuttle_ico">First</div></a></div></div>
+ <div class="shuttle_button_border"><div class="shuttle_button" onmouseover="this.className='shuttle_button_light'" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><a href="#" class="shuttle_button_selection"><div class="shuttle_button_content"><img src="shuttle_images/down.gif" width="15" height="15" alt="" border="0" class="shuttle_ico">Up</div></a></div></div>
+ <div class="shuttle_button_border"><div class="shuttle_button" onmouseover="this.className='shuttle_button_light'" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><a href="#" class="shuttle_button_selection"><div class="shuttle_button_content"><img src="shuttle_images/top.gif" width="15" height="15" alt="" border="0" class="shuttle_ico">Down</div></a></div></div>
+ <div class="shuttle_button_border"><div class="shuttle_button" onmouseover="this.className='shuttle_button_light'" onmousedown="this.className='shuttle_button_press'" onmouseup="this.className='shuttle_button'" onmouseout="this.className='shuttle_button'"><a href="#" class="shuttle_button_selection"><div class="shuttle_button_content"><img src="shuttle_images/bottom.gif" width="15" height="15" alt="" border="0" class="shuttle_ico">Last</div></a></div></div>
</div>
</td>
</tr>
Modified: management/design/listShuttle/markup/shuttle_images/back.gif
===================================================================
(Binary files differ)
Modified: management/design/listShuttle/markup/shuttle_images/back_all.gif
===================================================================
(Binary files differ)
Added: management/design/listShuttle/markup/shuttle_images/bg_header.png
===================================================================
(Binary files differ)
Property changes on: management/design/listShuttle/markup/shuttle_images/bg_header.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/listShuttle/markup/shuttle_images/bg_press.png
===================================================================
(Binary files differ)
Property changes on: management/design/listShuttle/markup/shuttle_images/bg_press.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: management/design/listShuttle/markup/shuttle_images/bottom.gif
===================================================================
(Binary files differ)
Modified: management/design/listShuttle/markup/shuttle_images/down.gif
===================================================================
(Binary files differ)
Modified: management/design/listShuttle/markup/shuttle_images/move.gif
===================================================================
(Binary files differ)
Modified: management/design/listShuttle/markup/shuttle_images/move_all.gif
===================================================================
(Binary files differ)
Modified: management/design/listShuttle/markup/shuttle_images/top.gif
===================================================================
(Binary files differ)
Modified: management/design/listShuttle/markup/shuttle_images/up.gif
===================================================================
(Binary files differ)
16 years, 10 months