I just bypass the decorator while exporting:

<display:setProperty name="export.decorated" value="false"/>

Daniel



|---------+--------------------------->
|         |           Martijn         |
|         |           <expires-jan05  |
|         |           @Gangkast.com>  |
|         |           Sent by:        |
|         |           displaytag-user-|
|         |           admin           |
|         |                           |
|         |                           |
|         |           17.11.2004 11:57|
|         |           Please respond  |
|         |           to              |
|         |           displaytag-user |
|         |                           |
|---------+--------------------------->
  
>-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                  |
  |        To:      [EMAIL PROTECTED]                       
                                                  |
  |        cc:                                                                  
                                                  |
  |        Subject: [displaytag-user] export without decorator info             
                                                  |
  
>-------------------------------------------------------------------------------------------------------------------------------|




Hi there,

So I have this collection of data which I display using the displaytag.
I use a decorator to wrap a column so the cell is rewriten as a link.
The cell value is transformed in this wrapper to a custom link object
which is comparable (so i can still sort correctly) and has the toString
overloaded so it displays the <a href  on screen.

But when I export the data using the export="true" directive, this link
markup html code is also exported. Is there a way to prevent this? I
have been searching the archives but I haven't found a solution yet.


Thank you for your time,
Martijn


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user





-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to