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 protected]> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to