[richfaces-svn-commits] JBoss Rich Faces SVN: r474 - trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Sat Apr 21 09:59:11 EDT 2007


Author: SergeySmirnov
Date: 2007-04-21 09:59:11 -0400 (Sat, 21 Apr 2007)
New Revision: 474

Modified:
   trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example1.jsp
   trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example10.jsp
   trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example2.jsp
   trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example3.jsp
   trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/main.jsp
Log:
update

Modified: trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example1.jsp
===================================================================
--- trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example1.jsp	2007-04-20 20:01:56 UTC (rev 473)
+++ trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example1.jsp	2007-04-21 13:59:11 UTC (rev 474)
@@ -51,8 +51,16 @@
 				  	</h:outputText>
 				</h:column>
 			</rich:dataTable>
-			
 			<h:form>
+				<rich:separator lineType="dashed" height="1" style="padding-top:20px" />
+				<h:outputText value="Source Code:" />
+				<h:outputLink value="http://anonsvn.jboss.org/repos/richfaces/trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example1.jsp">
+					<h:outputText value="Page" />
+				</h:outputLink>				
+				<h:outputLink value="http://anonsvn.jboss.org/repos/richfaces/trunk/richfaces-samples/richfaces-art-datatable/src/main/">
+					<h:outputText value="Project" />
+				</h:outputLink>				
+				<rich:separator lineType="dashed" height="1" style="padding-top:20px" />
 				<h:commandLink value="back to example list" action="main"></h:commandLink>
 			</h:form>
 		</f:view>

Modified: trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example10.jsp
===================================================================
--- trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example10.jsp	2007-04-20 20:01:56 UTC (rev 473)
+++ trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example10.jsp	2007-04-21 13:59:11 UTC (rev 474)
@@ -13,7 +13,7 @@
 	<body>
 		
 		<f:view>
-
+		
 		<h:form id="form">
 			<rich:dataTable value="#{salesReport.items}" var="item">
 				<f:facet name="header">
@@ -39,6 +39,7 @@
 					<h:inputText value="#{item.proposedPrice}" size="7">
 						<a4j:support event="onchange" reRender="margin" />
 					</h:inputText>
+
 				</h:column>
 				<h:column>
 					<h:outputText value="#{item.salesCost}" />
@@ -56,22 +57,39 @@
 		</a4j:outputPanel>
 		
 		</h:form>
+		
+		
 		<h:form id="form1">
-		<f:verbatim><table></f:verbatim>
+		<f:verbatim><table  class="dr-table rich-table" id="form1:_id0" border="0" cellpadding="0" cellspacing="0">
+		<colgroup span="4"></colgroup>
+<thead><tr class="dr-table-header rich-table-header"><td id="form:_id0:_id2" class="dr-table-headercell rich-table-headercell">Product Code</td><td id="form:_id0:_id4" class="dr-table-headercell rich-table-headercell">Proposed Price</td><td id="form:_id0:_id6" class="dr-table-headercell rich-table-headercell">Sales Cost</td><td id="form:_id0:_id8" class="dr-table-headercell rich-table-headercell">Proposed Gross Margin</td></tr></thead><tbody>		
+		</f:verbatim>
 			<a4j:repeat id="rep" value="#{salesReport.items}" var="item">
-		<f:verbatim><tr><td></f:verbatim>
+		<f:verbatim><tr  class="dr-table-firstrow rich-table-firstrow">
+		<td id="form1:_id0:0:_id10" class="dr-table-cell rich-table-cell">
+		</f:verbatim>
+		
+				<h:outputText value="#{item.productCode}" />
+		
+		<f:verbatim></td><td id="form1:_id0:0:_id12" class="dr-table-cell rich-table-cell"></f:verbatim>
 			 
 					<h:inputText value="#{item.proposedPrice}" size="7">
-						<a4j:support event="onchange" reRender="margin1" />
+						<a4j:support event="onchange" ajaxSingle="true" reRender="margin1" />
 					</h:inputText>
-		<f:verbatim></td><td></f:verbatim>
+		<f:verbatim></td>
+		<td id="form1:_id0:0:_id16" class="dr-table-cell rich-table-cell">
+		</f:verbatim>
+		<h:outputText value="#{item.salesCost}" />
+		<f:verbatim></td><td  id="form:_id0:0:_id12" class="dr-table-cell rich-table-cell"></f:verbatim>
 					<h:outputText id="margin1" value="#{item.proposedGrossMargin}">
 						<f:convertNumber  pattern="$###0.000"  />
 					</h:outputText>					
 		<f:verbatim></td></tr></f:verbatim>
 			</a4j:repeat>
-		<f:verbatim></table></f:verbatim>
+		<f:verbatim></tbody></table></f:verbatim>
 		</h:form>
+
+
 		
 			
 			<h:form>

Modified: trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example2.jsp
===================================================================
--- trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example2.jsp	2007-04-20 20:01:56 UTC (rev 473)
+++ trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example2.jsp	2007-04-21 13:59:11 UTC (rev 474)
@@ -108,10 +108,21 @@
 				<h:commandLink action="changeSkin" value="Wine">
 					<a4j:actionparam name="skin" value="wine" assignTo="#{skinBean.name}" />
 				</h:commandLink>
-				
-				<rich:separator lineType="dashed" height="1" />
+			</h:form>
+
+			<h:form>
+				<rich:separator lineType="dashed" height="1" style="padding-top:20px" />
+				<h:outputText value="Source Code:" />
+				<h:outputLink value="http://anonsvn.jboss.org/repos/richfaces/trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example2.jsp">
+					<h:outputText value="Page" />
+				</h:outputLink>				
+				<h:outputLink value="http://anonsvn.jboss.org/repos/richfaces/trunk/richfaces-samples/richfaces-art-datatable/src/main/">
+					<h:outputText value="Project" />
+				</h:outputLink>				
+				<rich:separator lineType="dashed" height="1" style="padding-top:20px" />
 				<h:commandLink value="back to example list" action="main"></h:commandLink>
 			</h:form>
+			
 		</f:view>
 	</body>	
 </html>  

Modified: trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example3.jsp
===================================================================
--- trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example3.jsp	2007-04-20 20:01:56 UTC (rev 473)
+++ trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example3.jsp	2007-04-21 13:59:11 UTC (rev 474)
@@ -114,6 +114,14 @@
 			
 			<h:form>
 				<rich:separator lineType="dashed" height="1" style="padding-top:20px" />
+				<h:outputText value="Source Code:" />
+				<h:outputLink value="http://anonsvn.jboss.org/repos/richfaces/trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/example3.jsp">
+					<h:outputText value="Page" />
+				</h:outputLink>				
+				<h:outputLink value="http://anonsvn.jboss.org/repos/richfaces/trunk/richfaces-samples/richfaces-art-datatable/src/main/">
+					<h:outputText value="Project" />
+				</h:outputLink>				
+				<rich:separator lineType="dashed" height="1" style="padding-top:20px" />
 				<h:commandLink value="back to example list" action="main"></h:commandLink>
 			</h:form>
 		</f:view>

Modified: trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/main.jsp
===================================================================
--- trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/main.jsp	2007-04-20 20:01:56 UTC (rev 473)
+++ trunk/richfaces-samples/richfaces-art-datatable/src/main/webapp/pages/main.jsp	2007-04-21 13:59:11 UTC (rev 474)
@@ -13,6 +13,7 @@
 				<h:commandLink value="Example #3. Look-n-Feel Customization with Predefined Classes"  action="example3" />
 				<h:commandLink value="Example #4. Look-n-Feel Customization. Using Classes and Styles"  action="example4" />
 				<h:commandLink value="Example #10. Ajax Update"  action="example10" />
+
 				</h:panelGrid>
 			</h:form>
 		</f:view>




More information about the richfaces-svn-commits mailing list