Frequently Asked Questions (Designer) [message #59722] |
Tue, 19 July 2005 03:35 |
Nina Li Messages: 44 Registered: July 2009 |
Member |
|
|
Greeting,
I compiled the recent Q & A in the BIRT newsgroup and divided them into
categories. You could take a look at the page, perhaps it could help you
get out of stuck :). More infomation could be found in the BIRT FAQ page.
Thanks to all the BIRT community members.
Regards,
Nina
------------------------------------------------------------ --
Designer issues
(Note: If you got confused about the answer, you could send E-mail
directly to the person who answered the relevant question.)
Q: How can I set dynamic font for a portion of text based on parameters?
(Answered by swang@actuate.com) You can use the <value-of> tag for the
text item. Then follow the ROM text spec to set dynamic font.
Q: Is it possible to use cell.setProperty( ) to set the width of cells?
(Answered by swang@actuate.com) You can not set column width dynamically
for now. Runtime scripting is limited to property access and
data-manipulations for this release. More will come in BIRT 2.0.
Q: When I try to insert an image into a report, there is a Failed to
evaluate file error. Why it happened?
(Answered by swang@actuate.com) The reason is that image URL is an
expression, not a string. It is an expression to give you more power to
dynamically generate URL, but is cumbersome in the simple case where you
only have a simple link. The UI could do better, but that is an
enhancement for the next release.
Q: When I try to reference a data with <value-of> tag inside a text, there
is a reference error occurs. Why it would happen?
(Answered by rkanguri@actuate.com) You need to set the data set property
of the text item:
* Select the text item
* Go to properties view, and set the value of the "Data set" property
Q: How do I set a table to display No Records Found! when the
corresponding query returns no record?
(Answered by rkanguri@actuate.com) This use case has been thought of while
designing the Table/List report item. One way of doing it would be:
- Add a label element to the table header or footer, with text = "No
records found"
- Define the visibility rule on the lablel, hide in all views , with
expression= Total.count() > 0
|
|
|
Powered by
FUDForum. Page generated in 0.02667 seconds