JBoss Rich Faces SVN: r5806 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-05 06:37:25 -0500 (Tue, 05 Feb 2008)
New Revision: 5806
Modified:
trunk/docs/userguide/en/src/main/docbook/included/contextMenu.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for contextmenu
Modified: trunk/docs/userguide/en/src/main/docbook/included/contextMenu.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/contextMenu.desc.xml 2008-02-05 11:36:42 UTC (rev 5805)
+++ trunk/docs/userguide/en/src/main/docbook/included/contextMenu.desc.xml 2008-02-05 11:37:25 UTC (rev 5806)
@@ -13,7 +13,9 @@
context menus that are activated after a user defines an event (onmouseover, onclick,
etc.) on any element on the page.</para>
<figure>
- <title><rich:contextMenu> component</title>
+ <title><emphasis role="bold">
+ <property><rich:contextMenu></property>
+ </emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/contextMenu1.png"/>
16 years, 12 months
JBoss Rich Faces SVN: r5805 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-05 06:36:42 -0500 (Tue, 05 Feb 2008)
New Revision: 5805
Modified:
trunk/docs/userguide/en/src/main/docbook/included/columns.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for columns
Modified: trunk/docs/userguide/en/src/main/docbook/included/columns.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-02-05 11:35:43 UTC (rev 5804)
+++ trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-02-05 11:36:42 UTC (rev 5805)
@@ -131,7 +131,7 @@
The result is:
</para>
<figure>
- <title>Generated <rich:columns></title>
+ <title>Generated <emphasis role="bold"><property><rich:dataTable></property></emphasis></title>
<mediaobject>
<imageobject>
<imagedata fileref="images/columns2.png"/>
16 years, 12 months
JBoss Rich Faces SVN: r5804 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-05 06:35:43 -0500 (Tue, 05 Feb 2008)
New Revision: 5804
Modified:
trunk/docs/userguide/en/src/main/docbook/included/columns.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for columns
Modified: trunk/docs/userguide/en/src/main/docbook/included/columns.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columns.desc.xml 2008-02-05 11:34:53 UTC (rev 5803)
+++ trunk/docs/userguide/en/src/main/docbook/included/columns.desc.xml 2008-02-05 11:35:43 UTC (rev 5804)
@@ -12,7 +12,7 @@
</emphasis> is a component, that allows you to create a <property>dynamic</property> set of columns from your model.</para>
<figure>
- <title><rich:dataTable> component</title>
+ <title><emphasis role="bold"><property><rich:dataTable></property></emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/columns1.png"/>
16 years, 12 months
JBoss Rich Faces SVN: r5803 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-05 06:34:53 -0500 (Tue, 05 Feb 2008)
New Revision: 5803
Modified:
trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for columnGroup
Modified: trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2008-02-05 11:33:04 UTC (rev 5802)
+++ trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2008-02-05 11:34:53 UTC (rev 5803)
@@ -125,7 +125,7 @@
]]></programlisting>
<para>The result is:</para>
<figure>
- <title>Generated <rich:columnGroup> component</title>
+ <title>Generated <emphasis role="bold"><property><rich:columnGroup></property></emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/columngroup2.png"/>
@@ -162,7 +162,7 @@
]]></programlisting>
<para>Generated on a page as:</para>
<figure>
- <title><rich:columnGroup> with complex headers</title>
+ <title><emphasis role="bold"><property><rich:columnGroup></property></emphasis>with complex headers</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/columngroup3.png"/>
16 years, 12 months
JBoss Rich Faces SVN: r5802 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-05 06:33:04 -0500 (Tue, 05 Feb 2008)
New Revision: 5802
Modified:
trunk/docs/userguide/en/src/main/docbook/included/columnGroup.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for columnGroup
Modified: trunk/docs/userguide/en/src/main/docbook/included/columnGroup.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columnGroup.desc.xml 2008-02-05 11:32:29 UTC (rev 5801)
+++ trunk/docs/userguide/en/src/main/docbook/included/columnGroup.desc.xml 2008-02-05 11:33:04 UTC (rev 5802)
@@ -9,7 +9,7 @@
<title>Description</title>
<para>The component combines columns in one row to organize complex subparts of a table.</para>
<figure>
- <title><rich:columnGroup> component</title>
+ <title><emphasis role="bold"><property><rich:columnGroup></property></emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/columngroup1.png"/>
16 years, 12 months
JBoss Rich Faces SVN: r5801 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-05 06:32:29 -0500 (Tue, 05 Feb 2008)
New Revision: 5801
Modified:
trunk/docs/userguide/en/src/main/docbook/included/column.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for column
Modified: trunk/docs/userguide/en/src/main/docbook/included/column.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/column.xml 2008-02-05 11:32:07 UTC (rev 5800)
+++ trunk/docs/userguide/en/src/main/docbook/included/column.xml 2008-02-05 11:32:29 UTC (rev 5801)
@@ -101,7 +101,7 @@
]]></programlisting>
<para>The result is:</para>
<figure>
- <title>Generated <rich:column> component</title>
+ <title>Generated <emphasis role="bold"><property><rich:column></property></emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/column2.png"/>
@@ -135,7 +135,7 @@
]]></programlisting>
<para>As a result the following structure is rendered:</para>
<figure>
- <title><rich:column> modified with colspan and breakbefore attributes</title>
+ <title><emphasis role="bold"><property><rich:column></property></emphasis> modified with colspan and breakbefore attributes</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/column3.png"/>
@@ -170,7 +170,7 @@
]]></programlisting>
<para>As a result:</para>
<figure>
- <title><rich:column> generated with rowspan attribute</title>
+ <title><emphasis role="bold"><property><rich:column></property></emphasis> generated with rowspan attribute</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/column4.png"/>
16 years, 12 months
JBoss Rich Faces SVN: r5800 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-05 06:32:07 -0500 (Tue, 05 Feb 2008)
New Revision: 5800
Modified:
trunk/docs/userguide/en/src/main/docbook/included/column.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for column
Modified: trunk/docs/userguide/en/src/main/docbook/included/column.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/column.desc.xml 2008-02-05 11:31:39 UTC (rev 5799)
+++ trunk/docs/userguide/en/src/main/docbook/included/column.desc.xml 2008-02-05 11:32:07 UTC (rev 5800)
@@ -9,7 +9,7 @@
<title>Description</title>
<para>The component for row rendering for a UIData component.</para>
<figure>
- <title><rich:column> component</title>
+ <title><emphasis role="bold"><property><rich:column></property></emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/column1.png"/>
16 years, 12 months
JBoss Rich Faces SVN: r5799 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-05 06:31:39 -0500 (Tue, 05 Feb 2008)
New Revision: 5799
Modified:
trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for calendar
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-02-05 11:31:23 UTC (rev 5798)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-02-05 11:31:39 UTC (rev 5799)
@@ -1661,7 +1661,7 @@
<para>This is a result:</para>
<figure>
- <title>Redefinition styles with own classes and styleClass attributes</title>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/calendar_CS2.png"/>
16 years, 12 months
JBoss Rich Faces SVN: r5798 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-05 06:31:23 -0500 (Tue, 05 Feb 2008)
New Revision: 5798
Modified:
trunk/docs/userguide/en/src/main/docbook/included/calendar.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for calendar
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.desc.xml 2008-02-05 01:10:45 UTC (rev 5797)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.desc.xml 2008-02-05 11:31:23 UTC (rev 5798)
@@ -8,11 +8,11 @@
<section>
<title>Description</title>
<para>The <emphasis role="bold">
- <property><rich:calendar></property>
+ <property><rich:calendar></property>
</emphasis> component is used for creating monthly calendar elements on a page.</para>
<figure>
- <title><rich:calendar> component</title>
- <mediaobject>
+ <title><emphasis role="bold"> <property><rich:calendar></property></emphasis> component</title>
+ <mediaobject>
<imageobject>
<imagedata fileref="images/calendar.png"/>
</imageobject>
16 years, 12 months
JBoss Rich Faces SVN: r5797 - trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-02-04 20:10:45 -0500 (Mon, 04 Feb 2008)
New Revision: 5797
Modified:
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js
Log:
http://jira.jboss.com/jira/browse/RF-1850
Modified: trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js
===================================================================
--- trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js 2008-02-05 01:10:42 UTC (rev 5796)
+++ trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js 2008-02-05 01:10:45 UTC (rev 5797)
@@ -72,22 +72,21 @@
if (attr) {
return attr;
}
- }
+ }
+ var attributes = element.attributes;
var attrName = "rich:" + name;
-
- var attr = element.attributes[attrName];
+ var attr = attributes[attrName];
if (attr) {
return attr.nodeValue;
}
- var attributes = element.attributes;
- for (var i = 0; i < attributes.length; i++) {
- attr = attributes[i];
- if (attr && attrName == attr.nodeName) {
- return attr.nodeValue;
- }
- }
+// for (var i = 0; i < attributes.length; i++) {
+// attr = attributes[i];
+// if (attr && attrName == attr.nodeName) {
+// return attr.nodeValue;
+// }
+// }
return null;
};
@@ -348,3 +347,21 @@
var windowOffset = Richfaces.Position.getWindowScrollOffset();
return {left:windowOffset.left, top:windowOffset.top, right: windowDim.width+windowOffset.left, bottom: windowDim.height+windowOffset.top};
};
+
+Richfaces.firstDescendant = function(node) {
+ var n = node.firstChild;
+ while (n && n.nodeType != 1) {
+ n = n.nextSibling;
+ }
+
+ return n;
+};
+
+Richfaces.next = function(node) {
+ var n = node;
+ do {
+ n = n.nextSibling;
+ } while (n && n.nodeType != 1);
+
+ return n;
+};
16 years, 12 months