Re: [displaytag-user] [displaytag - Help] RE: Export issues with CSV PDF

2006-07-10 Thread Ricardo Tercero Lozano
Try setting 'filename' property:display:table ... display:column ... / display:setProperty name=export.excel.filename value=excelf.xls/ display:setProperty name=export.csv.filename value=csvf.csv/ display:setProperty name=export.pdf.filename value=pdff.pdf/ /display:table On 7/7/06,

Re: [displaytag-user] displaytag-user Digest, Vol 3, Issue 11

2006-07-10 Thread Shilpa
Hi, Can I have a column in the displaytag table which will show the row count? I mean a serial number for each row which will ultimately indicate the number of rows. It is urgent... Thanks in advance, Shilpa -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [displaytag-user] displaytag-user Digest, Vol 3, Issue 11

2006-07-10 Thread Praveen Kumar G
Hi, This is simple. Checkout the following link http://displaytag.sourceforge.net/11/tut_implicitobjects.html regards --- Shilpa [EMAIL PROTECTED] wrote: Hi, Can I have a column in the displaytag table which will show the row count? I mean a serial number for each row which will

Re: [displaytag-user] Exporting issues with TableDecorators

2006-07-10 Thread Farmer, Todd
OK, I've come up with a really, really ugle work-around for this. It involves creating separate servlets for exporting and having the normal Struts actions populate the export data into a session-scoped attribute, which is then read from by the new servlets and written to output. It's really,

Re: [displaytag-user] Exporting issues with TableDecorators

2006-07-10 Thread Jorge Barroso
Yes, it's encoded as a request param of the form d-(encoded table id)-e, e.g., d-16544-e=2. So, to tell what export was requested, examine the value of the request parameter named d-table id-e. MediaTypeEnum.fromCode gives you the type enum.-Jorge"Farmer, Todd" [EMAIL PROTECTED] wrote: OK,

Re: [displaytag-user] Exporting issues with TableDecorators

2006-07-10 Thread Farmer, Todd
Thanks, Jorge! Todd Farmer From: [EMAIL PROTECTED] on behalf of Jorge BarrosoSent: Mon 7/10/2006 10:33 AMTo: displaytag-user@lists.sourceforge.netSubject: Re: [displaytag-user] Exporting issues with TableDecorators Yes, it's encoded as a request param of the form d-(encoded table id)-e,

[displaytag-user] howto: access sort header urls

2006-07-10 Thread Laran Evans
I have a table which needs to repeat the column headers after each row. I know it sounds hokey, but it's a requirement. I'm using a TableDecorator which is doing some endRow and startRow customizations. I was going to put the column headers in the startRow method, using a counter to avoid

[displaytag-user] howto: access sort header urls

2006-07-10 Thread Laran Evans
I have a table which needs to repeat the column headers after each row. I know it sounds hokey, but it's a requirement. I'm using a TableDecorator which is doing some endRow and startRow customizations. I was going to put the column headers in the startRow method, using a counter to avoid

[displaytag-user] howto: display different number of columns based on media type

2006-07-10 Thread Laran Evans
I'm using a table decorator. There are 23 columns in the ResultRows. In the JSP I have columns 1-11 being displayed. I can't display more than columns 1-11 in the jsp because I only want to display the headers for columns 1-11. The finishRow method of the TableFormatter handles some custom

[displaytag-user] Can displaytag handle a row column that's a list?

2006-07-10 Thread Mississippi John Hurt
Can displaytag render a table with rows that have a column that's actually a List of 1 or more rows?For instance a table of Person, with column1=name, column2 is a List of Pets, so there could be multiple rows for each pet for each person. Ideally I'd like to pass a Person object which contains a

Re: [displaytag-user] Can displaytag handle a row column that's a list?

2006-07-10 Thread Jorge Barroso
Yes, nested tables,http://displaytag.homeip.net/displaytag-examples-1.1/example-nestedtables.jsp,but it does not support exporting.-JMississippi John Hurt [EMAIL PROTECTED] wrote: Can displaytag render a table with rows that have a column that's actually a List of 1 or more rows?For instance a

Re: [displaytag-user] Can displaytag handle a row column that's a list?

2006-07-10 Thread Mississippi John Hurt
Thanks. Can it also make it work if that ID column was linked to 1 struts action, while the Address.Name was linked to another Struts action. And could you customize that nested list so that it would leave out the sub-table heading (Name,Email) so the table would look more compact? On 7/10/06,

Re: [displaytag-user] Can displaytag handle a row column that's a list?

2006-07-10 Thread Jorge Barroso
Not sure what you mean with the first half of the question. You can hide the nested table headers applying a css class, e.g.,.table-headless thead { display: none;}-JMississippi John Hurt [EMAIL PROTECTED] wrote: Thanks. Can it also make it work if that ID column was linked to 1 struts action,

Re: [displaytag-user] Can displaytag handle a row column that's a list?

2006-07-10 Thread Mississippi John Hurt
Oh the 1st part I meant if the column row data in 2 of the columns are hyperlinks and not just pure data, links to 2 different struts actions. Thanks, I'll give it a try. On 7/10/06, Jorge Barroso [EMAIL PROTECTED] wrote: Not sure what you mean with the first half of the question. You can hide

Re: [displaytag-user] Can displaytag handle a row column that's a list?

2006-07-10 Thread Jorge Barroso
Yeah, that'll work fine.-JMississippi John Hurt [EMAIL PROTECTED] wrote: Oh the 1st part I meant if the column row data in 2 of the columns are hyperlinks and not just pure data, links to 2 different struts actions. Thanks, I'll give it a try. On 7/10/06, Jorge Barroso [EMAIL PROTECTED] wrote: