You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by gv...@apache.org on 2006/01/16 21:16:35 UTC

svn commit: r369562 - in /struts/shale/trunk/use-cases/src: java/org/apache/shale/usecases/rolodex/address.html web/rolodex/address.html web/rolodex/hrolodex.html web/rolodex/rolodex.jsp web/rolodex/xhrolodex.html

Author: gvanmatre
Date: Mon Jan 16 12:16:22 2006
New Revision: 369562

URL: http://svn.apache.org/viewcvs?rev=369562&view=rev
Log:
Fix for Bug#: 38168

Added:
    struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/address.html   (with props)
Removed:
    struts/shale/trunk/use-cases/src/web/rolodex/address.html
Modified:
    struts/shale/trunk/use-cases/src/web/rolodex/hrolodex.html   (contents, props changed)
    struts/shale/trunk/use-cases/src/web/rolodex/rolodex.jsp   (contents, props changed)
    struts/shale/trunk/use-cases/src/web/rolodex/xhrolodex.html   (contents, props changed)

Added: struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/address.html
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/address.html?rev=369562&view=auto
==============================================================================
--- struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/address.html (added)
+++ struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/address.html Mon Jan 16 12:16:22 2006
@@ -0,0 +1,34 @@
+<table border=0>
+   <tr class="contactsHeader">
+      <td rowspan="6">H<br>T<br>M<br>L<BR></td>
+   </tr>
+   <tr>
+        <td><label jsfid=street1Label>Mock Address 1:</label></td>
+        <td><input jsfid="street1" type=text></td>
+        <td><span jsfid="street1Message">Mock Error Address 1</span></td>
+   </tr>
+   <tr>
+        <td><label jsfid=street2Label>Mock Address 2:</label></td>
+        <td><input jsfid="street2" type=text></td>
+        <td><span jsfid="street2Message">Mock Error Address 2</span></td>
+   </tr>
+   <tr>
+        <td><label jsfid="cityLabel">Mock City:</label></td>
+        <td><input jsfid="city" type=text></td>
+        <td><span jsfid="cityMessage">Mock Error City</span></td>
+   </tr>
+   <tr>
+        <td><label jsfid="stateLabel">Mock State:</label></td>
+        <td><select jsfid="state">
+               <option>Mock State 1
+               <option>Mock State 2
+            </select>
+        </td>
+        <td><span jsfid="stateMessage">Mock Error State</span></td>
+   </tr>
+   <tr>
+        <td><label jsfid="zipLabel">Mock Zip:</label></td>
+        <td><input jsfid="zip" type=text/></td>
+        <td><span jsfid="zipMessage">Mock Error Zip</span></td>
+   </tr>
+</table>

Propchange: struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/rolodex/address.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: struts/shale/trunk/use-cases/src/web/rolodex/hrolodex.html
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/web/rolodex/hrolodex.html?rev=369562&r1=369561&r2=369562&view=diff
==============================================================================
--- struts/shale/trunk/use-cases/src/web/rolodex/hrolodex.html (original)
+++ struts/shale/trunk/use-cases/src/web/rolodex/hrolodex.html Mon Jan 16 12:16:22 2006
@@ -4,27 +4,27 @@
 <title>#{messages['usecases.rolodex2']}</title>
 
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<style type="text/css" media="screen">
-
-.linkPrev {
-	text-align: left; 
-	color: black; 
-	font-family: arial; font-size: 8pt
-}
-.linkNext {
-	text-align: right; 
-	color: black; 
-	font-family: arial; font-size: 8pt
-}
-.links {
-	text-align: center; 
-	color: black; 
-	font-family: arial; font-size: 8pt
-}
-.caption {
-	text-align: center; 
-	color: #99CC66; 
-	font-family: arial; font-size: 8pt
+<style type="text/css" media="screen">
+
+.linkPrev {
+	text-align: left; 
+	color: black; 
+	font-family: arial; font-size: 8pt
+}
+.linkNext {
+	text-align: right; 
+	color: black; 
+	font-family: arial; font-size: 8pt
+}
+.links {
+	text-align: center; 
+	color: black; 
+	font-family: arial; font-size: 8pt
+}
+.caption {
+	text-align: center; 
+	color: #99CC66; 
+	font-family: arial; font-size: 8pt
 }
 body {
 	margin : 10px;
@@ -129,8 +129,8 @@
 </style>
 </head>
 <body class="section-1">
-<form>
-<a jsfid=commandLink action=home allowBody=true immediate=true>Back</a><br><br>
+<form>
+<a jsfid=commandLink action=home allowBody=true immediate=true>Back</a><br><br>
 <span jsfid="tabs">
 <ul id="menu">
    <li id="nav"><a href="#">Tab 1</a></li>

Propchange: struts/shale/trunk/use-cases/src/web/rolodex/hrolodex.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: struts/shale/trunk/use-cases/src/web/rolodex/rolodex.jsp
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/web/rolodex/rolodex.jsp?rev=369562&r1=369561&r2=369562&view=diff
==============================================================================
--- struts/shale/trunk/use-cases/src/web/rolodex/rolodex.jsp (original)
+++ struts/shale/trunk/use-cases/src/web/rolodex/rolodex.jsp Mon Jan 16 12:16:22 2006
@@ -9,28 +9,28 @@
 <title>Rolodex Example Using Clay</title>
 
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<style type="text/css" media="screen">
-
-.linkPrev {
-	text-align: left; 
-	color: black; 
-	font-family: arial; font-size: 8pt
-}
-.linkNext {
-	text-align: right; 
-	color: black; 
-	font-family: arial; font-size: 8pt
-}
-.links {
-	text-align: center; 
-	color: black; 
-	font-family: arial; font-size: 8pt
-}
-.caption {
-	text-align: center; 
-	color: #99CC66; 
-	font-family: arial; font-size: 8pt
-}
+<style type="text/css" media="screen">
+
+.linkPrev {
+	text-align: left; 
+	color: black; 
+	font-family: arial; font-size: 8pt
+}
+.linkNext {
+	text-align: right; 
+	color: black; 
+	font-family: arial; font-size: 8pt
+}
+.links {
+	text-align: center; 
+	color: black; 
+	font-family: arial; font-size: 8pt
+}
+.caption {
+	text-align: center; 
+	color: #99CC66; 
+	font-family: arial; font-size: 8pt
+}
 
 body {
 	margin : 10px;
@@ -143,8 +143,8 @@
 	<body class="section-1">
 
 	<h:form>
-        <h:commandLink action="home" value="Back" immediate="true"/><br/><br/>
-
+        <h:commandLink action="home" value="Back" immediate="true"/><br/><br/>
+
 		<!-- Example of the runtime option.  The createTabs method binding event builds the tab links 
             dynamically in the view controller -->
 
@@ -167,7 +167,7 @@
 				<h:outputText value="#{messages['rolodex.address.businessAddress']}" style="color:#66B9CC"/>
 				<!-- clay:clay id="address1" jsfid="addressPanel"
 					managedBeanName="rolodex.selectedContact.residentialAddress" / -->
-				<clay:clay id="address1" jsfid="rolodex/address.html"
+				<clay:clay id="address1" jsfid="classpath*:org/apache/shale/usecases/rolodex/address.html"
 					managedBeanName="rolodex.selectedContact.residentialAddress" />
 				<clay:clay id="address2" jsfid="foreignAddressPanel"
 					managedBeanName="rolodex.selectedContact.businessAddress" />

Propchange: struts/shale/trunk/use-cases/src/web/rolodex/rolodex.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: struts/shale/trunk/use-cases/src/web/rolodex/xhrolodex.html
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/use-cases/src/web/rolodex/xhrolodex.html?rev=369562&r1=369561&r2=369562&view=diff
==============================================================================
--- struts/shale/trunk/use-cases/src/web/rolodex/xhrolodex.html (original)
+++ struts/shale/trunk/use-cases/src/web/rolodex/xhrolodex.html Mon Jan 16 12:16:22 2006
@@ -4,27 +4,27 @@
 <title>#{messages['usecases.rolodex3']}</title>
 
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<style type="text/css" media="screen">
-
-.linkPrev {
-	text-align: left; 
-	color: black; 
-	font-family: arial; font-size: 8pt
-}
-.linkNext {
-	text-align: right; 
-	color: black; 
-	font-family: arial; font-size: 8pt
-}
-.links {
-	text-align: center; 
-	color: black; 
-	font-family: arial; font-size: 8pt
-}
-.caption {
-	text-align: center; 
-	color: #99CC66; 
-	font-family: arial; font-size: 8pt
+<style type="text/css" media="screen">
+
+.linkPrev {
+	text-align: left; 
+	color: black; 
+	font-family: arial; font-size: 8pt
+}
+.linkNext {
+	text-align: right; 
+	color: black; 
+	font-family: arial; font-size: 8pt
+}
+.links {
+	text-align: center; 
+	color: black; 
+	font-family: arial; font-size: 8pt
+}
+.caption {
+	text-align: center; 
+	color: #99CC66; 
+	font-family: arial; font-size: 8pt
 }
 body {
 	margin : 10px;
@@ -129,8 +129,8 @@
 </style>
 </head>
 <body class="section-1">
-<form id="rolodex">
-<a jsfid=commandLink action=home allowBody=true immediate=true>Back</a><br><br>
+<form id="rolodex">
+<a jsfid=commandLink action=home allowBody=true immediate=true>Back</a><br><br>
 <span jsfid="clay" allowBody="false" managedBeanName="rolodex$xhrolodex" shapeValidator="#{@managed-bean-name.createTabs}">
 <ul id="menu">
    <li id="nav"><a href="#">Tab 1</a></li>
@@ -142,27 +142,27 @@
 <table border="0">
    <tr>
       <td rowspan="3">
-              <table jsfid="dataTable" class="contacts" value="#{@managed-bean-name.contactsForTab}" var="e" rows="5" first="0" headerClass="contactsHeader" rowClasses="contactsRow1, contactsRow2" allowBody="true">
-                     <caption jsfid="webPager" prevPageStyleClass="linkPrev" 
-                         pageLinksStyleClass="links" nextPageStyleClass="linkNext" 
-                         captionStyleClass="caption" facetName="header" allowBody="false">
-                         Mock Page Links 
-                     </caption>
-
-                     <tbody id="name" jsfid="column" class="contactsHeader" allowBody="true">
-                     <th jsfid="headerSorter" facetName="header"  allowBody="false" value="#{messages['rolodex.contactTable.nameColumn.title']}" sortBy="name">
-                           Contacts
-                     </th>
-                     <tr jsfid="webPager" prevPageStyleClass="linkPrev" 
-                         pageLinksStyleClass="links" nextPageStyleClass="linkNext" 
-                         captionStyleClass="caption" facetName="header"/>
-                     <tr jsfid="commandLink" value="#{e.name}" action="#{@managed-bean-name.selectContact}" immediate="true" allowBody="true">
-                          <td jsfid="param" name="selectedName" value="#{e.encodedName}" allowBody="false">
-                              <a href="#">ABC Company</a>
-                          </td>
-                     </tr> 
-                  </tbody>
-              </table>
+              <table jsfid="dataTable" class="contacts" value="#{@managed-bean-name.contactsForTab}" var="e" rows="5" first="0" headerClass="contactsHeader" rowClasses="contactsRow1, contactsRow2" allowBody="true">
+                     <caption jsfid="webPager" prevPageStyleClass="linkPrev" 
+                         pageLinksStyleClass="links" nextPageStyleClass="linkNext" 
+                         captionStyleClass="caption" facetName="header" allowBody="false">
+                         Mock Page Links 
+                     </caption>
+
+                     <tbody id="name" jsfid="column" class="contactsHeader" allowBody="true">
+                     <th jsfid="headerSorter" facetName="header"  allowBody="false" value="#{messages['rolodex.contactTable.nameColumn.title']}" sortBy="name">
+                           Contacts
+                     </th>
+                     <tr jsfid="webPager" prevPageStyleClass="linkPrev" 
+                         pageLinksStyleClass="links" nextPageStyleClass="linkNext" 
+                         captionStyleClass="caption" facetName="header"/>
+                     <tr jsfid="commandLink" value="#{e.name}" action="#{@managed-bean-name.selectContact}" immediate="true" allowBody="true">
+                          <td jsfid="param" name="selectedName" value="#{e.encodedName}" allowBody="false">
+                              <a href="#">ABC Company</a>
+                          </td>
+                     </tr> 
+                  </tbody>
+              </table>
       </td>
    </tr>
    <tr>

Propchange: struts/shale/trunk/use-cases/src/web/rolodex/xhrolodex.html
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org