You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2010/11/10 09:14:02 UTC
svn commit: r1033391 [5/35] - in /myfaces/trinidad/trunk: scripts/
trinidad-examples/trinidad-blank/src/main/webapp/
trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/
trinidad-examples/trinidad-com...
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/summary.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/summary.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/summary.xhtml Wed Nov 10 08:13:47 2010
@@ -1,52 +1,52 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad">
-
- A breadCrumbs component is used in hierarchical site layouts to indicate the path back to
- the root page of the hierarchy with links. A child representing the current page should be the last child. This
- child may or may not be rendered depending on variables like the device type or look and feel, but it should
- always be added.
-
- <br/>
-
- <tr:outputText value="The links indicating the hierarchy may be added as children or a menu model may be bound
- to the breadCrumbs component. If a menu model is bound, of class org.apache.myfaces.trinidad.model.MenuModel,
- the nodes along the focus path will be rendered."/>
-
- <tr:spacer height="12px"/>
-
- <tr:outputText value="MenuModel extends TreeModel, but it also knows how to go from the current viewId to the
- focus path. Notice that the menuModel has no special knowledge of page navigation and places no requirements on
- the nodes that go into the tree. The nodes in the tree are stamped out with the 'nodeStamp' facet, which should
- contain a commandNavigationItem component, which allows the default actionListener mechanism to be used for page
- navigation."/>
-
- <tr:spacer height="12px"/>
-
- <tr:outputText value="The "orientation" property may be used to specify the orientation of the
- breadCrumbs. If the orientation is "horizontal", successive links will be put on the same line. If the
- orientation is "vertical", successive links will be put on a new line, and indented from their parents.
- In most cases, the orientation should be horizontal. A vertical breadCrumbs should be used only when the text
- for the links is known to be very long and likely to cause undesirable scrolling. The default value is
- horizontal. - HORIZONTAL"/>
-
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ A breadCrumbs component is used in hierarchical site layouts to indicate the path back to
+ the root page of the hierarchy with links. A child representing the current page should be the last child. This
+ child may or may not be rendered depending on variables like the device type or look and feel, but it should
+ always be added.
+
+ <br/>
+
+ <tr:outputText value="The links indicating the hierarchy may be added as children or a menu model may be bound
+ to the breadCrumbs component. If a menu model is bound, of class org.apache.myfaces.trinidad.model.MenuModel,
+ the nodes along the focus path will be rendered."/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="MenuModel extends TreeModel, but it also knows how to go from the current viewId to the
+ focus path. Notice that the menuModel has no special knowledge of page navigation and places no requirements on
+ the nodes that go into the tree. The nodes in the tree are stamped out with the 'nodeStamp' facet, which should
+ contain a commandNavigationItem component, which allows the default actionListener mechanism to be used for page
+ navigation."/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The "orientation" property may be used to specify the orientation of the
+ breadCrumbs. If the orientation is "horizontal", successive links will be put on the same line. If the
+ orientation is "vertical", successive links will be put on a new line, and indented from their parents.
+ In most cases, the orientation should be horizontal. A vertical breadCrumbs should be used only when the text
+ for the links is known to be very long and likely to cause undesirable scrolling. The default value is
+ horizontal. - HORIZONTAL"/>
+
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/summary.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/commandNavigationItem.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/commandNavigationItem.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/commandNavigationItem.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/commandNavigationItem.xhtml Wed Nov 10 08:13:47 2010
@@ -1,34 +1,34 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:navigationPane>
- <tr:commandNavigationItem text="Welcome"/>
- <tr:commandNavigationItem text="Hello"/>
- <tr:commandNavigationItem text="Goodbye"/>
- </tr:navigationPane>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:navigationPane>
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/commandNavigationItem.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/summary.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/summary.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/summary.xhtml Wed Nov 10 08:13:47 2010
@@ -1,28 +1,28 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad">
-
- The commandNavigationItem control creates a navigation item representation of a UIXCommand.
- The item could be rendered as a link, an option, a button, etc. This component is normally used as a stamp for a
- component that takes a MenuModel or XMLMenuModel object.
-
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The commandNavigationItem control creates a navigation item representation of a UIXCommand.
+ The item could be rendered as a link, an option, a button, etc. This component is normally used as a stamp for a
+ component that takes a MenuModel or XMLMenuModel object.
+
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/summary.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneBar.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneBar.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneBar.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneBar.xhtml Wed Nov 10 08:13:47 2010
@@ -1,34 +1,34 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:navigationPane hint="bar">
- <tr:commandNavigationItem text="Welcome"/>
- <tr:commandNavigationItem text="Hello"/>
- <tr:commandNavigationItem text="Goodbye"/>
- </tr:navigationPane>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:navigationPane hint="bar">
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneBar.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneButtons.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneButtons.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneButtons.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneButtons.xhtml Wed Nov 10 08:13:47 2010
@@ -1,34 +1,34 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:navigationPane hint="buttons">
- <tr:commandNavigationItem text="Welcome"/>
- <tr:commandNavigationItem text="Hello"/>
- <tr:commandNavigationItem text="Goodbye"/>
- </tr:navigationPane>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneButtons.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneChoice.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneChoice.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneChoice.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneChoice.xhtml Wed Nov 10 08:13:47 2010
@@ -1,34 +1,34 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:navigationPane hint="choice">
- <tr:commandNavigationItem text="Welcome"/>
- <tr:commandNavigationItem text="Hello"/>
- <tr:commandNavigationItem text="Goodbye"/>
- </tr:navigationPane>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:navigationPane hint="choice">
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneChoice.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneList.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneList.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneList.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneList.xhtml Wed Nov 10 08:13:47 2010
@@ -1,34 +1,34 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:navigationPane hint="list">
- <tr:commandNavigationItem text="Welcome"/>
- <tr:commandNavigationItem text="Hello"/>
- <tr:commandNavigationItem text="Goodbye"/>
- </tr:navigationPane>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:navigationPane hint="list">
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneList.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneTabs.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneTabs.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneTabs.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneTabs.xhtml Wed Nov 10 08:13:47 2010
@@ -1,34 +1,34 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:navigationPane hint="tabs">
- <tr:commandNavigationItem text="Welcome"/>
- <tr:commandNavigationItem text="Hello"/>
- <tr:commandNavigationItem text="Goodbye"/>
- </tr:navigationPane>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:navigationPane hint="tabs">
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneTabs.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/summary.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/summary.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/summary.xhtml Wed Nov 10 08:13:47 2010
@@ -1,43 +1,43 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad">
-
- The navigationPane component creates a series of navigation items representing one level
- in a navigation hierarchy. These items may either be added as children or a menu model may be bound to the
- navigationPane component. If a menu model is bound, of class org.apache.myfaces.trinidad.model.XMLMenuModel or
- org.apache.myfaces.trinidad.model.MenuModel, a level along the focus path, or the next level down, will be
- rendered. A node that is on the focus path will be rendered as "selected"
-
- <tr:spacer height="12px"/>
-
- <tr:outputText value="The "level" attribute is temporary. It is used to indicate the level along the
- focusPath to render. It will likely be replaced with an el expression in a future release."/>
-
- <tr:spacer height="12px"/>
-
- <tr:outputText value="XMLMenuModel extends TreeModel, but it also knows how to go from the current viewId to the
- focus path. Notice that the xmlMenuModel has no special knowledge of page navigation and places no requirements
- on the nodes that go into the tree. The nodes in the tree are stamped out with the 'nodeStamp' facet, which
- should contain a commandNavigationItem component, which allows the default actionListener mechanism to be used
- for page navigation. "/>
-
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The navigationPane component creates a series of navigation items representing one level
+ in a navigation hierarchy. These items may either be added as children or a menu model may be bound to the
+ navigationPane component. If a menu model is bound, of class org.apache.myfaces.trinidad.model.XMLMenuModel or
+ org.apache.myfaces.trinidad.model.MenuModel, a level along the focus path, or the next level down, will be
+ rendered. A node that is on the focus path will be rendered as "selected"
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The "level" attribute is temporary. It is used to indicate the level along the
+ focusPath to render. It will likely be replaced with an el expression in a future release."/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="XMLMenuModel extends TreeModel, but it also knows how to go from the current viewId to the
+ focus path. Notice that the xmlMenuModel has no special knowledge of page navigation and places no requirements
+ on the nodes that go into the tree. The nodes in the tree are stamped out with the 'nodeStamp' facet, which
+ should contain a commandNavigationItem component, which allows the default actionListener mechanism to be used
+ for page navigation. "/>
+
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/summary.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/navigationTree.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/navigationTree.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/navigationTree.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/navigationTree.xhtml Wed Nov 10 08:13:47 2010
@@ -1,42 +1,42 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:panelHorizontalLayout valign="top">
- <tr:navigationTree var="node" value="#{navigationTreeBean.model}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{node.name}"
- action="#{node.doAction}"/>
- </f:facet>
- </tr:navigationTree>
- <tr:spacer width="80"/>
- <tr:outputFormatted styleUsage="instruction"
- value="#{navigationTreeBean.actionString}"
- inlineStyle="text-align: center;"/>
- </tr:panelHorizontalLayout>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:panelHorizontalLayout valign="top">
+ <tr:navigationTree var="node" value="#{navigationTreeBean.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{node.name}"
+ action="#{node.doAction}"/>
+ </f:facet>
+ </tr:navigationTree>
+ <tr:spacer width="80"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="#{navigationTreeBean.actionString}"
+ inlineStyle="text-align: center;"/>
+ </tr:panelHorizontalLayout>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/navigationTree.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/summary.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/summary.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/summary.xhtml Wed Nov 10 08:13:47 2010
@@ -1,34 +1,34 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad">
-
- The navigationTree is used to display navigation data that is structured in a hierarchical
- format. The features of the Tree component include mechanisms for expanding and collapsing portions of the
- hierarchy. The focus path of the navigationTree is visually indicated and by default the nodes along the focus
- path are added to the expandedRowKeys pathSet.
-
- <br/>
-
- <tr:outputText value="The "nodeStamp" facet of the navigationTree is used to render the data for each
- node in the tree. The "nodeStamp" is repeatedly rendered (stamped) once per node"/>
-
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The navigationTree is used to display navigation data that is structured in a hierarchical
+ format. The features of the Tree component include mechanisms for expanding and collapsing portions of the
+ hierarchy. The focus path of the navigationTree is visually indicated and by default the nodes along the focus
+ path are added to the expandedRowKeys pathSet.
+
+ <br/>
+
+ <tr:outputText value="The "nodeStamp" facet of the navigationTree is used to render the data for each
+ node in the tree. The "nodeStamp" is repeatedly rendered (stamped) once per node"/>
+
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/summary.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar.xhtml Wed Nov 10 08:13:47 2010
@@ -1,42 +1,42 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b>Step 1 -- processChoiceBar with navigation</b>"/>
- <tr:spacer height="20px"/>
- <tr:processChoiceBar var="foo" value="#{processChoiceBarBean}"
- shortDesc="Select step">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processChoiceBarBean.immediate}"
- disabled="#{processChoiceBarBean.readOnly}"/>
- </f:facet>
- </tr:processChoiceBar>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Step 1 -- processChoiceBar with navigation</b>"/>
+ <tr:spacer height="20px"/>
+ <tr:processChoiceBar var="foo" value="#{processChoiceBarBean}"
+ shortDesc="Select step">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processChoiceBarBean.immediate}"
+ disabled="#{processChoiceBarBean.readOnly}"/>
+ </f:facet>
+ </tr:processChoiceBar>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar2.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar2.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar2.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar2.xhtml Wed Nov 10 08:13:47 2010
@@ -1,41 +1,41 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b>Step 2 -- processChoiceBar with navigation</b>"/>
- <tr:spacer height="20px"/>
- <tr:processChoiceBar var="foo" value="#{processChoiceBarBean}"
- shortDesc="Select step">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
- immediate="#{processChoiceBarBean.immediate}"
- disabled="#{processChoiceBarBean.readOnly}"/>
- </f:facet>
- </tr:processChoiceBar>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Step 2 -- processChoiceBar with navigation</b>"/>
+ <tr:spacer height="20px"/>
+ <tr:processChoiceBar var="foo" value="#{processChoiceBarBean}"
+ shortDesc="Select step">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processChoiceBarBean.immediate}"
+ disabled="#{processChoiceBarBean.readOnly}"/>
+ </f:facet>
+ </tr:processChoiceBar>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar2.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar3.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar3.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar3.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar3.xhtml Wed Nov 10 08:13:47 2010
@@ -1,41 +1,41 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b>Step 3 -- processChoiceBar with navigation</b>"/>
- <tr:spacer height="20px"/>
- <tr:processChoiceBar var="foo" value="#{processChoiceBarBean}"
- shortDesc="Select step">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
- immediate="#{processChoiceBarBean.immediate}"
- disabled="#{processChoiceBarBean.readOnly}"/>
- </f:facet>
- </tr:processChoiceBar>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Step 3 -- processChoiceBar with navigation</b>"/>
+ <tr:spacer height="20px"/>
+ <tr:processChoiceBar var="foo" value="#{processChoiceBarBean}"
+ shortDesc="Select step">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processChoiceBarBean.immediate}"
+ disabled="#{processChoiceBarBean.readOnly}"/>
+ </f:facet>
+ </tr:processChoiceBar>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar3.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/summary.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/summary.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/summary.xhtml Wed Nov 10 08:13:47 2010
@@ -1,63 +1,63 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad">
-
- ProcessChoiceBar is a UIXProcess component that renders a previous button, a choice bar, and a next button.
-
- <br/>
-
- The processChoiceBar takes a model of type org.apache.myfaces.trinidad.model.MenuModel. The last node along the focusPath and its siblings are rendered.
-
- <br/>
-
- MenuModel extends TreeModel, but it also knows how to go from the current viewId to the
- focus path. Notice that the menuModel has no special knowledge of page navigation and places no requirements on
- the nodes that go into the tree. The nodes in the tree are stamped out with the 'nodeStamp' facet, which should
- contain a commandNavigationItem component, which allows the default actionListener mechanism to be used for page
- navigation.
-
- <tr:spacer height="12px"/>
-
- <tr:outputText value="There are two common scenarios for processes, "Plus One" and "Max Visited"
- which are explained below."/>
-
- <tr:panelList rows="4">
- <tr:outputText value=" - "Plus One" - from the current step the user can navigate to any previous page
- and th e next page. If the user is on the 5th step of a process and goes back to step 2, then the user can only
- navigate from step 2 to step 1 and step 3."/>
- <tr:outputText value=" - "Max Visited" - the user can navigate to the max visited page. If the user is
- currently on the max visited page then the user can also navigate to the next page. If the user is on the 5th
- step of a process and goes back to step 2, then the user can navigate from step 2 to steps 1, 2, 3, 4, and 5."/>
- </tr:panelList>
-
- <tr:spacer height="12px"/>
-
- <tr:outputText value="The class org.apache.myfaces.trinidad.model.ProcessMenuModel and
- org.apache.myfaces.trinidad.model.ProcessUtils were created to support the "Plus One" and
- "Max Visited" scenarios. Please see the javadoc for these classes for more information."/>
-
- <tr:spacer height="12px"/>
-
- <tr:outputText value="On browsers that support disabled items in the drop down, the unreachable items will look
- disabled, otherwise they will not be rendered. "/>
-
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ ProcessChoiceBar is a UIXProcess component that renders a previous button, a choice bar, and a next button.
+
+ <br/>
+
+ The processChoiceBar takes a model of type org.apache.myfaces.trinidad.model.MenuModel. The last node along the focusPath and its siblings are rendered.
+
+ <br/>
+
+ MenuModel extends TreeModel, but it also knows how to go from the current viewId to the
+ focus path. Notice that the menuModel has no special knowledge of page navigation and places no requirements on
+ the nodes that go into the tree. The nodes in the tree are stamped out with the 'nodeStamp' facet, which should
+ contain a commandNavigationItem component, which allows the default actionListener mechanism to be used for page
+ navigation.
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="There are two common scenarios for processes, "Plus One" and "Max Visited"
+ which are explained below."/>
+
+ <tr:panelList rows="4">
+ <tr:outputText value=" - "Plus One" - from the current step the user can navigate to any previous page
+ and th e next page. If the user is on the 5th step of a process and goes back to step 2, then the user can only
+ navigate from step 2 to step 1 and step 3."/>
+ <tr:outputText value=" - "Max Visited" - the user can navigate to the max visited page. If the user is
+ currently on the max visited page then the user can also navigate to the next page. If the user is on the 5th
+ step of a process and goes back to step 2, then the user can navigate from step 2 to steps 1, 2, 3, 4, and 5."/>
+ </tr:panelList>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The class org.apache.myfaces.trinidad.model.ProcessMenuModel and
+ org.apache.myfaces.trinidad.model.ProcessUtils were created to support the "Plus One" and
+ "Max Visited" scenarios. Please see the javadoc for these classes for more information."/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="On browsers that support disabled items in the drop down, the unreachable items will look
+ disabled, otherwise they will not be rendered. "/>
+
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/summary.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/singleStepButtonBar.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/singleStepButtonBar.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/singleStepButtonBar.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/singleStepButtonBar.xhtml Wed Nov 10 08:13:47 2010
@@ -1,34 +1,34 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:singleStepButtonBar id="singleStep1" text="Stage"
- selectedStep="#{singleStepButtonBarBean.currentStep}"
- maxStep="5"
- previousAction="#{singleStepButtonBarBean.doBack}"
- nextAction="#{singleStepButtonBarBean.doNext}"/>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:singleStepButtonBar id="singleStep1" text="Stage"
+ selectedStep="#{singleStepButtonBarBean.currentStep}"
+ maxStep="5"
+ previousAction="#{singleStepButtonBarBean.doBack}"
+ nextAction="#{singleStepButtonBarBean.doNext}"/>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/singleStepButtonBar.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/summary.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/summary.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/summary.xhtml Wed Nov 10 08:13:47 2010
@@ -1,55 +1,55 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:tr="http://myfaces.apache.org/trinidad">
-
- SingleStepButtonBar renders a Previous button, text indicating the current step and the
- maximum steps, and a Next button. SingleStepButtonBar is used to navigate forward and back in a series of steps,
- like steps in a checkout process.
-
- <br/>
-
- SingleStepButtonBar implements javax.faces.component.ActionSource, which means it is a source of javax.faces.event.ActionEvent's.
-
- <tr:spacer height="12px"/>
-
- <tr:outputText value="The ActionEvent is delivered during the Apply Request Values phase when navigating back,
- and during the Invoke Application phase when navigating forward. "/>
-
- <tr:spacer height="12px"/>
-
- <tr:outputText value="The nextAction/previousAction attributes are of type MethodBinding and must (if non-null)
- point to an action method. The nextAction method will be called when navigating forward, and the previousAction
- method will be called when navigating back with a singleStep component. "/>
-
- <tr:spacer height="12px"/>
-
- <tr:outputText value="JSF has a default javax.faces.event.ActionListener that passes the nextAction or
- previousAction outcome to the NavigationHandler. "/>
-
- <tr:spacer height="12px"/>
-
- <tr:outputText value="The nextActionListener/previousActionListener attributes are of type MethodBinding and
- must (in non-null) point to a method accepting an ActionEvent, with a return type of void. When navigating to
- the previous step, then the previousActionListener method is called. When navigating to the next step, the
- nextActionListener method is called. "/>
-
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ SingleStepButtonBar renders a Previous button, text indicating the current step and the
+ maximum steps, and a Next button. SingleStepButtonBar is used to navigate forward and back in a series of steps,
+ like steps in a checkout process.
+
+ <br/>
+
+ SingleStepButtonBar implements javax.faces.component.ActionSource, which means it is a source of javax.faces.event.ActionEvent's.
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The ActionEvent is delivered during the Apply Request Values phase when navigating back,
+ and during the Invoke Application phase when navigating forward. "/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The nextAction/previousAction attributes are of type MethodBinding and must (if non-null)
+ point to an action method. The nextAction method will be called when navigating forward, and the previousAction
+ method will be called when navigating back with a singleStep component. "/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="JSF has a default javax.faces.event.ActionListener that passes the nextAction or
+ previousAction outcome to the NavigationHandler. "/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The nextActionListener/previousActionListener attributes are of type MethodBinding and
+ must (in non-null) point to a method accepting an ActionEvent, with a return type of void. When navigating to
+ the previous step, then the previousActionListener method is called. When navigating to the next step, the
+ nextActionListener method is called. "/>
+
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/summary.xhtml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/companyInfo.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/companyInfo.xhtml?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/companyInfo.xhtml (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/companyInfo.xhtml Wed Nov 10 08:13:47 2010
@@ -1,69 +1,69 @@
-<!--
- 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.
--->
-
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:tr="http://myfaces.apache.org/trinidad"
- template="/pages/componentDemo.xhtml">
-
- <ui:define name="demoContent">
-
- <tr:spacer height="5"/>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>Please take the time to complet all the steps of our Trinidad Questionnaire</b>"/>
- <tr:spacer height="10"/>
- <tr:separator/>
- <tr:spacer height="5"/>
-
- <tr:train var="foo" value="#{trainBean}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{trainBean.immediate}"
- disabled="#{trainBean.readOnly}"
- visited="#{trainBean.visited}"/>
- </f:facet>
- </tr:train>
-
- <tr:spacer height="20px"/>
- <tr:panelHorizontalLayout>
- <tr:outputText value="Company Name"/>
- <tr:inputText/>
- </tr:panelHorizontalLayout>
- <tr:panelHorizontalLayout>
- <tr:outputText value="Activity Domain"/>
- <tr:spacer width="3" height="40"/>
- <tr:inputText/>
- </tr:panelHorizontalLayout>
- <tr:panelHorizontalLayout>
- <tr:outputText value="Your Title"/>
- <tr:spacer width="38" height="10"/>
- <tr:inputText/>
- </tr:panelHorizontalLayout>
- <tr:spacer height="10px"/>
-
- <tr:panelHorizontalLayout>
- <tr:commandButton text="< Back" action="trainGeneralInfo"/>
- <tr:spacer width="5px"/>
- <tr:commandButton text="Next >" action="trainJsfSurvey"/>
- </tr:panelHorizontalLayout>
-
- </ui:define>
-</ui:composition>
+<!--
+ 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.
+-->
+
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ template="/pages/componentDemo.xhtml">
+
+ <ui:define name="demoContent">
+
+ <tr:spacer height="5"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Please take the time to complet all the steps of our Trinidad Questionnaire</b>"/>
+ <tr:spacer height="10"/>
+ <tr:separator/>
+ <tr:spacer height="5"/>
+
+ <tr:train var="foo" value="#{trainBean}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{trainBean.immediate}"
+ disabled="#{trainBean.readOnly}"
+ visited="#{trainBean.visited}"/>
+ </f:facet>
+ </tr:train>
+
+ <tr:spacer height="20px"/>
+ <tr:panelHorizontalLayout>
+ <tr:outputText value="Company Name"/>
+ <tr:inputText/>
+ </tr:panelHorizontalLayout>
+ <tr:panelHorizontalLayout>
+ <tr:outputText value="Activity Domain"/>
+ <tr:spacer width="3" height="40"/>
+ <tr:inputText/>
+ </tr:panelHorizontalLayout>
+ <tr:panelHorizontalLayout>
+ <tr:outputText value="Your Title"/>
+ <tr:spacer width="38" height="10"/>
+ <tr:inputText/>
+ </tr:panelHorizontalLayout>
+ <tr:spacer height="10px"/>
+
+ <tr:panelHorizontalLayout>
+ <tr:commandButton text="< Back" action="trainGeneralInfo"/>
+ <tr:spacer width="5px"/>
+ <tr:commandButton text="Next >" action="trainJsfSurvey"/>
+ </tr:panelHorizontalLayout>
+
+ </ui:define>
+</ui:composition>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/companyInfo.xhtml
------------------------------------------------------------------------------
svn:eol-style = native