• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

jasper expression language

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you are talking about the Jakarta Commons EL project.
 
sinasi susam
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic