• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom Mime-Types & ERAttachment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Mime-Types & ERAttachment


  • Subject: Re: Custom Mime-Types & ERAttachment
  • From: Kevin Hinkson <email@hidden>
  • Date: Thu, 11 Jun 2015 10:41:40 -0400

Thanks Ramsey.

I’ll take a look at ERAttachmentIcon and see if I can patch it to be more flexible.

> On Jun 10, 2015, at 8:57 PM, Ramsey Gurley <email@hidden> wrote:
>
> It looks hard coded in ERAttachmentIcon. You’d need to fix that or come up with your own icon component.
>
> I was thinking there was some property that allowed you to substitute a web server resource, but it only works with ERXResponseRewriter
>
> er.extensions.ERXResponseRewriter.resource.framework.filename=yourFramework.yourFilename
>
> so that’s no help here.
>
> On Jun 9, 2015, at 9:00 AM, Kevin Hinkson <email@hidden> wrote:
>
>> Hi all,
>>
>> I was wondering if there was a way to specify the mime-type icons for any custom mime-types added to the ERAttachment list.
>>
>> Eg: I’ve added the following but there is no recognized icon for them:
>>
>> #Mime Types
>> er.attachment.additionalMimeTypes=application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
>>
>> er.attachment.mimeType.application/vnd.ms-excel.name=Excel Spreadsheet
>> er.attachment.mimeType.application/vnd.ms-excel.uti=com.microsoft.excel.xls
>> er.attachment.mimeType.application/vnd.ms-excel.extensions=xls
>>
>> er.attachment.mimeType.application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.name=Excel 2007 Spreadsheet
>> er.attachment.mimeType.application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.uti=com.microsoft.excel.xlsx
>> er.attachment.mimeType.application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.extensions=xlsx
>>
>> I’ve noticed that the included icons are stored in the ERAttachment framework in the icons/size/… folder in the tree. I didn’t see a specific way to override this for custom types.
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Custom Mime-Types & ERAttachment (From: Kevin Hinkson <email@hidden>)
 >Re: Custom Mime-Types & ERAttachment (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: Custom Mime-Types & ERAttachment
  • Next by Date: Re: WOWODC 2013 presentations
  • Previous by thread: Re: Custom Mime-Types & ERAttachment
  • Next by thread: Re: WOWODC 2013 presentations
  • Index(es):
    • Date
    • Thread