You see the Properties window for an Alert Component when you select the component on a page that you are editing in the Visual Designer. Most of the component's properties are both JSP attributes and properties of the
Alert
Java component in the page bean.
This component has the following properties.
Type: String
Type: String
summary
property. Type: String
detail
property. You can specify the action, target, or URL for the link in the linkAction
, linkTarget
, or linkURL
property. You might want to specify a link to more information, for example. Type: String
position: absolute; left: 288px; top: 312px
You can enter values directly or click the ellipsis (...) button to use the Style Editor.
For a list of CSS2 style attributes, see the web page at
Type: String
style
property description for an explanation of why a class added to this property might appear to have no effect on the component. The defaulttheme CSS style classes for this component are:
css_master.css .AlrtErrTxt, .AlrtWrnTxt, .AlrtInfTxt, .AlrtMsgTxt {color:#000} a.AlrtLnk:link, a.AlrtLnk:visited {color:#035899;text-decoration:none} a.AlrtLnk:hover {color:#035899;text-decoration:underline} .AlrtTbl, .logErr .AlrtTbl {background-color:#FFF7D6; border:solid 1px #F3D596} .AlrtErrTxt, .AlrtWrnTxt, .AlrtInfTxt {font-weight:bold;vertical-align:middle; font-size:14px;text-align:center} .AlrtLnkDiv {padding-top:3px;text-align:left} .AlrtTbl {margin-top:10px;padding:7px 15px} .AlrtErrTxt img, .AlrtWrnTxt img {vertical-align:text-bottom; margin-right:6px} .AlrtInfTxt img {vertical-align:middle;margin-right:6px} .AlrtMsgTxt {padding-top:6px;text-align:left} .logErr .AlrtTbl {padding:7px 15px; margin-left:15px; text-align:left} css_ie55up.css /* ADDITIONAL CSS FOR IE5.5+ SUPPORT */ .AlrtErrTxt img, .AlrtWrnTxt img, .AlrtInfTxt img {margin-right:5px} .AlrtInfTxt img {vertical-align:text-bottom}
Type: String
detail
property. Type: MethodBinding
linkText
property. The action method is called when the user clicks the hyperlink. If you set the action
property, the page is submitted.
You must not set a value for the linkURL
property if you use this property to navigate to another page.
If you right-click the component, you can choose Edit action Event Handler to define an action method for the hyperlink and set this property's value automatically to this method. The action method determines which page to open based on certain conditions. The action method typically processes mouse clicks and returns a String
indicating the name of a page navigation case (the page in your application to display next). The default name for the method is alert-id
_action
, where alert-id is the value of the alert's id
property.
return
statement of the alert-id
_action
method. For example, if the page navigation case is page2
, the method's return statement would be:
return "page2";
Type: String
linkText
property. Type: String
linkText
property. Equivalent to the HTML attribute href
. If the value of this property is set, the page is not submitted if the user clicks the hyperlink. If the value of this property is not specified, clicking the hyperlink submits the page. If you do not set this property and there is a hyperlink component in the detail section, use the alert-id
_action
method to define what happens when the user clicks the hyperlink. See the Link Action
property above for more information.
Type: String
title
attribute for the hyperlink defined by the linkText
and linkAction
, linkTarget
, or linkURL
properties. The text value of this property displays if the user hovers the mouse cursor over the hyperlink.
Type: boolean
type: String
alt
text for the alert's icon, which varies depending on the value of the type property. The alt text describes the graphic element in the HTML page, is readable by screen readers, can display as a tool tip, and displays when the user has display of images turned off in the web browser. Type: String
Type: boolean
visible
property instead of this property. Type: String