Skip to main content



      Home
Home » Archived » BIRT » Parameter Validation using validate() Javascript function
Parameter Validation using validate() Javascript function [message #191412] Thu, 21 September 2006 11:33 Go to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

Greetings,

I have a requirement to validate input report parameters. I noticed
that each report parameter in BIRT has a validate() method associated
with it to do custom validation. Unfortunately I have not gotten this
to work. The Scripting spec says that the validate method will get
called before the report beings to be rendered, however based on my
experience I have never seen this occur in BIRT 2.1.

My question is what do I need to do to get the Javascript validate
method for each BIRT parameter to be executed? If anyone has a simple
example that would be muchly appreciated.

Thanks in advance.
Re: Parameter Validation using validate() Javascript function [message #191487 is a reply to message #191412] Thu, 21 September 2006 17:43 Go to previous message
Eclipse UserFriend
This particular feature is not in BIRT yet. It has been logged as an
enhancement request.
See bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=132883

Jason

"Peter Maly" <user@domain.invalid> wrote in message
news:eeubek$h2a$1@utils.eclipse.org...
> Greetings,
>
> I have a requirement to validate input report parameters. I noticed
> that each report parameter in BIRT has a validate() method associated with
> it to do custom validation. Unfortunately I have not gotten this to work.
> The Scripting spec says that the validate method will get called before
> the report beings to be rendered, however based on my experience I have
> never seen this occur in BIRT 2.1.
>
> My question is what do I need to do to get the Javascript validate
> method for each BIRT parameter to be executed? If anyone has a simple
> example that would be muchly appreciated.
>
> Thanks in advance.
Previous Topic:Birt 2.2 branch in CVS?
Next Topic:BIRT build error
Goto Forum:
  


Current Time: Thu May 01 03:40:59 EDT 2025

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

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

Back to the top