|
|
Choosing A Webhost: |
svn commit: r225676 - /lenya/docu/src/documentation/content/xdocs/1_2_x/how: msg#00105cms.lenya.cvs
Author: antonio Date: Wed Jul 27 20:05:50 2005 New Revision: 225676 URL: http://svn.apache.org/viewcvs?rev=225676&view=rev Log: Fix typos Modified: lenya/docu/src/documentation/content/xdocs/1_2_x/how-to/cms_menus.xml Modified: lenya/docu/src/documentation/content/xdocs/1_2_x/how-to/cms_menus.xml URL: http://svn.apache.org/viewcvs/lenya/docu/src/documentation/content/xdocs/1_2_x/how-to/cms_menus.xml?rev=225676&r1=225675&r2=225676&view=diff ============================================================================== --- lenya/docu/src/documentation/content/xdocs/1_2_x/how-to/cms_menus.xml (original) +++ lenya/docu/src/documentation/content/xdocs/1_2_x/how-to/cms_menus.xml Wed Jul 27 20:05:50 2005 @@ -33,9 +33,9 @@ </section><section><title id="head-8e7bea88bc6cc2c0ef5910f4785f11121b6ebde2">Lenya Core Documentation</title> -<p>There is some information on the CMS Menus in the official Lenya documentation, but it's hidden in a pleace where you might not expect it. So here's a link: <a href="site:menubar">Menubar documentation</a> </p> +<p>There is some information on the CMS Menus in the official Lenya documentation, but it's hidden in a place where you might not expect it. So here's a link: <a href="site:menubar">Menubar documentation</a> </p> <p>Make sure you read that before continuing reading this page here! </p> -<p>Unfortunately the picture on the page mentioned above is a bit misleading. You might think that "Usecases" and "Workflow" steps in read in the right part of the picture refer to XSLT stylesheets which are applied using the XSLT transformer. This is not the case! They are own transformers implemted directly in the Lenya Java layer: </p> +<p>Unfortunately the picture on the page mentioned above is a bit misleading. You might think that "Usecases" and "Workflow" steps in read in the right part of the picture refer to XSLT stylesheets which are applied using the XSLT transformer. This is not the case! They are own transformers implemented directly in the Lenya Java layer: </p> <source> <map:transformer name="workflowmenu" logger="lenya.sitemap.transformer.workflowmenu" src="org.apache.lenya.cms.cocoon.transformation.WorkflowMenuTransformer"/> @@ -44,11 +44,11 @@ <p>Nevertheless they do exactly what is described in the picture: They disable menu options if they are not accessible because </p> <ul> <li><p> executing the usecase requires a role which the user belonging to the current session is lacking or </p></li> -<li><p> the current workflow state of the document forbidds the usecase </p></li> +<li><p> the current workflow state of the document forbids the usecase </p></li> </ul> </section><section><title id="head-f06da7765bdcb4fdb7ca94cedada41bafeee1d5b">Introducing a new menu option</title> -<p>First of all, before you start adding a new menu option to the CMS menus, ask yourself what usecase should be linked to that menu option and if the usecase exists already. If you find out that you need a new usecase as well, it is up to you if you first implement the new usecase and test it manuelly by invoking the appropriate URIs and then add the menu option or do it vice versa. It is just important that you understand that it will take both: The usecase and the menu option to enable new functionality for the user. </p> +<p>First of all, before you start adding a new menu option to the CMS menus, ask yourself what usecase should be linked to that menu option and if the usecase exists already. If you find out that you need a new usecase as well, it is up to you if you first implement the new usecase and test it manually by invoking the appropriate URIs and then add the menu option or do it vice versa. It is just important that you understand that it will take both: The usecase and the menu option to enable new functionality for the user. </p> <p>According to the page on the core documentation mentioned above, the CMS menus are defined in an XML document like this: </p> <source> @@ -71,7 +71,7 @@ </section><section><title id="head-717f7a242c8db5f6fb81e54e27fcbcf590009452">Edit generic.xsp to add the item for the menu option</title> -<p>In practive this XML is generated of an XSP which you can find in </p> +<p>In practice this XML is generated of an XSP which you can find in </p> <p><em>lenya/pubs/<your-pub>/config/menus/generic.xsp</em> </p> <p>Edit this XSP to add your new menu item! </p> <p>The XSP is used in the following section of global-sitemap.xmap: </p> @@ -159,4 +159,4 @@ <p>This means if you added your new menu option to the XSP it should show up in the menu. But it might be grayed out. </p> <p>If this is the case, either the workflowmenu or the usecasemneu transformer decided based on the workflow configuration or based on the usecase policy that this option is not available to this user at this point in time. You may want to check the appropriate configurations to check why this is the case. </p> <p>The usecase configuration can be found in <em>lenya/pubs/<your-pub>/config/ac/usecase-policies.xml</em> </p></section> </body> -</document> \ No newline at end of file +</document>
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | svn commit: r225214 - in /lenya/trunk/src/webapp/lenya/pubs/blog: sitemap.xmap xslt/feed/xinclude.xsl, michi |
|---|---|
| Next by Date: | svn commit: r225768 - /lenya/trunk/src/java/org/apache/lenya/cms/publication/DefaultResourcesManager.java, andreas |
| Previous by Thread: | svn commit: r225214 - in /lenya/trunk/src/webapp/lenya/pubs/blog: sitemap.xmap xslt/feed/xinclude.xsl, michi |
| Next by Thread: | svn commit: r225768 - /lenya/trunk/src/java/org/apache/lenya/cms/publication/DefaultResourcesManager.java, andreas |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |