Ticket #598 (closed new feature: wontfix)

Opened 5 years ago

Last modified 17 months ago

HTML to Excel (response)

Reported by: samtahRam Owned by: samtahRam
Priority: low Milestone:
Component: jelix:core response Version: 1.0.3
Severity: normal Keywords:
Cc: Php version:
Hosting Provider: Blocked By:
Documentation needed: no Blocking:

Description

With the ability of Excel to load raw HTML. I've thought that we can implement a class which herits from the class jResponseHtml and send the html template to the browser with the header which indicate an application excel for content type

Change History

Changed 5 years ago by laurentj

  • review review? deleted

Well, in the _commonProcess method (or doAfterActions method in 1.1) you just have to change the content type.

I don't think if HTML is the better format to send content for Excel...

(please, don't use the review field, it's used for patch).

Changed 5 years ago by bballizlife

Any arguments for sending html content for excel ?

I don't see any in fact. Moreover as laurentj said, you can change the content-type if needed.

So, anything to add here ?

Changed 5 years ago by bastnic

bballizlife++

Changed 5 years ago by laurentj

  • priority changed from normal to low

I was wrong. In fact, we cannot change the content-type value in jResponseHtml : it overrides it..

Changed 17 months ago by laurentj

  • status changed from new to closed
  • resolution set to wontfix
Note: See TracTickets for help on using tickets.