Tomahawk sandbox tag library.
Tag roundedDiv


Component that allows for a rounded border effect on DIV tags that is supported in CSS2 compatible browsers and IE6.

Component that generates a DIV tag with rounded corners that may be either 3D or 2D in appearence.

The "roundedDiv" component creates a DIV tag that contains images to produce rounded corners. The rounded effect can be either 3D with lighting effects or 2D with a solid color border.



Tag Information
Tag Classorg.apache.myfaces.custom.roundeddiv.HtmlRoundedDivTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
contentStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The CSS style to give to the content DIV or TD (based on layout)
contentStyleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The CSS style class to give to the content DIV or TD (based on layout)
layoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Either "table" or "div". Specifies how the output should be rendered. Size must be null if using "table" (if it is not, a div will be rendered). (Default: div)
backgroundColorfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Background color to give the corners. Leave blank (null) to have a transparent background. If the user is using IE6, this has to be set, or the corners will not look good due to IE6's lack of PNG support.
borderColorfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The color of the border. If specified, this will cause the DIV to be 2D, if it isn't the border with have a 3D effect with lighting effects to produce the border color.
inversefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Flips the lightening/darkening effect for 3D borders. (Default: false)
borderWidthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Integer)
The width of the border in pixels. (Default: 8)
cornersfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
This allows you to specify a comma-separated list of corners to include. If not given, all four corners will be rendered. The corners include the sides they touch. So for example, if used as a tab for a tabbed pane, you could specify "topleft,topright" to have everything but the bottom corners and side have the border. Valid values are: topleft, topright, bottomright, bottomleft
colorfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The foreground color of the DIV
radiusfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Integer)
The radius of the corners in pixels. (Default: 8)
sizefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
If given, a static size image will be produced. This could be useful for older browsers. If not given, the DIV that will be created will stretch to its contents using CSS2 (and CSS expressions in IE6). Value must contain two numbers, with width first. Example: 640x480
onclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: Script to be invoked when the element is clicked.
ondblclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: Script to be invoked when the element is double-clicked.
onkeydownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: Script to be invoked when a key is pressed down over this element.
onkeypressfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: Script to be invoked when a key is pressed over this element.
onkeyupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: Script to be invoked when a key is released over this element.
onmousedownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: Script to be invoked when the pointing device is pressed over this element.
onmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: Script to be invoked when the pointing device is moved while it is in this element.
onmouseoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: Script to be invoked when the pointing device is moves out of this element.
onmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: Script to be invoked when the pointing device is moved into this element.
onmouseupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: Script to be invoked when the pointing device is released over this element.
dirfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
langfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: The base language of this document.
titlefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: An advisory title for this element. Often used by the user agent as a tooltip.
enabledOnUserRolefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
If user is in given role, this component will be rendered normally. If not, no hyperlink is rendered but all nested tags (=body) are rendered.
visibleOnUserRolefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped.
forceIdfalsefalsejava.lang.StringIf true, this component will force the use of the specified id when rendering.
forceIdIndexfalsefalsejava.lang.StringIf false, this component will not append a '[n]' suffix (where 'n' is the row index) to components that are contained within a "list." This value will be true by default and the value will be ignored if the value of forceId is false (or not specified.)
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
HTML: CSS styling instructions.
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The CSS class for this element. Corresponds to the HTML 'class' attribute.
idfalsetruejava.lang.StringGet a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer component. The id is not necessarily unique across all components in the current view.
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
A boolean value that indicates whether this component should be rendered. Default value: true.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.

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.