You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hivemind.apache.org by Andrea Chiumenti <ki...@gmail.com> on 2007/03/16 16:37:09 UTC
Contributing strings
Hello,
I have a design problem in hivemind1.1. I currently have defined into my
hivemodule.xml the following code:
<schema id="roles">
<element name="role">
<attribute name="id" required="true"/>
<conversion class="org.jfly.security.JFlyRole" />
</element>
</schema>
<configuration-point id="AccessAll" schema-id="roles"/>
<contribution configuration-id="AccessAll">
<role id="administrator"/>
<role id="user"/>
<role id="guest"/>
<role id="broker"/>
</contribution>
I'd like to contribute roles as strings more or less the same way I'm doing
now (<role id="guest"/>), but I don't know how to write the element .
Could you please tell me how to do?
Thx in advance,
Kiuma
Re: Contributing strings
Posted by Andrea Chiumenti <ki...@gmail.com>.
Thank you very much!
kiuma
On 3/16/07, Shing Hing Man <ma...@yahoo.com> wrote:
>
> There is an example on how to create a
> contribution of Strings at the following page.
>
> http://lombok.demon.co.uk/hiveMind/welcome
>
> Shing
>
>
> --- Andrea Chiumenti <ki...@gmail.com> wrote:
>
> > Hello,
> > I have a design problem in hivemind1.1. I currently
> > have defined into my
> > hivemodule.xml the following code:
> >
> > <schema id="roles">
> > <element name="role">
> > <attribute name="id" required="true"/>
> > <conversion
> > class="org.jfly.security.JFlyRole" />
> > </element>
> > </schema>
> >
> > <configuration-point id="AccessAll"
> > schema-id="roles"/>
> > <contribution configuration-id="AccessAll">
> > <role id="administrator"/>
> > <role id="user"/>
> > <role id="guest"/>
> > <role id="broker"/>
> > </contribution>
> >
> > I'd like to contribute roles as strings more or less
> > the same way I'm doing
> > now (<role id="guest"/>), but I don't know how to
> > write the element .
> >
> > Could you please tell me how to do?
> >
> > Thx in advance,
> > Kiuma
> >
>
> Home page :
> http://uk.geocities.com/matmsh/index.html
>
>
>
>
>
> ___________________________________________________________
> New Yahoo! Mail is the ultimate force in competitive emailing. Find out
> more at the Yahoo! Mail Championships. Plus: play games and win prizes.
> http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
>
Re: Contributing strings
Posted by Shing Hing Man <ma...@yahoo.com>.
There is an example on how to create a
contribution of Strings at the following page.
http://lombok.demon.co.uk/hiveMind/welcome
Shing
--- Andrea Chiumenti <ki...@gmail.com> wrote:
> Hello,
> I have a design problem in hivemind1.1. I currently
> have defined into my
> hivemodule.xml the following code:
>
> <schema id="roles">
> <element name="role">
> <attribute name="id" required="true"/>
> <conversion
> class="org.jfly.security.JFlyRole" />
> </element>
> </schema>
>
> <configuration-point id="AccessAll"
> schema-id="roles"/>
> <contribution configuration-id="AccessAll">
> <role id="administrator"/>
> <role id="user"/>
> <role id="guest"/>
> <role id="broker"/>
> </contribution>
>
> I'd like to contribute roles as strings more or less
> the same way I'm doing
> now (<role id="guest"/>), but I don't know how to
> write the element .
>
> Could you please tell me how to do?
>
> Thx in advance,
> Kiuma
>
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk