cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject [C2] Using your own shorthand names
Date Mon, 07 May 2001 16:17:35 GMT
I added the ability to use your own shorthand names for end
users/developers.  In order to take advantage of the ability,
you must use the "user-roles" attribute for the "cocoon" element.

EXAMPLE
-------

<cocoon version="2.0" user-roles="WEB-INF/myroles.roles">
  <my-role>
    <test>This Works!</test>
  </my-role>
</cocoon>

NOTE
----
All paths are relative to the context root. period.  The
syntax for the roles file is like this:

<role-list>
  <role name="com.mycom.myproj.RoleName"
        shorthand="my-role"
        default-class="com.mycom.myproj.ComponentInstance"/>
</role-list>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message