[jasperreports-questions] Subreport positioning

2009-09-29 Thread Bob Morley

Note - I am very new to jasper reports so I am apologetic if this message is
obvious to most.

I am working on a jasper report that models an invoice.  The report was
initially created using a data source that represented the entire set of
data for the invoice.  It was granular down to the invoice item level, and
each row in the data source would contain information such as the company's
address, phone, customer's name, shipping address, subtotal information, as
well as information related to the actual invoice items.

My initial inkling was that we should model this report as a series of
sub-reports.  Picture the company logo in the top left, company contact
details in the top right, then the customer details in the middle left,
with order details in the middle right, finally the set of invoice items,
and then the subtotal information.  The main motivation here was to create a
series of subreports that could be used on various report.  It also allowed
me to create a more specific datasource query to bind to the various
sub-reports which would avoid cardinality issues as well as aiding in making
it more testable.

Question #1: Is this a reasonable approach or is there a better way to model
multiple queries to the same final report.

Question #2: The trouble I am having is actually laying out the sub-reports
so that they flow from the one to the other without creating empty space on
the final report.  What properties should I be setting?  Picture a report
that has 3 sub-reports in a band where the middle sub-report actually
contains no data.  I would want sub-report #1 and #3 to have no space
between them (from #2).  Moreover, if #2 has a lot of data I would like to
have it auto-expand and not cause #3's data to overlap.

Thank you very much!
Bob
-- 
View this message in context: 
http://www.nabble.com/Subreport-positioning-tp25530927p25530927.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] IsBlankWhenNull issue when export to HTML in Spring framework

2009-09-29 Thread bobobo

Hi,

Does anyone know why when I set the attribute IsBlankWhenNull set to true,
it also removes the drawing (rectangular box) of those fields with null
values when export to html? my environment is in Spring MVC.

It works fine when exporting to PDF, Excel, and also works fine when I use
iReport tool to display it in html.

Thanks in advance.
Bob
-- 
View this message in context: 
http://www.nabble.com/IsBlankWhenNull-issue-when-export-to-HTML-in-Spring-framework-tp25615237p25615237.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] java.lang.NoSuchMethodError: com.opensymphony.xwork2.Action exception

2009-09-29 Thread Sathya K


Hi

i am creating a Jasper Reports.

i am getting a java.lang.NoSuchMethodError:
com.opensymphony.xwork2.Action.get(Ljava/lang/String;)Ljava/lang/Object;
exception


i am using xworks-2.1.1.jar
Jdk is 6.0(1.6)

Please help me to solve this issue
Stack Trace

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception


javax.servlet.ServletException: Filter execution threw an exception

root cause

java.lang.NoSuchMethodError:
com.opensymphony.xwork2.ActionContext.get(Ljava/lang/String;)Ljava/lang/Object;
org.apache.struts2.views.jasperreports.JasperReportsResult.doExecute(JasperRepo
rtsResult.java:245)
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.j
ava:186)
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvo
cation.java:355)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.
java:259)
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(Defa
ultWorkflowInterceptor.java:141)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFil
terInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:230)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:229)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.ja
va:456)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.
java:227)
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationI
nterceptor.java:248)
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doInt
ercept(AnnotationValidationInterceptor.java:49)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFil
terInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:230)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:229)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.ja
va:456)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.
java:227)
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(Conver
sionErrorInterceptor.java:124)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:230)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:229)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.ja
va:456)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.
java:227)
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(Parameter
sInterceptor.java:170)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFil
terInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:230)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:229)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.ja
va:456)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.
java:227)
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(Parameter
sInterceptor.java:170)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFil
terInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:230)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:229)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.ja
va:456)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.
java:227)
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(Stati
cParametersInterceptor.java:104)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:230)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:229)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.ja
va:456)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.
java:227)
org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxIntercepto
r.java:84)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:230)
com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvo
cation.java:229)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.ja
va:456)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.
java:227)
org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterc
eptor.java:208)