Hi Robert,
Maybe this helps:
1. create a ordinary WOComponent, e.g. MyCSVComponent.wo
In the HTML part, you don't write HTML (skip the whole htmlbody ...
/body/html stuff), but the CSV content you need:
wo:repeat list=$myList item=$myItem
wo:string value=$myItem.property1 /, wo:string
That's funny. After I sent my help message I just thought about it some and I
ended up doing exactly as you mentioned. I found the headers settings somewhere
and follow that as well. I also felt something in wonder to quote values as
necessary for excel friendly CSV files.
Sometimes I freak
Just to give a more complete description of what I implemented:
wo:str value=$~excelSafeCsvString( eo.fullName )”/
I find Ognl saves me from writing so many wrapper functions in the component
class, except maybe the one convenience one that called
ERXStringUtilities.excelSafeCsvString().
So: