jacquard 1.12.0 by The Web Engineering Factory and Toolworks

uk.co.weft.htform
Class HiddenWidget

java.lang.Object
  extended byuk.co.weft.htform.ResourceConsumerImpl
      extended byuk.co.weft.domutil.NodeGeneratorImpl
          extended byuk.co.weft.htform.Widget
              extended byuk.co.weft.htform.HiddenWidget
All Implemented Interfaces:
java.lang.Cloneable, NodeGenerator, ResourceConsumer

public class HiddenWidget
extends Widget
implements NodeGenerator

A 'hidden input' for a hypertext form. Used to pass through values without showing them to the (naive) user.

Version:
$Revision: 1.4.4.1 $
  History: $Log: HiddenWidget.java,v $
  History: Revision 1.4.4.1  2005/12/23 10:48:33  simon
  History: Brute force tidy up after CVS server crash: this time it should work.
  History:
  History: Revision 1.4  2003/08/20 09:38:35  simon
  History: Code cleanup with eclipse; mostly removal of exccessive includes
  History:
  History: Revision 1.3  2001/05/03 14:52:54  simon
  History: Moved phoenix/AutoServlet to htform/AutoForm, because it depends on
  History: no-args constructurs for Widgets which I did not want to make
  History: public. Changes to widgets to support this, namely by adding protected
  History: no-args constructors. This functionality is not really yet ready for
  History: prime time and may change before becoming truely stable.
  History:
  History: Revision 1.2  2000/10/16 12:06:10  simon
  History: Changes to how the output stream is discovered. Context.getOutputStream()
  History: is no longer supported (at all). A convenience method of Servlet,
  History: Servlet.getOutputStream( Context), is the simplest workaround. There is
  History: now no Context but Contest (and Mohammed is his prophet).
  History:
  History: Revision 1.1  1999/07/19 18:20:32  simon
  History: Checkpoint at first nearly working version of BT Homepage editing
  History: suite. Main additions to htform are MultiSelectWidget, which does
  History: just what you would expect, and LinkTableWidget, a specialisation of
  History: MultiSelectWidget to support the editing of simple many-to-many link
  History: tables.
  History:
  
Author:
Simon Brooke (simon@jasmine.org.uk)

Field Summary
 
Fields inherited from class uk.co.weft.htform.Widget
ACTIONCSSCLASS, akprompt, attrs, CONTEXTATTRIBUTESSUFFIX, cssClass, DANGEROUSCSSCLASS, debug, DEFAULTTOKEN, dflt, form, generateAs, GENERATEASHTML, GENERATEASXFORM, GENERATEASXML, help, HELPTOKEN, immutable, ISIMMUTABLETOKEN, ISMANDATORYTOKEN, mandatory, MANDATORYCSSCLASS, maxVisibleSize, name, NAMETOKEN, OPTIONALCSSCLASS, PREVIOUSVALUESUFFIX, prompt, PROMPTTOKEN, size, SIZETOKEN, type, TYPETOKEN
 
Fields inherited from class uk.co.weft.domutil.NodeGeneratorImpl
namespaceURI
 
Fields inherited from class uk.co.weft.htform.ResourceConsumerImpl
resourceBundleName
 
Fields inherited from interface uk.co.weft.domutil.NodeGenerator
NAMESPACEURIMAGICTOKEN
 
Fields inherited from interface uk.co.weft.htform.ResourceConsumer
RESOURCEBUNDLEMAGICTOKEN
 
Constructor Summary
protected HiddenWidget()
          If you use this constructor, you are very much on your own and are responsible for setting up all the things the Widget needs to operate yourself.
  HiddenWidget(java.lang.String name)
          About the only thing you'll want to set on a hidden widget is it's name.
  HiddenWidget(java.lang.String name, java.lang.String dflt)
          The other thing you might want to set is it's default value
 
Methods inherited from class uk.co.weft.htform.Widget
clone, generate, generateAttributes, generateAttributes, generateHTML, generateHTMLPrompt, generateInnerHTML, generateValue, generateXML, getContextAttribute, getCssClass, getHeight, getHelp, getName, getPrompt, getTabPlaces, getType, getWidth, init, layout, layout, layout, layout, layoutAttribute, layoutAttributes, layoutValue, makeReady, maybeLayout, maybeLayout, onloadRequest, onloadRequest, postProcess, preProcess, scriptRequest, scriptRequest, setAttribute, setContextAttribute, setCssClass, setDebug, setDefault, setHelp, setImmutable, setMandatory, setMandatory, setName, setPrompt, setSize, setType
 
Methods inherited from class uk.co.weft.domutil.NodeGeneratorImpl
getNamespaceURI, setNamespaceURI
 
Methods inherited from class uk.co.weft.htform.ResourceConsumerImpl
getContextOrResource, getResource, getResourceOrContext, getResourceString, grs, grs
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.co.weft.domutil.NodeGenerator
generate, getName, getNamespaceURI, init, setDebug
 

Constructor Detail

HiddenWidget

protected HiddenWidget()
If you use this constructor, you are very much on your own and are responsible for setting up all the things the Widget needs to operate yourself. Our recommendation is you don't.


HiddenWidget

public HiddenWidget(java.lang.String name)
About the only thing you'll want to set on a hidden widget is it's name.


HiddenWidget

public HiddenWidget(java.lang.String name,
                    java.lang.String dflt)
The other thing you might want to set is it's default value


jacquard 1.12.0 by The Web Engineering Factory and Toolworks