Joe Taras Posted December 3, 2013 Share Posted December 3, 2013 Hi to all,I'm newbie about Jasper report.This is my issue:I've defined in Spring a bean named EnvParam. I've passed this bean in my report processed by Jasper, using an hashmap of parameters.In Jasper XML report configuration I've mapped my bean with import tag in this way:<import value="Mypath.EnvParam" />So I've defined in Jasper some variables in this way:vardummy = $P{EnvParam}.myPropertySo in GUI element I've linked $V{varDummy}.When I run my application, my report doesn't show the correct value of property, setting NULL in my GUI element.But if I put in my GUI object my property $P{EnvParam}.myProperty without using of variable the value will show correctly.Where am I wrong? Link to comment Share on other sites More sharing options...
Joe Taras Posted December 3, 2013 Author Share Posted December 3, 2013 RESOLVED!!!I've changed time process of variable. from Now to Report Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now