
|
Re: displaytag-user Digest, Vol 42, Issue 13
PLease unsubscribe me On Thu, Oct 22, 2009 at 6:51 AM, <displaytag-user-request@...> wrote:
Send displaytag-user mailing list submissions to
displaytag-user@...
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/displaytag-user
or, via email, send a message with subject or body 'help' to
displaytag-user-request@...
You can reach the person managing the list at
displaytag-user-owner@...
When replying, please edit your Subject line so it is more specific
than "Re: Contents of displaytag-user digest..."
Today's Topics:
1. Re: how to use display tag in spring bean
(Ferguson, Jason M TSgt USAF AMC 375 CSPTS/SCE)
2. Re: how to use display tag in spring bean (Ishara Gunathilake)
3. Need all Caption, Footer and Whole list of data at the
export time (Ashok J)
4. Re: Need all Caption, Footer and Whole list of data at the
export time (prateekjainaa@...)
----------------------------------------------------------------------
Message: 1
Date: Wed, 21 Oct 2009 07:04:51 -0500
From: "Ferguson, Jason M TSgt USAF AMC 375 CSPTS/SCE"
<jason.ferguson@...>
Subject: Re: [displaytag-user] how to use display tag in spring bean
To: <displaytag-user@...>
Message-ID:
<B13FB39FB4AA074AB1352020A76B6944F5CDDB@...>
Content-Type: text/plain; charset="us-ascii"
RequestContextUtils is in the spring-webmvc package (even if you are using
Struts or another MVC controller). Make sure that you have it and it is on
your classpath.
-----Original Message-----
From: Ishara Gunathilake [mailto:jaimgunathilake@...]
Sent: Wednesday, October 21, 2009 6:22 AM
To: displaytag-user@...
Subject: [displaytag-user] how to use display tag in spring bean
hi
iv got this error when im trying to use diplay tag
java.lang.NoClassDefFoundError:
org/springframework/web/servlet/support/RequestContextUtils
at
org.displaytag.localization.I18nSpringAdapter.getResource(I18nSpringAdapter.
java:59)
at org.displaytag.tags.ColumnTag.addHeaderToTable(ColumnTag.java:684)
at org.displaytag.tags.ColumnTag.doEndTag(ColumnTag.java:622)
at
org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspx_meth_display_005fcolum
n_005f0(results_jsp.java:657)
at
org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspx_meth_display_005ftable
_005f0(results_jsp.java:613)
at
org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspx_meth_s_005fi18n_005f0(
results_jsp.java:200)
at
org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspService(results_jsp.java
:94)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
74)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:630)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:535)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:472)
at
com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDisp
atcherImpl.java:302)
at
com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispa
tcherImpl.java:122)
i change the display.properties file as below
locale.provider=org.displaytag.localization.I18nSpringAdapter
locale.resolver=RequestContextUtils.getLocale();
please help me to solve this
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4876 bytes
Desc: not available
------------------------------
Message: 2
Date: Thu, 22 Oct 2009 08:38:14 +0530
From: Ishara Gunathilake <jaimgunathilake@...>
Subject: Re: [displaytag-user] how to use display tag in spring bean
To: displaytag-user@...
Message-ID:
<19feedb90910212008s6325dba6sf1d06162ea6824c7@...>
Content-Type: text/plain; charset="iso-8859-1"
can you tell me how can i do it so, i used struts 2, spring and liferay
portlet to my project
i want to do pagination.should i change the localresolver and localeprovider
in display.properties file.
2009/10/21 Ferguson, Jason M TSgt USAF AMC 375 CSPTS/SCE <
jason.ferguson@...>
> RequestContextUtils is in the spring-webmvc package (even if you are using
> Struts or another MVC controller). Make sure that you have it and it is on
> your classpath.
>
> -----Original Message-----
> From: Ishara Gunathilake [mailto:jaimgunathilake@...]
> Sent: Wednesday, October 21, 2009 6:22 AM
> To: displaytag-user@...
> Subject: [displaytag-user] how to use display tag in spring bean
>
> hi
> iv got this error when im trying to use diplay tag
>
> java.lang.NoClassDefFoundError:
> org/springframework/web/servlet/support/RequestContextUtils
> at
>
> org.displaytag.localization.I18nSpringAdapter.getResource(I18nSpringAdapter.
> java:59)
> at org.displaytag.tags.ColumnTag.addHeaderToTable(ColumnTag.java:684)
> at org.displaytag.tags.ColumnTag.doEndTag(ColumnTag.java:622)
> at
>
> org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspx_meth_display_005fcolum
> n_005f0(results_jsp.java:657)
> at
>
> org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspx_meth_display_005ftable
> _005f0(results_jsp.java:613)
> at
>
> org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspx_meth_s_005fi18n_005f0(
> results_jsp.java:200)
> at
>
> org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspService(results_jsp.java
> :94)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 74)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:290)
> at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:206)
> at
>
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
> java:630)
> at
>
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
> er.java:535)
> at
>
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
> .java:472)
> at
>
> com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDisp
> atcherImpl.java:302)
> at
>
> com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispa
> tcherImpl.java:122)
>
>
>
>
> i change the display.properties file as below
>
> locale.provider=org.displaytag.localization.I18nSpringAdapter
> locale.resolver=RequestContextUtils.getLocale();
>
> please help me to solve this
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@...
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Wed, 21 Oct 2009 22:17:26 -0700 (PDT)
From: Ashok J <ashok.niranjan2004@...>
Subject: [displaytag-user] Need all Caption, Footer and Whole list of
data at the export time
To: displaytag-user@...
Message-ID: <26004205.post@...>
Content-Type: text/plain; charset="us-ascii"
I'm facing two problems when exporting list into pdf and excel format thru
displaytag
1) export.pdf.class=org.displaytag.export.DefaultPdfExportView
when i setting this configuration in
displaytag.properties file, caption and footer is coming, but i'm not able
to export whole list, only data showing on page is exported.
In this case, i set export.amount=list.......but
it's not working
2) export.pdf.class=org.displaytag.export.PdfView
when i setting this configuration in
displaytag.properties file, caption and footer is not coming, but i'm able
to export whole list.
--------> same for excel format.
i'm using displaytag-1.2 jar or displaytag-1.1.1 jar
I need all Caption, Footer and Whole list of data at the export time
plz anyone help me to sort out this problem ASAP...
--
View this message in context: http://www.nabble.com/Need-all-Caption%2C-Footer-and-Whole-list-of-data-at-the-export-time-tp26004205p26004205.html
Sent from the DisplayTag - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Thu, 22 Oct 2009 11:21:02 +0530
From: "prateekjainaa@..." <prateekjainaa@...>
Subject: Re: [displaytag-user] Need all Caption, Footer and Whole list
of data at the export time
To: displaytag-user@...
Message-ID:
<224c92a30910212251p74aa33e9p4494ccb7d20e0dff@...>
Content-Type: text/plain; charset="utf-8"
by whole table if you mean say for example, you have 250 records in db but
you are displaying 10 records at a time. In this case display tag will only
export data which is displayed on screen. for whole data you might try by
having a hidden table having all the contents and exporting its data.
Prateek Jain
--------------------------------------------------------------
EXPECTATION : Causes all troubles......
--------------------------------------------------------------
2009/10/22 Ashok J <ashok.niranjan2004@...>
> I'm facing two problems when exporting list into pdf and excel format thru
> displaytag 1) export.pdf.class=org.displaytag.export.DefaultPdfExportView
> when i setting this configuration in displaytag.properties file, caption and
> footer is coming, but i'm not able to export whole list, only data showing
> on page is exported. In this case, i set export.amount=list.......but it's
> not working 2) export.pdf.class=org.displaytag.export.PdfView when i setting
> this configuration in displaytag.properties file, caption and footer is not
> coming, but i'm able to export whole list. --------> same for excel format.
> i'm using displaytag-1.2 jar or displaytag-1.1.1 jar I need all Caption,
> Footer and Whole list of data at the export time plz anyone help me to sort
> out this problem ASAP...
> ------------------------------
> View this message in context: Need all Caption, Footer and Whole list of
> data at the export time<http://www.nabble.com/Need-all-Caption%2C-Footer-and-Whole-list-of-data-at-the-export-time-tp26004205p26004205.html>
> Sent from the DisplayTag - General mailing list archive<http://www.nabble.com/DisplayTag---General-f2432.html>at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@...
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
------------------------------
_______________________________________________
displaytag-user mailing list
displaytag-user@...
https://lists.sourceforge.net/lists/listinfo/displaytag-user
End of displaytag-user Digest, Vol 42, Issue 13
***********************************************
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
displaytag-user mailing list
displaytag-user@...
https://lists.sourceforge.net/lists/listinfo/displaytag-user
|