This is perhaps quite a novice question.... Tonight, I switched from OPS 3.0.1 to OPS 3.5.M1 (build 26-Sep-2006 23:12). I used to style my application by modifying the theme.xsl file located in resources/config/theme. As I could understand from previous postings, this file has been moved into a jar archive. Can someone explain me how to theme my application in this new context ? Kind regards -- Martin Mohnhaupt Nice Data Systems Rue de Lyon 42 - CH 1203 GENEVE Tél: +41 (0) 22 344 11 39 Mob: +41 (0) 78 636 00 75 Email: [hidden email] Web: http://www.nicedata.com Skype: martin.mohnhaupt -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
As I understand it, you can still leave the file in that location and OPS will load it from that location rather from the JAR. I do this with CSS and JS files that I need to overwrite.
Jay ________________________________ From: Martin Mohnhaupt [mailto:[hidden email]] Sent: Tue 9/26/2006 5:47 PM To: OPS Users Subject: [ops-users] How to theme my application Hello, This is perhaps quite a novice question.... Tonight, I switched from OPS 3.0.1 to OPS 3.5.M1 (build 26-Sep-2006 23:12). I used to style my application by modifying the theme.xsl file located in resources/config/theme. As I could understand from previous postings, this file has been moved into a jar archive. Can someone explain me how to theme my application in this new context ? Kind regards -- Martin Mohnhaupt Nice Data Systems Rue de Lyon 42 - CH 1203 GENEVE Tél: +41 (0) 22 344 11 39 Mob: +41 (0) 78 636 00 75 Email: [hidden email] Web: http://www.nicedata.com <http://www.nicedata.com/> Skype: martin.mohnhaupt -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws winmail.dat (5K) Download Attachment |
Dear Jay,
Thanks for your help. I created a "theme" folder under resources/config into which I copied my OPS 3.0.1 theme.xsl file. I made some slight adjustments: 1) Replaced line <xsl:include href="formatting.xsl"/> with <xsl:include href="oxf:/ops/utils/formatting/formatting.xsl"/> 2) In <xhtml:head>, removed all the code, except my own and <xhtml:link rel="stylesheet" href="/config/theme/xforms.css" type="text/css"/> Now, the application works (!) and looks like before. I got a few "Java heap space" errors, but this may be another story :-) Thanks again ! Martin Jay Klehr wrote: As I understand it, you can still leave the file in that location and OPS will load it from that location rather from the JAR. I do this with CSS and JS files that I need to overwrite. Jay ________________________________ From: Martin Mohnhaupt [[hidden email]] Sent: Tue 9/26/2006 5:47 PM To: OPS Users Subject: [ops-users] How to theme my application Hello, This is perhaps quite a novice question.... Tonight, I switched from OPS 3.0.1 to OPS 3.5.M1 (build 26-Sep-2006 23:12). I used to style my application by modifying the theme.xsl file located in resources/config/theme. As I could understand from previous postings, this file has been moved into a jar archive. Can someone explain me how to theme my application in this new context ? Kind regards -- Martin Mohnhaupt Nice Data Systems Rue de Lyon 42 - CH 1203 GENEVE Tél: +41 (0) 22 344 11 39 Mob: +41 (0) 78 636 00 75 Email: [hidden email] Web: http://www.nicedata.com Skype: martin.mohnhaupt -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |