|
Re: how to remove Null Value. [message #689445 is a reply to message #689347] |
Mon, 27 June 2011 16:35 |
|
Marc,
In the deployed viewer you could modify the js files to remove the null
entry, but this would affect all radio parameters. Why not make it
required and add an entry for "empty"?
Jason
On 6/27/2011 9:40 AM, forums-noreply@eclipse.org wrote:
> Hi,
>
> I have created three input parameters and do not want the fields to be
> required. I have unchecked the is required box for these parameters. I
> have added code to the beforeOpen on my dataset to deal with spaces or
> null value and I dynamically create my Where for my SQL statement. The
> issue that I am have is when the parameters are not required an extra
> Null Value selection appears whe a radio button. Is there a way that I
> can remove the Null Value selection? I want to allow the user to leave
> the text box empty or with text typed in. Thanks in advance for your
> help and time!
>
> Thanks,
>
> Marc
|
|
|
|
Re: how to remove Null Value. [message #689498 is a reply to message #689460] |
Mon, 27 June 2011 18:02 |
|
Marc,
Understood. You should be able to remove it by modifying the the
TextBoxParameterFragment.jsp in the webcontent\birt\pages\parameter
folder of the viewer.
Jason
On 6/27/2011 12:54 PM, forums-noreply@eclipse.org wrote:
> The problem that I have is my parameters are text boxes. The user is
> able to leave them empty or add some text. If I make them required it
> forces the user to input text and will not allow spaces. If I make them
> not required then I can accept spaces but I see the Text Box and the
> confusing Null Value radio button. I was just trying to make the Enter
> Parameters page to look cleaner by having text boxes that could have
> search text or empty for all text.
>
> Thanks,
>
> Marc
|
|
|
|
Re: how to remove Null Value. [message #691553 is a reply to message #691523] |
Fri, 01 July 2011 17:43 |
|
If it has the naem TextBoxParameterFragment.jsp it should be picked up
automatically. The name is hard coded in the source.
Jason
On 7/1/2011 12:34 PM, forums-noreply@eclipse.org wrote:
> If I create a new TextBoxParameterFragment.jsp is there a way that I can
> connect my report to a new jsp for the Text Box functionality? Thanks in
> advance for your help and time.
>
> Thanks,
>
> Marc Marshall
|
|
|
|
Re: how to remove Null Value. [message #691601 is a reply to message #691556] |
Fri, 01 July 2011 19:47 |
|
Why not make it specific to the parameter name. Ie look at
parameterBean.getName( ) and make parameters that you want to use this
logic on have specific syntax?
Jason
On 7/1/2011 1:48 PM, forums-noreply@eclipse.org wrote:
> I was trying to make it report specific and not effect other reports
> running in the same birt viewer. Is there a way to make this type of
> change report specific?
>
> Thanks,
>
> Marc
|
|
|
|
Powered by
FUDForum. Page generated in 0.05146 seconds