myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r635017 - /myfaces/orchestra/trunk/sandbox/src/main/resources/META-INF/faces-config.xml
Date Sat, 08 Mar 2008 17:10:07 GMT
Author: skitching
Date: Sat Mar  8 09:10:07 2008
New Revision: 635017

URL: http://svn.apache.org/viewvc?rev=635017&view=rev
Log:
Add faces-config file (copied from core15)

Added:
    myfaces/orchestra/trunk/sandbox/src/main/resources/META-INF/faces-config.xml   (with props)

Added: myfaces/orchestra/trunk/sandbox/src/main/resources/META-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/sandbox/src/main/resources/META-INF/faces-config.xml?rev=635017&view=auto
==============================================================================
--- myfaces/orchestra/trunk/sandbox/src/main/resources/META-INF/faces-config.xml (added)
+++ myfaces/orchestra/trunk/sandbox/src/main/resources/META-INF/faces-config.xml Sat Mar 
8 09:10:07 2008
@@ -0,0 +1,113 @@
+<?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 faces-config PUBLIC
+  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+
+<faces-config>
+
+    <!-- components -->
+    <component>
+        <component-type>org.apache.myfaces.orchestra.dynaForm.DynaConfigs</component-type>
+        <component-class>org.apache.myfaces.orchestra.dynaForm.jsf.component.DynaConfigs</component-class>
+    </component>
+
+    <component>
+        <component-type>org.apache.myfaces.orchestra.dynaForm.DynaConfig</component-type>
+        <component-class>org.apache.myfaces.orchestra.dynaForm.jsf.component.DynaConfig</component-class>
+        <property>
+          <description>
+            The name of the property this configuration is for
+          </description>
+          <property-name>for</property-name>
+          <property-class>java.lang.String</property-class>
+        </property>
+        <property>
+          <description>
+            The size to be used to render the component
+          </description>
+          <property-name>displaySize</property-name>
+          <property-class>java.lang.Integer</property-class>
+        </property>
+        <property>
+          <description>
+            Configures this field as displayOnly
+          </description>
+          <property-name>displayOnly</property-name>
+          <property-class>java.lang.Boolean</property-class>
+        </property>
+        <property>
+          <description>
+            configure this field as readOnly - noneditable input field
+          </description>
+          <property-name>readOnly</property-name>
+          <property-class>java.lang.Boolean</property-class>
+        </property>
+        <property>
+          <description>
+            configure this field as disabled - like readOnly but grayed too
+          </description>
+          <property-name>disabled</property-name>
+          <property-class>java.lang.Boolean</property-class>
+        </property>
+    </component>
+
+    <component>
+        <component-type>org.apache.myfaces.orchestra.dynaForm.DynaForm</component-type>
+        <component-class>org.apache.myfaces.orchestra.dynaForm.jsf.component.DynaForm</component-class>
+        <property>
+          <description>
+            The root model
+          </description>
+          <property-name>uri</property-name>
+          <property-class>java.lang.String</property-class>
+        </property>
+        <property>
+          <description>
+              The value binding prefix which will be used to create the real value binding.
+          </description>
+          <property-name>valueBindingPrefix</property-name>
+          <property-class>java.lang.String</property-class>
+        </property>
+        <property>
+          <description>
+            Render the whole form in display (non editable) only mode
+          </description>
+          <property-name>displayOnly</property-name>
+          <property-class>java.lang.Boolean</property-class>
+        </property>
+        <property>
+          <description>
+            The bundle to use to convert the lables to readable strings
+          </description>
+          <property-name>bundle</property-name>
+          <property-class>java.lang.String</property-class>
+        </property>
+        <property>
+          <description>
+            Render only the fields listed by an facet
+          </description>
+          <property-name>exclusiveFields</property-name>
+          <property-class>java.lang.Boolean</property-class>
+        </property>
+    </component>
+</faces-config>

Propchange: myfaces/orchestra/trunk/sandbox/src/main/resources/META-INF/faces-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message