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/label
    <Portlet:Label . . . compatability
     
    Overview

    This widget provides 3 variations.

    1. label
    2. label with key
    3. label with arguments
     
    Sample
    <Portlet:Label key="label.Common.MessageWithArgs" arg0="static-argument" arg1="[label.Common.LinkToLinkToQuit]"/>
     
    General Attributes Label Tag
    Attribute Name Mandatory/Optional Description
    field Mandatory Name of associated getter and setter on form bean
    selectValue Optional The selected value of the radio button
    display    
    display only    
     
    Events
    Event Name Description
    No Events
     
     
    Label top

    Overview

    This widget will creates some text on a screen.

     

    In Browser

     

    JSP Code

    <Portlet:Label domain="org.jaffa.presentation.portlet.widgets.tests.Label" field="code"/>

    How they work:

    This pulls back a value from the metadata of the a domain object's field. It then runs this value through a token replacement routine to see if any tokens are referred to in the meta data.

     
    Label with Key top

    Overview

    This widget will creates some text on a screen.

     

    In Browser

     

    JSP Code

    <Portlet:Label domain="org.jaffa.presentation.portlet.widgets.tests.Label" field="status" key="label.Common.Status"/>

    How they work:

    This pulls back a value from an attribute file to see if a token has been specified if none has then the metadata of the domain object's field is then used. It then runs this value through a token replacement routine to see if any tokens are referred to in the meta data.

     
    Label with Arguments top

    Overview

    This widget will creates some text on a screen.

     

    In Browser

     

     

    JSP Code

    <Portlet:Label key="label.Common.MessageWithArgs" arg0="static-argument" arg1="[label.Common.LinkToLinkToQuit]"/>

    How they work

    This pulls back a value from an attribute file and then will substitute values into the specified areas of the token using the arg attribute.

     


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