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 2008/12/05 09:27:46 UTC

svn commit: r723648 [3/3] - in /myfaces/trinidad/trunk_1.2.x/trinidad-impl/src: main/java/org/apache/myfaces/trinidadinternal/ui/laf/base/pda/ test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/ test/resources/org/apache/myfaces/trinid...

Added: myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/panelPage-facets-pda.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/panelPage-facets-pda.xml?rev=723648&view=auto
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/panelPage-facets-pda.xml (added)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/panelPage-facets-pda.xml Fri Dec  5 00:27:45 2008
@@ -0,0 +1,88 @@
+<test xmlns="http://myfaces.apache.org/trinidad/test"
+       xmlns:tr="http://myfaces.apache.org/trinidad"
+       agentNotSupported="desktop">
+  <base-component tr:type="org.apache.myfaces.trinidad.CorePanelPage">
+     <component tr:type="org.apache.myfaces.trinidad.CoreOutputFormatted"
+                tr:facet="actions"
+                value="the actions facet"/>
+     <component tr:type="org.apache.myfaces.trinidad.CoreCommandLink"
+                 tr:facet="appAbout"
+                 text="appAbout"/>
+     <component tr:type="org.apache.myfaces.trinidad.CoreCommandLink"
+                 tr:facet="appPrivacy"
+                 text="privacy"/>
+     <component tr:type="org.apache.myfaces.trinidad.CoreOutputFormatted"
+                tr:facet="appCopyright"
+                value="the appCopyright facet"/>
+     <component tr:type="org.apache.myfaces.trinidad.CoreOutputFormatted"
+                tr:facet="infoFootnote"
+                value="the infoFootnote facet"/>
+     <component tr:type="org.apache.myfaces.trinidad.CoreOutputFormatted"
+                tr:facet="infoUser"
+                value="the infoUser facet"/>
+     <component tr:type="org.apache.myfaces.trinidad.CoreOutputFormatted"
+                tr:facet="infoStatus"
+                value="the infoStatus facet"/>
+     <component tr:type="org.apache.myfaces.trinidad.CoreOutputFormatted"
+                tr:facet="infoReturn"
+                value="the infoReturn facet"/>
+     <component tr:type="org.apache.myfaces.trinidad.CoreOutputFormatted"
+                tr:facet="messages"
+                value="the messages facet"/>
+     <component tr:type="org.apache.myfaces.trinidad.CoreBreadCrumbs"
+                tr:facet="location" >
+        <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                   text="path1"/>
+        <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                   text="path2"/>
+        <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                   text="path3"/>
+    </component>
+     <component tr:type="org.apache.myfaces.trinidad.CoreNavigationPane" hint="tabs"
+                tr:facet="navigation1" >
+        <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                   text="tab1"/>
+        <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                   text="tab2"/>
+        <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                   text="tab3"/>
+    </component>
+    <component tr:type="org.apache.myfaces.trinidad.CoreNavigationPane" hint="bar"
+                   tr:facet="navigation2" >
+           <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                      text="bar1"/>
+           <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                      text="bar2"/>
+           <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                      text="bar3"/>
+     </component>
+   <component tr:type="org.apache.myfaces.trinidad.CoreNavigationPane" hint="buttons"
+                   tr:facet="navigationGlobal" >
+           <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                      text="button1"/>
+           <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                      text="button2"/>
+           <component tr:type="org.apache.myfaces.trinidad.CoreCommandNavigationItem"
+                      text="button3"/>
+    </component>
+    <component tr:type="org.apache.myfaces.trinidad.CoreImage"
+                tr:facet="branding"
+                source="/foo/foo.gif"/>
+     <component tr:type="org.apache.myfaces.trinidad.CoreOutputFormatted"
+                tr:facet="search"
+                value="the search facet"/>
+                
+     <component tr:type="org.apache.myfaces.trinidad.CorePanelHeader" text="foo"/>
+     <component id="panID" tr:type="org.apache.myfaces.trinidad.CorePanelHeader" text="bar bar">
+        <attribute-test name="icon" value="icon-uri"/> 
+     </component>   
+           
+  
+     <component tr:type="org.apache.myfaces.trinidad.CorePanelHeader"
+                text="header2"/>
+
+  </base-component>
+  
+  
+ <!-- test the facets seperately so output not too big - see panelPage.xml for attribute tests -->
+</test>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/panelPage-facets.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/panelPage-facets.xml?rev=723648&r1=723647&r2=723648&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/panelPage-facets.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/testScripts/panelPage-facets.xml Fri Dec  5 00:27:45 2008
@@ -1,5 +1,6 @@
 <test xmlns="http://myfaces.apache.org/trinidad/test"
-       xmlns:tr="http://myfaces.apache.org/trinidad">
+       xmlns:tr="http://myfaces.apache.org/trinidad"
+       agentNotSupported="pda">
   <base-component tr:type="org.apache.myfaces.trinidad.CorePanelPage">
      <component tr:type="org.apache.myfaces.trinidad.CoreProcessChoiceBar"
                 tr:facet="actions"