BBJSP CORE:When Tag (Deprecated)
The BBJSP system is deprecated. For new development, use BBxServlet.
Description
In BBj 16.0 and higher, the when tag can be used within a <CORE.Choose> in a BBJSP Page to conditionally write text to the resulting HTML output that will be sent to the client browser.
Attributes
| 
                                                         Attribute Name  | 
                                                    
                                                         Description  | 
                                                    
                                                         Required  | 
                                                    
                                                         Expression  | 
                                                    
                                                         Data Type  | 
                                                
|---|---|---|---|---|
| 
                                                         test  | 
                                                    
                                                         the test attribute should evaluate to an integer value where any positive number represents a TRUE state.  | 
                                                    
                                                         true  | 
                                                    
                                                         true  | 
                                                    
                                                         int  | 
                                                
Remarks
The Core Tag Library library needs to be referenced in the BBJSP Page
The following example demonstrates using the <CORE.Choose> tag with the child <CORE.When> and <CORE.Otherwise> tags
Example
                                                     |