All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.com.ibm.as400.util.html.SubmitFormInput Maven / Gradle / Ivy

There is a newer version: 20.0.7
Show newest version
///////////////////////////////////////////////////////////////////////////////
//                                                                             
// JTOpen (IBM Toolbox for Java - OSS version)                                 
//                                                                             
// Filename: SubmitFormInput.java
//                                                                             
// The source code contained herein is licensed under the IBM Public License   
// Version 1.0, which has been approved by the Open Source Initiative.         
// Copyright (C) 1997-2001 International Business Machines Corporation and     
// others. All rights reserved.                                                
//                                                                             
///////////////////////////////////////////////////////////////////////////////

package com.ibm.as400.util.html;

import com.ibm.as400.access.Trace;

/**
*  The SubmitFormInput class represents a submit button input type in an HTML form.
*  The trailing slash "/" on the SubmitFormInput tag allows it to conform to
*  the XHTML specification.
*  

* Here is an example of a SubmitFormInput tag:
* <input type="submit" value="Send" /> **/ public class SubmitFormInput extends FormInput { private static final String copyright = "Copyright (C) 1997-2001 International Business Machines Corporation and others."; static final long serialVersionUID = -3616280075571796258L; /** * Constructs a default SubmitFormInput object. **/ public SubmitFormInput() { super(); } /** * Constructs a SubmitFormInput object with the specified control name. * @param name The control name of the input field. **/ public SubmitFormInput(String name) { super(name); } /** * Constructs a SubmitFormInput object with the specified control name and * initial input value. * @param name The control name of the input field. * @param value The input value used when the field is submitted. **/ public SubmitFormInput(String name, String value) { super(name, value); } /** * Returns a comment tag. * This method should not be called. There is no XSL-FO support for this class. * @return The comment tag. **/ public String getFOTag() //@D1A { Trace.log(Trace.ERROR, "Attempting to getFOTag() for an object that doesn't support it."); return ""; } /** * Returns the tag for the submit form input type. * @return The tag. **/ public String getTag() { //@C1D StringBuffer s = new StringBuffer(""); return s.toString(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy