Jason,
I did look at the example, FluxRoleList.* in particular. The only thing I am
doing different to you is I have setup a couple of fixed roles (i only need
2) in a service run at startup and my pull tool actual returns a List class
not a Role[]. I am new to Java so it may be my misunderstanding on how an
array converts to a List ala-
Role[] roles=TurbineSecurity.getRoles(crit).getRolesArray();
return Arrays.asList(roles);
I use a List to load all other non TurbineSecurity objects into and all is
fine. I have printed roles[0].getName to the log so I know it is being
retrieved.
I am still at a loss to explain why this does not work. I'd use Role[] if I
could work out how to select a default selected role if none was previuosly
selected in VTL.
Thanks
David
-----Original Message-----
From: Jason van Zyl [mailto:[EMAIL PROTECTED]]
Sent: 02 November 2001 13:58
To: Turbine Users List
Subject: Re: More struggles with TurbineSecurity framework
On 11/2/01 8:55 AM, "David Wynter" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have posted 4 times previously to this list and only once got a response
> and that was a friend I was working on a project with. So I must be doing
> something completely off the wall to get no help from the people on the
list
> who 'know'.
Look at the fully working flux example.
--
jvz.
Jason van Zyl
http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>