Skip to main content



      Home
Home » Archived » BIRT » how to remove Null Value.(how to remove Null Value.)
how to remove Null Value. [message #689347] Mon, 27 June 2011 09:40 Go to next message
Eclipse UserFriend
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 #689445 is a reply to message #689347] Mon, 27 June 2011 12:35 Go to previous messageGo to next message
Eclipse UserFriend
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 #689460 is a reply to message #689445] Mon, 27 June 2011 12:54 Go to previous messageGo to next message
Eclipse UserFriend
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 #689498 is a reply to message #689460] Mon, 27 June 2011 14:02 Go to previous messageGo to next message
Eclipse UserFriend
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 #691523 is a reply to message #689498] Fri, 01 July 2011 12:34 Go to previous messageGo to next message
Eclipse UserFriend
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 #691553 is a reply to message #691523] Fri, 01 July 2011 13:43 Go to previous messageGo to next message
Eclipse UserFriend
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 #691556 is a reply to message #691553] Fri, 01 July 2011 13:48 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: how to remove Null Value. [message #691601 is a reply to message #691556] Fri, 01 July 2011 15:47 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: how to remove Null Value. [message #1828121 is a reply to message #689498] Tue, 02 June 2020 03:21 Go to previous message
Eclipse UserFriend
Jason Weathersby
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.


For the above your solution I need solution for the below posted question :

I need the solution for this what code exactly to remove from TextBoxParameterFragment.jsp file to remove the null value radiobutton from the parameters pop up for a Type text field




Previous Topic:Word 2013 can't render xml based docs correctly
Next Topic:The Eclipse executable launcher was unable to locate its companion shared library
Goto Forum:
  


Current Time: Sat Jul 19 06:19:10 EDT 2025

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

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

Back to the top