I have specified a non empty value for requestURI. Still the page is submitted to the server and it gives a Page not Found error as the URL match is not found.
How does the display requests are identified in HTML. Most of the display tag export option link are in the format: "<requestURI>"?"<somerandonnumber"> Ex: formQuery.html??658706f7274=1&d-149542-e=1" So when this link is clicked, how the system identifies it as a display tag request. Is there any javascript function added to HTML that identifies no click of link. In my Spring App, formQuery.html is forwarded to a controller. Thanks José Renato-2 wrote: > > I was trying to say that you should specify a non empty value for > requestURI. Have you tried? > > Best Regards, > José Renato. > > > SJ escreveu: >> Jose, >> The attribute "requestURI" is already added to my code (requestURI=""). >> And >> as my columns are dynamic, I am not using "<display:column" tag. I think >> my >> problem is some thing else. >> >> As I am using appfuse for my application, I have used the same code given >> here. But still I have issues: >> >> http://www.nabble.com/Display-Tag-PDF-export-is-not-working-tf4226839s2369.html#a12025228 >> >> Thanks >> Shyamsunder >> >> José Renato-2 wrote: >> >>> The attribute "requestURI" must be specified with the action that loads >>> your list. This is why your page is not exporting. Observe the example: >>> >>> <display:table name="srvPhoneList" >>> requestURI="/reqPhone.do?method=listAllPhones" >>> excludedParams="*" export="true" uid="phone" >>> pagesize="20" sort="list" defaultsort="1"> >>> >>> And when you are declaring your display:columns you must specify the >>> media types as well: >>> >>> <display:column media="html excel csv xml rtf pdf" title="Client" >>> property="attrUserName" style="width=50%" >>> sortable="true" sortProperty="attrUserName"/> >>> >>> Hope it helps. >>> >>> Best Regards, >>> José Renato. >>> >>> SJ escreveu: >>> >>>> Here is my source code: >>>> >>>> <display:table name="results.formQueryResults" id="sec" cellspacing="0" >>>> cellpadding="0" >>>> defaultsort="0" class="table" pagesize="50" requestURI="" >>>> defaultorder="ascending" export="true"/> >>>> http://www.nabble.com/file/p12237852/formQuery.html formQuery.html >>>> >>>> Also attached the view source of the html page - formQuery.html. >>>> >>>> >>>> José Renato-2 wrote: >>>> >>>> >>>>> Can you post some code here from your page? >>>>> >>>>> Best regards, >>>>> José Renato. >>>>> >>>>> SJ escreveu: >>>>> >>>>> >>>>>> I am using display tag to display my collection of objects in tabular >>>>>> format >>>>>> with 'export' option. But when ever I click any of the export format >>>>>> (pdf, >>>>>> excel, csv) links, the page is submitted back to the form action. And >>>>>> there >>>>>> is no export function called. >>>>>> >>>>>> I have verified my code couple of times with display tag examples. I >>>>>> am >>>>>> not >>>>>> sure what is the problem? >>>>>> >>>>>> Are there any wild guesses? Is there any way to debug the problem? >>>>>> >>>>>> >>>>>> Thanks >>>>>> Shyamsunder >>>>>> >>>>>> >>>>>> >>>>> ------------------------------------------------------------------------- >>>>> This SF.net email is sponsored by: Splunk Inc. >>>>> Still grepping through log files to find problems? Stop. >>>>> Now Search log events and configuration files using AJAX and a >>>>> browser. >>>>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>>>> _______________________________________________ >>>>> displaytag-user mailing list >>>>> displaytag-user@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/displaytag-user >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a browser. >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> _______________________________________________ >>> displaytag-user mailing list >>> displaytag-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/displaytag-user >>> >>> >>> >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > displaytag-user mailing list > displaytag-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/displaytag-user > > -- View this message in context: http://www.nabble.com/Export-Option-is-not-working-tf4299267.html#a12262269 Sent from the DisplayTag - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user