Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

svn commit: r225676 - /lenya/docu/src/documentation/content/xdocs/1_2_x/how: msg#00105

cms.lenya.cvs

Subject: svn commit: r225676 - /lenya/docu/src/documentation/content/xdocs/1_2_x/how-to/cms_menus.xml

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>
&lt;map:transformer name="workflowmenu"
logger="lenya.sitemap.transformer.workflowmenu"
src="org.apache.lenya.cms.cocoon.transformation.WorkflowMenuTransformer"/&gt;
@@ -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/&lt;your-pub&gt;/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/&lt;your-pub&gt;/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>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation