myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r399438 - in /myfaces/tomahawk/trunk/sandbox/core/src/main: resources-facesconfig/META-INF/faces-config.xml tld/entities/pagelet_attributes.xml tld/myfaces_sandbox.tld
Date Wed, 03 May 2006 21:25:28 GMT
Author: werpu
Date: Wed May  3 14:25:26 2006
New Revision: 399438

URL: http://svn.apache.org/viewcvs?rev=399438&view=rev
Log: (empty)

Added:
    myfaces/tomahawk/trunk/sandbox/core/src/main/tld/entities/pagelet_attributes.xml
Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml
    myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml?rev=399438&r1=399437&r2=399438&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml
(original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml
Wed May  3 14:25:26 2006
@@ -177,6 +177,11 @@
     <component-class>org.apache.myfaces.custom.timednotifier.TimedNotifier</component-class>
  </component>
 
+	<component>
+	    <component-type>org.apache.myfaces.Pagelet</component-type>
+	    <component-class>org.apache.myfaces.custom.pagelet.Pagelet</component-class>
+	</component>
+
   
   <!-- sandbox converters -->
 
@@ -357,6 +362,13 @@
         <renderer-type>org.apache.myfaces.StateChangedNotifierRenderer</renderer-type>
         <renderer-class>org.apache.myfaces.custom.statechangednotifier.StateChangedNotifierRenderer</renderer-class>
     </renderer>
+
+    <renderer>
+        <component-family>javax.faces.Input</component-family>
+        <renderer-type>org.apache.myfaces.Pagelet</renderer-type>
+        <renderer-class>org.apache.myfaces.custom.pagelet.PageletRenderer</renderer-class>
+    </renderer>
+
 
     <renderer>
         <component-family>javax.faces.Panel</component-family>

Added: myfaces/tomahawk/trunk/sandbox/core/src/main/tld/entities/pagelet_attributes.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/tld/entities/pagelet_attributes.xml?rev=399438&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/tld/entities/pagelet_attributes.xml (added)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/tld/entities/pagelet_attributes.xml Wed May
 3 14:25:26 2006
@@ -0,0 +1,134 @@
+<attribute>
+	<name>spellchecker</name>
+	<required>true</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description>Reference to the method which checks the input.</description>
+</attribute>
+<attribute>
+	<name>width</name>
+	<required>true</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description></description>
+</attribute>
+<attribute>
+	<name>height</name>
+	<required>true</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description></description>
+</attribute>
+<attribute>
+	<name>zoomWidth</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description></description>
+</attribute>
+<attribute>
+	<name>zoomHeight</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description></description>
+</attribute>
+
+<attribute>
+	<name>id</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description>Every component may have an unique id. Automatically created if omitted.</description>
+</attribute>
+<attribute>
+	<name>rendered</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description>If false, this component will not be rendered.</description>
+</attribute>
+<attribute>
+	<name>binding</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description>Component binding.</description>
+</attribute>
+<attribute>
+	<name>value</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description>Initial value to set when rendered for the first time.</description>
+</attribute>
+<attribute>
+	<name>required</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.Boolan</type>
+	<description>Required attribute</description>
+</attribute>
+<attribute>
+	<name>javascriptLocation</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description>An alternate location to find javascript resources. If no values is specified,
javascript will be loaded from the resources directory using AddResource and ExtensionsFilter.</description>
+</attribute>
+<attribute>
+	<name>textSpellcheck</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description></description>
+</attribute>
+<attribute>
+	<name>textResume</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description></description>
+</attribute>
+<attribute>
+	<name>textWorking</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description></description>
+</attribute>
+<attribute>
+	<name>textChecking</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description></description>
+</attribute>
+<attribute>
+	<name>textNoMisspellings</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description></description>
+</attribute>
+<attribute>
+	<name>disabled</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description>HTML: When true, this element cannot receive focus.</description>
+</attribute>
+<attribute>
+	<name>readonly</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description>HTML: When true, indicates that this component cannot be modified by
the user. The element may receive focus unless it has also been disabled.</description>
+</attribute>
+<attribute>
+	<name>controlMode</name>
+	<required>false</required>
+	<rtexprvalue>false</rtexprvalue>
+	<type>java.lang.String</type>
+	<description>possible modes, editfield, pagelet, pagelet-editfield others to follow,
default editfield</description>
+</attribute>

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld?rev=399438&r1=399437&r2=399438&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld Wed May  3 14:25:26
2006
@@ -131,6 +131,7 @@
 <!ENTITY start_conversation_attributes	SYSTEM "entities/start_conversation_attributes.xml">
 <!ENTITY standard_conversation_attributes	SYSTEM "entities/standard_conversation_attributes.xml">
 <!ENTITY conversation_attributes	SYSTEM "entities/conversation_attributes.xml">
+<!ENTITY pagelet_attributes	SYSTEM "entities/pagelet_attributes.xml">
 ]>
 
 <taglib>
@@ -1074,4 +1075,15 @@
 		&standard_conversation_attributes;
 		&conversation_attributes;
 	</tag>
+	
+	
+	<tag>
+		<name>pagelet</name>
+		<tag-class>org.apache.myfaces.custom.pagelet.PageletTag</tag-class>
+		<body-content>JSP</body-content>
+		<description>Extends standard outputLabel by user role support.</description>
+		&pagelet_attributes;
+	</tag>
+	
+	
 </taglib>



Mime
View raw message