You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2004/06/21 16:00:05 UTC
[WIKI-UPDATE] LenyaApplicationLookandFeelHowto SpringPetstore Lenya Mon Jun 21 16:00:05 2004
Page: http://wiki.cocoondev.org/Wiki.jsp?page=LenyaApplicationLookandFeelHowto , version: 10 on Sun Jun 21 13:27:39 2004 by TorstenSchlabach
- $LENYA_DIR/lenya/pubs/__your_pub_name__/lenya/xslt/navigation/breadcrumbs.xsl
? ^^^ -----
+ $LENYA_DIR/lenya/pubs/__your_pub_name__/lenya/xslt/navigation/tabs.xsl
? ^
- $LENYA_DIR/lenya/pubs/__your_pub_name__/lenya/xslt/navigation/breadcrumbs.xsl
? ^^ ^^^^ ---
+ $LENYA_DIR/lenya/pubs/__your_pub_name__/lenya/xslt/navigation/menu.xsl
? ^ ^
+ and make the appropriate changes.
+
+ This is possible because of a built-in fallback mechanism that will make Lenya use the global XSLTs in case there are no local versions inside the publication. See the [Lenya Documentation >> The Navigation Framework|http-link-to-cocoon.apache.org/lenya/docs/components/layout/navigation.html] for details on this.
+
Page: http://wiki.cocoondev.org/Wiki.jsp?page=SpringPetstore , version: 3 on Sun Jun 21 14:31:02 2004 by UgoCei
+ ! Installation instructions
+
+ # Unzip the file in the src/blocks directory of your Cocoon 2.1.5 or CVS HEAD working directory.
+ # Edit spring/conf/spring.xconf and set the value of the {{<classpath>}} element to the absolute path to the {{dynjava}} subdirectory.
+ # Build Cocoon. This block depends on the following blocks, so be sure to include them in your {{local.blocks.properties}}: forms, databases, hsqldb. Exclude JARs validation from {{local.build.properties}}.
+ # Run Cocoon ({{cocoon servlet}}) and navigate to the "Spring" sample.
+
+ ! Authentication
+
+ In order for authentication to work, you need to manually configure the container, as this is not done by the build procedure. This are the steps required:
+
+ * Put a file named {{petstore.realm.properties}} in the {{tools/jetty/conf}} directory. Its contents should match the following:
+
+ {{{
+ j2ee: j2ee, petstore
+ ACID: ACID, petstore
+ }}}
+
+ * Edit the {{tools/jetty/conf/main.xml}} and insert the following at the end (just before the closing {{</Configure>}} tag):
+
+ {{{
+ <Call name="addRealm">
+ <Arg>
+ <New class="org.mortbay.http.HashUserRealm">
+ <Arg>PetStore</Arg>
+ <Arg><SystemProperty name="jetty.home" default="."/>/tools/jetty/conf/pe
+ tstore.realm.properties</Arg>
+ </New>
+ </Arg>
+ </Call>
+ }}}
+
Page: http://wiki.cocoondev.org/Wiki.jsp?page=Lenya , version: 118 on Sun Jun 21 13:17:16 2004 by TorstenSchlabach
- * [Change the look and feel of Lenya|LenyaApplicationLookandFeelHowto]
+ * [Change the look and feel of a Lenya publication|LenyaApplicationLookandFeelHowto]
? ++ ++++++++++++