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: r533149 - /lenya/docu/src/documentation/content/xdocs/docs/modu: msg#00232

cms.lenya.cvs

Subject: svn commit: r533149 - /lenya/docu/src/documentation/content/xdocs/docs/modules/xopus/index.xml

Author: andreas
Date: Fri Apr 27 08:58:45 2007
New Revision: 533149

URL: http://svn.apache.org/viewvc?view=rev&rev=533149
Log:
Added docs for xopus module (copied from readme file)

Modified:
lenya/docu/src/documentation/content/xdocs/docs/modules/xopus/index.xml

Modified:
lenya/docu/src/documentation/content/xdocs/docs/modules/xopus/index.xml
URL:
http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/modules/xopus/index.xml?view=diff&rev=533149&r1=533148&r2=533149
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/modules/xopus/index.xml
(original)
+++ lenya/docu/src/documentation/content/xdocs/docs/modules/xopus/index.xml Fri
Apr 27 08:58:45 2007
@@ -31,5 +31,73 @@
<a href="http://xopus.com";>Xopus</a> WYSIWYG editor.
</p>
</section>
+
+ <section>
+ <title>Installation</title>
+ <ol>
+ <li>
+ Download your preferred Xopus release (i.e. Xopus-2.1.79) from <a
href="http://xopus.com";>http://xopus.com</a>.
+ </li>
+ <li>
+ Follow the installation instructions to install it on your server
+ (in this case we are unzipping to the Tomcat
<code>webapps/ROOT</code> directory).
+ </li>
+ <li>
+ <p>
+ Configure the Xopus context and path in
<code>(local.)build.properties</code>, e.g.
+ </p>
+ <source xml:space="preserve">xopus.context=Xopus-2.1.79
+xopus.path=relative/path/to/tomcat/webapps/ROOT</source>
+ </li>
+ <li>
+ Set these same two parameters in
<code>modules/xopus/config/cocoon-xconf/input-modules/xopus.xconf</code>.
+ </li>
+ <li>
+ [optional] If you wish to use a resource type other than
<code>xhtml</code>,
+ create a resource type-specific XSLT file in
<code>$PUB_HOME/modules/xopus/xslt/{resource-type}.xsl</code>.
+ </li>
+ <li>
+ [optional] This applies only if you do step 5. Create a resource
type-specific XSD schema file
+ in
<code>$PUB_HOME/modules/xopus/resources/schemas/{resource-type}.xsd</code>.
+ </li>
+ <li>
+ <p>
+ TODO: Add the xopus module call to menu.xsp
+ </p>
+ <p>
+ (Currently menu.xsp only recognizes usecases when creating the
URL, we need to modify the stylesheet to
+ accept lenya.module in addition to lenya.usecase. It should look
similar to what is shown below.)
+ </p>
+ <p>
+ Note by Andreas Hartmann: I don't think we should use a module URL
but rather a usecase URL.
+ </p>
+ <p>
+ <code>menu.xsp</code>:
+ </p>
+ <source xml:space="preserve"><![CDATA[[...]
+<menu i18n:attr="name" name="Edit">
+ <xsp:logic>
+ String doctype = <input:get-attribute module="page-envelope" as="string"
name="document-type"/>;
+ if ("xhtml".equals(doctype)) {
+ <block info="false">
+ <item wf:event="edit" uc:usecase="bxe.edit" href="?"><i18n:text>With
BXE</i18n:text></item>
+ <item wf:event="edit" uc:usecase="editors.oneform"
href="?"><i18n:text>With one Form</i18n:text></item>
+ <item wf:event="edit" mod:module="xopus"
href="?lenya.step=open"><i18n:text>With Xopus</i18n:text></item>
+ </block>
+ }
+ </xsp:logic>
+</menu>
+[...]]]></source>
+ </li>
+ <li>
+ Build Lenya.
+ </li>
+ <li>
+ Try to edit your document by adding
<code><![CDATA[?lenya.module=xopus&lenya.step=open]]></code>
+ to the url and hitting enter. This will eventually be replaced by
the menu entry in step 7.
+ </li>
+ </ol>
+ </section>
+
</body>
</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