on 09-30-2008 2:43 PM
hi,
We have a PDK application to export data to an excel sheet.
we have a action for the button which generates this excel. when we click on the button the Excel is generated successfully, but the control is not switching back to the Page from which it was called.
Thanks and regards,
Kris
solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it really depends on the way you do it, so there is no clear response to your question, as far as i know.
we do it by separating the two process. An iview display the data. When the user press the "export to excel" button, the data is stored into http session, and another iview is called in another page, using javascript. The real export is done by this second iview (generally a child of AbstractPortalComponent, whose doOnNodeReady is used to modify the response)
thus, you don't really leave your page, that's just another one created to export
hope this helps
regards
Guillaume
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.