JBoss Rich Faces SVN: r10074 - trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-08-13 11:19:26 -0400 (Wed, 13 Aug 2008)
New Revision: 10074
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
https://jira.jboss.org/jira/browse/RF-4145
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-08-13 14:42:34 UTC (rev 10073)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-08-13 15:19:26 UTC (rev 10074)
@@ -1074,6 +1074,7 @@
this.isFlash = swfobject.hasFlashPlayerVersion("9.0.28");
if (this.isFlash)
{
+ this.disable();
var flashvars = {fileUploadId:this.id};
var params = {allowscriptaccess:true};
var attributes = {};
@@ -1107,6 +1108,7 @@
acceptedTypes: this.acceptedTypes,
noDuplicate: this.options.noDuplicate,
maxFiles: this.maxFileBatchSize });
+ this.enable();
},
_flashAdd: function(files) {
16 years, 5 months
JBoss Rich Faces SVN: r10073 - in trunk/docs/cdkguide/en/src/main: docbook/includes and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-08-13 10:42:34 -0400 (Wed, 13 Aug 2008)
New Revision: 10073
Added:
trunk/docs/cdkguide/en/src/main/resources/examples/inputDate.xml
Removed:
trunk/docs/cdkguide/en/src/main/docbook/modules/ccreate.xml
trunk/docs/cdkguide/en/src/main/docbook/modules/compdev.xml
Modified:
trunk/docs/cdkguide/en/src/main/docbook/includes/register.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/taghandler.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/ui.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/ui_conf.xml
trunk/docs/cdkguide/en/src/main/docbook/master.xml
trunk/docs/cdkguide/en/src/main/docbook/modules/overview.xml
Log:
https://jira.jboss.org/jira/browse/RF-3692 - 'inputDate component development' chapter done.
Modified: trunk/docs/cdkguide/en/src/main/docbook/includes/register.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/register.xml 2008-08-13 13:53:07 UTC (rev 10072)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/register.xml 2008-08-13 14:42:34 UTC (rev 10073)
@@ -99,24 +99,51 @@
<para>
With the help of the <emphasis role="bold"><property><cacheable></property></emphasis> element
you could manage whether the resource is cached or not.
- If the value of this element is "true", the resource is cached on the server and also on the client sides.
+ If the value of this element is "true", the resource is cached on the server and also on the client sides:
</para>
+ <programlisting role="XML"><![CDATA[...
+<resource class="org.mycompany.renderkit.html.images.inputDate">
+ <name>org.mycompany.renderkit.html.images.inputDate</name>
+ <cacheable>true</cacheable>
+</resource>
+...]]></programlisting>
+ <para>
+ You could start a session for the some resource
+ using <emphasis role="bold"><property><session-aware></property></emphasis> element set to "true":
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<resource>
+ <name>org/mycompany/renderkit/html/scripts/inputDate.js</name>
+ <path>org/mycompany/renderkit/html/scripts/inputDate.js</path>
+ <session-aware>true</session-aware>
+</resource>
+...]]></programlisting>
+ <para>
+ Sometimes the definition of content type of the resource is needed, so it is possible to add
+ the <emphasis role="bold"><property><content-type></property></emphasis> element with the proper MIME type.
+ </para>
+ <para>
+ You could also define a custom <property>renderer</property> for the resource:
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<resource>
+ <name>org/mycompany/renderkit/html/scripts/inputDate.js</name>
+ <path>org/mycompany/renderkit/html/scripts/inputDate.js</path>
+ <renderer class="org.ajax4jsf.resource.ScriptRenderer"/>
+</resource>
+...]]></programlisting>
+ <para>
+ It is possible to specify a MIME type for the resource <property>renderer</property>
+ using the <emphasis role="bold"><property><content-type></property></emphasis> element.
+ </para>
+
- <!--programlisting role="XML"><![CDATA[...
-<resource>
- <name></name>
- <path></path>
- <cacheable></cacheable>
- <session-aware></session-aware>
+<!--
+TBD
<property>
<name></name>
</property>
- <content-type></content-type>
- <renderer>
- <content-type></content-type>
- </renderer>
-</resource>
-...]]></programlisting-->
+-->
</section>
</section>
\ No newline at end of file
Modified: trunk/docs/cdkguide/en/src/main/docbook/includes/taghandler.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/taghandler.xml 2008-08-13 13:53:07 UTC (rev 10072)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/taghandler.xml 2008-08-13 14:42:34 UTC (rev 10073)
@@ -1,16 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<section id="taghandler" xreflabel="taghandler">
-<?dbhtml filename="taghandler.html"?>
-<sectioninfo>
-<keywordset>
-<keyword>taghandler</keyword>
-<keyword>UI</keyword>
-<keyword>CDK</keyword>
-<keyword>Guide</keyword>
-</keywordset>
-</sectioninfo>
-<title>Creating tag classes and descriptor for JSP and Facelets</title>
-<para>
-Creating a JSP tag handler and TLD
-</para>
+ <?dbhtml filename="taghandler.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>taghandler</keyword>
+ <keyword>UI</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title>Creating tag class and descriptors for JSP and Facelets</title>
+ <para>
+ The last step is to create a JSP tag handler and descriptors.
+ </para>
+ <para>
+ JSF components are not inherently tied to JSP. You will use a custom tag (a.k.a action) on the JSP page to
+ indicate which JSF <code>UIComponent</code> is needed for the application.
+ The custom tag has a corresponding tag handler class, which is responsible for creating the <code>UIComponent</code>
+ and transferring each declarative JSP tag attribute to the <code>UIComponent</code> instance.
+ So you need a custom <property>tag class</property> that returns
+ the component type (<code>org.mycompany.InputDate</code>) and the renderer (<code>org.mycompany.InputDateRenderer</code>).
+ </para>
+ <para>
+ After the <property>tag class</property> creation you need to register it in the descriptors:
+ in the <property>TLD (Tag Library Descriptor)</property> file for JSP pages and
+ in the <property>inputDate.taglib.xml</property> file for Facelets.
+ </para>
+ <para>
+ But you know that <property>inputDate.xml</property> configuration file generates
+ the JSP tag handler and descriptors instead of you!
+ Just proceed to the <property>inputDate</property> folder and launch the following command:
+ </para>
+ <programlisting role="XML"><![CDATA[mvn clean install]]></programlisting>
+ <para>
+ After the generation process you will find in the <property>inputDate/target/classes/META-INF</property> folder
+ <property>inputDate.tld</property>, <property>inputDate.taglib.xml</property>, <property>resources-config.xml</property>,
+ and <property>faces-config.xml</property> files.
+ </para>
+ <para>
+ The <code>InputDateTag</code> class could be found in the <property>inputDate/target/classes/org/mycompany/taglib</property>.
+ </para>
+ <para>
+ Well done! The <emphasis role="bold"><property><inputDate></property></emphasis> component is created.
+ The <property>inputDate-1.0-SNAPSHOT.jar</property> for the component usage could be found in the <property>inputDate/target</property> folder.
+ </para>
</section>
\ No newline at end of file
Modified: trunk/docs/cdkguide/en/src/main/docbook/includes/ui.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/ui.xml 2008-08-13 13:53:07 UTC (rev 10072)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/ui.xml 2008-08-13 14:42:34 UTC (rev 10073)
@@ -9,7 +9,7 @@
<keyword>Guide</keyword>
</keywordset>
</sectioninfo>
- <title>Extending a UIInput.</title>
+ <title>Extending a UIInput class</title>
<para>
The base class for all JSF components is <code>UIComponent</code>.
When you develop <emphasis role="bold"><property><inputDate></property></emphasis> component
Modified: trunk/docs/cdkguide/en/src/main/docbook/includes/ui_conf.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/ui_conf.xml 2008-08-13 13:53:07 UTC (rev 10072)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/ui_conf.xml 2008-08-13 14:42:34 UTC (rev 10073)
@@ -9,18 +9,213 @@
<keyword>Guide</keyword>
</keywordset>
</sectioninfo>
- <title>Configuring component.</title>
+ <title>Configuring component</title>
<para>
Well, it is almost the final step in the component creation process - component configuration.
</para>
<para>
- There is <property>inputDate.xml</property> file in the <property>src/main/config/component</property> directory that is used
- by <property>CDK</property> factory for generating not only the complete <code>UIInputDate</code> class,
- but also a TLD file, a tag handler and a descriptor for JSP and Facelets.
+ Note that you should register all the classes and attributes of the <emphasis role="bold"><property><inputDate></property></emphasis> component.
+ If you will create the component dynamically on a page
+ you should register the component in the faces context configuration file - <property>faces-config.xml</property>.
+ If you use a custom tag on a JSP page you need a TLD file for registration.
+ If you plan to use Facelets you need <property>inputDate.taglib.xml</property> descriptor.
</para>
<para>
- Please, open the <ulink url="examples/inputDate_skeleton.xml">inputDate.xml</ulink> in your favorite text editor
- and take a look at the skeleton.
+ The <property>CDK</property> factory uses the <property>inputDate.xml</property> file
+ for generating not only the complete <code>UIInputDate</code> class,
+ but also a JSP Tag Handler, faces-config.xml and descriptors for JSP and Facelets.
</para>
+ <para>
+ Please, proceed to the <property>src/main/config/component</property> directory,
+ open the <ulink url="examples/inputDate_skeleton.xml">inputDate.xml</ulink> in your favorite text editor
+ and take a look at the skeleton: there is a root element <emphasis role="bold"><property><components></property></emphasis>
+ with the one nested <emphasis role="bold"><property><component></property></emphasis> element.
+ </para>
+ <tip>
+ <title>Tip:</title>
+ <para>
+ It is possible to create a number of components in the one project.
+ For example <emphasis role="bold"><property><rich:dataTable></property></emphasis> is a complex component that
+ includes a <emphasis role="bold"><property><rich:column></property></emphasis>
+ and/or <emphasis role="bold"><property><rich:columns></property></emphasis> components.
+ </para>
+ </tip>
+ <para>
+ Application instance stores resources defined in the descriptors at application start-up, so it is neccessary to register
+ following classes:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ the <code>UIInputDate</code> class
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<name>org.mycompany.InputDate</name>
+<family>org.mycompany.InputDate</family>
+<classname>org.mycompany.component.html.HtmlInputDate</classname>
+<superclass>org.mycompany.component.UIInputDate</superclass>
+...]]></programlisting>
+ </listitem>
+ <listitem>
+ <para>
+ the <code>InputDateRenderer</code> class with the <code>htmlInputDate.jspx</code> template
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<renderer generate="true" override="true">
+ <name>org.mycompany.InputDateRenderer</name>
+ <template>org/mycompany/htmlInputDate.jspx</template>
+</renderer>
+...]]></programlisting>
+ </listitem>
+ <listitem>
+ <para>
+ the <code>InputDateTag</code> class (the JSP Tag Handler)
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<tag>
+ <name>inputDate</name>
+ <classname>org.mycompany.taglib.InputDateTag</classname>
+ <superclass>
+ org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
+ </superclass>
+</tag>
+...]]></programlisting>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Note that you have not closed the <emphasis role="bold"><property><component></property></emphasis> element
+ because you are still going to add more metadata for your new component.
+ Lets to add attributes to the <property>inputDate.xml</property> configuration file as shown in the example below.
+ </para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<property>
+ <name>value</name>
+ <classname>java.lang.String</classname>
+ <description>
+ The value of the component
+ </description>
+</property>
+<property>
+ <name>title</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Defines a title of the component
+ </description>
+ <defaultvalue>"inputDate"</defaultvalue>
+</property>
+<property>
+ <name>styleClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Corresponds to the HTML class attribute
+ </description>
+</property>
+<property>
+ <name>inputStyle</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Style attribute for input field
+ </description>
+</property>
+<property>
+ <name>inputClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Style Class attribute for the input field
+ </description>
+</property>
+<property>
+ <name>iconClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Style Class attribute for the icon element
+ </description>
+</property>
+<property>
+ <name>iconStyle</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Style attribute for the icon element
+ </description>
+</property>
+<property>
+ <name>captionClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Style Class attribute for the Caption facet
+ </description>
+</property>
+...]]></programlisting>
+ <para>
+ As you can see in the example above every attribute is defined with the help of the
+ <emphasis role="bold"><property><property></property></emphasis> element with the following nested elements:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ the <emphasis role="bold"><property><name></property></emphasis> element that defines the name of the attribute
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ the <emphasis role="bold"><property><classname></property></emphasis> element that defines the class of the attribute's value
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ the <emphasis role="bold"><property><description></property></emphasis> element that defines the description of the attribute.
+ This description appears in the TLD file.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ the <emphasis role="bold"><property><defaultvalue></property></emphasis> element that defines the default value for the attribute
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ The last thing worth mentioning is the <property>common attributes</property> that are included through the named entities:
+ </para>
+ <programlisting role="XML"><![CDATA[...
+&ui_component_attributes;
+...]]></programlisting>
+ <para>
+ If you want to add <code>UIInput</code> components and HTML events common attributes for the
+ <emphasis role="bold"><property><inputDate></property></emphasis> component you should add the following entities:
+ </para>
+
+ <programlisting role="XML"><![CDATA[...
+&ui_component_attributes;
+&html_events;
+&ui_input_attributes;
+...]]></programlisting>
+ <para>
+ More information about the <property>common attributes</property> you could find in the
+ <link linkend="attr_entity">Including common attributes</link> section.
+ </para>
+ <section id="attr_entity">
+ <title>Including common attributes</title>
+ <para>
+ One of the useful features of the <property>CDK</property> is the possibility to include common attributes to the component.
+ In order to facilitate development process, the <property>CDK</property> provides a set of entities
+ that contain custom attributes sets for components (events, action attributes, etc.).
+ This common attributes could be included with the predefined entities
+ (for example <property>&ui_component_attributes;</property>,
+ <property>&html_events;</property>, <property>&ui_input_attributes;</property>, etc.).
+ </para>
+ <para>
+ You could find all the entities <ulink url="http://anonsvn.jboss.org/repos/richfaces/trunk/cdk/generator/src/main/res...">here</ulink>.
+ </para>
+
+ <!--
+ TBD
+ <para>
+ There is a table with main entities and descriptions below:
+ </para>
+ -->
+ </section>
</section>
Modified: trunk/docs/cdkguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-08-13 13:53:07 UTC (rev 10072)
+++ trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-08-13 14:42:34 UTC (rev 10073)
@@ -6,7 +6,6 @@
<!ENTITY roadmap SYSTEM "modules/roadmap.xml">
<!ENTITY namingconv SYSTEM "modules/namingconv.xml">
<!ENTITY setup SYSTEM "modules/setup.xml">
-<!ENTITY compdev SYSTEM "modules/compdev.xml">
<!ENTITY overview SYSTEM "modules/overview.xml">
<!ENTITY ide SYSTEM "modules/ide.xml">
<!ENTITY ref SYSTEM "modules/ref.xml">
@@ -45,10 +44,12 @@
</bookinfo>
- <toc/> &intro; &roadmap; &setup; <!--
- &ccreate;
- &compdev;
--->
+ <toc/>
+
+ &intro;
+ &roadmap;
+ &setup;
+
<chapter id="compdev" xreflabel="compdev">
<?dbhtml filename="compdev.html"?>
<chapterinfo>
@@ -152,8 +153,8 @@
&ui_conf;
&taghandler;
</chapter>
+ &overview;
&test;
- &overview;
<chapter id="button" xreflabel="button">
<?dbhtml filename="button.html"?>
<chapterinfo>
Deleted: trunk/docs/cdkguide/en/src/main/docbook/modules/ccreate.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/modules/ccreate.xml 2008-08-13 13:53:07 UTC (rev 10072)
+++ trunk/docs/cdkguide/en/src/main/docbook/modules/ccreate.xml 2008-08-13 14:42:34 UTC (rev 10073)
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="ccreate" xreflabel="ccreate">
- <?dbhtml filename="ccreate.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>create</keyword>
- <keyword>component</keyword>
- <keyword>CDK</keyword>
- <keyword>Guide</keyword>
- </keywordset>
- </chapterinfo>
- <title>Creating and building component</title>
- <para>
- Simple component (panel maybe) TBD
- </para>
- <section id="skeleton" xreflabel="skeleton">
- <?dbhtml filename="skeleton.html"?>
- <title>Building the component skeleton</title>
- <para>
- TBD Skeleton
- </para>
- </section>
- <section id="structure" xreflabel="structure">
- <?dbhtml filename="structure.html"?>
- <title>Component project structure</title>
- <para>
- TBD structure
- </para>
- </section>
-</chapter>
-
-
Deleted: trunk/docs/cdkguide/en/src/main/docbook/modules/compdev.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/modules/compdev.xml 2008-08-13 13:53:07 UTC (rev 10072)
+++ trunk/docs/cdkguide/en/src/main/docbook/modules/compdev.xml 2008-08-13 14:42:34 UTC (rev 10073)
@@ -1,135 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="compdev" xreflabel="compdev">
- <?dbhtml filename="pccreate.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>development</keyword>
- <keyword>component</keyword>
- <keyword>CDK</keyword>
- <keyword>Guide</keyword>
- </keywordset>
- </chapterinfo>
- <title>Component Development</title>
- <para>
- Some info
- </para>
- <section id="rules">
- <title>Limitation and rules</title>
- <para>
- Rules
- </para>
- </section>
-
-<section id="pcreate" xreflabel="pcreate">
- <?dbhtml filename="pcreate.html"?>
- <sectioninfo>
- <keywordset>
- <keyword>project</keyword>
- <keyword>component</keyword>
- <keyword>CDK</keyword>
- <keyword>Guide</keyword>
- </keywordset>
- </sectioninfo>
- <title>Creating project for component</title>
- <para>
- Web Resources
- </para>
-
-</section>
-
-
-<section id="ccreate" xreflabel="ccreate">
- <?dbhtml filename="ccreate.html"?>
- <sectioninfo>
- <keywordset>
- <keyword>create</keyword>
- <keyword>component</keyword>
- <keyword>CDK</keyword>
- <keyword>Guide</keyword>
- </keywordset>
- </sectioninfo>
- <title>Creating and building component</title>
- <para>
- Simple component (panel maybe) TBD
- </para>
- <section id="skeleton" xreflabel="skeleton">
- <?dbhtml filename="skeleton.html"?>
- <title>Building the component skeleton</title>
- <para>
- TBD Skeleton
- </para>
- </section>
- <section id="structure" xreflabel="structure">
- <?dbhtml filename="structure.html"?>
- <title>Component project structure</title>
- <para>
- TBD structure
- </para>
- </section>
-</section>
-
-
- <section id="settings">
- <title>Specifying component attributes</title>
- <para>
- settings
- </para>
- </section>
-
- <section id="renderer">
- <title>Creating component renderer</title>
- <para>
- Renderer explanation.
- </para>
- <section id="template">
- <title>Templating</title>
- <para>
- How to write your renderer with the help of template.
- </para>
- <section id="tempex">
- <title>Template example</title>
- <para>
- Example
- </para>
- </section>
- <section id="tempmech">
- <title>Templating mechanism</title>
- <para>
- Mechanism
- </para>
- </section>
- <section id="temptags">
- <title>Template tags overview</title>
- <para>
- tags
- </para>
- </section>
- </section>
- </section>
- <section id="skin">
- <title>Skinnability</title>
- <para>
- Plug-n-Skin creation
- </para>
- </section>
- <section id="resource">
- <title>Resources Handling</title>
- <para>
- Resources Handling
- </para>
- <section id="regres">
- <title>Component resources registration</title>
- <para>
- How to register component resources
- </para>
- </section>
- <section id="resconf">
- <title>resources-config.xml file format</title>
- <para>
- resources-config.xml file format
- </para>
- </section>
- </section>
-</chapter>
-
-
Modified: trunk/docs/cdkguide/en/src/main/docbook/modules/overview.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/modules/overview.xml 2008-08-13 13:53:07 UTC (rev 10072)
+++ trunk/docs/cdkguide/en/src/main/docbook/modules/overview.xml 2008-08-13 14:42:34 UTC (rev 10073)
@@ -13,12 +13,15 @@
<para>
overview
</para>
- <section id="devsample">
- <title>Developer sample creation</title>
- <para>
-Sample creation
- </para>
- </section>
+ <!--
+ TBD
+ <section id="devsample">
+ <title>Developer sample creation</title>
+ <para>
+ Sample creation
+ </para>
+ </section>
+ -->
</chapter>
Added: trunk/docs/cdkguide/en/src/main/resources/examples/inputDate.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/resources/examples/inputDate.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/resources/examples/inputDate.xml 2008-08-13 14:42:34 UTC (rev 10073)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN" "http://labs.jboss.com/jbossrichfaces/component-config.dtd">
+
+<components>
+ <component>
+ <name>org.mycompany.InputDate</name>
+ <family>org.mycompany.InputDate</family>
+ <classname>org.mycompany.component.html.HtmlInputDate</classname>
+ <superclass>org.mycompany.component.UIInputDate</superclass>
+ <description>
+ <![CDATA[
+ ]]>
+ </description>
+ <renderer generate="true" override="true">
+ <name>org.mycompany.InputDateRenderer</name>
+ <template>org/mycompany/htmlInputDate.jspx</template>
+ </renderer>
+ <tag>
+ <name>inputDate</name>
+ <classname>org.mycompany.taglib.InputDateTag</classname>
+ <superclass>
+ org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
+ </superclass>
+ </tag>
+
+ &ui_component_attributes;
+ &html_events;
+ &ui_input_attributes;
+
+ <property>
+ <name>value</name>
+ <classname>java.lang.String</classname>
+ <description>
+ The value of the component
+ </description>
+ </property>
+
+ <property>
+ <name>title</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Defines a title of the component
+ </description>
+ <defaultvalue>"inputDate"</defaultvalue>
+ </property>
+ <property>
+ <name>styleClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Corresponds to the HTML class attribute
+ </description>
+ </property>
+ <property>
+ <name>inputStyle</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Style attribute for input field
+ </description>
+ </property>
+ <property>
+ <name>inputClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Style Class attribute for the input field
+ </description>
+ </property>
+ <property>
+ <name>iconClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Style Class attribute for the icon element
+ </description>
+ </property>
+ <property>
+ <name>iconStyle</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Style attribute for the icon element
+ </description>
+ </property>
+ <property>
+ <name>captionClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Style Class attribute for the Caption facet
+ </description>
+ </property>
+ </component>
+</components>
\ No newline at end of file
Property changes on: trunk/docs/cdkguide/en/src/main/resources/examples/inputDate.xml
___________________________________________________________________
Name: svn:executable
+ *
16 years, 5 months
JBoss Rich Faces SVN: r10072 - trunk/test-applications/jsp/src/main/webapp/FileUpload.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-08-13 09:53:07 -0400 (Wed, 13 Aug 2008)
New Revision: 10072
Modified:
trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp 2008-08-13 13:52:47 UTC (rev 10071)
+++ trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp 2008-08-13 13:53:07 UTC (rev 10072)
@@ -50,7 +50,7 @@
onchange="#{event.onchange}"
onclear="#{event.onclear}"
onclick="#{event.onclick}"
- ondblclick="#{event.ondbclick}"
+ ondblclick="#{event.ondblclick}"
onerror="#{event.onerror}"
onfocus="#{event.onfocus}"
onkeydown="#{event.onkeydown}"
16 years, 5 months
JBoss Rich Faces SVN: r10071 - trunk/test-applications/jsp/src/main/java/util/event.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-08-13 09:52:47 -0400 (Wed, 13 Aug 2008)
New Revision: 10071
Modified:
trunk/test-applications/jsp/src/main/java/util/event/Event.java
Log:
Modified: trunk/test-applications/jsp/src/main/java/util/event/Event.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/event/Event.java 2008-08-13 13:39:27 UTC (rev 10070)
+++ trunk/test-applications/jsp/src/main/java/util/event/Event.java 2008-08-13 13:52:47 UTC (rev 10071)
@@ -114,6 +114,7 @@
private String opened;
private String onobjectchange;
private String onadd;
+ private String ondbclick;
/* Events for toolBar */
private String onitemclick;
private String onitemdblclick;
@@ -258,6 +259,7 @@
onbeforehide = "showEvent('infoFormID:infoSubview:onbeforehideInputID', 'onbeforehide work!')";
onbeforeshow = "showEvent('infoFormID:infoSubview:onbeforeshowInputID', 'onbeforeshow work!')";
onadd = "showEvent('infoFormID:infoSubview:onaddInputID', 'onadd work!')";
+ ondbclick = "showEvent('infoFormID:infoSubview:ondbclickID', 'ondbclick work!')";
}
public String getOncontextmenu() {
@@ -1396,4 +1398,12 @@
this.onpagechange = onpagechange;
}
+ public String getOndbclick() {
+ return ondbclick;
+ }
+
+ public void setOndbclick(String ondbclick) {
+ this.ondbclick = ondbclick;
+ }
+
}
\ No newline at end of file
16 years, 5 months
JBoss Rich Faces SVN: r10070 - trunk/test-applications/jsp/src/main/webapp/FileUpload.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-08-13 09:39:27 -0400 (Wed, 13 Aug 2008)
New Revision: 10070
Modified:
trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp
Log:
new handlers was added.
Modified: trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp 2008-08-13 13:34:00 UTC (rev 10069)
+++ trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp 2008-08-13 13:39:27 UTC (rev 10070)
@@ -21,18 +21,7 @@
listWidth="#{fileUpload.listWidth}"
maxFilesQuantity="#{fileUpload.maxFilesQuantity}"
fileUploadListener="#{fileUpload.fileUploadListener}"
- onuploadcanceled="#{event.onuploadcanceled}"
- onclear="#{event.onclear}" onblur="#{event.onblur}"
- onchange="#{event.onchange}" onclick="#{event.onclick}"
- ondblclick="#{event.ondblclick}" onerror="#{event.onerror}"
- onfocus="#{event.onfocus}" onkeydown="#{event.onkeydown}"
- onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
- onmousedown="#{event.onmousedown}" onmousemove="alert('onmousemove works!');"
- onmouseout="#{event.onmousemout}"
- onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
- onselect="#{event.onselect}" onsizerejected="#{event.onsizerejected}"
- ontyperejected="#{event.ontyperejected}" onupload="#{event.onupload}"
- onuploadcomplete="#{event.onuploadcomplete}" accesskey="y"
+ accesskey="y"
alt="alternative" binding="#{fileUpload.myFileUpload}"
addButtonClass="#{fileUpload.addButtonClass}"
addButtonClassDisabled="#{fileUpload.addButtonClassDisabled}"
@@ -55,7 +44,28 @@
stopControlLabel="stopControl"
stopEntryControlLabel="stopEntryControl"
transferErrorLabel="transferError" uploadControlLabel="uploadControl"
- >
+ onmousemove="#{event.onmousemove}"
+ onadd="#{event.onadd}"
+ onblur="#{event.onblur}"
+ onchange="#{event.onchange}"
+ onclear="#{event.onclear}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondbclick}"
+ onerror="#{event.onerror}"
+ onfocus="#{event.onfocus}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onmousemove}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onselect="#{event.onselect}"
+ onsizerejected="#{event.onsizerejected}"
+ ontyperejected="#{event.ontyperejected}"
+ onupload="#{event.onupload}"
+ onuploadcanceled="#{event.onuploadcanceled}"
+ onuploadcomplete="#{event.onuploadcomplete}">
<f:facet name="label">
<h:outputText value="{_KB}KB from {KB}KB uploaded :[ {mm}:{ss} ]"></h:outputText>
</f:facet>
@@ -83,11 +93,7 @@
<h:outputText value="listWidth"></h:outputText>
<h:inputText value="#{fileUpload.listWidth}" onchange="submit();"></h:inputText>
-
- <h:outputText value="maxFilesQuantity"></h:outputText>
- <h:inputText value="#{fileUpload.maxFilesQuantity}"
- onchange="submit();"></h:inputText>
-
+
<h:outputText value="autoclear"></h:outputText>
<h:selectBooleanCheckbox value="#{fileUpload.autoclear}"
onchange="submit();"></h:selectBooleanCheckbox>
16 years, 5 months
JBoss Rich Faces SVN: r10069 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2008-08-13 09:34:00 -0400 (Wed, 13 Aug 2008)
New Revision: 10069
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/lookCustom.xhtml
Log:
Bug fixing(RF-3308).
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/lookCustom.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/lookCustom.xhtml 2008-08-13 13:12:12 UTC (rev 10068)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/lookCustom.xhtml 2008-08-13 13:34:00 UTC (rev 10069)
@@ -84,14 +84,6 @@
This is a panel without the header
</rich:panel>
- <rich:panel style="position: relative; top: 60px; left: 100px; " styleClass="top">
- <f:facet name="header">
- Panel header
- </f:facet>
- This is a panel with relative position.<br/>
- Resize the browser's window to see the result.
- </rich:panel>
-
</h:panelGrid>
</ui:composition>
\ No newline at end of file
16 years, 5 months
JBoss Rich Faces SVN: r10068 - trunk/docs/userguide/en/src/main/resources/css.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-08-13 09:12:12 -0400 (Wed, 13 Aug 2008)
New Revision: 10068
Modified:
trunk/docs/userguide/en/src/main/resources/css/html.css
Log:
RF-3875 - "large spaces between list items in IE" - done completely
Modified: trunk/docs/userguide/en/src/main/resources/css/html.css
===================================================================
--- trunk/docs/userguide/en/src/main/resources/css/html.css 2008-08-13 13:11:38 UTC (rev 10067)
+++ trunk/docs/userguide/en/src/main/resources/css/html.css 2008-08-13 13:12:12 UTC (rev 10068)
@@ -156,5 +156,5 @@
padding-bottom: 0px;
}
.itemizedlist ul li p {
- margin-top: -10px;
+ margin-top: 10px;
}
\ No newline at end of file
16 years, 5 months
JBoss Rich Faces SVN: r10067 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-08-13 09:11:38 -0400 (Wed, 13 Aug 2008)
New Revision: 10067
Modified:
trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
Log:
RF-4060 - added links for modalPanel and scrollableDataTable components
Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-08-13 12:41:21 UTC (rev 10066)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-08-13 13:11:38 UTC (rev 10067)
@@ -309,6 +309,12 @@
last parameter substitution token shown in the messages. For example, {1} for <code>"DoubleRangeValidator.MAXIMUM"</code>, {2}
for <code>"ShortConverter.SHORT"</code>.
</para>
+ <para>
+ <ulink url="http://wiki.jboss.org/auth/wiki/RichFacesCookbook/DetailModalPanelFromTable">
+ Here
+ </ulink>
+ there is information for those of you who would like to click on a details link in table and have it show a modal panel with information loaded from the server.
+ </para>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2008-08-13 12:41:21 UTC (rev 10066)
+++ trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2008-08-13 13:11:38 UTC (rev 10067)
@@ -195,7 +195,7 @@
</imageobject>
</mediaobject>
</figure>
-
+ <para><ulink url="http://wiki.jboss.org/wiki/RichFacesCookbook/ScrollableDataTableSelection...">Here</ulink> you can find fuller example of use of this attribute with example bean.</para>
<para> The <emphasis role="bold">
<property><rich:scrollableDataTable></property>
</emphasis> component has the following extra attributes for event processing on the client: <itemizedlist>
16 years, 5 months
JBoss Rich Faces SVN: r10066 - in trunk/test-applications/seleniumTest/src: test/java/org/richfaces/testng and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-08-13 08:41:21 -0400 (Wed, 13 Aug 2008)
New Revision: 10066
Modified:
trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenu.xhtml
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/ContextMenuTest.java
Log:
ContextMenuTest fix: due to problems with FF antifast added
Modified: trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenu.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenu.xhtml 2008-08-13 12:14:43 UTC (rev 10065)
+++ trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenu.xhtml 2008-08-13 12:41:21 UTC (rev 10066)
@@ -12,19 +12,19 @@
<h:inputText id="input" value="#{contextMenuBean.value}" >
<rich:contextMenu submitMode="server" id="menu_input" attached="true" event="onclick" >
<rich:menuItem action="#{contextMenuBean.action}"
- value="One" submitMode="ajax"
+ value="Menu1:One" submitMode="ajax"
actionListener="#{contextMenuBean.actionListener}"
id="menu1_item1"
reRender="input,_value2" >
</rich:menuItem>
<rich:menuSeparator />
<rich:menuItem action="#{contextMenuBean.action}"
- value="Two"
+ value="Menu1:Two"
actionListener="#{contextMenuBean.actionListener}"
id="menu1_item2" >
</rich:menuItem>
<rich:menuItem action="#{contextMenuBean.action}"
- value="Three"
+ value="Menu1:Three"
actionListener="#{contextMenuBean.actionListener}" >
</rich:menuItem>
</rich:contextMenu>
@@ -33,19 +33,19 @@
<h:inputText id="input2" >
<rich:contextMenu submitMode="server" id="menu_input2" event="onclick" >
<rich:menuItem action="#{contextMenuBean.action}"
- value="One" submitMode="ajax"
+ value="Menu2:One" submitMode="ajax"
actionListener="#{contextMenuBean.actionListener}"
id="menu2_item1"
reRender="input,_value2" >
</rich:menuItem>
<rich:menuSeparator />
<rich:menuItem action="#{contextMenuBean.action}"
- value="Two"
+ value="Menu2:Two"
actionListener="#{contextMenuBean.actionListener}"
id="menu2_item2" >
</rich:menuItem>
<rich:menuItem action="#{contextMenuBean.action}"
- value="Three"
+ value="Menu2:Three"
actionListener="#{contextMenuBean.actionListener}" >
</rich:menuItem>
</rich:contextMenu>
Modified: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/ContextMenuTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/ContextMenuTest.java 2008-08-13 12:14:43 UTC (rev 10065)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/ContextMenuTest.java 2008-08-13 12:41:21 UTC (rev 10066)
@@ -46,21 +46,23 @@
writeStatus("Click on first input");
clickById(inputId);
+ antifast(menuId);
Assert.assertTrue(isVisibleById(menuId));
writeStatus("Click on second input");
clickById(input2Id);
+ antifast(menu2Id);
Assert.assertFalse(isVisibleById(menuId));
Assert.assertTrue(isVisibleById(menu2Id));
writeStatus("Click on first input again");
clickById(inputId);
+ antifast(menuId);
Assert.assertTrue(isVisibleById(menuId));
Assert.assertFalse(isVisibleById(menu2Id));
writeStatus("Click on ajax item in first menu");
- clickById(menu1_item_ajax);
- waitForAjaxCompletion();
+ clickAjaxCommandAndWait(menu1_item_ajax);
AssertValueEquals(inputId, "menu1_item1");
AssertTextEquals(outputId, "1");
@@ -71,11 +73,11 @@
writeStatus("Click on second input again");
clickById(input2Id);
+ antifast(menu2Id);
Assert.assertTrue(isVisibleById(menu2Id));
writeStatus("Click on ajax item in first menu");
- clickById(menu2_item_ajax);
- waitForAjaxCompletion();
+ clickAjaxCommandAndWait(menu2_item_ajax);
AssertValueEquals(inputId, "menu2_item1");
AssertTextEquals(outputId, "3");
@@ -89,4 +91,8 @@
return "pages/contextMenu/contextMenu.xhtml";
}
+ private void antifast(String id) {
+ waiteForCondition("document.getElementById('" + id + "') != undefined", 500);
+ }
+
}
16 years, 5 months
JBoss Rich Faces SVN: r10065 - in trunk/samples/richfaces-demo/src/main: webapp/images and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2008-08-13 08:14:43 -0400 (Wed, 13 Aug 2008)
New Revision: 10065
Added:
trunk/samples/richfaces-demo/src/main/webapp/images/cn_AjaxValidator.gif
trunk/samples/richfaces-demo/src/main/webapp/images/cn_BeanValidator.gif
trunk/samples/richfaces-demo/src/main/webapp/images/cn_GraphValidator.gif
trunk/samples/richfaces-demo/src/main/webapp/images/cn_HotKey.gif
trunk/samples/richfaces-demo/src/main/webapp/images/cn_StateManagerAPI.gif
trunk/samples/richfaces-demo/src/main/webapp/images/ico_AjaxValidator.gif
trunk/samples/richfaces-demo/src/main/webapp/images/ico_BeanValidator.gif
trunk/samples/richfaces-demo/src/main/webapp/images/ico_GraphValidator.gif
trunk/samples/richfaces-demo/src/main/webapp/images/ico_HotKey.gif
trunk/samples/richfaces-demo/src/main/webapp/images/ico_StateManagerAPI.gif
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/SimpleTreeBean.java
trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/ajaxTree.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/serverTree.xhtml
trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml
Log:
Fix RF-4149 RF-4156 RF-4158
Modified: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/SimpleTreeBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/SimpleTreeBean.java 2008-08-13 12:13:06 UTC (rev 10064)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/tree/SimpleTreeBean.java 2008-08-13 12:14:43 UTC (rev 10065)
@@ -24,7 +24,9 @@
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
+import java.util.Iterator;
import java.util.List;
+import java.util.Map;
import java.util.Properties;
import javax.faces.FacesException;
@@ -33,6 +35,7 @@
import javax.faces.context.FacesContext;
import org.richfaces.component.UITree;
+import org.richfaces.component.html.HtmlTree;
import org.richfaces.event.NodeSelectedEvent;
import org.richfaces.model.TreeNode;
import org.richfaces.model.TreeNodeImpl;
@@ -40,6 +43,7 @@
public class SimpleTreeBean {
private TreeNode rootNode = null;
+ private List<String> selectedNodeChildren = new ArrayList<String>();
private String nodeTitle;
private static final String DATA_PATH = "/richfaces/tree/examples/simple-tree-data.properties";
@@ -88,6 +92,23 @@
}
}
+ public void processSelection(NodeSelectedEvent event) {
+ HtmlTree tree = (HtmlTree) event.getComponent();
+ nodeTitle = (String) tree.getRowData();
+ selectedNodeChildren.clear();
+ TreeNode currentNode = tree.getModelTreeNode(tree.getRowKey());
+ if (currentNode.isLeaf()){
+ selectedNodeChildren.add((String)currentNode.getData());
+ }else
+ {
+ Iterator<Map.Entry<Object, TreeNode>> it = currentNode.getChildren();
+ while (it!=null &&it.hasNext()) {
+ Map.Entry<Object, TreeNode> entry = it.next();
+ selectedNodeChildren.add(entry.getValue().getData().toString());
+ }
+ }
+ }
+
public TreeNode getTreeNode() {
if (rootNode == null) {
loadTree();
Added: trunk/samples/richfaces-demo/src/main/webapp/images/cn_AjaxValidator.gif
===================================================================
(Binary files differ)
Property changes on: trunk/samples/richfaces-demo/src/main/webapp/images/cn_AjaxValidator.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: trunk/samples/richfaces-demo/src/main/webapp/images/cn_BeanValidator.gif
===================================================================
(Binary files differ)
Property changes on: trunk/samples/richfaces-demo/src/main/webapp/images/cn_BeanValidator.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: trunk/samples/richfaces-demo/src/main/webapp/images/cn_GraphValidator.gif
===================================================================
(Binary files differ)
Property changes on: trunk/samples/richfaces-demo/src/main/webapp/images/cn_GraphValidator.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: trunk/samples/richfaces-demo/src/main/webapp/images/cn_HotKey.gif
===================================================================
(Binary files differ)
Property changes on: trunk/samples/richfaces-demo/src/main/webapp/images/cn_HotKey.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: trunk/samples/richfaces-demo/src/main/webapp/images/cn_StateManagerAPI.gif
===================================================================
(Binary files differ)
Property changes on: trunk/samples/richfaces-demo/src/main/webapp/images/cn_StateManagerAPI.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: trunk/samples/richfaces-demo/src/main/webapp/images/ico_AjaxValidator.gif
===================================================================
(Binary files differ)
Property changes on: trunk/samples/richfaces-demo/src/main/webapp/images/ico_AjaxValidator.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: trunk/samples/richfaces-demo/src/main/webapp/images/ico_BeanValidator.gif
===================================================================
(Binary files differ)
Property changes on: trunk/samples/richfaces-demo/src/main/webapp/images/ico_BeanValidator.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: trunk/samples/richfaces-demo/src/main/webapp/images/ico_GraphValidator.gif
===================================================================
(Binary files differ)
Property changes on: trunk/samples/richfaces-demo/src/main/webapp/images/ico_GraphValidator.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: trunk/samples/richfaces-demo/src/main/webapp/images/ico_HotKey.gif
===================================================================
(Binary files differ)
Property changes on: trunk/samples/richfaces-demo/src/main/webapp/images/ico_HotKey.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: trunk/samples/richfaces-demo/src/main/webapp/images/ico_StateManagerAPI.gif
===================================================================
(Binary files differ)
Property changes on: trunk/samples/richfaces-demo/src/main/webapp/images/ico_StateManagerAPI.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/ajaxTree.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/ajaxTree.xhtml 2008-08-13 12:13:06 UTC (rev 10064)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/ajaxTree.xhtml 2008-08-13 12:14:43 UTC (rev 10065)
@@ -5,7 +5,8 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <p>This tree uses "ajax" switch type, note that for collapse/expand operations it will be Ajax request to the server. You may see short delay in this case.</p><br/>
+ <p>This tree uses "ajax" switch type, note that for collapse/expand operations it will be Ajax request to the server.
+ You may see short delay in this case.</p><br/>
<h:form>
<rich:tree style="width:300px" value="#{library.data}" var="item" nodeFace="#{item.type}">
<rich:treeNode type="artist" iconLeaf="/images/tree/singer.gif" icon="/images/tree/singer.gif">
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/serverTree.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/serverTree.xhtml 2008-08-13 12:13:06 UTC (rev 10064)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/serverTree.xhtml 2008-08-13 12:14:43 UTC (rev 10065)
@@ -5,7 +5,8 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <p>This is again same tree, but now it uses "server" switch type. Full page content will be reloaded at every click.</p><br/>
+ <p>This is again same tree, but now it uses "server" switch type.
+ Full page content will be reloaded at every click.</p><br/>
<h:form>
<rich:tree switchType="server" style="width:300px" value="#{library.data}" var="item" nodeFace="#{item.type}">
<rich:treeNode type="artist" iconLeaf="/images/tree/singer.gif" icon="/images/tree/singer.gif">
Modified: trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml 2008-08-13 12:13:06 UTC (rev 10064)
+++ trunk/samples/richfaces-demo/src/main/webapp/templates/include/components-navigation.xhtml 2008-08-13 12:14:43 UTC (rev 10065)
@@ -5,7 +5,6 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<ui:composition>
-
<rich:panel styleClass="panel_menu" bodyClass="rich-laguna-panel-no-header">
<rich:panelBar style="width: auto;" selectedPanel="#{componentNavigator.currentComponent.group}" height="625px" contentStyle="background:none;">
<rich:panelBarItem id="ajaxSupport" label="Ajax Support">
16 years, 5 months