Announcement Announcement Module
No announcement yet.
Abstract Views and contentTypes Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Abstract Views and contentTypes

    Hello everyone,

    I am useing a Repository to strore some documents and Images.
    When i display the stored images i use the Abstract View set the outputstream and the contenttype of "image/jpeg" which works fine.

    Now that i want to display the Documents i am a bit confused about the diffrent contentTypes.

    So far i just took the file ending and for a certain file ending i picked a content type from this list:

    But sometimes like for MSWord there are two types on that list

    So i was wondering if i am doing it wrong and if there is another way that i have to do it:-)

    Anyhow i am afraid that picking the wrong contentType will break the display of the Documents.

    If anyone of you guys had some infos for me i would be really happy:-)

    Thx a lot in advance!