You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ar...@apache.org on 2008/03/17 00:41:19 UTC
svn commit: r637690 - in /myfaces/trinidad/branches/ar_tabindex: ./
trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/
trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/...
Author: arobinson74
Date: Sun Mar 16 16:41:12 2008
New Revision: 637690
URL: http://svn.apache.org/viewvc?rev=637690&view=rev
Log:
Work in progress. Added tab index support to most of the components
that it makes sense to add it to
Added:
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/TabIndex.xml (with props)
Modified:
myfaces/trinidad/branches/ar_tabindex/ (props changed)
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseColor.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseDate.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandButton.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandLink.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoButton.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoLink.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputColor.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputDate.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputFile.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputListOfValues.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputNumberSpinbox.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputText.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelAccordion.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelChoice.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelRadio.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreResetButton.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanCheckbox.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanRadio.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyCheckbox.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyListbox.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyShuttle.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneChoice.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneListbox.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneRadio.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOrderShuttle.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectRangeChoiceBar.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreShowDetail.xml
myfaces/trinidad/branches/ar_tabindex/trinidad-examples/trinidad-blank/src/main/webapp/WEB-INF/ (props changed)
myfaces/trinidad/branches/ar_tabindex/trinidad-examples/trinidad-demo/src/main/webapp/WEB-INF/ (props changed)
myfaces/trinidad/branches/ar_tabindex/trinidad-examples/trinidad-demo/src/main/webapp/demos/panelPageSkinDemo.jspx
myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ChooseDateRenderer.java
myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/CommandButtonRenderer.java
myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormInputRenderer.java
myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/GoButtonRenderer.java
myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/GoLinkRenderer.java
myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelAccordionRenderer.java
myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectRangeChoiceBarRenderer.java
myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailRenderer.java
myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputListOfValuesRenderer.java
myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlRenderer.java
Propchange: myfaces/trinidad/branches/ar_tabindex/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sun Mar 16 16:41:12 2008
@@ -3,3 +3,4 @@
*.iws
*.iml
trinidad.jws
+trinidad-ar_tabindex.jws
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseColor.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseColor.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseColor.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseColor.xml Sun Mar 16 16:41:12 2008
@@ -63,6 +63,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<component-extension>
<mfp:component-supertype>org.apache.myfaces.trinidad.Choose</mfp:component-supertype>
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseDate.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseDate.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseDate.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseDate.xml Sun Mar 16 16:41:12 2008
@@ -72,6 +72,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<component-extension>
<mfp:component-supertype>org.apache.myfaces.trinidad.Choose</mfp:component-supertype>
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandButton.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandButton.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandButton.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandButton.xml Sun Mar 16 16:41:12 2008
@@ -136,6 +136,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/LaunchSource.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<component-extension>
<mfp:component-supertype>org.apache.myfaces.trinidad.Command</mfp:component-supertype>
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandLink.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandLink.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandLink.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandLink.xml Sun Mar 16 16:41:12 2008
@@ -125,6 +125,7 @@
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/LaunchSource.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<component-extension>
<mfp:component-supertype>org.apache.myfaces.trinidad.Command</mfp:component-supertype>
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoButton.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoButton.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoButton.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoButton.xml Sun Mar 16 16:41:12 2008
@@ -124,8 +124,8 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
-
-
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
+
<component-extension>
<mfp:component-supertype>org.apache.myfaces.trinidad.Go</mfp:component-supertype>
<mfp:renderer-type>org.apache.myfaces.trinidad.Button</mfp:renderer-type>
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoLink.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoLink.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoLink.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoLink.xml Sun Mar 16 16:41:12 2008
@@ -108,6 +108,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<component-extension>
<mfp:component-supertype>org.apache.myfaces.trinidad.Go</mfp:component-supertype>
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputColor.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputColor.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputColor.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputColor.xml Sun Mar 16 16:41:12 2008
@@ -32,7 +32,9 @@
</icon>
<component-type>org.apache.myfaces.trinidad.CoreInputColor</component-type>
<component-class>org.apache.myfaces.trinidad.component.core.input.CoreInputColor</component-class>
+
<xi:include href="includes/CommonFormControls.xml" xpointer="/faces-config/component/*"/>
+
<property>
<description><![CDATA[If true, attempt to use less screen real-estate to display the
inputColor. For example, this
@@ -116,6 +118,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputDate.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputDate.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputDate.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputDate.xml Sun Mar 16 16:41:12 2008
@@ -120,6 +120,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputFile.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputFile.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputFile.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputFile.xml Sun Mar 16 16:41:12 2008
@@ -37,6 +37,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[event handler for when the value is changed.]]>
</description>
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputListOfValues.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputListOfValues.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputListOfValues.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputListOfValues.xml Sun Mar 16 16:41:12 2008
@@ -107,6 +107,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputNumberSpinbox.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputNumberSpinbox.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputNumberSpinbox.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputNumberSpinbox.xml Sun Mar 16 16:41:12 2008
@@ -105,6 +105,7 @@
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[<html>a CSS style class to use for this component.
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputText.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputText.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputText.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputText.xml Sun Mar 16 16:41:12 2008
@@ -34,6 +34,7 @@
<component-type>org.apache.myfaces.trinidad.CoreInputText</component-type>
<component-class>org.apache.myfaces.trinidad.component.core.input.CoreInputText</component-class>
<xi:include href="includes/CommonFormControls.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[the number of rows to display in the text control.
The default is one. Setting to more than one row
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelAccordion.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelAccordion.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelAccordion.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelAccordion.xml Sun Mar 16 16:41:12 2008
@@ -34,6 +34,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description>Indicates whether a minimum of one detail item must be
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelChoice.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelChoice.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelChoice.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelChoice.xml Sun Mar 16 16:41:12 2008
@@ -88,6 +88,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[position of the control elements. Defaults to
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelRadio.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelRadio.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelRadio.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelRadio.xml Sun Mar 16 16:41:12 2008
@@ -45,6 +45,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[position of the control elements. Defaults to
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreResetButton.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreResetButton.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreResetButton.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreResetButton.xml Sun Mar 16 16:41:12 2008
@@ -97,6 +97,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<component-extension>
<mfp:component-family>org.apache.myfaces.trinidad.ResetButton</mfp:component-family>
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanCheckbox.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanCheckbox.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanCheckbox.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanCheckbox.xml Sun Mar 16 16:41:12 2008
@@ -146,6 +146,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanRadio.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanRadio.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanRadio.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanRadio.xml Sun Mar 16 16:41:12 2008
@@ -157,6 +157,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyCheckbox.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyCheckbox.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyCheckbox.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyCheckbox.xml Sun Mar 16 16:41:12 2008
@@ -118,6 +118,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyListbox.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyListbox.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyListbox.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyListbox.xml Sun Mar 16 16:41:12 2008
@@ -118,6 +118,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyShuttle.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyShuttle.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyShuttle.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyShuttle.xml Sun Mar 16 16:41:12 2008
@@ -109,6 +109,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[the display size(number of items) of the lists. The size
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneChoice.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneChoice.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneChoice.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneChoice.xml Sun Mar 16 16:41:12 2008
@@ -32,6 +32,7 @@
<component-type>org.apache.myfaces.trinidad.CoreSelectOneChoice</component-type>
<component-class>org.apache.myfaces.trinidad.component.core.input.CoreSelectOneChoice</component-class>
<xi:include href="includes/CommonFormControls.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[The label for the option that represents a value of null, meaning nothing is selected. If unselectedLabel is not set and if the component does not have a selected value, then an option with an empty string as the label and value is rendered as the first option in the choice box (if there isn't an empty option already defined). Once an option has been successfully selected, and if unselectedLabel is not set, then the empty option will not be rendered.]]>
</description>
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneListbox.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneListbox.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneListbox.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneListbox.xml Sun Mar 16 16:41:12 2008
@@ -130,6 +130,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneRadio.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneRadio.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneRadio.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneRadio.xml Sun Mar 16 16:41:12 2008
@@ -132,6 +132,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOrderShuttle.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOrderShuttle.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOrderShuttle.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOrderShuttle.xml Sun Mar 16 16:41:12 2008
@@ -116,6 +116,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[the display size(number of items) of the lists. The size
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectRangeChoiceBar.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectRangeChoiceBar.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectRangeChoiceBar.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectRangeChoiceBar.xml Sun Mar 16 16:41:12 2008
@@ -37,6 +37,7 @@
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<property>
<description><![CDATA[whether the "Show All" option is selected. The "Show All" option
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreShowDetail.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreShowDetail.xml?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreShowDetail.xml (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreShowDetail.xml Sun Mar 16 16:41:12 2008
@@ -45,6 +45,7 @@
<component-class>org.apache.myfaces.trinidad.component.core.layout.CoreShowDetail</component-class>
<xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
<xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
+ <xi:include href="includes/TabIndex.xml" xpointer="/faces-config/component/*"/>
<facet>
<description>
<![CDATA[Component rendered next to the hide or show icon. If this facet is present, this
Added: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/TabIndex.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/TabIndex.xml?rev=637690&view=auto
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/TabIndex.xml (added)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/TabIndex.xml Sun Mar 16 16:41:12 2008
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+ xmlns:mafp="http://myfaces.apache.org/maven-trinidad-plugin">
+ <component>
+ <property>
+ <description><![CDATA[the tab index use for this component.]]></description>
+ <property-name>tabIndex</property-name>
+ <property-class>java.lang.Integer</property-class>
+ <property-extension>
+ <mfp:required>false</mfp:required>
+ <mfp:property-metadata>
+ <mfp:group>${md:getTranslatedString("CORE_GROUP")}</mfp:group>
+ </mfp:property-metadata>
+ </property-extension>
+ </property>
+ </component>
+</faces-config>
Propchange: myfaces/trinidad/branches/ar_tabindex/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/TabIndex.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/trinidad/branches/ar_tabindex/trinidad-examples/trinidad-blank/src/main/webapp/WEB-INF/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Mar 16 16:41:12 2008
@@ -0,0 +1,4 @@
+myfaces-html.tld
+myfaces_core.tld
+tr.tld
+trh.tld
Propchange: myfaces/trinidad/branches/ar_tabindex/trinidad-examples/trinidad-demo/src/main/webapp/WEB-INF/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sun Mar 16 16:41:12 2008
@@ -1 +1,39 @@
temp
+c-1_0-rt.tld
+c-1_0.tld
+c.tld
+fmt-1_0-rt.tld
+fmt-1_0.tld
+fmt.tld
+fn.tld
+myfaces-html.tld
+myfaces_core.tld
+permittedTaglibs.tld
+scriptfree.tld
+sql-1_0-rt.tld
+sql-1_0.tld
+sql.tld
+tr.tld
+trh.tld
+x-1_0-rt.tld
+x-1_0.tld
+x.tld
+c-1_0-rt.tld
+c-1_0.tld
+c.tld
+fmt-1_0-rt.tld
+fmt-1_0.tld
+fmt.tld
+fn.tld
+myfaces-html.tld
+myfaces_core.tld
+permittedTaglibs.tld
+scriptfree.tld
+sql-1_0-rt.tld
+sql-1_0.tld
+sql.tld
+tr.tld
+trh.tld
+x-1_0-rt.tld
+x-1_0.tld
+x.tld
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-examples/trinidad-demo/src/main/webapp/demos/panelPageSkinDemo.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-examples/trinidad-demo/src/main/webapp/demos/panelPageSkinDemo.jspx?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-examples/trinidad-demo/src/main/webapp/demos/panelPageSkinDemo.jspx (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-examples/trinidad-demo/src/main/webapp/demos/panelPageSkinDemo.jspx Sun Mar 16 16:41:12 2008
@@ -85,6 +85,7 @@
<tr:selectItem label="purple" value="purple"/>
<tr:selectItem label="purpleBigFont" value="purpleBigFont"/>
<tr:selectItem label="beach" value="beach"/>
+ <tr:selectItem label="suede" value="suede"/>
</tr:selectOneChoice>
<tr:commandButton text="Go"/>
</tr:panelGroupLayout>
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ChooseDateRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ChooseDateRenderer.java?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ChooseDateRenderer.java (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ChooseDateRenderer.java Sun Mar 16 16:41:12 2008
@@ -114,6 +114,8 @@
return;
boolean isDesktop = isDesktop(arc);
+ Integer tabIndex = getTabIndex(bean);
+
ResponseWriter writer = context.getResponseWriter();
writer.startElement("table", component);
renderId(context, component);
@@ -223,7 +225,8 @@
dateSymbols,
baseNavURL,
id,
- isInline);
+ isInline,
+ tabIndex);
writer.endElement("td");
@@ -337,8 +340,7 @@
XhtmlConstants.TYPE_POST,
XhtmlConstants.SOURCE_PARAM,
id};
-
-
+
//
// output the days in this month
//
@@ -376,6 +378,7 @@
// a date in the date field. (see bug #1482511)
//
writer.startElement("a", null);
+ renderTabIndex(context, arc, tabIndex);
renderSelectDayAttributes(context,
keysAndValues,
id,
@@ -544,6 +547,7 @@
writer.startElement("a", null);
renderEncodedActionURI(context, "href", destination);
writer.writeAttribute("onclick", onClick, null);
+ renderTabIndex(context, arc, bean);
}
String iconName;
@@ -776,7 +780,8 @@
int maximumMonth,
long offset,
String onChange,
- String baseId
+ String baseId,
+ Integer tabIndex
) throws IOException
{
ResponseWriter writer = context.getResponseWriter();
@@ -798,6 +803,7 @@
writer.writeAttribute("name", id, null);
writer.writeAttribute("title", label, null);
writer.writeAttribute("onchange", onChange, null);
+ renderTabIndex(context, arc, tabIndex);
renderStyleClass(context,
arc,
SkinSelectors.AF_FIELD_TEXT_STYLE_CLASS);
@@ -843,7 +849,8 @@
int minimumYear,
int maximumYear,
String onChange,
- String baseId
+ String baseId,
+ Integer tabIndex
) throws IOException
{
String label = arc.getTranslatedString("af_chooseDate.YEAR_CHOICE_LABEL");
@@ -863,6 +870,7 @@
writer.writeAttribute("id", id, null);
writer.writeAttribute("title", label, null);
writer.writeAttribute("onchange", onChange, null);
+ renderTabIndex(context, arc, tabIndex);
renderStyleClass(context,
arc,
SkinSelectors.AF_FIELD_TEXT_STYLE_CLASS);
@@ -991,22 +999,20 @@
writer.endElement("option");
}
-
-
-
/**
* Renders the month and year portion of the Calendar
*/
private void _renderMonthAndYear(
- FacesContext context,
- RenderingContext arc,
+ FacesContext context,
+ RenderingContext arc,
long minTime,
long maxTime,
Calendar displayedCalendar,
DateFormatSymbols dateSymbols,
String baseNavURL,
String calendarId,
- boolean isInline
+ boolean isInline,
+ Integer tabIndex
) throws IOException
{
String jsNavURL = _escapeJSURL(context, baseNavURL);
@@ -1069,7 +1075,8 @@
maximumMonth,
0,
onChange,
- calendarId);
+ calendarId,
+ tabIndex);
writer.writeText(XhtmlConstants.NBSP_STRING, null);
@@ -1091,7 +1098,8 @@
minYear,
maxYear,
onChange,
- calendarId);
+ calendarId,
+ tabIndex);
}
}
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/CommandButtonRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/CommandButtonRenderer.java?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/CommandButtonRenderer.java (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/CommandButtonRenderer.java Sun Mar 16 16:41:12 2008
@@ -136,6 +136,7 @@
else
{
renderAllAttributes(context, arc, bean);
+ renderTabIndex(context, arc, bean);
}
char accessKey;
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormInputRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormInputRenderer.java?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormInputRenderer.java (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormInputRenderer.java Sun Mar 16 16:41:12 2008
@@ -110,6 +110,7 @@
renderDisabledAttribute(context, arc, bean);
renderStyleClass(context, arc, getContentStyleClass(bean));
renderInlineStyleAttribute(context, arc, getContentStyle(bean));
+ renderTabIndex(context, arc, bean);
}
protected boolean getSimple(FacesBean bean)
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/GoButtonRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/GoButtonRenderer.java?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/GoButtonRenderer.java (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/GoButtonRenderer.java Sun Mar 16 16:41:12 2008
@@ -125,6 +125,8 @@
else
{
renderAllAttributes(context, arc, bean);
+ renderTabIndex(context, arc, bean);
+
if (useButton)
{
rw.writeAttribute("onclick", getButtonOnclick(bean), null);
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/GoLinkRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/GoLinkRenderer.java?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/GoLinkRenderer.java (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/GoLinkRenderer.java Sun Mar 16 16:41:12 2008
@@ -58,23 +58,25 @@
@Override
protected void encodeBegin(
- FacesContext context,
- RenderingContext arc,
- UIComponent comp,
- FacesBean bean) throws IOException
+ FacesContext context,
+ RenderingContext rc,
+ UIComponent comp,
+ FacesBean bean
+ ) throws IOException
{
ResponseWriter rw = context.getResponseWriter();
rw.startElement("a", comp);
- if (getDisabled(bean) || !supportsNavigation(arc))
+ if (getDisabled(bean) || !supportsNavigation(rc))
{
renderId(context, comp);
- renderStyleAttributes(context, arc, bean);
+ renderStyleAttributes(context, rc, bean);
}
else
{
renderId(context, comp);
- renderAllAttributes(context, arc, bean);
+ renderAllAttributes(context, rc, bean);
+ renderTabIndex(context, rc, bean);
// If we have an onclick handler, always provide a destination
String destination = getDestination(bean);
@@ -86,14 +88,14 @@
renderEncodedActionURI(context, "href", destination);
if (!Boolean.FALSE.equals(
- arc.getAgent().getCapabilities().get(TrinidadAgent.CAP_TARGET)))
+ rc.getAgent().getCapabilities().get(TrinidadAgent.CAP_TARGET)))
{
rw.writeAttribute("target", getTargetFrame(bean), null);
}
}
char accessKey;
- if (supportsAccessKeys(arc))
+ if (supportsAccessKeys(rc))
{
accessKey = getAccessKey(bean);
if (accessKey != CHAR_UNDEFINED)
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelAccordionRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelAccordionRenderer.java?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelAccordionRenderer.java (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelAccordionRenderer.java Sun Mar 16 16:41:12 2008
@@ -314,6 +314,7 @@
isImmediate);
out.writeAttribute("onclick", onClickHandler, null);
out.writeAttribute("href", "#", null);
+ renderTabIndex(context, arc, bean);
}
// =-=rbaranwa Per the UI Review, no icon to be rendered when
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectRangeChoiceBarRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectRangeChoiceBarRenderer.java?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectRangeChoiceBarRenderer.java (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectRangeChoiceBarRenderer.java Sun Mar 16 16:41:12 2008
@@ -538,7 +538,8 @@
currentValue,
blockSize,
maxValue,
- validate);
+ validate,
+ bean);
writer.endElement("td");
@@ -601,7 +602,9 @@
long currentValue,
int blockSize,
long maxValue,
- boolean validate) throws IOException
+ boolean validate,
+ FacesBean bean
+ ) throws IOException
{
UIComponent rangeLabel = getRangeLabel(component);
boolean firstRowAvailable = isRowAvailable(component, 0);
@@ -648,6 +651,7 @@
form, source, validate);
writer.startElement("select", null);
+ renderTabIndex(context, arc, bean);
writer.writeAttribute("title", choiceTip, null);
renderStyleClass(context, arc,
SkinSelectors.AF_FIELD_TEXT_STYLE_CLASS);
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailRenderer.java?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailRenderer.java (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailRenderer.java Sun Mar 16 16:41:12 2008
@@ -80,8 +80,9 @@
_generateOnClickString(context, arc, component, bean, disclosed);
String sourceValue = getClientId(context, component);
String linkId = getLinkId(sourceValue, disclosed);
+ Integer tabIndex = getTabIndex(bean);
- _renderLinkStart(context, arc, onClickString);
+ _renderLinkStart(context, arc, tabIndex, onClickString);
if (linkId != null)
rw.writeAttribute("id", linkId, null);
@@ -100,7 +101,7 @@
if (text != null)
{
if (!isTableAllDisclosure())
- _renderLinkStart(context, arc, onClickString);
+ _renderLinkStart(context, arc, tabIndex, onClickString);
renderStyleClasses(context, arc, getLinkStyleClasses());
rw.writeText(text,
disclosed ? "disclosedText" : "undisclosedText");
@@ -342,17 +343,20 @@
}
private void _renderLinkStart(
- FacesContext context,
- RenderingContext arc,
- String onclickString ) throws IOException
+ FacesContext context,
+ RenderingContext rc,
+ Integer tabIndex,
+ String onclickString
+ ) throws IOException
{
- if (!supportsNavigation(arc))
+ if (!supportsNavigation(rc))
return;
ResponseWriter rw = context.getResponseWriter();
rw.startElement("a", null);
rw.writeAttribute("onclick", onclickString, null);
rw.writeURIAttribute("href", "#", null);
+ renderTabIndex(context, rc, tabIndex);
}
private String _generateOnClickString(
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputListOfValuesRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputListOfValuesRenderer.java?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputListOfValuesRenderer.java (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputListOfValuesRenderer.java Sun Mar 16 16:41:12 2008
@@ -248,6 +248,7 @@
rw.startElement("a", component);
rw.writeURIAttribute("href", "#", null);
rw.writeAttribute("onclick", onclick, null);
+ renderTabIndex(context, arc, bean);
String align = OutputUtils.getMiddleIconAlignment(arc);
String title = getSearchDesc(bean);
Modified: myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlRenderer.java?rev=637690&r1=637689&r2=637690&view=diff
==============================================================================
--- myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlRenderer.java (original)
+++ myfaces/trinidad/branches/ar_tabindex/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlRenderer.java Sun Mar 16 16:41:12 2008
@@ -674,34 +674,61 @@
* Renders a spacer.
*/
protected final void renderSpacer(
- FacesContext context,
- RenderingContext arc,
- String width,
- String height
+ FacesContext context,
+ RenderingContext rc,
+ String width,
+ String height
) throws IOException
{
- renderTransparent(context, arc, width, height, false, null);
+ renderTransparent(context, rc, width, height, false, null);
}
+ /**
+ * Render the tab index from the given faces bean if non-null
+ */
+ protected final void renderTabIndex(
+ FacesContext context,
+ RenderingContext rc,
+ FacesBean bean
+ ) throws IOException
+ {
+ renderTabIndex(context, rc, getTabIndex(bean));
+ }
+
+ /**
+ * Render the tab index if non-null
+ */
+ protected final void renderTabIndex(
+ FacesContext context,
+ RenderingContext rc,
+ Integer tabIndex
+ ) throws IOException
+ {
+ if (tabIndex == null)
+ {
+ return;
+ }
+ context.getResponseWriter().writeAttribute("tabindex", tabIndex, null);
+ }
/**
* Renders a transparent gif using a script to save space.
*/
protected final void renderTransparent(
- FacesContext context,
- RenderingContext arc,
- String width,
- String height,
- boolean needsQuoting,
- Object id
+ FacesContext context,
+ RenderingContext rc,
+ String width,
+ String height,
+ boolean needsQuoting,
+ Object id
) throws IOException
{
Counter counter =
- (Counter) getRenderingProperty(arc, _SCRIPT_SPACER_COUNT);
+ (Counter) getRenderingProperty(rc, _SCRIPT_SPACER_COUNT);
if (counter == null)
{
counter = new Counter();
- setRenderingProperty(arc, _SCRIPT_SPACER_COUNT, counter);
+ setRenderingProperty(rc, _SCRIPT_SPACER_COUNT, counter);
}
int count = counter.count++;
@@ -710,8 +737,8 @@
boolean useScript =
((count < 800)
&& (TrinidadAgent.SCRIPTING_SPEED_CAP_FAST ==
- arc.getAgent().getCapabilities().get(TrinidadAgent.CAP_SCRIPTING_SPEED)));
- _renderTransparent(context, arc, width, height, needsQuoting, id, useScript);
+ rc.getAgent().getCapabilities().get(TrinidadAgent.CAP_SCRIPTING_SPEED)));
+ _renderTransparent(context, rc, width, height, needsQuoting, id, useScript);
}
/**
@@ -1066,7 +1093,28 @@
}
}
+ protected Integer getTabIndex(FacesBean bean)
+ {
+ if (_tabIndexKey == null)
+ {
+ return null;
+ }
+
+ Number n = (Number)bean.getProperty(_tabIndexKey);
+
+ if (n == null)
+ {
+ return null;
+ }
+ else if (n instanceof Integer)
+ {
+ return (Integer)n;
+ }
+
+ return n.intValue();
+ }
+ private PropertyKey _tabIndexKey;
private PropertyKey _shortDescKey;
private PropertyKey _styleClassKey;
private PropertyKey _inlineStyleKey;