JBoss Rich Faces SVN: r9170 - in trunk/docs/cdkguide/en/src/main/docbook: includes and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-06-24 06:36:53 -0400 (Tue, 24 Jun 2008)
New Revision: 9170
Added:
trunk/docs/cdkguide/en/src/main/docbook/includes/ccreate.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/csrenderer.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/pcreate.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/protoui.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/register.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/rssubclass.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/rules.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/skin.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/taghandler.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/template.xml
Removed:
trunk/docs/cdkguide/en/src/main/docbook/includes/devcommand.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/devinput.xml
Modified:
trunk/docs/cdkguide/en/src/main/docbook/master.xml
trunk/docs/cdkguide/en/src/main/docbook/modules/compdev.xml
Log:
http://jira.jboss.com/jira/browse/RF-3692 - TOC was changed
Added: trunk/docs/cdkguide/en/src/main/docbook/includes/ccreate.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/ccreate.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/ccreate.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="ccreate" xreflabel="ccreate">
+ <?dbhtml filename="ccreate.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>create</keyword>
+ <keyword>component</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Creating and building component</title>
+ <para>
+ Simple component (panel maybe) TBD
+ </para>
+ <section id="skeleton" xreflabel="skeleton">
+ <?dbhtml filename="skeleton.html"?>
+ <title>Building the component skeleton</title>
+ <para>
+ TBD Skeleton
+ </para>
+ </section>
+ <section id="structure" xreflabel="structure">
+ <?dbhtml filename="structure.html"?>
+ <title>Component project structure</title>
+ <para>
+ TBD structure
+ </para>
+ </section>
+</section>
+
+
Added: trunk/docs/cdkguide/en/src/main/docbook/includes/csrenderer.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/csrenderer.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/csrenderer.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="csrenderer" xreflabel="csrenderer">
+ <?dbhtml filename="csrenderer.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>renderer</keyword>
+ <keyword>UI</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Creating a client-specific Renderer</title>
+ <para>
+ client-specific Renderer
+ </para>
+
+</section>
+
+
Deleted: trunk/docs/cdkguide/en/src/main/docbook/includes/devcommand.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/devcommand.xml 2008-06-24 08:26:27 UTC (rev 9169)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/devcommand.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<section id="devcommand" xreflabel="devcommand">
- <?dbhtml filename="devcommand.html"?>
- <sectioninfo>
- <keywordset>
- <keyword>development</keyword>
- <keyword>command</keyword>
- <keyword>component</keyword>
- <keyword>CDK</keyword>
- <keyword>Guide</keyword>
- </keywordset>
- </sectioninfo>
- <title>Command Component Development</title>
- <para>
- TBD command components development
- </para>
-</section>
\ No newline at end of file
Deleted: trunk/docs/cdkguide/en/src/main/docbook/includes/devinput.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/devinput.xml 2008-06-24 08:26:27 UTC (rev 9169)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/devinput.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<section id="devinput" xreflabel="devinput">
- <?dbhtml filename="devinput.html"?>
- <sectioninfo>
- <keywordset>
- <keyword>development</keyword>
- <keyword>input</keyword>
- <keyword>component</keyword>
- <keyword>CDK</keyword>
- <keyword>Guide</keyword>
- </keywordset>
- </sectioninfo>
- <title>Input Component Development</title>
- <para>
- TBD input components development
- </para>
-</section>
\ No newline at end of file
Added: trunk/docs/cdkguide/en/src/main/docbook/includes/pcreate.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/pcreate.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/pcreate.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="pcreate" xreflabel="pcreate">
+ <?dbhtml filename="pcreate.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>project</keyword>
+ <keyword>component</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Creating project for component</title>
+ <para>
+ Web Resources
+ </para>
+
+</section>
+
+
Added: trunk/docs/cdkguide/en/src/main/docbook/includes/protoui.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/protoui.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/protoui.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="protoui" xreflabel="protoui">
+ <?dbhtml filename="protoui.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>proptotype</keyword>
+ <keyword>UI</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Creating a UI prototype</title>
+ <para>
+ UI prototype
+ </para>
+
+</section>
+
+
Added: trunk/docs/cdkguide/en/src/main/docbook/includes/register.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/register.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/register.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="register" xreflabel="register">
+ <?dbhtml filename="register.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>register</keyword>
+ <keyword>UI</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Registering UIComponent, Renderer and Component resources</title>
+ <para>
+ Registering UIComponent, Renderer and component resources
+ </para>
+ <section id="regrenderer">
+ <title>Register the Renderer</title>
+ <para>
+ Register the Renderer
+ </para>
+ </section>
+ <section id="regsubclass">
+ <title>Register the Renderer-Specific Subclass</title>
+ <para>
+ Register the Renderer-Specific Subclass
+ </para>
+ </section>
+
+ <section id="regres">
+ <title>Component resources registration</title>
+ <para>
+ How to register component resources
+ </para>
+ <section id="resconf">
+ <title>resources-config.xml file format</title>
+ <para>
+ resources-config.xml file format
+ </para>
+ </section>
+ </section>
+</section>
\ No newline at end of file
Added: trunk/docs/cdkguide/en/src/main/docbook/includes/rssubclass.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/rssubclass.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/rssubclass.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="rssubclass" xreflabel="rssubclass">
+ <?dbhtml filename="rssubclass.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>renderer</keyword>
+ <keyword>UI</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Creating a renderer-specific subclass</title>
+ <para>
+ renderer-specific subclass
+ </para>
+
+</section>
+
+
Added: trunk/docs/cdkguide/en/src/main/docbook/includes/rules.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/rules.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/rules.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="rules" xreflabel="rules">
+ <?dbhtml filename="rules.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>project</keyword>
+ <keyword>component</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Limitation and rules</title>
+ <para>
+ Rules
+ </para>
+
+</section>
+
+
Added: trunk/docs/cdkguide/en/src/main/docbook/includes/skin.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/skin.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/skin.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="skin" xreflabel="skin">
+ <?dbhtml filename="skin.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>skin</keyword>
+ <keyword>UI</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Skinnability</title>
+ <para>
+ creation
+ </para>
+ <section>
+ <title>XCSS Format</title>
+ <para>
+ XCSS
+ </para>
+ </section>
+
+ <section>
+ <title>Plug-n-Skin feature</title>
+ <para>
+ Feature
+ </para>
+ </section>
+</section>
\ No newline at end of file
Added: trunk/docs/cdkguide/en/src/main/docbook/includes/taghandler.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/taghandler.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/taghandler.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="taghandler" xreflabel="taghandler">
+ <?dbhtml filename="taghandler.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>taghandler</keyword>
+ <keyword>UI</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Creating a JSP tag handler and TLD</title>
+ <para>
+ Creating a JSP tag handler and TLD
+ </para>
+
+</section>
\ No newline at end of file
Added: trunk/docs/cdkguide/en/src/main/docbook/includes/template.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/template.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/template.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="template" xreflabel="template">
+ <?dbhtml filename="template.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>templating</keyword>
+ <keyword>UI</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Templating</title>
+ <para>
+ How to write your renderer with the help of template.
+ </para>
+ <section id="tempex">
+ <title>Template example</title>
+ <para>
+ Example
+ </para>
+ </section>
+ <section id="tempmech">
+ <title>Templating mechanism</title>
+ <para>
+ Mechanism
+ </para>
+ </section>
+ <section id="temptags">
+ <title>Template tags overview</title>
+ <para>
+ tags
+ </para>
+ </section>
+</section>
\ No newline at end of file
Modified: trunk/docs/cdkguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-06-24 08:26:27 UTC (rev 9169)
+++ trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -6,17 +6,23 @@
<!ENTITY roadmap SYSTEM "modules/roadmap.xml">
<!ENTITY namingconv SYSTEM "modules/namingconv.xml">
<!ENTITY setup SYSTEM "modules/setup.xml">
-<!ENTITY pcreate SYSTEM "modules/pcreate.xml">
-<!ENTITY ccreate SYSTEM "modules/ccreate.xml">
<!ENTITY compdev SYSTEM "modules/compdev.xml">
<!ENTITY overview SYSTEM "modules/overview.xml">
<!ENTITY ide SYSTEM "modules/ide.xml">
<!ENTITY ref SYSTEM "modules/ref.xml">
<!ENTITY test SYSTEM "modules/test.xml">
-<!ENTITY devinput SYSTEM "includes/devinput.xml">
-<!ENTITY devcommand SYSTEM "includes/devcommand.xml">
+<!ENTITY pcreate SYSTEM "includes/pcreate.xml">
+<!ENTITY ccreate SYSTEM "includes/ccreate.xml">
+<!ENTITY rules SYSTEM "includes/rules.xml">
+<!ENTITY protoui SYSTEM "includes/protoui.xml">
+<!ENTITY csrenderer SYSTEM "includes/csrenderer.xml">
+<!ENTITY rssubclass SYSTEM "includes/rssubclass.xml">
+<!ENTITY template SYSTEM "includes/template.xml">
+<!ENTITY skin SYSTEM "includes/skin.xml">
+<!ENTITY register SYSTEM "includes/register.xml">
+<!ENTITY taghandler SYSTEM "includes/taghandler.xml">
<!--Check the links page -->
<!ENTITY links SYSTEM "modules/links.xml">
]>
@@ -36,28 +42,65 @@
&roadmap;
&namingconv;
&setup;
+
+
+<!--
&pcreate;
&ccreate;
&compdev;
+-->
+
+
+
+
+
+<chapter id="compdev" xreflabel="compdev">
+ <?dbhtml filename="compdev.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>development</keyword>
+ <keyword>component</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </chapterinfo>
+ <title>Calendar component development</title>
+ <para>
+ Some info
+ </para>
+
+
+ &rules;
+ &pcreate;
+ &ccreate;
+ &protoui;
+ &csrenderer;
+ &rssubclass;
+ &template;
+ &skin;
+ ®ister;
+ &taghandler;
+
+</chapter>
+
&test;
&overview;
-
- <chapter id="tutorial" xreflabel="tutorial">
- <?dbhtml filename="tutorial.html"?>
+
+ <chapter id="button" xreflabel="button">
+ <?dbhtml filename="button.html"?>
<chapterinfo>
<keywordset>
- <keyword>tutorial</keyword>
+ <keyword>button</keyword>
<keyword>component</keyword>
<keyword>CDK</keyword>
<keyword>Guide</keyword>
</keywordset>
</chapterinfo>
- <title>CDK Tutorial</title>
+ <title>Button component development</title>
<para>
- Input and command components TBD with RichFaces CDK
+ Command Ajax components TBD with RichFaces CDK
</para>
- &devinput;
- &devcommand;
+
</chapter>
&ide;
&ref;
Modified: trunk/docs/cdkguide/en/src/main/docbook/modules/compdev.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/modules/compdev.xml 2008-06-24 08:26:27 UTC (rev 9169)
+++ trunk/docs/cdkguide/en/src/main/docbook/modules/compdev.xml 2008-06-24 10:36:53 UTC (rev 9170)
@@ -19,6 +19,56 @@
Rules
</para>
</section>
+
+<section id="pcreate" xreflabel="pcreate">
+ <?dbhtml filename="pcreate.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>project</keyword>
+ <keyword>component</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Creating project for component</title>
+ <para>
+ Web Resources
+ </para>
+
+</section>
+
+
+<section id="ccreate" xreflabel="ccreate">
+ <?dbhtml filename="ccreate.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>create</keyword>
+ <keyword>component</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Creating and building component</title>
+ <para>
+ Simple component (panel maybe) TBD
+ </para>
+ <section id="skeleton" xreflabel="skeleton">
+ <?dbhtml filename="skeleton.html"?>
+ <title>Building the component skeleton</title>
+ <para>
+ TBD Skeleton
+ </para>
+ </section>
+ <section id="structure" xreflabel="structure">
+ <?dbhtml filename="structure.html"?>
+ <title>Component project structure</title>
+ <para>
+ TBD structure
+ </para>
+ </section>
+</section>
+
+
<section id="settings">
<title>Specifying component attributes</title>
<para>
15 years, 10 months
JBoss Rich Faces SVN: r9169 - in trunk/test-applications/jsp/src/main: webapp/SuggestionBox and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2008-06-24 04:26:27 -0400 (Tue, 24 Jun 2008)
New Revision: 9169
Modified:
trunk/test-applications/jsp/src/main/java/sb/Sb.java
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp
trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp
trunk/test-applications/jsp/src/main/webapp/styles/styles.css
Log:
Add some properties to Suggestion box
Modified: trunk/test-applications/jsp/src/main/java/sb/Sb.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/sb/Sb.java 2008-06-23 17:25:46 UTC (rev 9168)
+++ trunk/test-applications/jsp/src/main/java/sb/Sb.java 2008-06-24 08:26:27 UTC (rev 9169)
@@ -100,7 +100,7 @@
public void checkBinding(ActionEvent actionEvent) {
FacesContext context = FacesContext.getCurrentInstance();
- bindLabel = mySuggestionBox.getClientId(context);
+ bindLabel = mySuggestionBox.getClientId(context) + "; param: " + mySuggestionBox.getParam();
}
public List autocomplete(Object event) {
Modified: trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp 2008-06-23 17:25:46 UTC (rev 9168)
+++ trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp 2008-06-24 08:26:27 UTC (rev 9169)
@@ -38,9 +38,10 @@
onselect="#{event.onselect}"
onsubmit="#{event.onsubmit}"
- usingSuggestObjects="true"
+ popupStyle="background-color: black"
+
+ usingSuggestObjects="#{sb.usingSuggestObjects}"
reRender="label"
- param="param:#{result.text}"
rendered="#{sb.rendered}"
requestDelay="#{sb.requestDelay}"
selfRendered="#{sb.selfRendered}"
@@ -57,8 +58,6 @@
shadowOpacity="#{sb.shadowOpacity}"
shadowDepth="#{sb.shadowDepth}"
selectValueClass="mousemove"
- popupClass="#{style.popupClass}"
- popupStyle="#{style.popupStyle}"
style="#{style.style}"
styleClass="#{style.styleClass}"
selectedClass="#{style.selectedClass}"
Modified: trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp 2008-06-23 17:25:46 UTC (rev 9168)
+++ trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBoxProperty.jsp 2008-06-24 08:26:27 UTC (rev 9169)
@@ -26,7 +26,7 @@
<a4j:support event="onchange" reRender="suggestionBoxId"></a4j:support>
</h:selectOneMenu>
- <h:commandButton id="bindingButtonID" actionListener="#{sb.checkBinding}" value="binding" />
+ <h:commandButton id="bindingButtonID" actionListener="#{sb.checkBinding}" value="binding & param" />
<h:outputText value="#{sb.bindLabel}" />
<h:outputText value="border"/>
Modified: trunk/test-applications/jsp/src/main/webapp/styles/styles.css
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/styles/styles.css 2008-06-23 17:25:46 UTC (rev 9168)
+++ trunk/test-applications/jsp/src/main/webapp/styles/styles.css 2008-06-24 08:26:27 UTC (rev 9169)
@@ -6,9 +6,13 @@
/* Suggestion Box */
.entryClass {
color: red;
- background: yellow;
+ background-color: yellow;
}
+.popupClass {
+ background-color: white;
+}
+
/* Message and messages */
.rich-message-label {
padding: 0px 10px;
15 years, 10 months
JBoss Rich Faces SVN: r9168 - trunk/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-06-23 13:25:46 -0400 (Mon, 23 Jun 2008)
New Revision: 9168
Modified:
trunk/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js
Log:
http://jira.jboss.com/jira/browse/RF-3419
Modified: trunk/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js
===================================================================
--- trunk/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js 2008-06-23 16:27:40 UTC (rev 9167)
+++ trunk/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js 2008-06-23 17:25:46 UTC (rev 9168)
@@ -11,7 +11,6 @@
this.evaluator = evaluator;
this.element.component = this;
this["rich:destructor"] = "destroy";
-
this.doShow = this.show;
this.doHide = this.hide;
this.delay = delay;
@@ -51,8 +50,11 @@
//Strip 'on' here
var evnName = event.substr(2);
+ // http://jira.jboss.com/jira/browse/RF-3419
+ if(evnName == 'contextmenu') {
+ Richfaces.enableDefaultHandler('click');
+ }
var listener = this.show.bindAsEventListener(this, context);
-
Event.observe(element, evnName, listener);
}
},
@@ -115,7 +117,7 @@
if (event.startsWith('on')) {
event = event.substr(2);
}
- Event.observe(document, event, Event.stop);
+ Event.observe(document, event, Event.stop);
};
Richfaces.enableDefaultHandler = function(event) {
15 years, 10 months
JBoss Rich Faces SVN: r9167 - in trunk/test-applications/jsp/src/main: resources/org/richfaces and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-06-23 12:27:40 -0400 (Mon, 23 Jun 2008)
New Revision: 9167
Added:
trunk/test-applications/jsp/src/main/java/tree/TreeContainer.java
trunk/test-applications/jsp/src/main/java/tree/TreeDndBean.java
trunk/test-applications/jsp/src/main/resources/org/richfaces/simpleTreeData.properties
Modified:
trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp
trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Tree.xml
Log:
D'n'D support for rich:Tree component
Added: trunk/test-applications/jsp/src/main/java/tree/TreeContainer.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/tree/TreeContainer.java (rev 0)
+++ trunk/test-applications/jsp/src/main/java/tree/TreeContainer.java 2008-06-23 16:27:40 UTC (rev 9167)
@@ -0,0 +1,44 @@
+/**
+ *
+ */
+package tree;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+
+import org.richfaces.component.UITree;
+import org.richfaces.component.UITreeNode;
+
+/**
+ * @author dmorozov
+ *
+ */
+public class TreeContainer {
+
+ /**
+ * Get tree component from event
+ *
+ * @param event tree event
+ * @return tree component
+ */
+ protected UITree getTree(FacesEvent event) {
+ return getTree(event.getComponent());
+ }
+
+ /**
+ * Safe getter of tree component
+ * @param component component to process
+ * @return tree component
+ */
+ protected UITree getTree(UIComponent component) {
+ if (component instanceof UITree) {
+ return ((UITree) component);
+ }
+
+ if (component instanceof UITreeNode) {
+ return ((UITree) component.getParent());
+ }
+
+ return null;
+ }
+}
Added: trunk/test-applications/jsp/src/main/java/tree/TreeDndBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/tree/TreeDndBean.java (rev 0)
+++ trunk/test-applications/jsp/src/main/java/tree/TreeDndBean.java 2008-06-23 16:27:40 UTC (rev 9167)
@@ -0,0 +1,333 @@
+/**
+ *
+ */
+package tree;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Properties;
+
+import javax.faces.FacesException;
+import javax.faces.context.ExternalContext;
+import javax.faces.context.FacesContext;
+
+import org.ajax4jsf.context.AjaxContext;
+import org.richfaces.component.UITree;
+import org.richfaces.component.UITreeNode;
+import org.richfaces.event.DragEvent;
+import org.richfaces.event.DropEvent;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeSelectedEvent;
+import org.richfaces.model.TreeNode;
+import org.richfaces.model.TreeNodeImpl;
+import org.richfaces.model.TreeRowKey;
+
+/**
+ * @author dmorozov
+ *
+ */
+public class TreeDndBean extends TreeContainer {
+ private static final String DATA_PATH1 = "org/richfaces/simpleTreeData.properties";
+
+ private TreeNode<String> treeNodeLeft;
+
+ private TreeNode<String> treeNodeRight;
+
+ private String leftSelectedNodeTitle;
+
+ private String rightSelectedNodeTitle;
+
+ private UITree leftTree;
+
+ private UITree rightTree;
+
+ /**
+ * Helper tree model creation method from properties object
+ *
+ * @param path node path
+ * @param node parent node
+ * @param properties properties object
+ */
+ private void addNodes(String path, TreeNode<String> node, Properties properties) {
+ boolean end = false;
+ int counter = 1;
+ while (!end) {
+ String key = path != null ? path + '.' + counter : String.valueOf(counter);
+ String value = properties.getProperty(key);
+ if (value != null) {
+ TreeNodeImpl<String> nodeImpl = new TreeNodeImpl<String>();
+ nodeImpl.setData(value);
+ node.addChild(new Integer(counter), nodeImpl);
+ addNodes(key, nodeImpl, properties);
+ counter++;
+ } else {
+ end = true;
+ }
+ }
+ }
+
+ /**
+ * Init sample tree model
+ *
+ * @return tree model
+ */
+ private TreeNode<String> initPaneTree() {
+ TreeNode<String> rootNode = null;
+ FacesContext facesContext = FacesContext.getCurrentInstance();
+ ExternalContext externalContext = facesContext.getExternalContext();
+
+ InputStream dataStream = this.getClass().getClassLoader().getResourceAsStream(DATA_PATH1);
+
+ try {
+ Properties properties = new Properties();
+ properties.load(dataStream);
+ rootNode = new TreeNodeImpl<String>();
+ addNodes(null, rootNode, properties);
+ } catch (IOException e) {
+
+ throw new FacesException(e.getMessage(), e);
+
+ } finally {
+ if (dataStream != null) {
+ try {
+ dataStream.close();
+ } catch (IOException e) {
+ externalContext.log(e.getMessage(), e);
+ }
+ }
+ }
+
+ return rootNode;
+ }
+
+ /**
+ * Left tree demo selection handler.
+ * @param event node selection event
+ */
+ public void processLSelection(NodeSelectedEvent event) {
+ UITree tree = (UITree) event.getComponent();
+ leftSelectedNodeTitle = (String) tree.getRowData();
+ }
+
+ /**
+ * Right tree demo selection handler.
+ * @param event node selection event
+ */
+ public void processRSelection(NodeSelectedEvent event) {
+ UITree tree = (UITree) event.getComponent();
+ if (tree != null) {
+ rightSelectedNodeTitle = (String) tree.getRowData();
+ }
+ }
+
+ /**
+ * Left tree value binding
+ * @return the treeNodeLeft
+ */
+ public TreeNode<String> getTreeNodeLeft() {
+ if (treeNodeLeft == null) {
+ treeNodeLeft = initPaneTree();
+ }
+ return treeNodeLeft;
+ }
+
+ /**
+ * Left tree value binding
+ * @param treeNodeLeft
+ * the treeNodeLeft to set
+ */
+ public void setTreeNodeLeft(TreeNode<String> treeNodeLeft) {
+ this.treeNodeLeft = treeNodeLeft;
+ }
+
+ /**
+ * @return the leftSelectedNodeTitle
+ */
+ public String getLeftSelectedNodeTitle() {
+ return leftSelectedNodeTitle;
+ }
+
+ /**
+ * @param leftSelectedNodeTitle
+ * the leftSelectedNodeTitle to set
+ */
+ public void setLeftSelectedNodeTitle(String leftSelectedNodeTitle) {
+ this.leftSelectedNodeTitle = leftSelectedNodeTitle;
+ }
+
+ /**
+ * @return the rightSelectedNodeTitle
+ */
+ public String getRightSelectedNodeTitle() {
+ return rightSelectedNodeTitle;
+ }
+
+ /**
+ * @param rightSelectedNodeTitle
+ * the rightSelectedNodeTitle to set
+ */
+ public void setRightSelectedNodeTitle(String rightSelectedNodeTitle) {
+ this.rightSelectedNodeTitle = rightSelectedNodeTitle;
+ }
+
+ /**
+ * Right tree value binding
+ * @return the treeNodeRight
+ */
+ public TreeNode<String> getTreeNodeRight() {
+ if (treeNodeRight == null) {
+ treeNodeRight = initPaneTree();
+ }
+ return treeNodeRight;
+ }
+
+ /**
+ * Right tree value binding
+ * @param treeNodeRight
+ * the treeNodeRight to set
+ */
+ public void setTreeNodeRight(TreeNode<String> treeNodeRight) {
+ this.treeNodeRight = treeNodeRight;
+ }
+
+ /**
+ * Left tree binding
+ * @return the leftTree
+ */
+ public UITree getLeftTree() {
+ return leftTree;
+ }
+
+ /**
+ * Left tree binding
+ * @param leftTree
+ * the leftTree to set
+ */
+ public void setLeftTree(UITree leftTree) {
+ this.leftTree = leftTree;
+ }
+
+ /**
+ * Right tree binding
+ * @return the rightTree
+ */
+ public UITree getRightTree() {
+ return rightTree;
+ }
+
+ /**
+ * Right tree binding
+ * @param rightTree
+ * the rightTree to set
+ */
+ public void setRightTree(UITree rightTree) {
+ this.rightTree = rightTree;
+ }
+
+ /**
+ * Expand event handler
+ * @param event expand event
+ */
+ public void onExpand(NodeExpandedEvent event) {
+ UITree tree = getTree(event);
+ System.out.println("Tree ('"+tree.getId()+"') node " + (tree.isExpanded() ? "expanded" : "collapsed") + " " + tree.getRowKey());
+ }
+
+ /**
+ * Drag event handler
+ * @param dragEvent event handler
+ */
+ public void onDrag(DragEvent dragEvent) {
+ System.out.println("onDrag occured.");
+ System.out.println("DragValue: " + dragEvent.getDragValue());
+ System.out.println("DropValue: " + dragEvent.getDropValue());
+ }
+
+ /**
+ * Sample unique subnode identifier generation
+ *
+ * @param parentNode parent node
+ * @return unique subnode identifier
+ */
+ private Object getNewId(TreeNode parentNode) {
+ Map<Object, TreeNode> childs = new HashMap<Object, TreeNode>();
+ Iterator<Map.Entry<Object, TreeNode>> iter = parentNode.getChildren();
+ while (iter != null && iter.hasNext()) {
+ Map.Entry<Object, TreeNode> entry = iter.next();
+ childs.put(entry.getKey(), entry.getValue());
+ }
+
+ Integer index = 1;
+ while (childs.containsKey(index)) {
+ index++;
+ }
+ return index;
+ }
+
+ /**
+ * Drop event handler
+ * @param dropEvent Drop event
+ */
+ public void onDrop(DropEvent dropEvent) {
+ System.out.println("onDrop occured.");
+ System.out.println("DragValue: " + dropEvent.getDragValue());
+ System.out.println("DropValue: " + dropEvent.getDropValue());
+
+ // resolve drag source attributes
+ UITreeNode srcNode = (dropEvent.getDraggableSource() instanceof UITreeNode) ? (UITreeNode) dropEvent.getDraggableSource() : null;
+ UITree srcTree = srcNode != null ? srcNode.getUITree() : null;
+ TreeRowKey dragNodeKey = (dropEvent.getDragValue() instanceof TreeRowKey) ? (TreeRowKey) dropEvent.getDragValue() : null;
+
+ // resolve drag destination attributes
+ UITreeNode destNode = (dropEvent.getSource() instanceof UITreeNode) ? (UITreeNode) dropEvent.getSource() : null;
+ UITree destTree = destNode != null ? destNode.getUITree() : getTree(dropEvent);
+ TreeRowKey dropNodeKey = (dropEvent.getDropValue() instanceof TreeRowKey) ? (TreeRowKey) dropEvent.getDropValue() : null;
+
+ FacesContext context = FacesContext.getCurrentInstance();
+
+ if (dropNodeKey != null) {
+ // add destination node for rerender
+ destTree.addRequestKey(dropNodeKey);
+
+ Object state = null;
+ TreeNode draggedNode = null;
+ if (dragNodeKey != null) { // Drag from this or other tree
+ draggedNode = srcTree.getTreeNode(dragNodeKey);
+
+ TreeNode parentNode = draggedNode.getParent();
+ // 1. remove node from tree
+ state = srcTree.removeNode(dragNodeKey);
+ // 2. add parent for rerender
+ Object rowKey = srcTree.getTreeNodeRowKey(parentNode);
+ srcTree.addRequestKey(rowKey);
+ } else if (dropEvent.getDragValue() != null) { // Drag from some drag source
+ draggedNode = new TreeNodeImpl<String>();
+ draggedNode.setData(dropEvent.getDragValue().toString());
+ }
+
+ // generate new node id
+ Object id = getNewId(destTree.getTreeNode(dropNodeKey));
+ destTree.addNode(dropNodeKey, draggedNode, id, state);
+ }
+
+ AjaxContext ac = AjaxContext.getCurrentInstance();
+ // Add destination tree to reRender
+ try {
+ ac.addComponentToAjaxRender(destTree);
+ } catch (Exception e) {
+ System.err.print(e.getMessage());
+ }
+
+ // Add source tree to reRender
+ try {
+ ac.addComponentToAjaxRender(srcTree);
+ } catch (Exception e) {
+ System.err.print(e.getMessage());
+ }
+
+ System.out.println("+++++");
+ }
+}
Added: trunk/test-applications/jsp/src/main/resources/org/richfaces/simpleTreeData.properties
===================================================================
--- trunk/test-applications/jsp/src/main/resources/org/richfaces/simpleTreeData.properties (rev 0)
+++ trunk/test-applications/jsp/src/main/resources/org/richfaces/simpleTreeData.properties 2008-06-23 16:27:40 UTC (rev 9167)
@@ -0,0 +1,67 @@
+1=Daniel Defo
+1.1=Robinson Crusoe
+1.1.1=Start In Life
+1.1.2=Slavery And Escape
+1.1.3=Wrecked On A Desert Island
+1.1.4=First Weeks On The Island
+1.1.5=Builds A House - The Journal
+1.1.6=Ill And Conscience-Stricken
+1.1.7=Agricultural Experience
+1.1.8=Surveys His Position
+1.1.9=A Boat
+1.1.10=Tames Goats
+1.1.11=Finds Print Of Man's Foot On The Sand
+1.1.12=A Cave Retreat
+1.1.13=Wreck Of A Spanish Ship
+1.1.14=A Dream Realised
+1.1.15=Friday's Education
+1.1.16=Rescue Of Prisoners From Cannibals
+1.1.17=Visit Of Mutineers
+1.1.18=The Ship Recovered
+1.1.19=Return To England
+1.1.20=Fight Between Friday And A Bear
+2=Edgar Allan Poe
+2.1=Plays
+2.1.1=Politian
+2.2=Short stories
+2.2.1=The Assignation
+2.2.2=Berenice
+2.2.3=The Black Cat
+2.2.4=The Cask of Amontillado
+2.2.5=A Descent into the Maelstrom
+2.3=Poetry
+2.3.1=Alone
+2.3.2=An Enigma
+2.3.3=Annabel Lee
+2.3.4=Bridal Ballad
+3=Henry Wadsworth Longfellow
+3.1=The Song of Hiawatha
+3.1.1=Introduction
+3.1.2=I. The Peace-Pipe
+3.1.3=II. The Four Winds
+3.1.4=III. Hiawatha's Childhood
+3.1.5=IV. Hiawatha and Mudjekeewis
+3.1.6=V. Hiawatha's Fasting
+3.1.7=VI. Hiawatha's Friends
+3.1.8=VII. Hiawatha's Sailing
+3.1.9=VIII. Hiawatha's Fishing
+3.1.10=IX. Hiawatha and the Pearl-Feather
+3.1.11=X. Hiawatha's Wooing
+3.1.12=XI. Hiawatha's Wedding-Feast
+3.1.13=XII. The Son of the Evening Star
+3.1.14=XIII. Blessing the Cornfields
+3.1.15=XIV. Picture-Writing
+3.1.16=XV. Hiawatha's Lamentation
+3.1.17=XVI. Pau-Puk-Keewis
+3.1.18=XVII. The Hunting of Pau-Puk-Keewis
+3.1.19=XVIII. The Death of Kwasind
+3.1.20=XIX. The Ghosts
+3.1.21=XX. The Famine
+3.1.22=XXI. The White Man's Foot
+3.1.23=XXII. Hiawatha's Departure
+3.2=Poetry
+3.2.1=A Psalm Of Life
+3.2.2=Birds Of Passage
+3.2.3=Hiawatha's Childhood
+3.2.4=Hymn To The Night
+
Modified: trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp 2008-06-23 15:32:16 UTC (rev 9166)
+++ trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp 2008-06-23 16:27:40 UTC (rev 9167)
@@ -2,20 +2,66 @@
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<style type="text/css">
+.LeftTreePane {
+
+}
+.RightTreePane {
+
+}
+
+.TreeContainer {
+ overflow: auto;
+ height: 400px;
+ border: 3px inset gray;
+}
+</style>
+<script type="text/javascript">
+ // <![CDATA[
+ function blinkElement(elt) {
+ while (elt.tagName.toLowerCase() != 'table') {
+ elt = elt.parentNode;
+ }
+
+ elt.style.borderColor= '#5555FF';
+ elt.style.borderStyle= 'dotted';
+ elt.style.borderWidth = '3px';
+ setTimeout( function() { this.style.borderStyle = 'none'; }.bind(elt), 300);
+ }
+ // ]]>
+ </script>
<f:subview id="treeSubviewID">
- <a4j:outputPanel ajaxRendered="true">
- <h:messages />
- </a4j:outputPanel>
+ <a4j:outputPanel ajaxRendered="true">
+ <h:messages />
+ </a4j:outputPanel>
- <rich:tree id="tree" switchType="#{bean.switchType}" value="#{bean.data}" var="data" selectedClass="#{style.selectedClass}" styleClass="#{style.styleClass}" style="#{style.style}" highlightedClass="#{style.highlightedClass}"
- nodeFace="#{data.name != 'param-value' ? 'input' : 'text'}" changeExpandListener="#{bean.onExpand}"
- nodeSelectListener="#{bean.onSelect}" binding="#{bean.tree}" onselected="window.status='selectedNode: '+event.selectedNode;"
- onexpand="window.status='expandedNode: '+event.expandedNode" oncollapse="window.status='collapsedNode: '+ event.collapsedNode"
- ajaxSubmitSelection="true" reRender="outputText, selectOneListbox" preserveModel="none" dragIndicator="treeIndicator"
- immediate="false" acceptedTypes="file1" dragType="#{bean.dragOn ? 'file1' : ''}" icon="#{bean.icon}" dropListener="#{bean.processDrop}"
- onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" ondragend="#{event.ondragend}" ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondragstart="#{event.ondragstart}" ondrop="#{event.ondrop}" ondropend="#{event.ondropend}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onbeforedomupdate="#{event.onbeforedomupdate}" oncomplete="#{event.oncomplete}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}">
- <!--
+ <rich:tree id="tree" switchType="#{bean.switchType}"
+ value="#{bean.data}" var="data" selectedClass="#{style.selectedClass}"
+ styleClass="#{style.styleClass}" style="#{style.style}"
+ highlightedClass="#{style.highlightedClass}"
+ nodeFace="#{data.name != 'param-value' ? 'input' : 'text'}"
+ changeExpandListener="#{bean.onExpand}"
+ nodeSelectListener="#{bean.onSelect}" binding="#{bean.tree}"
+ onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode"
+ oncollapse="window.status='collapsedNode: '+ event.collapsedNode"
+ ajaxSubmitSelection="true" reRender="outputText, selectOneListbox"
+ preserveModel="none" dragIndicator="treeIndicator" immediate="false"
+ acceptedTypes="file1" dragType="#{bean.dragOn ? 'file1' : ''}"
+ icon="#{bean.icon}" dropListener="#{bean.processDrop}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ ondragend="#{event.ondragend}" ondragenter="#{event.ondragenter}"
+ ondragexit="#{event.ondragexit}" ondragstart="#{event.ondragstart}"
+ ondrop="#{event.ondrop}" ondropend="#{event.ondropend}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ oncomplete="#{event.oncomplete}" ondropout="#{event.ondropout}"
+ ondropover="#{event.ondropover}">
+ <!--
<f:facet name="icon">
<h:outputText value="icon" rendered="#{bean.renderFacets}" />
</f:facet>
@@ -29,79 +75,156 @@
<h:outputText value="collapsed" rendered="#{bean.renderFacets}" />
</f:facet>
-->
- <rich:dndParam name="treeParam" value="Tree Parameter" />
- <rich:dndParam name="accept" value="accept" />
+ <rich:dndParam name="treeParam" value="Tree Parameter" />
+ <rich:dndParam name="accept" value="accept" />
- <rich:treeNode type="input" dropListener="#{bean.processDrop}"
- oncollapse="Element.removeClassName(event['treeItem'].getElement(), 'colored')"
- onexpand="Element.addClassName(event['treeItem'].getElement(), 'colored')"
- onbeforedomupdate="#{event.onbeforedomupdate}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" oncontextmenu="#{event.oncontextmenu}" ondblclick="#{event.ondblclick}" ondragend="#{event.ondragend}" ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}" ondragstart="#{event.ondragstart}" ondrop="#{event.ondrop}" ondropend="#{event.ondropend}" ondropout="#{event.ondropout}" ondropover="#{event.ondropover}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselected="#{event.onselected}">
- <h:outputText value="#{data} : " />
- <h:inputText value="#{data.name}" required="true" styleClass="inputs">
- </h:inputText>
+ <rich:treeNode type="input" dropListener="#{bean.processDrop}"
+ oncollapse="Element.removeClassName(event['treeItem'].getElement(), 'colored')"
+ onexpand="Element.addClassName(event['treeItem'].getElement(), 'colored')"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onclick="#{event.onclick}" oncomplete="#{event.oncomplete}"
+ oncontextmenu="#{event.oncontextmenu}"
+ ondblclick="#{event.ondblclick}" ondragend="#{event.ondragend}"
+ ondragenter="#{event.ondragenter}" ondragexit="#{event.ondragexit}"
+ ondragstart="#{event.ondragstart}" ondrop="#{event.ondrop}"
+ ondropend="#{event.ondropend}" ondropout="#{event.ondropout}"
+ ondropover="#{event.ondropover}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" onselected="#{event.onselected}">
+ <h:outputText value="#{data} : " />
+ <h:inputText value="#{data.name}" required="true" styleClass="inputs">
+ </h:inputText>
- <rich:dndParam name="nodeParam" value="Node Parameter" />
+ <rich:dndParam name="nodeParam" value="Node Parameter" />
- </rich:treeNode>
- <rich:treeNode type="text" nodeClass="customNode" acceptedTypes="file2" onselected="return false;">
- <h:outputText value="#{data}" />
- </rich:treeNode>
- </rich:tree>
+ </rich:treeNode>
+ <rich:treeNode type="text" nodeClass="customNode"
+ acceptedTypes="file2" onselected="return false;">
+ <h:outputText value="#{data}" />
+ </rich:treeNode>
+ </rich:tree>
- <f:verbatim>
- <br />
- </f:verbatim>
+ <f:verbatim>
+ <br />
+ </f:verbatim>
- <h:outputText value="Enter path to expand:" />
- <h:inputText value="#{bean.pathToExpand}">
- <a4j:support event="onchange" reRender="tree" action="#{bean.expandNode}" />
- </h:inputText>
+ <h:outputText value="Enter path to expand:" />
+ <h:inputText value="#{bean.pathToExpand}">
+ <a4j:support event="onchange" reRender="tree"
+ action="#{bean.expandNode}" />
+ </h:inputText>
- <rich:separator></rich:separator>
+ <rich:separator></rich:separator>
- <h:panelGrid columns="2">
- <h:outputText value="Change tree switchType:" />
- <h:selectOneRadio value="#{bean.switchType}" onclick="submit()">
- <f:selectItem itemLabel="client" itemValue="client" />
- <f:selectItem itemLabel="server" itemValue="server" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- </h:selectOneRadio>
+ <h:panelGrid columns="2">
+ <h:outputText value="Change tree switchType:" />
+ <h:selectOneRadio value="#{bean.switchType}" onclick="submit()">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ </h:selectOneRadio>
- <h:outputText value="Drag switch:" />
- <h:selectBooleanCheckbox value="#{bean.dragOn}" onchange="submit();"></h:selectBooleanCheckbox>
+ <h:outputText value="Drag switch:" />
+ <h:selectBooleanCheckbox value="#{bean.dragOn}" onchange="submit();"></h:selectBooleanCheckbox>
- <h:outputText value="Render facets:" />
- <h:selectBooleanCheckbox value="#{bean.renderFacets}" onchange="submit();"></h:selectBooleanCheckbox>
+ <h:outputText value="Render facets:" />
+ <h:selectBooleanCheckbox value="#{bean.renderFacets}"
+ onchange="submit();"></h:selectBooleanCheckbox>
- <h:commandButton value="#{bean.commandButtonCaption}" actionListener="#{bean.changeIcons}" />
- </h:panelGrid>
+ <h:commandButton value="#{bean.commandButtonCaption}"
+ actionListener="#{bean.changeIcons}" />
+ </h:panelGrid>
- <f:verbatim>
- <br />
- <br />
- </f:verbatim>
+ <f:verbatim>
+ <br />
+ <br />
+ </f:verbatim>
- <rich:tree id="testTree" var="_data" switchType="ajax" ajaxSubmitSelection="true" preserveModel="none" value="#{bean.data1}"
- nodeSelectListener="#{bean.onSelectInc}" nodeFace="node">
- <rich:treeNode type="node">
- <h:outputText value="#{_data}" />
- </rich:treeNode>
- </rich:tree>
- <rich:separator></rich:separator>
- <h:outputText value="Tree without treeNode:"></h:outputText>
- <rich:separator></rich:separator>
+ <rich:tree id="testTree" var="_data" switchType="ajax"
+ ajaxSubmitSelection="true" preserveModel="none" value="#{bean.data1}"
+ nodeSelectListener="#{bean.onSelectInc}" nodeFace="node">
+ <rich:treeNode type="node">
+ <h:outputText value="#{_data}" />
+ </rich:treeNode>
+ </rich:tree>
+ <rich:separator></rich:separator>
+ <h:outputText value="Tree without treeNode:"></h:outputText>
+ <rich:separator></rich:separator>
- <rich:tree switchType="client" style="width:300px" value="#{pathwayBean.pathwayTree}" var="item" nodeFace="#{item.type}">
- <rich:treeNode type="library">
- <h:outputText value="#{item.type}" />
- </rich:treeNode>
- <rich:treeNode type="pathway">
- <h:outputText value="#{item.name}" />
- </rich:treeNode>
- <rich:treeNode type="organism">
- <h:outputText value="#{item.name}" />
- </rich:treeNode>
- </rich:tree>
+ <rich:tree switchType="client" style="width:300px"
+ value="#{pathwayBean.pathwayTree}" var="item" nodeFace="#{item.type}">
+ <rich:treeNode type="library">
+ <h:outputText value="#{item.type}" />
+ </rich:treeNode>
+ <rich:treeNode type="pathway">
+ <h:outputText value="#{item.name}" />
+ </rich:treeNode>
+ <rich:treeNode type="organism">
+ <h:outputText value="#{item.name}" />
+ </rich:treeNode>
+ </rich:tree>
- <rich:spacer></rich:spacer>
+ <rich:spacer></rich:spacer>
+ <div style="FONT-WEIGHT: bold;">Drag & Drop example</div>
+ <br />
+ <h:form>
+ <rich:dragIndicator id="treeIndicator">
+ <f:facet name="single">
+ <f:verbatim>{marker} {nodeParam}({treeParam})</f:verbatim>
+ </f:facet>
+ </rich:dragIndicator>
+
+ <h:panelGrid columns="2" columnClasses="LeftTreePane,RightTreePane">
+
+ <h:panelGroup id="leftContainer" layout="block"
+ styleClass="TreeContainer">
+ <h:outputText escape="false"
+ value="Selected Node: <b>#{treeDndBean.leftSelectedNodeTitle}</b>"
+ id="selectedNodeL" />
+
+ <rich:tree id="leftTree" style="width:300px"
+ nodeSelectListener="#{treeDndBean.processLSelection}"
+ reRender="selectedNodeL" ajaxSubmitSelection="false"
+ switchType="client" value="#{treeDndBean.treeNodeLeft}"
+ changeExpandListener="#{treeDndBean.onExpand}"
+ binding="#{treeDndBean.leftTree}"
+ onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode"
+ oncollapse="window.status='collapsedNode: '+event.collapsedNode"
+ dropListener="#{treeDndBean.onDrop}"
+ dragListener="#{treeDndBean.onDrag}" dragIndicator="treeIndicator"
+ acceptedTypes="treeNode" dragType="treeNode" rowKeyVar="key"
+ var="item">
+
+ <rich:dndParam name="treeParam" value="leftTree" />
+ </rich:tree>
+
+ </h:panelGroup>
+
+ <h:panelGroup id="rightContainer" layout="block"
+ styleClass="TreeContainer">
+ <h:outputText escape="false"
+ value="Selected Node: <b>#{treeDndBean.rightSelectedNodeTitle}</b>"
+ id="selectedNodeR" />
+
+ <rich:tree id="rightTree" style="width:300px"
+ nodeSelectListener="#{treeDndBean.processRSelection}"
+ reRender="selectedNodeR" ajaxSubmitSelection="false"
+ switchType="client" value="#{treeDndBean.treeNodeRight}"
+ changeExpandListener="#{treeDndBean.onExpand}"
+ binding="#{treeDndBean.rightTree}"
+ onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode"
+ oncollapse="window.status='collapsedNode: '+event.collapsedNode"
+ rowKeyVar="key" dropListener="#{treeDndBean.onDrop}"
+ dragListener="#{treeDndBean.onDrag}" dragIndicator="treeIndicator"
+ acceptedTypes="treeNode" dragType="treeNode" var="item">
+ <rich:dndParam name="treeParam" value="rightTree" />
+ </rich:tree>
+ </h:panelGroup>
+
+ </h:panelGrid>
+ </h:form>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Tree.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Tree.xml 2008-06-23 15:32:16 UTC (rev 9166)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Tree.xml 2008-06-23 16:27:40 UTC (rev 9167)
@@ -12,4 +12,9 @@
<managed-bean-class>tree.TreeBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
+ <managed-bean>
+ <managed-bean-name>treeDndBean</managed-bean-name>
+ <managed-bean-class>tree.TreeDndBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
</faces-config>
15 years, 10 months
JBoss Rich Faces SVN: r9166 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-06-23 11:32:16 -0400 (Mon, 23 Jun 2008)
New Revision: 9166
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
Log:
http://jira.jboss.com/jira/browse/RF-2305
JS API corrected
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2008-06-23 15:32:04 UTC (rev 9165)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2008-06-23 15:32:16 UTC (rev 9166)
@@ -441,8 +441,8 @@
<entry>Gets the current value</entry>
</row>
<row>
- <entry>setValue(newValue)</entry>
- <entry>Sets the current value</entry>
+ <entry role="tbi">setValue(newValue) </entry>
+ <entry role="tbi">Sets the current value <para>(to be implemented)</para></entry>
</row>
</tbody>
</tgroup>
15 years, 10 months
JBoss Rich Faces SVN: r9165 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-06-23 11:32:04 -0400 (Mon, 23 Jun 2008)
New Revision: 9165
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
Log:
http://jira.jboss.com/jira/browse/RF-2305
JS API corrected
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2008-06-23 15:31:25 UTC (rev 9164)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2008-06-23 15:32:04 UTC (rev 9165)
@@ -462,8 +462,8 @@
</row>
<row>
- <entry>setValue(newValue)</entry>
- <entry>Sets the current value</entry>
+ <entry role="tbi">setValue(newValue)</entry>
+ <entry role="tbi">Sets the current value <para>(to be implemented)</para></entry>
</row>
</tbody>
15 years, 10 months
JBoss Rich Faces SVN: r9164 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-06-23 11:31:25 -0400 (Mon, 23 Jun 2008)
New Revision: 9164
Modified:
trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
Log:
http://jira.jboss.com/jira/browse/RF-2305
JS API corrected
Modified: trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-06-23 15:31:03 UTC (rev 9163)
+++ trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-06-23 15:31:25 UTC (rev 9164)
@@ -406,45 +406,45 @@
-->
<!--Controls common API -->
<row>
- <entry>hide()</entry>
- <entry>Hides ordering control</entry>
+ <entry role="tbi">hide()</entry>
+ <entry role="tbi">Hides ordering control <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>show()</entry>
- <entry>Shows ordering control</entry>
+ <entry role="tbi">show()</entry>
+ <entry role="tbi">Shows ordering control <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>isShown()</entry>
- <entry>Checks if current control is shown</entry>
+ <entry role="tbi">isShown()</entry>
+ <entry role="tbi">Checks if current control is shown <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>enable()</entry>
- <entry>Enables ordering control</entry>
+ <entry role="tbi">enable()</entry>
+ <entry role="tbi">Enables ordering control <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>disable()</entry>
- <entry>Disables ordering control</entry>
+ <entry role="tbi">disable()</entry>
+ <entry role="tbi">Disables ordering control <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>isEnabled()</entry>
- <entry>Checks if current control is enabled</entry>
+ <entry role="tbi">isEnabled()</entry>
+ <entry role="tbi">Checks if current control is enabled <para>(to be implemented)</para></entry>
</row>
<!--List managing API -->
<row>
- <entry>Up()</entry>
- <entry>Moves up selected item in the list</entry>
+ <entry role="tbi">Up()</entry>
+ <entry role="tbi">Moves up selected item in the list <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>Down()</entry>
- <entry>Moves down selected item in the list</entry>
+ <entry role="tbi">Down()</entry>
+ <entry role="tbi">Moves down selected item in the list <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>Top()</entry>
- <entry>Moves top selected item in the list</entry>
+ <entry role="tbi">Top()</entry>
+ <entry role="tbi">Moves top selected item in the list <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>Bottom()</entry>
- <entry>Moves bottom selected item in the list</entry>
+ <entry role="tbi">Bottom()</entry>
+ <entry role="tbi">Moves bottom selected item in the list <para>(to be implemented)</para></entry>
</row>
<row>
<entry>copy()</entry>
@@ -460,15 +460,15 @@
</row>
<row>
<entry>removeAll()</entry>
- <entry>Removes all items from the target list to the source list</entry>
+ <entry>Removes all items from the target list to the source list </entry>
</row>
<row>
- <entry>getSelection()</entry>
- <entry>Returns currently selected item</entry>
+ <entry role="tbi">getSelection()</entry>
+ <entry role="tbi">Returns currently selected item <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>getItems()</entry>
- <entry>Returns the collection of all items</entry>
+ <entry role="tbi">getItems()</entry>
+ <entry role="tbi">Returns the collection of all items <para>(to be implemented)</para></entry>
</row>
</tbody>
</tgroup>
15 years, 10 months
JBoss Rich Faces SVN: r9163 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-06-23 11:31:03 -0400 (Mon, 23 Jun 2008)
New Revision: 9163
Modified:
trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
Log:
http://jira.jboss.com/jira/browse/RF-2305
JS API corrected
Modified: trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2008-06-23 15:17:40 UTC (rev 9162)
+++ trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2008-06-23 15:31:03 UTC (rev 9163)
@@ -393,28 +393,28 @@
<!--Controls common API -->
<row>
- <entry>hide()</entry>
- <entry>Hides ordering control</entry>
+ <entry role="tbi">hide()</entry>
+ <entry role="tbi">Hides ordering control <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>show()</entry>
- <entry>Shows ordering control</entry>
+ <entry role="tbi">show()</entry>
+ <entry role="tbi">Shows ordering control <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>isShown()</entry>
- <entry>Checks if current control is shown</entry>
+ <entry role="tbi">isShown()</entry>
+ <entry role="tbi">Checks if current control is shown <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>enable()</entry>
- <entry>Enables ordering control</entry>
+ <entry role="tbi">enable()</entry>
+ <entry role="tbi">Enables ordering control <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>disable()</entry>
- <entry>Disables ordering control</entry>
+ <entry role="tbi">disable()</entry>
+ <entry role="tbi">Disables ordering control <para>(to be implemented)</para></entry>
</row>
<row>
- <entry>isEnabled()</entry>
- <entry>Checks if current control is enabled</entry>
+ <entry role="tbi">isEnabled()</entry>
+ <entry role="tbi">Checks if current control is enabled <para>(to be implemented)</para></entry>
</row>
<!--List managing API -->
<row>
15 years, 10 months
JBoss Rich Faces SVN: r9162 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-06-23 11:17:40 -0400 (Mon, 23 Jun 2008)
New Revision: 9162
Modified:
trunk/docs/userguide/en/src/main/docbook/included/region.xml
Log:
RF-3666.ForceRender description
Modified: trunk/docs/userguide/en/src/main/docbook/included/region.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/region.xml 2008-06-23 14:43:00 UTC (rev 9161)
+++ trunk/docs/userguide/en/src/main/docbook/included/region.xml 2008-06-23 15:17:40 UTC (rev 9162)
@@ -121,7 +121,23 @@
<para>This example shows that one of the regions is decoded when a link is used inside. Nevertheless,
if after processing the "link1" is clicked, the first region passes into Encode as a root
region and encode performance time is reduced. This optimization doesn't allow data update out of the
- region and should be implemented very carefully. The data out of the region described with <code>renderRegionOnly="false"</code> is updated successfully.</para>
+ region and should be implemented very carefully. The data out of the region described with <code>renderRegionOnly="false"</code> is updated successfully.
+ </para>
+ <para>
+ Starting from version 3.2.0 <emphasis role="bold"><property><a4j:region></property></emphasis> can be used inside any iterative component
+ (e.g. <emphasis role="bold"><property><rich:column></property></emphasis>, <emphasis role="bold"><property><rich:scrollableDataTable></property></emphasis>)
+ and just re-render the components from the same row without updating the whole table
+ and without any additional listeners.
+ </para>
+ <para><emphasis role="bold">Example:</emphasis></para>
+ <programlisting role="XML"><![CDATA[<rich:column>
+ <a4j:region>
+ <a4j:commandLink reRender="out"/>
+ </a4j:region>
+</rich:column>
+<rich:column>
+ <h:outputText id="out">
+</rich:column>]]></programlisting>
</section>
<section>
<title>Relevant resources links</title>
15 years, 10 months
JBoss Rich Faces SVN: r9161 - in trunk: samples/hotKey-sample and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-06-23 10:43:00 -0400 (Mon, 23 Jun 2008)
New Revision: 9161
Added:
trunk/samples/hotKey-sample/
trunk/ui/hotKey/
Removed:
trunk/sandbox/samples/hotKey-sample/
trunk/sandbox/ui/hotKey/
Modified:
trunk/samples/hotKey-sample/pom.xml
trunk/samples/hotKey-sample/src/main/webapp/pages/index.jsp
trunk/samples/pom.xml
trunk/sandbox/samples/pom.xml
trunk/sandbox/ui/pom.xml
trunk/ui/hotKey/pom.xml
trunk/ui/pom.xml
Log:
rich:hotKey moved to main area
Copied: trunk/samples/hotKey-sample (from rev 9159, trunk/sandbox/samples/hotKey-sample)
Modified: trunk/samples/hotKey-sample/pom.xml
===================================================================
--- trunk/sandbox/samples/hotKey-sample/pom.xml 2008-06-23 13:33:44 UTC (rev 9159)
+++ trunk/samples/hotKey-sample/pom.xml 2008-06-23 14:43:00 UTC (rev 9161)
@@ -1,7 +1,7 @@
<?xml version="1.0"?><project>
<parent>
<artifactId>samples</artifactId>
- <groupId>org.richfaces.sandbox</groupId>
+ <groupId>org.richfaces</groupId>
<version>3.2.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: trunk/samples/hotKey-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/hotKey-sample/src/main/webapp/pages/index.jsp 2008-06-23 13:33:44 UTC (rev 9159)
+++ trunk/samples/hotKey-sample/src/main/webapp/pages/index.jsp 2008-06-23 14:43:00 UTC (rev 9161)
@@ -2,7 +2,7 @@
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/ui/hotKey" prefix="sb"%>
+<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/hotKey" prefix="sb"%>
<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/functions" prefix="rich" %>
<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/componentControl" prefix="cc" %>
<html>
Modified: trunk/samples/pom.xml
===================================================================
--- trunk/samples/pom.xml 2008-06-23 14:09:37 UTC (rev 9160)
+++ trunk/samples/pom.xml 2008-06-23 14:43:00 UTC (rev 9161)
@@ -478,6 +478,7 @@
<module>inplaceInput-sample</module>
<module>inplaceSelect-sample</module>
<module>functions-demo</module>
+ <module>hotKey-sample</module>
</modules>
</profile>
</profiles>
Modified: trunk/sandbox/samples/pom.xml
===================================================================
--- trunk/sandbox/samples/pom.xml 2008-06-23 14:09:37 UTC (rev 9160)
+++ trunk/sandbox/samples/pom.xml 2008-06-23 14:43:00 UTC (rev 9161)
@@ -18,6 +18,5 @@
<!--module>contextMenuDemo</module-->
<module>fileUploadPOC</module>
<module>darkX</module>
- <module>hotKey-sample</module>
</modules>
</project>
\ No newline at end of file
Modified: trunk/sandbox/ui/pom.xml
===================================================================
--- trunk/sandbox/ui/pom.xml 2008-06-23 14:09:37 UTC (rev 9160)
+++ trunk/sandbox/ui/pom.xml 2008-06-23 14:43:00 UTC (rev 9161)
@@ -19,7 +19,6 @@
<module>rex-messageBox</module>
<!--module>rex-button</module-->
<module>sortableHeader</module>
- <module>hotKey</module>
<module>extendedDataTable</module>
</modules>
</project>
\ No newline at end of file
Copied: trunk/ui/hotKey (from rev 9159, trunk/sandbox/ui/hotKey)
Modified: trunk/ui/hotKey/pom.xml
===================================================================
--- trunk/sandbox/ui/hotKey/pom.xml 2008-06-23 13:33:44 UTC (rev 9159)
+++ trunk/ui/hotKey/pom.xml 2008-06-23 14:43:00 UTC (rev 9161)
@@ -1,14 +1,13 @@
<?xml version="1.0"?><project>
<parent>
<artifactId>ui</artifactId>
- <groupId>org.richfaces.sandbox</groupId>
+ <groupId>org.richfaces</groupId>
<version>3.2.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
<artifactId>hotKey</artifactId>
<name>hotKey</name>
- <version>3.2.2-SNAPSHOT</version>
<build>
<plugins>
<plugin>
Modified: trunk/ui/pom.xml
===================================================================
--- trunk/ui/pom.xml 2008-06-23 14:09:37 UTC (rev 9160)
+++ trunk/ui/pom.xml 2008-06-23 14:43:00 UTC (rev 9161)
@@ -125,7 +125,8 @@
<module>fileUpload</module>
<module>inplaceInput</module>
<module>inplaceSelect</module>
- <module>functions</module>
+ <module>functions</module>
+ <module>hotKey</module>
</modules>
<dependencies>
<dependency>
15 years, 10 months