converted to 1.6 markup
|Deletions are marked like this.||Additions are marked like this.|
|Line 3:||Line 3:|
|See [http://jakarta.apache.org/slide/javadoc-2.1/javadoc/org/apache/slide/common/Namespace.html Namespace]||See [[http://jakarta.apache.org/slide/javadoc-2.1/javadoc/org/apache/slide/common/Namespace.html|Namespace]]|
|Line 38:||Line 38:|
|See ["WebXML"] for details.||See [[WebXML]] for details.|
Domain.xml Namespace Node
A Namespace contains a hierarchically organized tree of information. (analogous to directories and files in a filesystem)
"Objects in the namespace are generally referred to as Nodes. Nodes may have a parent, children, content and meta-data. They can also be versioned (so that multiple revisions of the object's content and metadata are stored) and locked (so that only specific principals are allowed to read or modify the object). In addition, access control information can be assigned to every node.
Nodes in the hierarchy are identified by their URI (Unique Resource Identifier). A URI is analogous to a file path in traditional file systems. For example:
As you can see, the slash ("/") is used to separate nodes in the path.
Client applications can not access a Namespace object directly. Instead, access must be requested from the Domain, which will hand out a proxy object (NamespaceAccessToken) that enables the client application to access the namespace using the helpers. Namespaces are necessarily self-contained. What this means is that a namespace cannot reference or contain links to another namespace. A namespace is typically assigned per-application, which effectively isolates it's data and security context from those of other applications. "
If your the name of your namespace is not slide make sure to make the appropriate changes in the web.xml file, in particular the namespace parameter.
<servlet> ... <init-param> <param-name>namespace</param-name> <param-value>slide</param-value> <description> Name of the Slide namespace that should be accessed by this servlet. If this parameter is provided, make sure the corresponding namespace is defined in the domain configuration file. Otherwise, the default namespace will be used, if one exists. </description> </init-param> ...
See WebXML for details.
<namespace name="slide"> <definition> <store name="tx"> ... </store> <scope match="/" store="tx"/> </definition> <configuration> ... </configuration> <data> ... </data> </namespace>