Re: [Xsltforms-support] .properties files
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2009-12-05 13:50:39
|
Jason, Thank you for this tip about IIS and XSLTForms. I'm thinking about having an XML notation for messages and other options so I hope this will not be anymore a problem in the next release. -Alain > > Hi, > > Some information about compatibility with IIS and ASP.Net: > > I've gotten the XSLTForms to work properly on IIS, delivered as > dynamically generated ASPX page rather than a static xml - I don't > know if anyone has worked on that already but I'd be happy to share tips. > > One compatibility issue that I've noticed is that the .properties > files, such as messages.properties, are not servered by IIS (7.0 in my > case) by default. In such a scenario, the date-picker will not > function correctly, among other problems. Once you realize that the > resources won't load, it is easy to add the mime-type in the IIS msc > panel if you have rights. I added .properties to have a mimetype of > text/plain and that fixes it. If possible, I'd recommend changing > .properties to something else, but I don't have any recommendation of > what the extension should be. > > Rather than putting the mime-type in the IIS configuration, I've just > read that it can be done at the web.config level: > > <configuration> > <system.webServer> > <staticContent> > <mimeMap fileExtension=".properties" mimeType="text/plain" /> > </staticContent> > </system.webServer> > </configuration> > > > Jason Kleban > 949 259 3923 > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |