sravyts Posted March 13, 2008 Share Posted March 13, 2008 We have a setup where designs are created on the client, and rendering is done on the server.In the designs we add a custom queryString, and on the server I register the queryExecuterFactory for that language in the properties. But when I try to add this string on the client (where this class is not accessible) by calling jasperDesign.setQuery(xxx), I get a JRException saying that the property needs to be filled in.And when I add this property with the serverclass filled in, ofcourse I get an exception saying the class cannot be found.Is there a way of adding this string to the design on the client without having this exception? It is only at filling-time that this is really used, so why is this validation done at the moment the queryString is added? Link to comment Share on other sites More sharing options...
lucianc Posted March 13, 2008 Share Posted March 13, 2008 sravyts wrote:Is there a way of adding this string to the design on the client without having this exception? No. It is only at filling-time that this is really used, so why is this validation done at the moment the queryString is added? The query executer factory is used at report design/compilation time as well. The factory provides a list of built-in report parameters, which need to be registered into the report template. 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