Hi,

Any one please respond to this mail.
Any kind of help will be appreciated

Thanks,
Vinay

On 4/9/07, Vinay Konanki <[EMAIL PROTECTED]> wrote:

Hi All,

I have a link in the homepage, when i click on the link it has to generate
the excel sheet.

I'm successful in generating the excel by using following example provided
by the group:


http://svn.apache.org/repos/asf/myfaces/tobago/trunk/example/test/src/main/java/org/apache/myfaces/tobago/example/test/ExportUIDataToWorkbookUtil.java

So far i have tc:sheet in the jsp where im doing binding="
controller.table" and in controller im doing UIData = getTable();
This is getting the data from the tc:sheet
but now My question is how can i generate a UIData dynamically so that
this controller will generate excel sheet based on that data.( because i
dont use any table here in home page but i need to generate the excel report
with the list of products)

For Example:
I have a list of Product Objects which consists of different values like
prod1.name, prod1.value, prod1.qty......

So i need to create a table with this values.

I hope this can be achievable, Can any help me by giving code snippet,
I have no idea how to generate the table dynamically in the Controller.

Please help me out...

Thanks,
Vinay




Reply via email to