From richfaces-svn-commits at lists.jboss.org Wed Aug 29 22:22:37 2007 Content-Type: multipart/mixed; boundary="===============6690303852474998922==" 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: r2600 - in trunk/samples/tooltip-sample/src/main: webapp/pages and 1 other directory. Date: Wed, 29 Aug 2007 22:22:37 -0400 Message-ID: --===============6690303852474998922== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: nbelaevski Date: 2007-08-29 22:22:37 -0400 (Wed, 29 Aug 2007) New Revision: 2600 Added: trunk/samples/tooltip-sample/src/main/webapp/pages/demo.jsp Modified: trunk/samples/tooltip-sample/src/main/java/org/richfaces/Bean.java trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp Log: richfaces-demo tooltip demo recreated in tooltip-sample Modified: trunk/samples/tooltip-sample/src/main/java/org/richfaces/Bean.java =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/samples/tooltip-sample/src/main/java/org/richfaces/Bean.java 2007= -08-30 02:15:28 UTC (rev 2599) +++ trunk/samples/tooltip-sample/src/main/java/org/richfaces/Bean.java 2007= -08-30 02:22:37 UTC (rev 2600) @@ -21,7 +21,6 @@ = package org.richfaces; = -import java.util.Date; = /** * @author $Autor$ @@ -37,6 +36,7 @@ String text2 =3D "ToolTip content2"; String text3 =3D "ToolTip content3"; = + private int counter; = public String getText() { return text; @@ -84,4 +84,7 @@ this.text3 =3D text3; } = + public int getCounter() { + return counter++; + } } \ No newline at end of file Added: trunk/samples/tooltip-sample/src/main/webapp/pages/demo.jsp =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/samples/tooltip-sample/src/main/webapp/pages/demo.jsp = (rev 0) +++ trunk/samples/tooltip-sample/src/main/webapp/pages/demo.jsp 2007-08-30 = 02:22:37 UTC (rev 2600) @@ -0,0 +1,103 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%--@ taglib uri=3D"https://ajax4jsf.dev.java.net/ajax" prefix=3D"a4j"--%> +<%@ taglib uri=3D"http://richfaces.org/a4j" prefix=3D"a4j"%> +<%@ taglib uri=3D"http://labs.jboss.com/jbossrichfaces/ui/tooltip" prefix= =3D"rich"%> + + + + + + + + index.jsf + + + +

+ Here you can see default client-side tool-tip +

+
+ = + + + + This tool-tip content was pre-rendered to the page.<= br/> + The look of this tool-tip is 100% defined by skin. + + + +
+ = + + +

+ This tool-tip will follow mouse. Also this tool-tip has a d= elay 0.5 sec, so be patient! +

+
+ = + + + + This tool-tip content also pre-rendered to the page. + However, the look of this tool-tip is customized by styleClass attrib= ute. + + + +
+ + + +

+ This tool-tip rendered on server in separate request. +

+
+ = + + + + Wait... + + + + This tool-tip content was rendered on server <= /span> + + + + + + +
+
+ + + +

+ This tool-tip will be activated on mouse click. It also has a = bottom-left position. +

+
+ = + + + + Wait... + + + + This tool-tip content was rendered on server <= /span> + + + + + + +
+
+
+ = + = + = +
+ = + = + Modified: trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp =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/samples/tooltip-sample/src/main/webapp/pages/index.jsp 2007-08-30= 02:15:28 UTC (rev 2599) +++ trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp 2007-08-30= 02:22:37 UTC (rev 2600) @@ -10,6 +10,7 @@ + demo.jsf --===============6690303852474998922==--