You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/05/05 14:45:08 UTC

svn commit: r653458 - in /myfaces/orchestra/trunk/core15/src/site: site.xml xdoc/ViewControllerAnnotations.xml

Author: skitching
Date: Mon May  5 05:45:07 2008
New Revision: 653458

URL: http://svn.apache.org/viewvc?rev=653458&view=rev
Log:
Add some (brief) documentation.

Added:
    myfaces/orchestra/trunk/core15/src/site/xdoc/ViewControllerAnnotations.xml   (with props)
Modified:
    myfaces/orchestra/trunk/core15/src/site/site.xml

Modified: myfaces/orchestra/trunk/core15/src/site/site.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core15/src/site/site.xml?rev=653458&r1=653457&r2=653458&view=diff
==============================================================================
--- myfaces/orchestra/trunk/core15/src/site/site.xml (original)
+++ myfaces/orchestra/trunk/core15/src/site/site.xml Mon May  5 05:45:07 2008
@@ -42,7 +42,7 @@
 
     <body>
         <menu name="Core15 Documentation">
-            <item name="Dynamic Forms" href="dynaForm.html"/>
+            <item name="View Controller Annotations" href="ViewControllerAnnotations.html"/>
         </menu>
 
         <menu ref="reports"/>

Added: myfaces/orchestra/trunk/core15/src/site/xdoc/ViewControllerAnnotations.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core15/src/site/xdoc/ViewControllerAnnotations.xml?rev=653458&view=auto
==============================================================================
--- myfaces/orchestra/trunk/core15/src/site/xdoc/ViewControllerAnnotations.xml (added)
+++ myfaces/orchestra/trunk/core15/src/site/xdoc/ViewControllerAnnotations.xml Mon May  5 05:45:07 2008
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN"
+  "http://www.apache.org/dtd/xdoc.dtd">
+<!--
+  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.
+  -->
+<document>
+  <properties>
+    <title>ViewController Annotations</title>
+  </properties>
+
+  <body>
+    <section name="Introduction">
+      <p>
+      The Orchestra core framework supports the concept of a "View Controller" bean
+      which receives lifecycle events for one or more views. There are two separate
+      types of configuration that are needed for view controllers:
+      </p>
+      <ul> 
+      <li>configuring which bean is the view controller for which views</li>
+      <li>configuring which methods on the bean should be called</li>
+      </ul>
+      <p>
+      The core module provides several ways of specifying these configuration options;
+      this core15 provides one additional mechanism: Java annotations.
+      </p>
+      <p>
+      The annotations available are described in the "view controller" documentation
+      within the orchestra core module (even though this core15 module is required
+      in order to use them). Please see that documentation for further information.
+      </p>
+    </section>
+  </body>
+</document>

Propchange: myfaces/orchestra/trunk/core15/src/site/xdoc/ViewControllerAnnotations.xml
------------------------------------------------------------------------------
    svn:eol-style = native