[Xsltforms-support] .properties files
Brought to you by:
alain-couthures
From: Jason K. <ja...@bi...> - 2009-12-04 16:48:01
|
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 |