Re: question about swarm

2010-01-12 Thread Emond Papegaaij
. Sent via BlackBerry from T-Mobile -Original Message- From: Olger Warnier ol...@xs4all.nl Date: Thu, 31 Dec 2009 22:35:22 To: users@wicket.apache.org Subject: Re: question about swarm Hi Sam Jeremy, Together with the remark that Jeremy made - I agree

Re: question about swarm

2010-01-07 Thread Olger Warnier
: Olger Warnier ol...@xs4all.nl Date: Thu, 31 Dec 2009 22:35:22 To: users@wicket.apache.org Subject: Re: question about swarm Hi Sam Jeremy, Together with the remark that Jeremy made - I agree, it is quite fragile - I had a look at the code that does the checks. I could 'assume

Re: question about swarm

2010-01-07 Thread Emond Papegaaij
looking at the source code. Sent via BlackBerry from T-Mobile -Original Message- From: Olger Warnier ol...@xs4all.nl Date: Thu, 31 Dec 2009 22:35:22 To: users@wicket.apache.org Subject: Re: question about swarm Hi Sam Jeremy, Together with the remark that Jeremy made - I

Re: question about swarm

2010-01-06 Thread Emond Papegaaij
been working with swam for 3 days. But I will do some looking at the source code. Sent via BlackBerry from T-Mobile -Original Message- From: Olger Warnier ol...@xs4all.nl Date: Thu, 31 Dec 2009 22:35:22 To: users@wicket.apache.org Subject: Re: question about swarm Hi Sam

Re: question about swarm

2010-01-06 Thread Olger Warnier
To: users@wicket.apache.org Subject: Re: question about swarm Hi Sam Jeremy, Together with the remark that Jeremy made - I agree, it is quite fragile - I had a look at the code that does the checks. I could 'assume' that an anonymous class needs the same rights as the 'normal' class. so

Re: question about swarm

2010-01-06 Thread Emond Papegaaij
- From: Olger Warnier ol...@xs4all.nl Date: Thu, 31 Dec 2009 22:35:22 To: users@wicket.apache.org Subject: Re: question about swarm Hi Sam Jeremy, Together with the remark that Jeremy made - I agree, it is quite fragile - I had a look at the code that does the checks. I could

Re: question about swarm

2009-12-31 Thread Olger Warnier
Hi Sam, I have added a sample to the secureform sample where the home page creates an anonymous class of the MySecurePage An anonymous page has a kind of a class name. Look for a ERROR - RequestCycle - Not authorized to instantiate class

Re: question about swarm

2009-12-31 Thread Sam Barrow
I know I can do that, but there's no way do do it by inheritance? I have hundreds of anonymous subclasses throughout my application. Seems sensible that subclasses should inherit their parent's permissions. On Thu, 2009-12-31 at 10:41 +0100, Olger Warnier wrote: Hi Sam, I have added a sample

Re: question about swarm

2009-12-31 Thread Jeremy Thomerson
That's extremely fragile. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Dec 31, 2009 at 3:41 AM, Olger Warnier ol...@xs4all.nl wrote: Hi Sam, I have added a sample to the secureform sample where the home page creates an anonymous class of the MySecurePage An anonymous page

Re: question about swarm

2009-12-31 Thread Olger Warnier
Hi Sam Jeremy, Together with the remark that Jeremy made - I agree, it is quite fragile - I had a look at the code that does the checks. I could 'assume' that an anonymous class needs the same rights as the 'normal' class. so when your CreateItemPage has the proper rights, an anonymous

Re: question about swarm

2009-12-31 Thread sam
at the source code. Sent via BlackBerry from T-Mobile -Original Message- From: Olger Warnier ol...@xs4all.nl Date: Thu, 31 Dec 2009 22:35:22 To: users@wicket.apache.org Subject: Re: question about swarm Hi Sam Jeremy, Together with the remark that Jeremy made - I agree, it is quite

Re: question about swarm

2009-12-31 Thread Olger Warnier
looking at the source code. Sent via BlackBerry from T-Mobile -Original Message- From: Olger Warnier ol...@xs4all.nl Date: Thu, 31 Dec 2009 22:35:22 To: users@wicket.apache.org Subject: Re: question about swarm Hi Sam Jeremy, Together with the remark that Jeremy made - I agree

Re: question about swarm

2009-12-31 Thread sam
Wow that was quick. Thanks a lot I really appreciate it Sent via BlackBerry from T-Mobile -Original Message- From: Olger Warnier ol...@xs4all.nl Date: Thu, 31 Dec 2009 23:31:34 To: users@wicket.apache.org Subject: Re: question about swarm Hi Sam, Found the way to solve

question about swarm

2009-12-30 Thread Sam Barrow
I hope this is the right list for wasp/swarm. How do i manage permissions for an anonymous subclass? I have a page called ItemPage. I can view ItemPage, but if I try to redirect to an anonymous subclass of ItemPage, i get an access denied error. this works: setResponsePage(new