Author: artdaw
Date: 2008-10-13 11:34:55 -0400 (Mon, 13 Oct 2008)
New Revision: 10732
Modified:
trunk/docs/cdkguide/en/src/main/docbook/includes/pcreate.xml
trunk/docs/cdkguide/en/src/main/docbook/includes/ui.xml
trunk/docs/cdkguide/en/src/main/docbook/master.xml
trunk/docs/cdkguide/en/src/main/docbook/modules/overview.xml
trunk/docs/cdkguide/en/src/main/docbook/modules/setup.xml
Log:
https://jira.jboss.org/jira/browse/RF-3692 - 'Developer sample creation' is
started
Modified: trunk/docs/cdkguide/en/src/main/docbook/includes/pcreate.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/pcreate.xml 2008-10-13 14:51:55 UTC
(rev 10731)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/pcreate.xml 2008-10-13 15:34:55 UTC
(rev 10732)
@@ -14,7 +14,7 @@
At first we need to create a project for the component itself. In the library
directory
<property>Sandbox</property> you just created, launch the following
command (all in one line):
</para>
- <programlisting role="XML"><![CDATA[mvn archetype:create
-DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-jsf-component
-DarchetypeVersion=3.2.1.GA -DartifactId=inputDate]]>
+ <programlisting role="XML"><![CDATA[mvn archetype:create
-DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-jsf-component
-DarchetypeVersion=3.3.0.GA -DartifactId=inputDate]]>
</programlisting>
<para>
As is easy to see a new directory with the name
<property>inputDate</property> will be created.
@@ -164,7 +164,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.2.1.GA</version>
+ <version>3.3.0.GA</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -202,7 +202,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.2.1.GA</version>
+ <version>3.3.0.GA</version>
</dependency>
</dependencies>
</project>]]>
Modified: trunk/docs/cdkguide/en/src/main/docbook/includes/ui.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/includes/ui.xml 2008-10-13 14:51:55 UTC (rev
10731)
+++ trunk/docs/cdkguide/en/src/main/docbook/includes/ui.xml 2008-10-13 15:34:55 UTC (rev
10732)
@@ -55,7 +55,7 @@
<para>
As it was mentioned before, the <emphasis
role="bold"><property><inputDate></property></emphasis>
component has some attributes
that are bound to the properties in the <code>UIInputDate</code> class
- (for example <property>title</property>,
<property>title</property>, <property>name</property>,
<property>type</property>, etc.).
+ (for example <property>title</property>,
<property>name</property>, <property>type</property>, etc.).
The next thing to do is to save the component state
by overriding <code>saveState()</code> and
<code>restoreState()</code> component methods.
But you do not have to do it in the <code>UIInputDate</code> class by
hand!
Modified: trunk/docs/cdkguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-10-13 14:51:55 UTC (rev
10731)
+++ trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-10-13 15:34:55 UTC (rev
10732)
@@ -7,6 +7,7 @@
<!ENTITY namingconv SYSTEM "modules/namingconv.xml">
<!ENTITY setup SYSTEM "modules/setup.xml">
<!ENTITY overview SYSTEM "modules/overview.xml">
+<!ENTITY devsample SYSTEM "modules/devsample.xml">
<!ENTITY ide SYSTEM "modules/ide.xml">
<!ENTITY ref SYSTEM "modules/ref.xml">
<!ENTITY test SYSTEM "modules/test.xml">
@@ -159,6 +160,7 @@
&taghandler;
</chapter>
&overview;
+ &devsample;
&test;
<chapter id="button" xreflabel="button">
<?dbhtml filename="button.html"?>
Modified: trunk/docs/cdkguide/en/src/main/docbook/modules/overview.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/modules/overview.xml 2008-10-13 14:51:55 UTC
(rev 10731)
+++ trunk/docs/cdkguide/en/src/main/docbook/modules/overview.xml 2008-10-13 15:34:55 UTC
(rev 10732)
@@ -11,10 +11,9 @@
</chapterinfo>
<title>Component usage overview</title>
<para>
- After the <emphasis
role="bold"><property><inputDate></property></emphasis>
component has been created you could use it on a page.
- Create a simple JSF project with only one JSP page that has a form with our
+ After the <emphasis
role="bold"><property><inputDate></property></emphasis>
component has been created syou could use it on a page.
+ Create a simple JSF project, called <property>myapp</property> for
example, with only one JSP page that has a form with our
<emphasis
role="bold"><property><inputDate></property></emphasis>
component.
-
</para>
<section id="jsppage">
@@ -55,21 +54,21 @@
</para>
<programlisting role="JAVA"><![CDATA[
-package myapp;
-import java.util.Date;
+package app;
+
public class Bean {
- private Date text = null;
+ private String text = null;
public Bean() {
}
- public Date getText() {
+ public String getText() {
return text;
}
- public void setText(Date text) {
+ public void setText(String text) {
this.text = text;
}
}
@@ -162,21 +161,6 @@
To start your project, point your browser at <ulink
url="http://localhost:8080/myapp/index.jsf">http://localhost:8080/myapp/index.jsf</ulink>.
</para>
</section>
-
- <!-- section id="devsample">
- <title>Developer sample creation</title>
- <para>
- Let's create a simple JSF project, called
<property>myapp</property> for example,
- with the help of <code>maven-archetype-jsfwebapp</code> archetype.
- </para>
- <para>
- It is necessary to proceed to your <property>Sandbox</property>
directory and launch the following command (all in one line):
- </para>
- <programlisting role="XML"><![CDATA[mvn archetype:create
-DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-jsfwebapp
-DarchetypeVersion=3.3.0-SNAPSHOT -DgroupId=org.mycompany
-DartifactId=myapp]]></programlisting>
- <para>
- As easy to see a new directory <property>myapp</property> is created
with the predefined JSF project structure:
- </para>
- </section-->
</chapter>
Modified: trunk/docs/cdkguide/en/src/main/docbook/modules/setup.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/modules/setup.xml 2008-10-13 14:51:55 UTC (rev
10731)
+++ trunk/docs/cdkguide/en/src/main/docbook/modules/setup.xml 2008-10-13 15:34:55 UTC (rev
10732)
@@ -164,11 +164,13 @@
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
<version>1.0</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>el-impl</groupId>
<artifactId>el-impl</artifactId>
<version>1.0</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
@@ -178,7 +180,7 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.2.1.GA</version>
+ <version>3.3.0.GA</version>
</dependency>
</dependencies>
</project>]]>