Mail Archive Home | exoplatform List | Febuary 2007 Index
| <-- Date Index --> | <-- Thread Index --> |
Just add to
$exo_home\projects\v2.x\exo-platform\commons\src\java\org\exoplatform\commons\utils\mimetypes.properties
svg=application/xhtml-xml
But only one svg key must be present!
Check additionally the $exo-home\v2.x\exo-ecm\
portlets\cms-content\src\webapp\WEB-INF\classes\locale\portlet\content\JCRExplorer.properties
Is exist a record for this mime-type? It affects to the icon view for the
corresponding mime-type of downloaded file.
For instance:
if "application/doc" is added to the
$exo_home\projects\v2.x\exo-platform\commons\src\java\org\exoplatform\commons\utils\mimetypes.properties,
than the JCRExplorer.properties file should be contain next record:
NodeType.icon.small.nt_file.application/doc=<img
src='#{local.icon.small}/doc.gif'/> where the doc.gif is your favorite icon
for this mime-type.
Zagrebin Victor
> Hi to All,
> I'm trying to use SVG inline in eXo Portal.To do this the Content-Type must
> be > > application/xhtml-xml (in Firefox).
> Usually, the portal send text/html.
> How can I change that?
> The RenderResponse.setContentType(..) in a Portlet seem don't work.
> Thanks.
> Massimo Gai
> CSI Piemonte
> Portali e MultimedialitЮ
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.