Project Wonder 2.0

er.extensions
Class ERXWOFileUpload

java.lang.Object
  extended bycom.webobjects.appserver.WOElement
      extended bycom.webobjects.appserver.WODynamicElement
          extended bycom.webobjects.appserver._private.WODynamicGroup
              extended bycom.webobjects.appserver._private.WOHTMLDynamicElement
                  extended bycom.webobjects.appserver._private.WOInput
                      extended bycom.webobjects.appserver._private.WOFileUpload
                          extended byer.extensions.ERXWOFileUpload

public class ERXWOFileUpload
extends WOFileUpload

Provides better error checking. When it is embedded in a WOForm that does not have enctype=multipart/form-data, it throws an IllegalArgumentException.


Field Summary
 
Fields inherited from class com.webobjects.appserver._private.WOFileUpload
CONTENTTYPE_KEY, DEFAULT_BUFFER_SIZE, FILENAME_SUBKEY, MIMETYPE_SUBKEY
 
Fields inherited from class com.webobjects.appserver._private.WOInput
_escapeHTML, _value
 
Fields inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement
_associations, _constantAttributesRepresentation, _dyneltName, _finishedInitialization
 
Fields inherited from class com.webobjects.appserver._private.WODynamicGroup
_children
 
Fields inherited from class com.webobjects.appserver.WODynamicElement
_ConstructorParameters
 
Constructor Summary
ERXWOFileUpload(String string, NSDictionary nsdictionary, WOElement woelement)
          Public constructor
 
Method Summary
 void appendToResponse(WOResponse response, WOContext context)
           
 void checkEnctype(WOContext context)
           
 
Methods inherited from class com.webobjects.appserver._private.WOFileUpload
_appendCloseTagToResponse, _appendValueAttributeToResponse, invokeAction, takeValuesFromRequest, toString, type
 
Methods inherited from class com.webobjects.appserver._private.WOInput
_appendNameAttributeToResponse, _shouldEscapeHTML, appendAttributesToResponse, constantAttributesRepresentation, disabledInComponent, nameInContext
 
Methods inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement
_appendAttributesFromAssociationsToResponse, _appendOpenTagToResponse, _frameworkNameInComponent, appendConstantAttributesToResponse, appendNonURLAttributesToResponse, appendURLAttributesToResponse, computeActionStringInContext, computeQueryDictionaryInContext, elementName, escapeHTML, nonUrlAttributeAssociations, urlAttributeAssociations
 
Methods inherited from class com.webobjects.appserver._private.WODynamicGroup
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERXWOFileUpload

public ERXWOFileUpload(String string,
                       NSDictionary nsdictionary,
                       WOElement woelement)
Public constructor

Method Detail

checkEnctype

public void checkEnctype(WOContext context)

appendToResponse

public void appendToResponse(WOResponse response,
                             WOContext context)

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.