You can see that it will automatically create both the opening
and closing tags for the list.
4. Now, click on the
button. Do this three times. In between the and
tags, put one of the following labels in order:
Item 1
Item 2
Item 3
5. Now, using your mouse, highlight the Item 1 text between the first
and
tags. With Item 1 highlighted, click on the
button at the top of the
Edit Text Dialog. This will automatically surround the Item 1 text with the
tags and .
6. Move the cursor below the tag. Select the Dynamic Text tag from
the drop-down list. Click on the button, which will insert a
and tags at the position of the cursor. The
Value-Of tag is a special BIRT tag that will insert dynamic text based on any
number of values??”such as JavaScript results or data values??”at the time of
the report generation.
Visual Report Components
[ 60 ]
7. In between the and tags, put in new Date(). This is
a small piece of JavaScript code that will retrieve the current date.
8. Hit OK. Now, click on Preview. You can see that the Item 1 text is now in
bold, and the place where the tag was located now contains the
current date and time. You will notice two different dates and times. One
is from our Value-Of expression.
Pages:
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79