TagLib
Reference
tag libraries
Jaffa Tags
widgets
  • buttons
  • check box
  • date/time editbox
  • drop down
  • editbox
  • grid
  • image
  • label
  • lookup
  • radio button
  • table
  • text field
  • user grid
  • Layout Controls
  • folding section
  • Guards
  • component guard
  • function guard
  • Page Controls
  • header
  • form
  • footer
  • raise errors
  • Other Tags
    Struts
  • html
  • logic
  • bean
  • util
  • template
  • digester
  • JSTL
  • Sun Site
  • Taglibs
  • reference
  • widgets/check box
    <Portlet:CheckBox . . . compatability
     
    Overview

    This widget provides 3 variations.

    1. HTML Checkbox
    2. Image Checkbox
    3. Custom Checkbox
     
    Sample

    <Portlet:CheckBox field="fieldWithCachedModel" type="custom" displayOnly="true" imageOn="widgets/tests/testimage2_up.gif" imageOff="widgets/tests/testimage2_down.gif"/>

     

     
    General Attributes
    Attribute Name Mandatory/Optional Description
    field Mandatory Name of associated getter and setter on form bean
    type Optional Type of check box. HTML , IMAGE or CUSTOM
    imageOn Optional Image to display on the true state.
    imageOff Optional Image to display on the false state.
    displayOnly Optional Display only checkbox. Only valid for type IMAGE or CUSTOM.
     
    Events
    Event Name Description
    No Events
     
     
    Html Check Box top

    Overview

    This widget will create an HTML check box

     

    In Browser

    JSP Code

    <Portlet:CheckBox field="fieldWithCachedModel" type="html"/>

    How they work:

    This widget creates an html checkbox on a screen.

     
    Image Check Box top

    Overview

    This is a widget will display a check box on the screen that is not of the default HTML type. It uses a default on and off image.

     

    In Browser

    JSP Code

    <Portlet:CheckBox field="fieldWithCachedModel" type="image"/>

    How they work:

    This is a widget will display a check box on the screen that is not of the default HTML type. It uses a default on and off image. Javascript is used to hold the true and false values for posting

     
    Custom Check Box top

    Overview

    This is a widget will display a check box on the screen that is not of the default HTML type. It uses a specified on and off image.

     

    In Browser

     

    JSP Code

    <Portlet:CheckBox field="fieldWithCachedModel" type="custom" displayOnly="true" imageOn="widgets/tests/testimage2_up.gif" imageOff="widgets/tests/testimage2_down.gif"/>

    How they work:

    This is a widget will display a check box on the screen that is not of the default HTML type. It uses a specified on and off image. Javascript is used to hold the true and false values for posting.

     


    index.html, Last Modified 28-Jun-2003 at 04:14:10pm