Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » What happened to the "allow blank" parameter option?(Was it removed in BIRT 4.2?)
What happened to the "allow blank" parameter option? [message #905656] Thu, 30 August 2012 20:21 Go to next message
Kyle Kinney is currently offline Kyle KinneyFriend
Messages: 1
Registered: August 2012
Junior Member
I can't figure out how to set up a text input parameter to allow empty strings but not null values in BIRT 4.2. Apparently there used to be "allow null" and "allow blank" options, but if they still exist, they can't be set through the Eclipse GUI. (Well, either that, or they're hidden in some unbelievably asinine place, i.e. absolutely anywhere other than New/Edit Parameter window.) There's an "is required" checkbox, but that doesn't do what I want; it allows both null values and empty strings. I want to allow empty strings, but not null values. Is it still possible to do this, and if so, how?
Re: What happened to the "allow blank" parameter option? [message #906183 is a reply to message #905656] Fri, 31 August 2012 19:56 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Kyle

The isRequired checkbox replaced the other two options. Take a look at
this bugzilla entry:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=252343

You could also put a validation script on the parameter with an
expression similar to :

if( params["NewParameter"].value == null ){
false;
}else{
true;
}

Jason


On 8/30/2012 4:21 PM, Kyle Kinney wrote:
> I can't figure out how to set up a text input parameter to allow empty
> strings but not null values in BIRT 4.2. Apparently there used to be
> "allow null" and "allow blank" options, but if they still exist, they
> can't be set through the Eclipse GUI. (Well, either that, or they're
> hidden in some unbelievably asinine place, i.e. absolutely anywhere
> other than New/Edit Parameter window.) There's an "is required"
> checkbox, but that doesn't do what I want; it allows both null values
> and empty strings. I want to allow empty strings, but not null values.
> Is it still possible to do this, and if so, how?
Previous Topic:Adding new Dimensions to Data Cube and Cross Tab
Next Topic:JSF 2.1.x + Birt 4.2 + Tomcat 6
Goto Forum:
  


Current Time: Thu Apr 25 04:35:10 GMT 2024

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

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

Back to the top