Dear Community,
Lot's of you ask why this or that component is not included in RichFaces library yet. Some of them are planned and others are already in sandbox, a place where they can be accessed and tested before inclusion into main library.
All the components marked 3.3.X can be used with both RichFaces 3.3.3.Final and 3.3.4-SNAPSHOT.
Make sure to use default script and style loading strategies.
If the component you need is not yet migrated to 4.x, please request it in it's forum thread instead of this article's comments.
To use sandbox component in you project just add it's JAR to your application. Each sandbox component has it's own namespace, which ususaly it should match the pattern: http://richfaces.org/sandbox/componentName. So i.e. for ImageSelectTool component it would be http://richfaces.org/sandbox/imageSelectTool. If unsure you can inspect component's taglib which is located in components.jar/META-INF/*.taglib.xml.
Example usage:
{code:xml}
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:imageSelectTool="http://richfaces.org/sandbox/imageSelectTool"
xmlns:rich="http://richfaces.org/rich">
<rich:panel>
<imageSelectTool:imageSelectTool id="selector" value="#{profileView.selection}" target="originalPhoto" aspectRatio="1" onselect="crop()"
backgroundColor="#aaa" backgroundOpacity=".5" rendered="#{not empty profileView.originalPhoto}"/>
</rich:panel>
</ui:composition>{code:xml}
Here is a list of RichFaces 4 sandbox components:
Syntaxhighlighter
- Forum thread: https://community.jboss.org/thread/177434
- Online demo 4.X demo
- JIRA:
- 4.1.0-SNAPSHOT
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.syntaxhighlighter</groupId>
<artifactId>syntaxhighlighter-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>
{code:xml}
Rating
- Forum thread: https://community.jboss.org/thread/177073
- Online demo: 4.X demo
- JIRA:
- 4.1.0-SNAPSHOT
- Download: Download
- Source: https://github.com/blabno/sandbox/tree/master/ui/rating
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.rating</groupId>
<artifactId>rating-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>
{code:xml}
ColorPicker
- Forum thread: http://community.jboss.org/thread/177174
- Online demo: 4.X demo
- JIRA:
- 4.1.0-SNAPSHOT
- Download: Download
- Source: https://github.com/blabno/sandbox/tree/master/ui/colorpicker
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.colorpicker</groupId>
<artifactId>colorpicker-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>
{code:xml}
AccessKeyHelper
- Forum thread: http://community.jboss.org/thread/176328
- Online demo: 4.X demo
- JIRA;
- 4.1.0-SNAPSHOT
- Download: Download
- Subversion: http://anonsvn.jboss.org/repos/richfaces/sandbox/trunk/ui/accesskeyhelper
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.accesskeyhelper</groupId>
<artifactId>accesskeyhelper-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>
{code:xml}
Carousel
- Forum thread: http://community.jboss.org/thread/176329
- Online deom: 4.X demo
- JIRA:
- 4.1.0-SNAPSHOT
- Download: Download
- Subversion: http://anonsvn.jboss.org/repos/richfaces/sandbox/trunk/ui/carousel/
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.carousel</groupId>
<artifactId>carousel-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>
{code:xml}
Context menu
- Forum thread: http://community.jboss.org/thread/175507
- Online demo: 4.X demo
- JIRA:
- 4.1.0-SNAPSHOT
- Download: Download
- Subversion: http://anonsvn.jboss.org/repos/richfaces/sandbox/trunk/ui/contextmenu/
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.contextmenu</groupId>
<artifactId>contextmenu-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>
{code:xml}
Dashboard
- Forum thread: http://community.jboss.org/thread/175301
- Online demo : 4.X demo
- JIRA:
- 3.3.4-SNAPSHOT:
- Download: not available yet (community feedback required)
- Subversion: not available yet(community feedback required)
- 4.1.0-SNAPSHOT
- Download: Download
- Subversion: http://anonsvn.jboss.org/repos/richfaces/sandbox/trunk/ui/dashboard/
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.dashboard</groupId>
<artifactId>dashboard-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>
{code:xml}
Visualsearch
- Forum thread: http://community.jboss.org/thread/172723
- Online demo: 4.X demo
- JIRA:
- 3.3.4-SNAPSHOT:
- Download: not available yet (community feedback required)
- Subversion: not available yet (community feedback required)
- 4.1-SNAPSHOT:
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.visualsearch</groupId>
<artifactId>visualsearch-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>
{code:xml}
Schedule
- Forum thread:
- Online demo: 3.3.4 demo | 4.X demo
- JIRA:https://jira.jboss.org/browse/RF-8627
- 3.3.4-SNAPSHOT:
- 4.1-SNAPSHOT:
{code:xml}
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>schedule</artifactId>
<version>3.3.4-SNAPSHOT</version>
</dependency>
{code:xml}
or
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.schedule</groupId>
<artifactId>schedule-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>
{code:xml}
Notify
- Forum thread:
- Online demo: 3.3.4 demo
- JIRA:https://jira.jboss.org/browse/RF-7281
- 3.3.4-SNAPSHOT:
- 4.1-SNAPSHOT:
{code:xml}
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>notify</artifactId>
<version>3.3.4-SNAPSHOT</version>
</dependency>
{code:xml}
or
{code:xml}
<dependency>
<groupId>org.richfaces.sandbox.ui.notify</groupId>
<artifactId>notify-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>
{code:xml}
ImageSelectTool
- Forum thread:
- Online demo: 3.3.4 demo
- JIRA:
- 3.3.4-SNAPSHOT:
- 4.1-SNAPSHOT:
- Download: not available yet (community feedback required)
- Subversion: not available yet (community feedback required)
{code:xml}
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>imageSelectTool</artifactId>
<version>3.3.4-SNAPSHOT</version>
</dependency>
{code:xml}
Focus
- Forum thread: https://community.jboss.org/thread/147735
- Online demo: 3.3.4 demo
- JIRA: https://jira.jboss.org/browse/RF-8606
- 3.3.4-SNAPSHOT:
- 4.1-SNAPSHOT:
- Download: not available yet (community feedback required)
- Subversion: not available yet (community feedback required)
{code:xml}
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>focus</artifactId>
<version>3.3.4-SNAPSHOT</version>
</dependency>
{code:xml}
Watermark
- Forum thread: http://community.jboss.org/thread/160162
- Online demo: 3.3.4 demo
- JIRA:
- 3.3.4-SNAPSHOT:
- 4.1-SNAPSHOT:
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.watermark</groupId>
<artifactId>watermark</artifactId>
<version>3.3.4-SNAPSHOT</version>
</dependency>
{code:xml}
or
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.watermark</groupId>
<artifactId>watermark-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>
{code:xml}
jQueryPlugin
- Forum thread: http://community.jboss.org/thread/160163
- Online demo: 3.3.4 demo
- JIRA:
- 3.3.4-SNAPSHOT:
- 4.1-SNAPSHOT:
- Download: not available yet (community feedback required)
- Subversion: not available yet (community feedback required)
{code:xml}
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>jQueryPlugin</artifactId>
<version>3.3.4-SNAPSHOT</version>
</dependency>
{code:xml}
Lightbox
- Forum thread:
- Online demo: 3.3.4 demo | 4.X demo
- JIRA:
- 3.3.4-SNAPSHOT:
- 4.1-SNAPSHOT:
{code:xml}
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>lightbox</artifactId>
<version>3.3.4-SNAPSHOT</version>
</dependency>
{code:xml}
or
{code:xml}<dependency>
<groupId>org.richfaces.sandbox.ui.lightbox</groupId>
<artifactId>lightbox-ui</artifactId>
<version>4.1.0-SNAPSHOT</version>
</dependency>{code:xml}
Dock
- Forum thread:
- Online demo: 3.3.4 demo
- JIRA:
- 3.3.4-SNAPSHOT:
- 4.1-SNAPSHOT:
- Download: not available yet (community feedback required)
- Subversion: not available yet (community feedback required)
{code:xml}
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>dock</artifactId>
<version>3.3.4-SNAPSHOT</version>
</dependency>
{code:xml}
Radio
- Forum thread: http://community.jboss.org/thread/167173
- Online demo: 3.3.4 demo
- JIRA:
- 3.3.4-SNAPSHOT:
- 4.1-SNAPSHOT:
- Download: not available yet (community feedback required)
- Subversion: not available yet (community feedback required)
This currently works only with sun implementation.
{code:xml}
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>radio</artifactId>
<version>3.3.4-SNAPSHOT</version>
</dependency>
{code:xml}
Maven artifacts are kept on Bernard Labno's repository. To use it add following to your settings.xml:
{code:xml}
<profile>
<id>lemur</id>
<repositories>
<repository>
<id>lemur</id>
<url>http://artifactory.it-crowd.com.pl/repo</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>lemur</id>
<url>http://artifactory.it-crowd.com.pl/repo</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
{code:xml}
Comments