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 |
|
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.
|
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.
|
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.
|