how to remove the 1st empty option from a parameter drop-down [message #238257] |
Wed, 16 May 2007 08:58 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: eric.duxiaoyao.gmail.com
The static list of value for a list-box report paramter is as below:
Value Text
1 BSK
2 FDE
When view the report with birt web viewer, the 1st option of the list in
the parameter pop-up is an empty option. The HTML source is as below:
<SELECT ID="branchId_selection" TITLE=""
CLASS="birtviewer_parameter_dialog_Select">
<OPTION></OPTION>
<OPTION VALUE="1">BSK</OPTION>
<OPTION VALUE="2">FDE</OPTION>
</SELECT>
How can I remove the empty option from the list?
Thanks in advance.
Eric
|
|
|
Re: how to remove the 1st empty option from a parameter drop-down [message #238832 is a reply to message #238257] |
Fri, 18 May 2007 07:04 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: eric.duxiaoyao.gmail.com
After checking the source code, I find out that the empty option
"<OPTION></OPTION>" is added in ComboBoxParameterFragment.jsp. What's
the intention behind it?
Thanks,
Eric
Eric Du wrote:
> The static list of value for a list-box report paramter is as below:
> Value Text
> 1 BSK
> 2 FDE
>
> When view the report with birt web viewer, the 1st option of the list in
> the parameter pop-up is an empty option. The HTML source is as below:
> <SELECT ID="branchId_selection" TITLE=""
> CLASS="birtviewer_parameter_dialog_Select">
> <OPTION></OPTION>
> <OPTION VALUE="1">BSK</OPTION>
> <OPTION VALUE="2">FDE</OPTION>
> </SELECT>
>
> How can I remove the empty option from the list?
>
> Thanks in advance.
>
> Eric
|
|
|
Powered by
FUDForum. Page generated in 0.02303 seconds