General Attributes for TexTag |
Attribute Name |
Mandatory/Optional |
Description |
field |
Mandatory |
Name of associated getter and setter on form bean |
type |
Optional |
Can specify text type .. ie HTML etc |
doman |
Optional |
Fully qualified package and class. |
domainField |
Optional |
Specific field within a domain object. The metadata definition for
the layout will be used. |
layout |
Optional |
Data layout |
|
Events |
Event Name |
Description |
No Events |
|
Overview
This is a widget for displaying text on a screen that will have values
populated from the form bean.
|
|
In Browser
" some text " |
|
JSP Code
<Portlet:Text field="fieldNotLinked"/>
|
|
|
How they work
This widget creates some text on a screen. The text value is populated
from the form bean, by specifying the field.
|
Overview
This widget will create text on a screen. The text value is populated
from the form bean by specifying the field and the layout defintion is
set by specifying a domain object and domain object's field name.
|
|
In Browser
" some text " |
|
JSP Code
<Portlet:Text field="status1" domain="com.spirentsystems.applications.aura4d.modules.asset.domain.AssetView"
domainField="Status1"/> |
|
|
How they work
The value is set from the form bean and displayed on the screen as text.
The layout can be controlled by using the attribute layout=""
or you can specify a fully qualified class name of a domain object and
its corresponding field. The layout definition is then derived from this.
|
Overview
This widget will create text on a screen. The text value is populated
from the form bean by specifying the field and the layout defintion is
set by passing the layout using the attribute layout=''.
|
|
In Browser
" some text " |
|
JSP Code
<Portlet:Text field="createdDocdate"
layout="MM/dd/yyyy"/> |
|
|
How they work
The value is set from the form bean and displayed on the screen as text.
The layout can be controlled by using the attribute layout=""
or you can specify a fully qualified class name of a domain object and
its corresponding field. The layout definition is then derived from this.
|
|
Controlling the look of the Text field pop up by CSS
The Text widget's corresponding CSS can be found in 'source/html/jaffa/css/widgets/texttag.css'. You cannot directly effect the CSS properties of your text, but you can control the css properties of the popup window, .outertexttip controls the outer box colors, .innerTexttip controls the inner box colors and the exit button is the style of the exit button.
|