Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » validate() function with customized message(Customize error message when parameter validation fails)
validate() function with customized message [message #723026] Wed, 07 September 2011 13:05 Go to next message
Ilalaina  is currently offline Ilalaina
Messages: 1
Registered: September 2011
Junior Member
Hi all,

I validate my input parameters with the validate() event function.
It's working, but I need to customize the displayed error message when validation fails.

Is there a way to do it?

Thanks.
Re: validate() function with customized message [message #723582 is a reply to message #723026] Thu, 08 September 2011 21:10 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

The message is in the messages.properties file in the report engine jar.
Error.ParamValidationFailure=The validation for parameter "{0}" fails.

Jason

On 9/7/2011 9:05 AM, Ilalaina wrote:
> Hi all,
>
> I validate my input parameters with the validate() event function.
> It's working, but I need to customize the displayed error message when
> validation fails.
>
> Is there a way to do it?
>
> Thanks.
Previous Topic:Dataset joins uses long names as alias
Next Topic:Parameter properties and Internationalization
Goto Forum:
  


Current Time: Thu Sep 18 20:01:51 GMT 2014

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

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