Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use own scriptlet on SpiReport? #26

Open
danjho opened this issue Sep 17, 2018 · 0 comments
Open

How to use own scriptlet on SpiReport? #26

danjho opened this issue Sep 17, 2018 · 0 comments

Comments

@danjho
Copy link

danjho commented Sep 17, 2018

Hello,

Is there a way to use my own scriptlet to do data validations?

I am creating some labels and reports at work, and I want to create some java code for data validations (null, string format, date, etc.). I have tried the use scriptlet to do it, but it's not working for me. The specify do not have a good explanation on ireport documentation.

Steps:
Trying to use the scripleteditor
captura de tela 4

Select the option for use scriptlet internally
captura de tela 5

The place where I am writing my java code.
captura de tela 6

But nothing changes on expression editor. I can not use my scriptlet here.
captura de tela 7

Sorry to ask about this things, but I really tried to do it by myself, but I could not.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant