dbforms
Tag file


this tag renders an UPLOAD-button for uploading files into BLOBs or DISKBLOBs

Example:
					
						version 0.7 provides a first implementation of
						file upload support. It is far from being
						completed. Improvementsin functionality and
						performance can be expected.
					
				


Tag Information
Tag Classorg.dbforms.taglib.DbFileTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.String Identification which can be used to 'pinpoint' dbForms fields for use in JavaScript methods. Note: Not supported by all browser! Example: <db:file fieldName="page" id="file2"/>
fieldNametruetruejava.lang.String name of the field this tag references to
acceptfalsetruejava.lang.String MIME(s)-types of the fields to be uploaded. you may use wildcards as well example: accept="text/*" for text, htm, html,etc. keep in mind that not all browsers support MIME type filtering.
accessKeyfalsetruejava.lang.String The keyboard character used to move focus immediately to thiselement.
maxlengthfalsetruejava.lang.String Maximum length of the string to be entered
readOnlyfalsetruejava.lang.String Rendering of read-only html widgets WARNING: This is not terribly secure as it becomes editable if javascript is disabled in the browser. A More secure option is not placing an update button on your form.
onBlurfalsetruejava.lang.String JavaScript event handler executed when this element loses inputfocus.
onChangefalsetruejava.lang.String JavaScript event handler executed when this element loses inputfocus and its value has changed.
onClickfalsetruejava.lang.String JavaScript event handler executed when this element receives amouse click.
onDblClickfalsetruejava.lang.String JavaScript event handler executed when this element receives amouse double click.
onFocusfalsetruejava.lang.String JavaScript event handler executed when this element receives inputfocus.
onKeyDownfalsetruejava.lang.String JavaScript event handler executed when this element has focus and akey is depressed.
onKeyPressfalsetruejava.lang.String JavaScript event handler executed when this element has focus and akey is depressed and released.
onKeyUpfalsetruejava.lang.String JavaScript event handler executed when this element has focus and akey is released.
onMouseDownfalsetruejava.lang.String JavaScript event handler executed when this element is under the mousepointer and a mouse button is depressed.
onMouseMovefalsetruejava.lang.String JavaScript event handler executed when this element is under themouse pointer and the pointer is moved.
onMouseOutfalsetruejava.lang.String JavaScript event handler executed when this element was under themouse pointer but the pointer was moved outside the element.
onMouseOverfalsetruejava.lang.String JavaScript event handler executed when this element was not underthe mouse pointer but the pointer is moved inside the element.
onMouseUpfalsetruejava.lang.String JavaScript event handler executed when this element is under themouse pointer and a mouse button is released.
onSelectfalsetruejava.lang.String JavaScipt event hanlder executed when the user selects some text
sizefalsetruejava.lang.StringSize of the input field
stylefalsetruejava.lang.String CSS styles to be applied to this HTML element.
styleClassfalsetruejava.lang.String CSS stylesheet class to be applied to this HTML element.
readOnlyStyleClassfalsetruejava.lang.String CSS stylesheet class to be applied to this HTML element (read-only mode).
titlefalsetruejava.lang.String this defines the "title" attribute for the HTML4 tag.
tabIndexfalsetruejava.lang.String The tab order (ascending positive integers) for this element.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.