|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Contributing stringsHello,
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 stringsThere 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 <kiuma72@...> 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 stringsThank you very much!
kiuma On 3/16/07, Shing Hing Man <matmsh@...> wrote: There is an example on how to create a |
| Free embeddable forum powered by Nabble | Forum Help |