From richfaces-svn-commits at lists.jboss.org Fri Jul 11 09:15:32 2008 Content-Type: multipart/mixed; boundary="===============9147593816607953883==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r9527 - in trunk/docs/cdkguide/en/src/main: resources/images and 1 other directory. Date: Fri, 11 Jul 2008 09:15:31 -0400 Message-ID: --===============9147593816607953883== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: artdaw Date: 2008-07-11 09:15:31 -0400 (Fri, 11 Jul 2008) New Revision: 9527 Added: trunk/docs/cdkguide/en/src/main/resources/images/protoui.png Modified: trunk/docs/cdkguide/en/src/main/docbook/includes/protoui.xml Log: http://jira.jboss.com/jira/browse/RF-3692 - 'Creating a UI prototype' secti= on was added Modified: trunk/docs/cdkguide/en/src/main/docbook/includes/protoui.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/docs/cdkguide/en/src/main/docbook/includes/protoui.xml 2008-07-11= 11:42:27 UTC (rev 9526) +++ trunk/docs/cdkguide/en/src/main/docbook/includes/protoui.xml 2008-07-11= 13:15:31 UTC (rev 9527) @@ -6,12 +6,56 @@ proptotype UI CDK - Guide + Guide -Creating a UI prototype - -UI prototype - - - + Creating a UI prototype + It is a good idea to first create a prototype of the intended m= arkup. You will find out + which markup elements the component has to generate and also which= renderer-specific + attributes are needed in order to parameterize the generated marku= p. + The + <inputDate> + component consists of an HTML form ]]> element, an + ]]> element, and ]]> element: + + + + +...]]> + + As it is shown in the listing above there are three HTML attrib= utes - + "title" + , + "name" + , and + " value" + - are needed to be parameterize the generated markup. = + + You map the HTML attributes to the corresponding UIComponent= attributes: + + + + + +...]]> + + + All information about styles applied to the + <inputDate> + component is considered in the following chapter. + + + This is the result of your prototype which shows a simple page wit= h an input field and an icon indicates that = + this is a date field: + +
+ The date field component prototype implemented in HTML with= an icon + = + + + + +
+ Added: trunk/docs/cdkguide/en/src/main/resources/images/protoui.png =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on: trunk/docs/cdkguide/en/src/main/resources/images/proto= ui.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream --===============9147593816607953883==--