Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » how to remove the 1st empty option from a parameter drop-down
how to remove the 1st empty option from a parameter drop-down [message #238257] Wed, 16 May 2007 08:58 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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
Previous Topic:Retrieve Session Information Sample problem
Next Topic:Missing JDBC Properties
Goto Forum:
  


Current Time: Sun Jun 30 09:07:33 GMT 2024

Powered by FUDForum. Page generated in 0.02303 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top