You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2013/01/30 10:54:16 UTC

svn commit: r1440322 [3/3] - in /myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi: ./ resource/ src/ src/main/ src/main/appended-resources/ src/main/appended-resources/META-INF/ src/main/java/ src/main/java/org/ src/main/java/org/apac...

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/image/org/tango-project/tango-icon-theme/address-book-splash-screen.png
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/image/org/tango-project/tango-icon-theme/address-book-splash-screen.png?rev=1440322&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/image/org/tango-project/tango-icon-theme/address-book-splash-screen.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/addressbook.properties.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/addressbook.properties.xml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/addressbook.properties.xml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/addressbook.properties.xml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,58 @@
+<?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.
+-->
+
+<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
+
+
+<properties>
+<!-- Editor -->
+  <entry key="editorTitle">Addressbook Editor</entry>
+  <entry key="editorBoxTitle">Address Editor</entry>
+  <entry key="editorTabPersonal">Personal</entry>
+  <entry key="editorTabBusiness">Business</entry>
+  <entry key="editorTabMisc">Misc</entry>
+  <entry key="editorFirstName">First Name:</entry>
+  <entry key="editorLastName">Last Name:</entry>
+  <entry key="editorStreet">Street / No.:</entry>
+  <entry key="editorCity">ZIP / City:</entry>
+  <entry key="editorCountry">Country:</entry>
+  <entry key="editorPhone">Phone:</entry>
+  <entry key="editorMobile">Mobile:</entry>
+  <entry key="editorFax">Fax:</entry>
+  <entry key="editorEmail">eMail:</entry>
+  <entry key="editorIcq">ICQ:</entry>
+  <entry key="editorHomepage">Homepage:</entry>
+  <entry key="editorBirthday">Day of Birth:</entry>
+  <entry key="editorJobCompany">Company:</entry>
+  <entry key="editorJobTitle">Job Title:</entry>
+  <entry key="editorNote">Note:</entry>
+  <entry key="editorStore">_Store</entry>
+  <entry key="editorCancel">_Cancel</entry>
+
+<!-- List -->
+
+  <entry key="listPageTitle">List of addresses</entry>
+  <entry key="listBoxTitle">Address Editor</entry>
+  <entry key="listNew">New</entry>
+  <entry key="listEdit">Edit</entry>
+  <entry key="listDelete">Delete</entry>
+  <entry key="listFirstName">First Name</entry>
+  <entry key="listLastName">Last Name</entry>
+  <entry key="listDeleteConfirmation">Do you want to delete the selected addresses?</entry>
+</properties>
\ No newline at end of file

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/addressbook_de.properties.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/addressbook_de.properties.xml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/addressbook_de.properties.xml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/addressbook_de.properties.xml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,59 @@
+<?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.
+-->
+
+<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
+
+
+
+<properties>
+
+  <!-- Editor -->
+
+  <entry key="editorTitle">Adressbuch Editor</entry>
+  <entry key="editorBoxTitle">Adressbuch Editor</entry>
+  <entry key="editorTabPersonal">Persönlich</entry>
+  <entry key="editorTabBusiness">Geschäftlich</entry>
+  <entry key="editorTabMisc">Weiteres</entry>  
+  <entry key="editorFirstName">Vorname:</entry>
+  <entry key="editorLastName">Nachname:</entry>
+  <entry key="editorStreet">Straße / Nr.:</entry>
+  <entry key="editorCity">PLZ / Ort:</entry>
+  <entry key="editorCountry">Land:</entry>
+  <entry key="editorPhone">Telefon:</entry>
+  <entry key="editorMobile">Handy:</entry>
+  <entry key="editorFax">Fax:</entry>
+  <entry key="editorEmail">eMail:</entry>
+  <entry key="editorBirthday">Geburtstag:</entry>
+  <entry key="editorJobCompany">Firma:</entry>
+  <entry key="editorJobTitle">Job Titel:</entry>
+  <entry key="editorNote">Bemerkungen:</entry>
+  <entry key="editorStore">_Speichern</entry>
+  <entry key="editorCancel">_Abbrechen</entry>
+
+  <!-- List -->
+
+  <entry key="listPageTitle">Adressen</entry>
+  <entry key="listBoxTitle">Adressen Editor</entry>
+  <entry key="listNew">Neu</entry>
+  <entry key="listEdit">Ändern</entry>
+  <entry key="listDelete">Löschen</entry>
+  <entry key="listFirstName">Vorname</entry>
+  <entry key="listLastName">Nachname</entry>
+  <entry key="listDeleteConfirmation">Wollen Sie diesen Eintrag wirklich
+    löschen?</entry>
+</properties>
\ No newline at end of file

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/error/messages.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/error/messages.properties?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/error/messages.properties (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/error/messages.properties Wed Jan 30 09:54:14 2013
@@ -0,0 +1,27 @@
+#
+# 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.
+#
+
+# converter
+converterEmailParts=Exactly two eMail parts expected
+converterLocaleParserError=Cannot parse "{0}" to a locale.
+
+# validator
+validatorEmailLocalPart=eMail address is not valid: local part
+validatorEmailDomain=eMail address is not valid: domain
+validatorPhone=Invalid phone number
+
+

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource.properties?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource.properties (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource.properties Wed Jan 30 09:54:14 2013
@@ -0,0 +1,98 @@
+#
+# 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.
+#
+
+# editor
+admin=Admin
+editorPageTitle=Addressbook Editor
+editorTitle=Address Editor
+editorBoxTitle=Address Editor
+editorFirstName=First Name
+editorLastName=Last Name
+editorStreet=Street / No
+editorCity=ZIP / City
+editorCountry=Country
+editorPhone=Phone
+editorMobile=Mobile
+editorFax=Fax
+editorEmail=eMail
+editorIcq=ICQ
+editorHomepage=Homepage
+editorBirthday=Day of Birth
+editorDatePattern=MM/dd/yyyy
+editorJobCompany=Company
+editorJobTitle=Job Title
+editorJobPhone=Phone, business
+editorJobEmail=eMail, business
+editorJobHomepage=Company Homepage
+editorNote=Note
+editorStore=Store
+editorCancel=Cancel
+editorTabPersonal=Personal
+editorTabBusiness=Business
+editorTabMisc=Misc
+
+# address list
+listFilter=Search
+listSearch=Search
+listPageTitle=List Of Addresses
+listBoxTitle=Addresses
+listNew=New
+listEdit=Edit
+listDelete=Delete
+listFirstName=First Name
+listLastName=Last Name
+listDeleteConfirmation=Do you want to delete the selected addresses?
+listFooter={0,choice,0#No addresses|1#1 Address|1<{0,number,integer} Addresses}
+listSelectColumns=Select Columns
+
+# footer
+footerLanguage=Language
+footerTheme=Theme
+footerFlag=Flag
+footerFlagIcon=image/addressbook/icon/flag-us.png
+
+# menu
+menuFile=_File
+menuFileNew=_New
+menuSettings=_Settings
+menuSettingsLanguage=_Language
+menuSettingsTheme=_Theme
+menuSettingsMode=Simple _Mode
+menuHelp=_Help
+menuHelpAbout=_About
+
+# toolbar
+toolbarAddressList=Address List
+toolbarAbout=About
+aboutMessage=Addressbook Demo
+
+# error
+errorPageTitle=Error
+errorTitle=Error
+errorPageOk=OK
+
+# login
+loginIntro=Use one of the following users to login.
+loginUser=Username
+loginPassword=Password
+loginLogin=Login
+loginError=The user name or password is wrong.
+
+loginLogoutTitle=Logout
+loginLogoutBox=Logout
+loginLogoutText=You are logged out.
+loginHomeButton=Login

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_de.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_de.properties?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_de.properties (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_de.properties Wed Jan 30 09:54:14 2013
@@ -0,0 +1,84 @@
+#
+# 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.
+#
+
+# editor
+editorPageTitle=Adressbucheditor
+editorTitle=Adresseneditor
+editorFirstName=Vorname
+editorLastName=Nachname
+editorStreet=Stra\u00dfe / Nr.
+editorCity=PLZ / Stadt
+editorCountry=Land
+editorPhone=Telefon
+editorMobile=Handy
+editorFax=Fax
+editorEmail=eMail
+editorIcq=ICQ
+editorHomepage=Homepage
+editorBirthday=Geburtstag
+editorDatePattern=dd.MM.yyyy
+editorJobCompany=Firma
+editorJobTitle=Beruf
+editorJobPhone=Telefon, gesch\u00e4ftlich
+editorJobEmail=eMail, gesch\u00e4ftlich
+editorJobHomepage=Firmen-Homepage
+editorNote=Notiz
+editorStore=Speichern
+editorCancel=Abbrechen
+editorTabPersonal=Pers\u00f6nlich
+editorTabBusiness=Gesch\u00e4ftlich
+
+# address list
+listFilter=Suchen
+listSearch=Suchen
+listPageTitle=Adressen
+listBoxTitle=Adressen
+listNew=Neu
+listEdit=Editieren
+listDelete=L\u00f6schen
+listFirstName=Vorname
+listLastName=Nachname
+listDeleteConfirmation=Wollen Sie diesen Eintrag wirklich l\u00f6schen?
+listFooter={0,choice,0#Keine Adresse|1#1 Adresse|1<{0,number,integer} Adressen}
+listSelectColumns=Spalten Selektieren
+
+# footer
+footerLanguage=Sprache
+footerTheme=Design
+footerFlag=Flagge
+footerFlagIcon=image/addressbook/icon/flag-de.png
+
+
+# menu
+menuFile=_Datei
+menuFileNew=_Neue Adresse
+menuSettings=_Einstellungen
+menuSettingsLanguage=_Sprache
+menuSettingsTheme=Des_ign
+menuSettingsMode=Einfacher Modus
+menuHelp=_Hilfe
+menuHelpAbout=_\u00dcber
+
+# toolbar
+toolbarAddressList=Adressliste
+toolbarAbout=\u00dcber
+aboutMessage=Adressbuch Demo
+
+# error
+errorPageTitle=Fehler
+errorTitle=Fehler
+errorPageOk=OK
\ No newline at end of file

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_en_GB.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_en_GB.properties?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_en_GB.properties (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_en_GB.properties Wed Jan 30 09:54:14 2013
@@ -0,0 +1,22 @@
+#
+# 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.
+#
+
+# editor
+editorDatePattern=dd/MM/yyyy
+
+# footer
+footerFlagIcon=image/addressbook/icon/flag-gb.png
\ No newline at end of file

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_en_US.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_en_US.properties?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_en_US.properties (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook-resource/html/standard/standard/property/resource_en_US.properties Wed Jan 30 09:54:14 2013
@@ -0,0 +1,17 @@
+#
+# 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.
+#
+

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/admin.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/admin.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/admin.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/admin.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,45 @@
+<?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.
+-->
+
+<ui:composition template="/addressbook/layout/basic.xhtml"
+                xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tc="http://myfaces.apache.org/tobago/component"
+                xmlns:tx="http://myfaces.apache.org/tobago/extension"
+                xmlns:ui="http://java.sun.com/jsf/facelets">
+  <ui:param name="title" value="Administration"/>
+    <f:facet name="layout">
+      <tc:gridLayout margin="10px" rows="*;auto"/>
+    </f:facet>
+
+    <tc:tabGroup switchType="reloadPage">
+      <tc:tab label="Memory">
+        <ui:include src="memory.xhtml"/>
+      </tc:tab>
+      <tc:tab label="Logging">
+        <ui:include src="logging.xhtml"/>
+      </tc:tab>
+    </tc:tabGroup>
+    <tc:panel>
+      <f:facet name="layout">
+        <tc:gridLayout columns="*;auto"/>
+      </f:facet>
+      <tc:cell/>
+      <tc:button label="Back" action="list"/>
+    </tc:panel>
+  </ui:composition>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/logging.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/logging.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/logging.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/logging.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,102 @@
+<?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.
+-->
+
+<f:subview id="memory"
+           xmlns:tc="http://myfaces.apache.org/tobago/component"
+           xmlns:tx="http://myfaces.apache.org/tobago/extension"
+           xmlns:ui="http://java.sun.com/jsf/facelets"
+           xmlns:f="http://java.sun.com/jsf/core">
+  <tc:panel>
+    <f:facet name="layout">
+      <tc:gridLayout rows="2*;3*;auto" margin="10"/>
+    </f:facet>
+
+    <tc:box label="Appenders">
+      <tc:sheet columns="*;*;*;2*" var="appender" value="#{logging.appenders}">
+        <tc:column label="Class">
+          <tc:out value="#{appender.className}"/>
+        </tc:column>
+        <tc:column label="Name">
+          <tc:out value="#{appender.name}"/>
+        </tc:column>
+        <tc:column label="File">
+          <tc:link inline="true" action="#{logging.downloadLogFile}" tip="Download Log File"
+                   target="_blank" rendered="#{! empty appender.file}">
+            <f:param value="#{appender}" binding="#{logging.currentAppender}"/>
+            <tc:out value="#{appender.file}"/>
+          </tc:link>
+        </tc:column>
+        <tc:column label="Layout">
+          <tc:out value="#{appender.layout}"/>
+        </tc:column>
+      </tc:sheet>
+    </tc:box>
+
+    <tc:box label="Categories">
+      <f:facet name="layout">
+        <tc:gridLayout rows="*;auto"/>
+      </f:facet>
+      <tc:sheet columns="5*;25px;*" var="category"
+                value="#{logging.categories}" showDirectLinks="left" showPageRange="right" showRowRange="none"
+                first="#{logging.catergoriesFirst}" rows="#{logging.catergoriesRows}">
+        <tc:column label="Name" sortable="true">
+          <tc:link inline="true" action="#{logging.selectCategory}" immediate="true"
+                   renderedPartially=":page:addCategory">
+            <f:param value="#{category}" binding="#{logging.currentCategory}"/>
+            <tc:out value="#{category.name}"/>
+          </tc:link>
+        </tc:column>
+        <tc:column label="Inh" tip="Inherited" sortable="true">
+          <tc:selectBooleanCheckbox readonly="true" value="#{category.inherited}"/>
+        </tc:column>
+        <tc:column label="Level" sortable="true">
+          <tc:selectOneChoice value="#{category.level}">
+            <tc:selectItems value="#{logging.levels}"/>
+          </tc:selectOneChoice>
+        </tc:column>
+      </tc:sheet>
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout columns="*;auto"/>
+        </f:facet>
+        <tc:cell/>
+        <tc:button label="Update" action="#{logging.updateCategories}"/>
+      </tc:panel>
+    </tc:box>
+
+    <tc:box label="Add Category" id="addCategory">
+      <f:facet name="layout">
+        <tc:gridLayout rows="auto"/>
+      </f:facet>
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout columns="*;*;auto"/>
+        </f:facet>
+        <tx:in label="Category" value="#{logging.category}">
+          <tc:attribute name="binding" value="#{logging.categoryControl}"/>
+        </tx:in>
+        <tx:selectOneChoice label="Level" value="#{logging.level}">
+          <tc:selectItems value="#{logging.levels}"/>
+        </tx:selectOneChoice>
+        <tc:button label="Set Level" action="#{logging.addCategory}"/>
+      </tc:panel>
+    </tc:box>
+
+  </tc:panel>
+</f:subview>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/memory.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/memory.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/memory.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/admin/memory.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,42 @@
+<?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.
+-->
+
+<f:subview id="memory"
+           xmlns:tc="http://myfaces.apache.org/tobago/component"
+           xmlns:tx="http://myfaces.apache.org/tobago/extension"
+           xmlns:ui="http://java.sun.com/jsf/facelets"
+           xmlns:f="http://java.sun.com/jsf/core">
+  <tc:panel>
+
+    <f:facet name="layout">
+      <tc:gridLayout margin="10px" rows="auto;auto;auto" columns="300px"/>
+    </f:facet>
+    <f:facet name="reload">
+      <tc:reload frequency="5000" update="#{admin.updateMemory}"/>
+    </f:facet>
+
+    <tc:label value="Memory:"/>
+
+    <tc:progress value="#{admin.memory}" markup="#{admin.state}"/>
+
+    <tc:label value="Current: #{admin.memory.value} kB Max: #{admin.memory.maximum} kB"/>
+
+  </tc:panel>
+</f:subview>
+

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/editor.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/editor.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/editor.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/editor.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,68 @@
+<?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.
+-->
+
+<ui:composition template="/addressbook/layout/basic.xhtml"
+                xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tc="http://myfaces.apache.org/tobago/component"
+                xmlns:tx="http://myfaces.apache.org/tobago/extension"
+                xmlns:ui="http://java.sun.com/jsf/facelets">
+  <ui:param name="title" value="#{bundle.editorTitle}"/>
+
+  <tc:panel>
+    <f:facet name="layout">
+      <tc:gridLayout margin="10px"/>
+    </f:facet>
+
+    <tc:box label="#{bundle.editorBoxTitle}">
+      <f:facet name="layout">
+        <tc:gridLayout rows="auto;1*;auto"/>
+      </f:facet>
+
+      <tc:messages/>
+
+      <tc:tabGroup switchType="reloadTab" immediate="true">
+        <tc:tab label="#{bundle.editorTabPersonal}">
+          <ui:include src="tab/personal.xhtml"/>
+        </tc:tab>
+
+        <tc:tab label="#{bundle.editorTabBusiness}" rendered="#{!controller.simple}">
+          <ui:include src="tab/business.xhtml"/>
+        </tc:tab>
+
+        <tc:tab label="#{bundle.editorTabMisc}" rendered="#{!controller.simple}">
+          <ui:include src="tab/misc.xhtml"/>
+        </tc:tab>
+      </tc:tabGroup>
+
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout columns="3*;1*;1*"/>
+        </f:facet>
+
+        <tc:cell/>
+        <tc:button action="#{controller.store}"
+                   label="#{bundle.editorStore}" defaultCommand="true"/>
+        <tc:button action="#{controller.cancel}" immediate="true"
+                   label="#{bundle.editorCancel}"/>
+      </tc:panel>
+
+    </tc:box>
+
+  </tc:panel>
+</ui:composition>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/layout/basic.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/layout/basic.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/layout/basic.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/layout/basic.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,115 @@
+<?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.
+-->
+
+<ui:composition xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tc="http://myfaces.apache.org/tobago/component"
+                xmlns:tx="http://myfaces.apache.org/tobago/extension"
+                xmlns:ui="http://java.sun.com/jsf/facelets">
+  <f:view locale="#{controller.language}">
+    <tc:loadBundle basename="resource" var="bundle"/>
+
+    <tc:page applicationIcon="icon/favicon.ico" label="${title}" id="page">
+
+      <tc:script file="auth/logout.js"/>
+
+      <f:facet name="menuBar">
+        <tc:menuBar>
+          <tc:form>
+            <tc:menu label="#{bundle.menuFile}">
+              <tc:menuCommand label="#{bundle.menuFileNew}" action="#{controller.createAddress}" immediate="true"
+                           image="image/org/tango-project/tango-icon-theme/16x16/actions/contact-new.png"/>
+              <tc:menuCommand label="Add Dummy Addresses" action="#{controller.addDummyAddresses}" immediate="true"/>
+              <tc:menuSeparator/>
+              <tc:menuCommand label="#{bundle.admin}" action="#{admin.admin}"
+                           image="image/org/tango-project/tango-icon-theme/16x16/categories/preferences-system.png"/>
+              <tc:menuSeparator/>
+              <tc:menuCommand label="Logout" action="#{controller.logout}"
+                           image="image/org/tango-project/tango-icon-theme/16x16/actions/system-log-out.png"/>
+            </tc:menu>
+
+            <tc:menu label="#{bundle.menuSettings}">
+              <tc:menu label="#{bundle.menuSettingsLanguage}">
+                <tx:menuRadio action="#{controller.languageChanged}"
+                              value="#{controller.language}">
+                  <f:selectItems value="#{controller.languages}"/>
+                </tx:menuRadio>
+              </tc:menu>
+              <tc:menu label="#{bundle.menuSettingsTheme}">
+                <tx:menuRadio action="#{controller.themeChanged}"
+                              value="#{controller.theme}">
+                  <f:selectItems value="#{controller.themeItems}"/>
+                </tx:menuRadio>
+              </tc:menu>
+              <tx:menuCheckbox label="#{bundle.menuSettingsMode}" value="#{controller.simple}"/>
+            </tc:menu>
+
+            <tc:menu label="#{bundle.menuHelp}">
+              <tc:menuCommand label="#{bundle.menuHelpAbout}"
+                           image="image/org/tango-project/tango-icon-theme/16x16/apps/help-browser.png">
+                <tc:popupReference for=":page:about"/>
+              </tc:menuCommand>
+            </tc:menu>
+          </tc:form>
+        </tc:menuBar>
+      </f:facet>
+
+      <tc:panel>
+        <ui:insert/>
+      </tc:panel>
+
+      <f:facet name="popup">
+        <tc:popup id="about" width="400" height="220" left="200" top="200">
+          <tc:box label="About">
+            <f:facet name="layout">
+              <tc:gridLayout rows="150px;*;auto" columns="150px;*"/>
+            </f:facet>
+
+            <tc:image value="image/org/tango-project/tango-icon-theme/address-book-splash-screen.png" width="150"
+                      height="150"/>
+            <tc:panel>
+              <f:facet name="layout">
+                <tc:gridLayout rows="auto;auto;auto;*"/>
+              </f:facet>
+
+              <tc:out markup="strong" value="Addressbook Demo"/>
+              <tc:cell/>
+              <tc:out value="Version #{controller.version}"/>
+              <tc:cell/>
+            </tc:panel>
+
+            <tc:cell spanX="2"/>
+
+            <tc:cell spanX="2">
+              <tc:panel>
+                <f:facet name="layout">
+                  <tc:gridLayout columns="*;auto"/>
+                </f:facet>
+                <tc:cell/>
+                <tc:button label="OK">
+                  <tc:attribute name="popupClose" value="immediate"/>
+                </tc:button>
+              </tc:panel>
+            </tc:cell>
+          </tc:box>
+        </tc:popup>
+      </f:facet>
+
+    </tc:page>
+  </f:view>
+</ui:composition>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/list.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/list.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/list.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/list.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,151 @@
+<?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.
+-->
+
+<ui:composition template="/addressbook/layout/basic.xhtml"
+                xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tc="http://myfaces.apache.org/tobago/component"
+                xmlns:tx="http://myfaces.apache.org/tobago/extension"
+                xmlns:ui="http://java.sun.com/jsf/facelets">
+  <ui:param name="title" value="#{bundle.listPageTitle}"/>
+
+  <tc:panel>
+    <f:facet name="layout">
+      <tc:gridLayout margin="10px" rows="auto;auto;1*;auto"/>
+    </f:facet>
+    <tc:toolBar iconSize="big">
+      <tc:button label="#{bundle.toolbarAddressList}" action="#{controller.search}" immediate="true"
+                 image="image/org/tango-project/tango-icon-theme/32x32/mimetypes/x-office-address-book.png"
+                 disabled="#{facesContext.viewRoot.viewId == '/addressbook/list.xhtml'}"/>
+      <tc:button label="#{bundle.listNew}" action="#{controller.createAddress}"
+                 image="image/org/tango-project/tango-icon-theme/32x32/actions/contact-new.png"/>
+      <tc:button label="#{bundle.toolbarAbout}"
+                 image="image/org/tango-project/tango-icon-theme/32x32/apps/help-browser.png">
+        <tc:popupReference for=":page:about"/>
+      </tc:button>
+      <tc:button label="#{bundle.admin}" action="#{admin.admin}"
+                 image="image/org/tango-project/tango-icon-theme/32x32/categories/preferences-system.png"/>
+    </tc:toolBar>
+
+    <tc:panel>
+      <f:facet name="layout">
+        <tc:gridLayout columns="*;auto"/>
+      </f:facet>
+      <tx:in label="#{bundle.listFilter}"
+             value="#{controller.searchCriterion}"/>
+      <tc:button action="#{controller.search}" label="#{bundle.listSearch}"
+                 defaultCommand="true"/>
+    </tc:panel>
+
+    <tc:box label="#{bundle.listBoxTitle}">
+      <f:facet name="layout">
+        <tc:gridLayout rows="auto;1*"/>
+      </f:facet>
+      <f:facet name="toolBar">
+        <tc:toolBar>
+          <tc:toolBarCommand label="#{bundle.listNew}" action="#{controller.createAddress}"
+                             image="image/org/tango-project/tango-icon-theme/16x16/actions/contact-new.png"/>
+          <tc:toolBarCommand label="#{bundle.listEdit}" action="#{controller.editAddress}"
+                             image="image/org/tango-project/tango-icon-theme/16x16/apps/accessories-text-editor.png"/>
+          <tc:toolBarCommand label="#{bundle.listDelete}" action="#{controller.deleteAddresses}"
+                             image="image/org/tango-project/tango-icon-theme/16x16/places/user-trash.png">
+            <f:facet name="confirmation">
+              <tc:out value="#{bundle.listDeleteConfirmation}"/>
+            </f:facet>
+          </tc:toolBarCommand>
+          <tc:toolBarCommand label="Select Columns" action="#{controller.selectColumns}"
+                             image="image/org/tango-project/tango-icon-theme/16x16/categories/applications-system.png">
+            <f:facet name="popup">
+              <tc:popup width="300" height="200" left="200" top="200"
+                        rendered="#{controller.renderPopup}" id="popup">
+                <tc:box label="Select Columns">
+                  <f:facet name="layout">
+                    <tc:gridLayout rows="auto;auto;auto;1*;auto" margin="10"/>
+                  </f:facet>
+
+                  <tc:selectBooleanCheckbox label="First Name" value="#{controller.renderFirstName}"/>
+                  <tc:selectBooleanCheckbox label="Last Name" value="#{controller.renderLastName}"/>
+                  <tc:selectBooleanCheckbox label="Birthday" value="#{controller.renderDayOfBirth}"/>
+                  <tc:cell/>
+                  <tc:panel>
+                    <f:facet name="layout">
+                      <tc:gridLayout columns="1*;100px;100px"/>
+                    </f:facet>
+                    <tc:cell/>
+                    <tc:button action="#{controller.cancelPopup}" label="OK" defaultCommand="true"/>
+                    <tc:button action="#{controller.cancelPopup}" label="Cancel" immediate="true"/>
+                  </tc:panel>
+                </tc:box>
+              </tc:popup>
+            </f:facet>
+          </tc:toolBarCommand>
+        </tc:toolBar>
+      </f:facet>
+
+      <tc:messages/>
+
+      <tc:sheet columns="1*;1*;1*" value="#{controller.currentAddressList}"
+                var="address" state="#{controller.selectedAddresses}"
+                sortActionListener="#{controller.sheetSorter}" rows="25"
+                showRowRange="left" showPageRange="right" showDirectLinks="center">
+        <tc:columnEvent event="dblclick">
+          <tc:command action="#{controller.editAddress}"/>
+        </tc:columnEvent>
+        <tc:column id="firstName" label="#{bundle.listFirstName}" sortable="true"
+                   rendered="#{controller.renderFirstName}">
+          <tc:out value="#{address.firstName}"/>
+        </tc:column>
+        <tc:column id="lastName" label="#{bundle.listLastName}" sortable="true"
+                   rendered="#{controller.renderLastName}">
+          <tc:out value="#{address.lastName}"/>
+        </tc:column>
+        <tc:column id="dayOfBirth" label="Birthday" sortable="true"
+                   rendered="#{controller.renderDayOfBirth}">
+          <tc:out value="#{address.dayOfBirth}">
+            <f:convertDateTime pattern="#{bundle.editorDatePattern}"/>
+          </tc:out>
+        </tc:column>
+      </tc:sheet>
+
+    </tc:box>
+    <tc:panel>
+      <f:facet name="layout">
+        <tc:gridLayout columns="*;20px;*"/>
+      </f:facet>
+      <tc:form>
+        <tx:selectOneChoice label="#{bundle.footerLanguage}"
+                            value="#{controller.language}">
+          <f:selectItems value="#{controller.languages}"/>
+          <f:facet name="change">
+            <tc:command action="#{controller.languageChangedList}"/>
+          </f:facet>
+        </tx:selectOneChoice>
+      </tc:form>
+      <tc:image alt="#{bundle.footerFlag}" width="16" height="11"
+                value="#{bundle.footerFlagIcon}"/>
+      <tc:form>
+        <tx:selectOneChoice label="#{bundle.footerTheme}" value="#{controller.theme}">
+          <f:selectItems value="#{controller.themeItems}"/>
+          <f:facet name="change">
+            <tc:command action="#{controller.themeChanged}"/>
+          </f:facet>
+        </tx:selectOneChoice>
+      </tc:form>
+    </tc:panel>
+  </tc:panel>
+</ui:composition>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/start.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/start.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/start.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/start.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,66 @@
+<?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.
+-->
+
+<f:view xmlns:tc="http://myfaces.apache.org/tobago/component"
+        xmlns:tx="http://myfaces.apache.org/tobago/extension"
+        xmlns:ui="http://java.sun.com/jsf/facelets"
+        xmlns:f="http://java.sun.com/jsf/core">
+
+  <tc:loadBundle basename="addressbook" var="bundle"/>
+
+  <tc:page label="#{bundle.editorTitle}">
+    <f:facet name="action">
+      <tc:link action="list"/>
+    </f:facet>
+
+    <tc:panel>
+      <f:facet name="layout">
+        <tc:gridLayout margin="10px" rows="*;auto;*" columns="*;400px;*"/>
+      </f:facet>
+
+      <tc:cell spanX="3"/>
+
+      <tc:cell/>
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout rows="150px" columns="150px;250px"/>
+        </f:facet>
+
+        <tc:image value="image/org/tango-project/tango-icon-theme/address-book-splash-screen.png" width="150"
+                  height="150"/>
+        <tc:panel>
+          <f:facet name="layout">
+            <tc:gridLayout rows="auto;auto;auto;*"/>
+          </f:facet>
+
+          <tc:out value="Addressbook Demo"/>
+          <tc:cell/>
+          <tc:out value="Initializing ..."/>
+          <tc:cell/>
+
+        </tc:panel>
+
+      </tc:panel>
+      <tc:cell/>
+
+      <tc:cell spanX="3"/>
+
+    </tc:panel>
+  </tc:page>
+</f:view>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/business.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/business.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/business.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/business.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,50 @@
+<?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.
+-->
+
+<ui:composition xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tc="http://myfaces.apache.org/tobago/component"
+                xmlns:tx="http://myfaces.apache.org/tobago/extension"
+                xmlns:ui="http://java.sun.com/jsf/facelets">
+  <tc:loadBundle basename="resource" var="bundle"/>
+  <tc:panel>
+    <f:facet name="layout">
+      <tc:gridLayout rows="auto;auto;auto;auto;auto;1*"/>
+    </f:facet>
+    <tx:in value="#{controller.currentAddress.company}"
+           label="#{bundle.editorJobCompany}"/>
+
+    <tx:in value="#{controller.currentAddress.jobTitle}"
+           label="#{bundle.editorJobTitle}"/>
+
+    <tx:in value="#{controller.currentAddress.jobPhone}"
+           label="#{bundle.editorPhone}"
+           validator="#{controller.validatePhoneNumber}"/>
+
+    <tx:in value="#{controller.currentAddress.jobEmail}"
+           label="#{bundle.editorEmail}">
+      <f:validator validatorId="EmailAddressValidator"/>
+    </tx:in>
+
+    <tx:in value="#{controller.currentAddress.jobHomePage}"
+           label="#{bundle.editorHomepage}"/>
+
+    <tc:cell/>
+
+  </tc:panel>
+</ui:composition>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/misc.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/misc.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/misc.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/misc.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,34 @@
+<?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.
+-->
+
+<ui:composition xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tc="http://myfaces.apache.org/tobago/component"
+                xmlns:tx="http://myfaces.apache.org/tobago/extension"
+                xmlns:ui="http://java.sun.com/jsf/facelets">
+
+  <tc:loadBundle basename="resource" var="bundle"/>
+  <tc:panel>
+    <f:facet name="layout">
+      <tc:gridLayout rows="1*"/>
+    </f:facet>
+
+    <tx:textarea value="#{controller.currentAddress.note}"
+                 label="#{bundle.editorNote}"/>
+  </tc:panel>
+</ui:composition>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/personal.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/personal.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/personal.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/addressbook/tab/personal.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,143 @@
+<?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.
+-->
+
+<ui:composition xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tc="http://myfaces.apache.org/tobago/component"
+                xmlns:tx="http://myfaces.apache.org/tobago/extension"
+                xmlns:ui="http://java.sun.com/jsf/facelets">
+
+  <tc:loadBundle basename="resource" var="bundle"/>
+  <tc:panel>
+    <f:facet name="layout">
+      <tc:gridLayout rows="auto;auto;*"/>
+    </f:facet>
+    <tc:panel>
+      <f:facet name="layout">
+        <tc:gridLayout columns="*;120px"/>
+      </f:facet>
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout rows="auto;auto;auto;auto;auto;*"/>
+        </f:facet>
+        <tx:in value="#{controller.currentAddress.firstName}"
+               label="#{bundle.editorFirstName}" required="true">
+          <f:validateLength minimum="2" maximum="20"/>
+        </tx:in>
+
+        <tx:in label="#{bundle.editorLastName}"
+               value="#{controller.currentAddress.lastName}" required="true"/>
+
+        <tc:panel>
+          <f:facet name="layout">
+            <tc:gridLayout columns="6*;1*"/>
+          </f:facet>
+          <tx:in value="#{controller.currentAddress.street}"
+                 label="#{bundle.editorStreet}"/>
+          <tc:in value="#{controller.currentAddress.houseNumber}"/>
+        </tc:panel>
+
+        <tc:panel>
+          <f:facet name="layout">
+            <tc:gridLayout columns="1*;1*"/>
+          </f:facet>
+          <tx:in value="#{controller.currentAddress.zipCode}"
+                 label="#{bundle.editorCity}"/>
+          <tc:in value="#{controller.currentAddress.city}"/>
+        </tc:panel>
+
+        <tx:selectOneChoice
+            value="#{controller.currentAddress.country}"
+            label="#{bundle.editorCountry}">
+          <f:selectItems value="#{countries}"/>
+        </tx:selectOneChoice>
+        <tc:cell/>
+      </tc:panel>
+      <tc:panel rendered="#{!controller.simple}">
+        <f:facet name="layout">
+          <tc:gridLayout rows="160px" columns="120px"/>
+        </f:facet>
+        <tc:form>
+          <tc:button
+              image="#{controller.currentAddressPictureUrl}"
+              action="#{controller.popupFileUpload}">
+            <f:facet name="popup">
+              <tc:popup width="300" height="170" left="200"
+                        top="200" rendered="#{controller.renderFileUploadPopup}"
+                        id="popup-fileUpload">
+                <tc:box label="FileUpload">
+                  <f:facet name="layout">
+                    <tc:gridLayout rows="auto;1*;auto" margin="10"/>
+                  </f:facet>
+                  <tc:file value="#{controller.uploadedFile}" required="true">
+                    <tc:validateFileItem contentType="image/*"/>
+                  </tc:file>
+                  <tc:messages/>
+                  <tc:panel>
+                    <f:facet name="layout">
+                      <tc:gridLayout columns="1*;100px;100px"/>
+                    </f:facet>
+                    <tc:cell/>
+                    <tc:button action="#{controller.okFileUpload}" label="OK"/>
+                    <tc:button action="#{controller.cancelFileUpload}" label="Cancel" immediate="true"/>
+                  </tc:panel>
+                </tc:box>
+              </tc:popup>
+            </f:facet>
+          </tc:button>
+        </tc:form>
+      </tc:panel>
+    </tc:panel>
+    <tc:panel>
+      <f:facet name="layout">
+        <tc:gridLayout rows="auto;auto;auto;auto;auto;auto;auto"/>
+      </f:facet>
+      <tx:in value="#{controller.currentAddress.phone}"
+             label="#{bundle.editorPhone}"
+             validator="#{controller.validatePhoneNumber}"/>
+
+      <tx:in value="#{controller.currentAddress.mobile}"
+             label="#{bundle.editorMobile}"
+             validator="#{controller.validatePhoneNumber}"/>
+
+      <tx:in value="#{controller.currentAddress.fax}"
+             label="#{bundle.editorFax}"
+             validator="#{controller.validatePhoneNumber}"/>
+
+      <tx:in value="#{controller.currentAddress.email}"
+             label="#{bundle.editorEmail}">
+        <f:validator validatorId="EmailAddressValidator"/>
+      </tx:in>
+
+      <tx:in value="#{controller.currentAddress.icq}"
+             label="#{bundle.editorIcq}">
+        <f:validateLongRange minimum="0"/>
+      </tx:in>
+      <tx:in value="#{controller.currentAddress.homePage}"
+             label="#{bundle.editorHomepage}"/>
+
+      <tx:date id="dayOfBirth" value="#{controller.currentAddress.dayOfBirth}"
+               label="#{bundle.editorBirthday}">
+        <f:convertDateTime pattern="#{bundle.editorDatePattern}"/>
+      </tx:date>
+    </tc:panel>
+
+    <tc:cell/>
+
+  </tc:panel>
+</ui:composition>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/error.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/error.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/error.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/error.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,57 @@
+<?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.
+-->
+
+<f:view xmlns:tc="http://myfaces.apache.org/tobago/component"
+        xmlns:tx="http://myfaces.apache.org/tobago/extension"
+        xmlns:ui="http://java.sun.com/jsf/facelets"
+        xmlns:f="http://java.sun.com/jsf/core"
+        locale="#{controller.language}">
+
+  <tc:loadBundle basename="resource" var="bundle"/>
+
+  <tc:page label="Login Error">
+    <f:facet name="layout">
+      <tc:gridLayout rows="*;auto;*" columns="*;400px;*"/>
+    </f:facet>
+
+    <tc:cell spanX="3"/>
+
+    <tc:cell/>
+    <tc:box label="Login Error">
+      <f:facet name="layout">
+        <tc:gridLayout rows="auto;auto"/>
+      </f:facet>
+
+      <tc:out value="#{bundle.loginError}"/>
+
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout columns="*;auto"/>
+        </f:facet>
+
+        <tc:cell/>
+        <tc:button link="/index.jsp" label="Home"/>
+      </tc:panel>
+
+    </tc:box>
+    <tc:cell/>
+
+    <tc:cell spanX="3"/>
+  </tc:page>
+</f:view>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/login.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/login.js?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/login.js (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/login.js Wed Jan 30 09:54:14 2013
@@ -0,0 +1,45 @@
+/*
+ * 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.
+ */
+
+Addressbook = {};
+
+/**
+ * Copies the values from the data-login attribute to the username/password fields.
+ */
+Addressbook.prepareQuickLinks = function() {
+  jQuery("a[data-login]").click(function() {
+    var link = jQuery(this);
+    var login = link.data("login");
+    jQuery(Tobago.Utils.escapeClientId("page:j_username")).val(login.username);
+    jQuery(Tobago.Utils.escapeClientId("page:j_password")).val(login.password).focus();
+    return false;
+  });
+};
+
+/**
+ * This code is needed to "repair" the submit parameter names and url to use
+ * the names that a required for servlet authentication.
+ */
+Addressbook.prepareLoginForm = function() {
+  jQuery(Tobago.Utils.escapeClientId("page:j_username")).attr("name", "j_username");
+  jQuery(Tobago.Utils.escapeClientId("page:j_password")).attr("name", "j_password");
+  jQuery(Tobago.Utils.escapeClientId("page::form")).attr("action", Tobago.contextPath.value + "/j_security_check");
+};
+
+Tobago.registerListener(Addressbook.prepareQuickLinks, Tobago.Phase.DOCUMENT_READY);
+
+Tobago.registerListener(Addressbook.prepareLoginForm, Tobago.Phase.BEFORE_SUBMIT);

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/login.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/login.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/login.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/login.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,76 @@
+<?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.
+-->
+
+<f:view xmlns:tc="http://myfaces.apache.org/tobago/component"
+        xmlns:tx="http://myfaces.apache.org/tobago/extension"
+        xmlns:f="http://java.sun.com/jsf/core"
+        locale="#{controller.language}">
+
+  <tc:loadBundle basename="resource" var="bundle"/>
+
+  <tc:page id="page" label="Login">
+    <f:facet name="layout">
+      <tc:gridLayout rows="*;auto;*" columns="*;400px;*"/>
+    </f:facet>
+
+    <tc:script file="auth/login.js"/>
+
+    <tc:cell spanX="3"/>
+
+    <tc:cell/>
+    <tc:box label="#{test.test}">
+      <f:facet name="layout">
+        <tc:gridLayout rows="auto;auto;auto;auto"/>
+      </f:facet>
+
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout rows="20px;20px" columns="2*;*"/>
+        </f:facet>
+        <tc:out value="#{bundle.loginIntro}"/>
+        <tc:link label="guest/guest" image="image/org/tango-project/tango-icon-theme/16x16/apps/system-users.png"
+                 onclick="/* fixme: avoid submit */">
+          <tc:dataAttribute name="login" value='{"username": "guest", "password": "guest"}'/>
+        </tc:link>
+
+        <tc:cell/>
+        <tc:link label="admin/admin" image="image/org/tango-project/tango-icon-theme/16x16/apps/system-users.png"
+                 onclick="/* fixme: avoid submit */">
+          <tc:dataAttribute name="login" value='{"username": "admin", "password": "admin"}'/>
+        </tc:link>
+      </tc:panel>
+
+      <tx:in fieldId="j_username" label="#{bundle.loginUser}"/>
+      <tx:in fieldId="j_password" password="true" label="#{bundle.loginPassword}"/>
+
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout columns="*;auto"/>
+        </f:facet>
+
+        <tc:cell/>
+        <tc:button label="#{bundle.loginLogin}" defaultCommand="true"/>
+      </tc:panel>
+    </tc:box>
+
+    <tc:cell/>
+    <tc:cell spanX="3"/>
+
+  </tc:page>
+</f:view>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/logout.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/logout.js?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/logout.js (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/logout.js Wed Jan 30 09:54:14 2013
@@ -0,0 +1,27 @@
+/*
+ * 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.
+ */
+
+AddressbookLogout = {};
+
+/**
+ * Immediately log out. Is used by onexit the the browser window is closed.
+ */
+AddressbookLogout.logout = function() {
+  jQuery.ajax({url:"/KillSession",async:false});
+};
+
+Tobago.registerListener(AddressbookLogout.logout, Tobago.Phase.BEFORE_EXIT);

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/logout.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/logout.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/logout.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/auth/logout.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,55 @@
+<?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.
+-->
+
+<f:view xmlns:tc="http://myfaces.apache.org/tobago/component"
+        xmlns:tx="http://myfaces.apache.org/tobago/extension"
+        xmlns:ui="http://java.sun.com/jsf/facelets"
+        xmlns:f="http://java.sun.com/jsf/core"
+        locale="#{controller.language}">
+  <tc:loadBundle basename="resource" var="bundle"/>
+
+  <tc:page label="#{bundle.loginLogoutTitle}">
+    <f:facet name="layout">
+      <tc:gridLayout rows="*;auto;*" columns="*;400px;*"/>
+    </f:facet>
+
+    <tc:cell spanX="3"/>
+
+    <tc:cell/>
+    <tc:box label="#{bundle.loginLogoutBox}">
+      <f:facet name="layout">
+        <tc:gridLayout rows="auto;auto"/>
+      </f:facet>
+
+      <tc:out value="#{bundle.loginLogoutText}"/>
+
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout columns="*;auto"/>
+        </f:facet>
+        <tc:cell/>
+        <tc:button link="/index.jsp" label="#{bundle.loginHomeButton}"/>
+      </tc:panel>
+    </tc:box>
+    <tc:cell/>
+
+    <tc:cell spanX="3"/>
+
+  </tc:page>
+</f:view>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/error.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/error.xhtml?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/error.xhtml (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/error.xhtml Wed Jan 30 09:54:14 2013
@@ -0,0 +1,55 @@
+<?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.
+-->
+
+<f:view xmlns:tc="http://myfaces.apache.org/tobago/component"
+        xmlns:tx="http://myfaces.apache.org/tobago/extension"
+        xmlns:ui="http://java.sun.com/jsf/facelets"
+        xmlns:f="http://java.sun.com/jsf/core">
+  <tc:loadBundle basename="resource" var="bundle"/>
+
+  <tc:page label="Error">
+    <f:facet name="layout">
+      <tc:gridLayout rows="*;auto;*" columns="*;400px;*"/>
+    </f:facet>
+
+    <tc:cell spanX="3"/>
+
+    <tc:cell/>
+    <tc:box label="Error">
+      <f:facet name="layout">
+        <tc:gridLayout rows="auto;auto"/>
+      </f:facet>
+
+      <tc:out value="Sorry, an error has occured."/>
+
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout columns="*;auto"/>
+        </f:facet>
+
+        <tc:cell/>
+        <tc:button link="/index.jsp" label="Home"/>
+      </tc:panel>
+
+    </tc:box>
+    <tc:cell/>
+
+    <tc:cell spanX="3"/>
+  </tc:page>
+</f:view>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/icon/favicon.ico
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/icon/favicon.ico?rev=1440322&view=auto
==============================================================================
Binary file - no diff available.

Propchange: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/icon/favicon.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/index.jsp?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/index.jsp (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/main/webapp/index.jsp Wed Jan 30 09:54:14 2013
@@ -0,0 +1,17 @@
+<%--
+ * 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.
+--%>
+<jsp:forward page="faces/addressbook/start.xhtml"/>
\ No newline at end of file

Added: myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/test/resources/realm.properties
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/test/resources/realm.properties?rev=1440322&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/test/resources/realm.properties (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-cdi/src/test/resources/realm.properties Wed Jan 30 09:54:14 2013
@@ -0,0 +1,20 @@
+#
+# 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.
+#
+
+# username: password [,rolename ...]
+guest: guest,addressbook-user
+admin: admin,addressbook-user,admin