From richfaces-svn-commits at lists.jboss.org Sat Mar 29 10:44:16 2008 Content-Type: multipart/mixed; boundary="===============5973582448526485135==" 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: r7407 - in trunk/docs/userguide/en/src/main: resources/images and 1 other directory. Date: Sat, 29 Mar 2008 10:44:14 -0400 Message-ID: --===============5973582448526485135== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: artdaw Date: 2008-03-29 10:44:14 -0400 (Sat, 29 Mar 2008) New Revision: 7407 Modified: trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml trunk/docs/userguide/en/src/main/resources/images/fileUpload10.png trunk/docs/userguide/en/src/main/resources/images/fileUpload9.png Log: http://jira.jboss.com/jira/browse/RF-1207 - review done Modified: trunk/docs/userguide/en/src/main/docbook/included/fileUpload.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/userguide/en/src/main/docbook/included/fileUpload.xml 2008-0= 3-29 13:48:02 UTC (rev 7406) +++ trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml 2008-0= 3-29 14:44:14 UTC (rev 7407) @@ -376,8 +376,41 @@ = = - + =
+ JavaScript API + = + JavaScript API + + + + Function + Description = + + + + + enable() + Enables the component + + + disable() + Disables the component + + + stop() + Stops the uploading process + + + clear() + Clears list of files + + + +
+
+ = +
Look-and-Feel Customization For skinnability implementation, the components use a style class redefinition method. @@ -792,45 +825,46 @@ rich-fileupload-anc - Defines styles for "Cancel" and &= quot;Clear" links + Defines styles for "Cancel", &quo= t;Stop", "Clear" links = = - In order to redefine styles for all - <rich:fileUpload> - components on a page using CSS, it's enough to cr= eate classes with the - same names (possible classes could be found in the tables above) and define necessary properties i= n them. - = + In order to redefine styles for all = <rich:fileUpload> components on a pag= e = + using CSS, it's enough to create classes with the same na= mes = + (possible classes could be found in the tables above) and define necessary properties in them. = + Example: = = - This is a result: + This is the result: =
Redefinition styles with predefined classes - +
= - In the example the background color for list is changed. + In the example above the font weight and text decoration for= "Cancel" and "Clear" links are changed. = - Also it=E2=80=99s possible to change styles of particular <rich:fileUpload> compo= nent. In this case you should create own style classes and use them in the = corresponding <rich:fileUpload> <= property>styleClass attributes. An example is placed below: - = + Also it=E2=80=99s possible to change styles of particular <rich:fileUpload>= component. = + In this case you should create own style classes and use them = in the corresponding <rich:fileUpload&= gt; = + styleClass attributes. An example is plac= ed below: + + Example: = - The "addButtonClass" attribute for <rich:fileUpload> is de= fined as it=E2=80=99s shown in the example below: - = + The "addButtonClass"<= /emphasis> attribute for = + <rich:fileUpload> is defined as it=E2=80=99s shown in the example below: + + Example: ]]> = = - This is a result: - = + This is the result:
Redefinition styles with own classes and styleClass att= ributes - +
= = - As it could be seen on the picture above, the font style for= add button is changed. + As it could be seen on the picture above, the font style for= "Add" button is changed. =
= Modified: trunk/docs/userguide/en/src/main/resources/images/fileUpload10.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) Modified: trunk/docs/userguide/en/src/main/resources/images/fileUpload9.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) --===============5973582448526485135==--