dbforms
Tag associatedRadio


This tag enables the end-user to define a row by selecting the radio-buttonrendered by this tag

Example:
					
						example: imagine a table "customer".
						The rows of this table should be listed. The
						user shouldbe able to delete a customer.
					
					in that case the application developer has to
					alternatives:
					
						to put a "deleteButton" into the body -> this
						button gets rendered for every row
						
						if the user clicks the button the associated
						data row gets deleted.the disadvantage of this
						method is that multiple buttons must be
						rendered, which takes awaylots of space and
						makes layouting more difficult
					
					
						to put an "associatedRadio" into the body and
						the "deleteButton" on the footer (or header)
						
						the radio element gets rendered for every row,
						the deleteButton just once. if the user wantsto
						delete a row, he/she has to select the
						radioButton (to mark the row he/she wants to be
						deleted)and then to press the deleteButton.
					
					
						the more buttons you have the better this method
						is!!
					
					
						nota bene: you have to tell the delete (or
						insert, update...) - button that there exists an
						associatedradio button that marks the row the
						action should be applied to, by defining the
						"associatedRadio"attribute of that
						respective button.
					
				


Tag Information
Tag Class org.dbforms.taglib.DbAssociatedRadioTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
nametruetruejava.lang.String a unique name for the radio box. this name is used by buttons like "deleteButton" or "updateButton"to lookup the valio of this radio! see "deleteButton" or "updateButton" for further information!

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.