I'm attempting to follow the instructions in FAQ 5.1
for removing the Orbeon examples theme from my application. When I do, I get this error: "ASTChoose brand number 2 does not declare the same ids [theme-data] as the previous branches[]" Most likely I have the markup messed up, but I want to check and see if anyone knows of an additional instruction that's missing or if this instruction needs amending. Thanks, Don ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Here's my unified diff for the patch I applied to epilogue-servlet.xpl to get
rid of the left side navigation, which works for me. YMMV depending on your version of Orbeon - I think mine is nightly build dated 20080425 ? (Line numbers don't necessarily match yours, especially if you have a different version ) br, VG --- epilogue-servlet.xpl.orig 2008-05-06 09:36:08.000000000 +0300 +++ epilogue-servlet.xpl 2008-05-06 10:27:10.000000000 +0300 @@ -53,29 +53,33 @@ <p:when test="/xhtml:html"> <!-- Apply theme and perform URL rewriting --> - <!-- Pick theme --> +<!-- + - Pick theme - <p:choose href="#request"> <p:when test="starts-with(/request/request-path, '/doc/') or starts-with(/request/request-path, '/fr/') or starts-with(/request/request-path, '/xforms-renderer') or /request/parameters/parameter[name = 'orbeon-theme']/value = 'plain'"> - <!-- Plain theme --> + - Plain theme - +--> <p:processor name="oxf:identity"> <p:input name="data"> <config>oxf:/config/theme-plain.xsl</config> </p:input> <p:output name="data" id="theme-config"/> </p:processor> + +<!-- </p:when> <p:otherwise> - <!-- Get theme from property --> + - Get theme from property - <p:processor name="oxf:identity"> <p:input name="data" href="aggregate('config', #request#xpointer(p:property('oxf.epilogue.theme')))"/> <p:output name="data" id="theme-config"/> </p:processor> </p:otherwise> </p:choose> - +--> <!-- Apply theme if needed --> <p:choose href="#request"><!-- dummy test input --> <p:when test="not(p:property('oxf.epilogue.use-theme') = 'false')"> -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |