I've just noticed that you can load any orbeon forms with the following parameter:
?orbeon-theme=plain
To load the page without the Orbeon banner and navigation.
You can also make modifications to epilogue-servlet.xpl to create a case for specific pages. For example, I've created a page called xforms-submit and I want to load that page using the plain theme (theme-plain.xsl). Editing /config/epilogue-servlet.xpl (on line 56 in v 3.6.0) and adding this rule:
starts-with(/request/request-path, '/xforms-submit/')
Achieves the desired effect.
So after adding this, my line looks like this:
<p:when test="starts-with(/request/request-path, '/doc/') or starts-with(/request/request-path, '/xforms-submit/') or starts-with(/request/request-path, '/fb/') or starts-with(/request/request-path, '/fr/') or /request/parameters/parameter[name = 'orbeon-theme']/value = 'plain'">
Saturday, April 12, 2008
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2009
(23)
-
▼
June
(10)
- Daisy CMS - connecting a JMS listener to the repos...
- Daisy CMS - customising the footer of the editor p...
- Daisy CMS - allowing attributes in the SimpleDocum...
- JSF - ensuring your [xhtml] pages load with a text...
- Eclipse Galileo (3.5): Creating and running a JSF ...
- Using Eclipse Galileo to develop JSF applications ...
- SVN Web view - looking at older revisions
- Notes on setting up mod_proxy on apache 2.2 for pr...
- Addressing stability issues when running Eclipse 3...
- Forcing glassfish 2.1 to start-up with JDK1.6 (OSX...
-
►
April
(6)
- XSLT, text-transform:captialize and Excel workbook...
- Structure for Regular Expressions in Javascript
- SQL Server : Granting EXEC on Stored Procedures
- Eclipse : Save Actions for autoformatting code and...
- Eclipse : Display heap status (like IntelliJ IDEA)...
- Eclipse : Display Java Type Indicator for classes
-
▼
June
(10)
2 comments:
Alex, This was very useful. You make Orbeon rock! Thanks
-arun
Aww - thanks, Arun :) Although the Orbeon developers (and all the people who help out on the forum) really should take the credit for making Orbeon rock!
Post a Comment