struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@struts.apache.org
Subject [Apache Struts Wiki] Updated: StrutsCatalogMultipleImageButtonsWithNoJavaScript
Date Mon, 28 Jun 2004 17:00:08 GMT
   Date: 2004-06-28T10:00:08
   Editor: 131.191.40.91 <>
   Wiki: Apache Struts Wiki
   Page: StrutsCatalogMultipleImageButtonsWithNoJavaScript
   URL: http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -166,6 +166,7 @@
   public String getEmail() {
     return email;
   }
+  
 
   public void setFirstName(String firstName) {
     this.firstName = firstName;
@@ -210,116 +211,22 @@
 Here's an example usage:
 
 {{{
-<%@ page language='java' %>
-<%@ page contentType='text/html; charset=UTF-8' %>
-<%@ taglib uri='struts-bean'    prefix='bean' %>
-<%@ taglib uri='struts-html'    prefix='html' %>
-<%@ taglib uri='struts-tiles'   prefix='tiles' %>
-
-<html:html>
-  <head>
-    <title>Buttons</title>
-      <link
-        rel="STYLESHEET"
-        type="text/css"
-        href="resource.do?file_type=css&file_name=index.css">
-  </head>
-  <body
-    background="resource.do?file_type=gif&file_name=green.gif"
-    text="#ffffff">
-    <h1
-      align="center">
-      HTML Buttons Example
-    </h1>
-    <table
-      border="0"
-      align="center"
-      width="80%"
-      cellpadding="3"
-      cellspacing="0">
-      <tr>
-        <td>
-          <h1>
-            Registration
-          </h1>
-        </td>
-      </tr>
-    </table>
-    <html:form
-      name="ButtonForm"
-      type="com.crackwillow.struts.form.ButtonForm" method="get"
-      action='/button.do'>
-      <table
-        border="0"
-        align="center"
-        width="80%"
-        cellpadding="3"
-        cellspacing="0">
-        <tr>
-          <td
-            width="1%"
-            nowrap>
-            First name:&nbsp;
-          </td>
-          <td>
-            <input
-              type="text"
-              name="firstName"
-              value="">
-          </td>
-        </tr>
-        <tr>
-          <td
-            width="1%"
-            nowrap>
-            Last name:&nbsp;
-          </td>
-          <td>
-            <input
-              type="text"
-              name="lastName"
-              value="">
-          </td>
-        </tr>
-        <tr>
-          <td
-            width="1%"
-            nowrap>
-            Email:&nbsp;
-          </td>
-          <td>
-            <input
-              type="text"
-              name="ssn"
-              value="">
-          </td>
-        </tr>
-        <tr>
-          <td
-            width="1%"
-            nowrap>
-            &nbsp;
-          </td>
-          <td>
-          <br><br>
-              <html:image
-                property="button.submit"
-                src="submit.gif"/>
-              <html:image
-                property="button.clear"
-                src="clear.gif"/>
-              <html:image
-                property="button.cancel"
-                src="cancel.gif"/>
-              <html:image
-                property="button.reset"
-                src="reset.gif"/>
-          </td>
-        </tr>
-      </table>
-    </html:form>
-  </body>
-</html:html>
+<html:form 
+  name="ButtonForm" 
+  type="com.crackwillow.struts.form.ButtonForm" 
+  method="get"
+  action='/button.do'>
+
+  FIRST NAME:   <input type="text" name="firstName" value=""><BR>
+  LAST NAME:    <input type="text" name="lastName" value=""><BR>
+  EMAIL:        <input type="text" name="email" value=""><BR>
+
+  <html:image property="button.submit" src="submit.gif"/><BR>
+  <html:image property="button.clear" src="clear.gif"/><BR>
+  <html:image property="button.cancel" src="cancel.gif"/><BR>
+  <html:image property="button.reset"src="reset.gif"/>
+
+</html:form>
 }}}
 
 See the following references and many more in all the lists which contain all this and more
you will need to expand on this idea.  

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


Mime
View raw message