[richfaces-svn-commits] JBoss Rich Faces SVN: r2370 - in trunk/test-applications/jsp/src/main: java/insert and 2 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Aug 21 08:30:34 EDT 2007


Author: ayanul
Date: 2007-08-21 08:30:33 -0400 (Tue, 21 Aug 2007)
New Revision: 2370

Added:
   trunk/test-applications/jsp/src/main/java/insert/
   trunk/test-applications/jsp/src/main/java/insert/Insert.java
   trunk/test-applications/jsp/src/main/webapp/Insert/
   trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp
   trunk/test-applications/jsp/src/main/webapp/Insert/test.html
Log:


Added: trunk/test-applications/jsp/src/main/java/insert/Insert.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/insert/Insert.java	                        (rev 0)
+++ trunk/test-applications/jsp/src/main/java/insert/Insert.java	2007-08-21 12:30:33 UTC (rev 2370)
@@ -0,0 +1,28 @@
+package insert;
+
+public class Insert {
+	private String highlight;
+	private String rendered;
+	
+	public Insert() {
+		//info = "no";
+		highlight = "";
+		rendered = "true";
+	}
+
+	public String getRendered() {
+		return rendered;
+	}
+
+	public void setRendered(String rendered) {
+		this.rendered = rendered;
+	}
+
+	public String getHighlight() {
+		return highlight;
+	}
+
+	public void setHighlight(String highlight) {
+		this.highlight = highlight;
+	}
+}

Added: trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp	                        (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp	2007-08-21 12:30:33 UTC (rev 2370)
@@ -0,0 +1,34 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<f:view>
+	<html>
+	<head>
+	<title></title>
+	</head>
+
+	<body>
+	<h:form>
+		<h:messages />
+		<h:outputText value="include test.html: " />
+		<rich:spacer></rich:spacer>
+		<rich:insert id="insertID" rendered="#{insert.rendered}"
+			src="/Insert/test.html"></rich:insert>
+
+		<f:verbatim>
+			<br />
+		</f:verbatim>
+		
+		<h:outputText value="Rendered:" />
+		<h:selectBooleanCheckbox value="#{insert.rendered}" />
+
+		<f:verbatim>
+			<br />
+		</f:verbatim>
+
+		<h:commandLink value="Back" action="main"></h:commandLink>
+	</h:form>
+	</body>
+	</html>
+</f:view>
\ No newline at end of file

Added: trunk/test-applications/jsp/src/main/webapp/Insert/test.html
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Insert/test.html	                        (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/Insert/test.html	2007-08-21 12:30:33 UTC (rev 2370)
@@ -0,0 +1,18 @@
+<html>
+ <head>
+ </head>
+  <body>
+	html page
+	<br>
+	html page
+	<br>
+	html page
+	<br>
+	html page
+	<br>
+	html page
+	<br>
+	html page
+	<br>
+  </body>
+</html>




More information about the richfaces-svn-commits mailing list