dbforms
Tag navCopyButton


this tag renders a navigation button for creating a copy of a row of data that you can then modify and insert

Example:
					
						navigation button to scroll to a copy of an
						existent dataset
					
					
						It works with elements such as textField and
						textArea (even when hidden) but not with
						dataLabel.
					
				


Tag Information
Tag Class org.dbforms.taglib.DbNavCopyButtonTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.String expose id, enables interaction with JavaScript
showAlwaysInFooterfalsetruejava.lang.String A NavNewCopy is different from other buttons, it will normally even been shown if it is placed within footer of a dbforms tag with empty result set. This makes sense if you want to show a set of rows and then below always the button to open a form to insert a new row. But if you have a form with body attribute allowNew set to "true", an insert form will automatically be shown in case no row is found. In that case the button might irritate users, you should then set attribute showAlwaysInFooter to "false". Then the button will not be shown if result set is empty.
flavorfalsetruejava.lang.String styling of the button choices: standard a standard form button. if you use it you should specify "caption" image an image-button. if you use it you should specify "src" and "alt" modern a fancy button according to HTML4; dont use if no all of your users have got 5th-generation browsers! You may embed any code into this tag. (see docu or www.w3.org)
captionfalsetruejava.lang.String caption of the button (use it if the chosen flavor is "standard")
srcfalsetruejava.lang.String source of the image (use it if the coosen flavor is "image")
altfalsetruejava.lang.String alternative to image (use it if the coosen flavor is "image")
borderfalsetruejava.lang.Stringset html border attribute
followUpfalsetruejava.lang.String site to be invoked after this button has been clicked and the associated actions are done this attribute over-rules the followUp-attribute of the parent form(s)!
followUpOnErrorfalsetruejava.lang.String site to be invoked after this button has been clicked and the associated actions are done this attribute over-rules the followUpOnError-attribute of the parent form(s)!
accessKeyfalsetruejava.lang.String The keyboard character used to move focus immediately to this element.
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.
onSelectfalsetruejava.lang.String JavaScipt event hanlder executed when the user selects some text
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.
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.
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.