ky5566 Posted August 9, 2007 Share Posted August 9, 2007 :P I am new to jasper. I wonder if there is a way to change the value of a list input control by selecting some value in other list. For example in my report there are two list course and subject, which each course has 6 subjects. If I change the value of course_list from A to B, and then in list of subject was changed from the subjects of A to the subjects of B. I have tried to load the data to course_list and subject_list from database. I create a parameter to store course value and the sql query of subject_list is: select subject_name from table where course=$P{course}. But it give me exception: java.lang.Exception: 1 -java.lang.NullPointerExceptionÂI think the parameter is not assigned any value at that stage. Thanks million for helping! Post edited by: ky5566, at: 2007/08/09 15:12Post edited by: ky5566, at: 2007/08/10 10:41 Link to comment Share on other sites More sharing options...
ky5566 Posted August 13, 2007 Author Share Posted August 13, 2007 :sick: ? no body know that? Link to comment Share on other sites More sharing options...
lucianc Posted August 20, 2007 Share Posted August 20, 2007 If you're talking about JasperServer, this scenario is not yet supported. Such a feature is targeted for future versions. Regards,Lucian 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