wood burning stoves
The moose likes Other Open Source Projects and the fly likes jasper expression language Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "jasper expression language" Watch "jasper expression language" New topic

jasper expression language

sinasi susam
Ranch Hand

Joined: Jul 15, 2005
Posts: 67
I have heard that we can use some little java codes in text field expressions.
I am looking for a sample code how can i use little java code expressions in textfields.

For ireport when a recognised code is entered then ireport is styling the text.
i tried if, else ,do, while...
they all are recognised because they all have been styled.
Can you give a sample code or a web site that demonstrates how i can use them in textfield expressions?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
I think you are talking about the Jakarta Commons EL project.
sinasi susam
Ranch Hand

Joined: Jul 15, 2005
Posts: 67
No not exactually.
I know what jsp EL is.

This is different.
In properties of a textfield ,i think we can write java based scripting language.

Its not alright pure java .It's convention is similar to java.A script language which is used instead of formulas in RDF (oracle forms).

I wanted to make an experiment to see if some key words are recognised.

When a recognised keyword is written ireport is coloring that one.If its not recognised its not colorising the word.

I tried to type "if" , "else" ,"do" ,"while" ,"for","continue","break"...

They all have been recognised and colored it to bold,black immediately.

But for example if i write "sinasi" its not coloring.That means they have speacial usage.

Its like java but i dont exactually know its usage.And if i type them as it is in java ireport is giving me ClassInstanceCreation Exceptions...

I just wanna know a sample how to use that scripting language.

thank you.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
I see - by Jasper you mean JasperReports, not the Jasper compiler.

I'm not quite sure what you're trying to achiev. This functionality exists in Oracle RDF, and you want to make it work in iReports?
Subhashini Sekar

Joined: Nov 15, 2005
Posts: 9
We have some problem with IE while download a PDF. But it is opening well in firefox browser.

We have not given any header to clear cache.

The error message is

Internet explorer cannot dowload servelet?reportid=5 from web.site.com
Internet explorer was not able to open the internet site. This requested site is either unavailable or cannot be found. Please tyr later.

Our site is athenticated via sso.
I agree. Here's the link: http://aspose.com/file-tools
subject: jasper expression language
It's not a secret anymore!