Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Warning
titleIMPORTANT

When making a reference to any document in the wiki you should point to this autoexported HTML content, avoid pointing directly to Confluence content. If the page you are browsing does not have the Geronimo banner on top then you are not looking at the HTML version.

(tick) Good: http://cwiki.apache.org/geronimo/geronimo-cwiki-documentation-architecture.htmlImage Removed

(error) Bad: http://cwiki.apache.org/confluence/display/geronimo/Tips+for+writing+and+formatting+documentationImage Removed

Tip:
One way to get back to the HTML version of the page you just edited is to navigate to that particular page from http://cwiki.apache.org/geronimoImage Removed .

Refer to Geronimo cwiki documentation architecture for further details.

...

To create the diagram you could use any presentation software such as OpenOffice (http://www.openoffice.orgImage Removed) and export the slide as JPG and then attach it to the documentation page. THIS IS THE PREFERRED METHOD.

Alternatively you could use the "Add Diagram" option to build one chart online. This option depends on a plugin and uses a web based interface to create the various diagrams. For additional information on this plugin visit:

http://confluence.atlassian.com/display/CONFEXT/Gliffy+Plugin+for+Confluence+-+Diagram+and+draw+in+ConfluenceImage Removed

Command samples

...

Section
Column
width33%

For XML samples use:

No Format
borderStylesolid
{code:XML|borderStyle=solid|title=some_title}
XML code
{code}

The result will look like this:

Code Block
XMLXML
borderStylesolid
titlesome_title
XML
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.2">
    <environment>
        <moduleId>
            <groupId>sample.applications</groupId>
            <artifactId>SampledApp</artifactId>
            <version>2.0</version>
            <type>war</type>
        </moduleId>             
    </environment>
    <context-root>/sample</context-root>
</web-app>
Column
width33%

For Java samples use:

No Format
borderStylesolid
{code:JAVA|borderStyle=solid|title=file_name}
Java Code
{code}

The result will look like this:

JAVA
Code Block
JAVA
borderStylesolid
titlesome_title
JAVA
package org.apache.geronimo.samples.sampleapp;

import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Hashtable;

// ...
Column
width33%

For JavaScript samples use:

No Format
borderStylesolid
{code:JavaScript|borderStyle=solid|title=file_name}
JavaScript code
{code}

The result will look like this:

Code Block
JavaScriptJavaScript
borderStylesolid
titlesome_title
JavaScript
    <script language="JavaScript">
        function showBreadcrumbsEllipsis()
        {
            document.getElementById('breadcrumbsEllipsis').style.display = 'none';
            document.getElementById('breadcrumbsExpansion').style.display = 'inline';
        }
    </script>
Section
Column
width50%

For HTML samples use:

No Format
borderStylesolid
{code:ActionScript|borderStyle=solid|title=file_name}
HTML Code
{code}

The result will look like this:

HTML
Code Block
HTML
borderStylesolid
titlesome_title
HTML
<html>
<head>
    <title>Page title</title>
</head>
<body text="#000000" link="#000000" vlink="#666666">
    <h1> Some title </h1>
        <p> Some text... </p>
        ....
</body>
</html>
Column
width50%

For SQL samples use:

No Format
borderStylesolid
{code:SQL|borderStyle=solid|title=file_name}
SQL Code
{code}

The result will look like this:

SQL
Code Block
SQL
borderStylesolid
titlesome_title
SQL
CREATE TABLE customer(
        CUST_ID VARCHAR(15) PRIMARY KEY,
        CUST_NAME VARCHAR(40)   
);

INSERT INTO customer(CUST_ID,CUST_NAME) VALUES('12345','Your_Name');

...