I had the export filter in my xml but its mapping had an .html extension (the app I am working on has a .do). I think I forgot struts applications with .do extension also 'do' exist :) Thanks a lot Mike !
Michael Horwitz wrote: > > Have you included the displaytag export filters in your web.xml? > > Mike > > On 8/10/07, arvinder <[EMAIL PROTECTED]> wrote: >> >> >> Thanks Matt! I should kick myself for missing the 'banner.onepage' >> setting >> in >> display tag documentation. >> On export data issue, when I specify the media for certain columns it >> exports only those columns, but my problem is that it not only exports >> the >> table data but all the surrounding html, including divs decorated by >> sitemesh. In my jsp I only have display table tag and the include for >> taglibs. As an example, I am uploading the xml export which the >> application >> created for a page, where I am exporting only one column. >> Thanks, >> Arvinder >> >> mraible wrote: >> > >> > On 8/9/07, arvinder <[EMAIL PROTECTED]> wrote: >> >> >> >> I am trying to port an existing struts/hibernate application to >> Appfuse >> >> 1.9.4. I have created a new 1.9.4 project, but instead of adding code >> >> from >> >> my app. to new appfuse project, I am doing it other way around as my >> >> existing project is not using annotations. In display tag usage I am >> >> observing following problems which are not there in brand new appfuse >> >> project : >> >> 1. In the table banner it shows 1, which I assume is the page number >> even >> >> if >> >> results are less than 25. >> > >> > You can change this by adding a displaytag.properties to your >> > classpath and setting the following: >> > >> > paging.banner.onepage= >> > >> > More information on Display Tag's settings can be found at >> > http://displaytag.sourceforge.net/11/configuration.html. >> > >> >> 2. When exporting the data, it exports the whole page including html >> and >> >> not >> >> just the data in collection. The table values are in correct format >> >> though. >> > >> > You should be able to use the "media" attribute to control the output >> > so the exported documents don't contain HTML. For example: >> > >> > <display:column property="id" sortable="true" href="userform.html" >> > media="html" >> > paramId="id" paramProperty="id" titleKey="user.id"/> >> > <display:column property="id" media="csv excel xml pdf" >> > titleKey="user.id"/> >> > >> >> >> >> Another question I have is, is it possible to use mapping files >> instead >> >> of >> >> Xdoclet in 1.9.4? >> > >> > Yes. see the following (at the bottom): >> > >> > >> http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseSupport#ref-AppFuseSupport-9 >> > >> > Matt >> > >> >> Thanks for any solutions, >> >> Arvinder >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Export-list-problem-tf4246165s2369.html#a12083898 >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > -- >> > http://raibledesigns.com >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> http://www.nabble.com/file/p12093307/Vehicles.xml Vehicles.xml >> -- >> View this message in context: >> http://www.nabble.com/Export-list-problem-tf4246165s2369.html#a12093307 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Export-list-problem-tf4246165s2369.html#a12095666 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]