Open Patterns Scrollable Table
Tag js


Custom tag to generate JavaScript required to interact with the scrollable table. You should place this tag at the location in your JSP page where you need to generate the specific JavaScript code.

Example:
<scrolltbl:js id="scrollabletable" function="onload" param1="fill"/>


Tag Information
Tag Classorg.opensubsystems.patterns.scrollabletable.www.ScrollableTableJSTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idtruetruejava.lang.StringId of the scrollable table for which the JavaScript is generated.
functiontruetruejava.lang.StringType of javascript to generate. Currently supported functions are "onload" and "onresize".
param1falsetruejava.lang.StringParameter 1 to pass to the function if it allows it. If function is "onload" or "onresize", then the value configures how to determine size of the table. Accepted values are "fixed" - the table will have fixed height and "fill" - the table will fill the whole content of the client area of the browser window.
param2falsetruejava.lang.StringParameter 2 to pass to the function if it allows it. If function is "onload" or "onresize" and if param1 is "fixed", then this parameter will contain fixed width value in pixels of the table if param1 is "fill", then this parameter is ignored.
param3falsetruejava.lang.StringParameter 3 to pass to the function if it allows it. If function is "onload" or "onresize" and if param1 is "fixed", then this parameter will contain number of rows that the table is going to contain (not only visible rows but total number of rows) if param1 is fill, then this parameter is ignored.

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.