Re: Issues / feature requests for tapestry-security?

2011-12-20 Thread Norman Franke
Yes, I'm not sure how I missed that. Thanks. Norman Franke Answering Service for Directors, Inc. www.myasd.com On Dec 20, 2011, at 2:54 PM, Lenny Primak wrote: Doesn't this do what you want? @RequiresRoles(logical = Logical.OR, value = { "RoleA", "RoleB", "RoleC" }) On Dec 20, 2011, at 2

Re: Issues / feature requests for tapestry-security?

2011-12-20 Thread Lenny Primak
Doesn't this do what you want? @RequiresRoles(logical = Logical.OR, value = { "RoleA", "RoleB", "RoleC" }) On Dec 20, 2011, at 2:44 PM, Norman Franke wrote: > I'd like to see an annotation option that lets you do an or on the roles, so > I can have a page that requires one of several roles. Righ

Re: Issues / feature requests for tapestry-security?

2011-12-20 Thread Thiago H. de Paula Figueiredo
On Tue, 20 Dec 2011 17:44:50 -0200, Norman Franke wrote: I'd like to see an annotation option that lets you do an or on the roles, so I can have a page that requires one of several roles. Right now it "ands" them together, which is generally never what I want. Maybe if you can insert the @

Re: Issues / feature requests for tapestry-security?

2011-12-20 Thread Norman Franke
I'd like to see an annotation option that lets you do an or on the roles, so I can have a page that requires one of several roles. Right now it "ands" them together, which is generally never what I want. Maybe if you can insert the @RequiresRoles multiple times and if any match, it lets it

Re: Tapestry 5 error page inspiring Groovy 2.0

2011-12-20 Thread Dragan Sahpaski
Playframework has a similar exception page also. http://www.google.com/imgres?um=1&hl=en&authuser=0&biw=1365&bih=603&tbm=isch&tbnid=IIigjHjcUy-q9M:&imgrefurl=http://www.lunatech-research.com/archives/2010/03/15/play-framework-usability&docid=Jnmurti7FEZFKM&imgurl=http://www.lunatech-research.com/s

Re: Tapestry 5 error page inspiring Groovy 2.0

2011-12-20 Thread Howard Lewis Ship
One of my favorite parts of 5.3 is the way Ajax updates (actually, Zone Ajax requests) that fail on the server get the full exception report as a lightbox-style iframe. On Tue, Dec 20, 2011 at 6:41 AM, Muhammad Gelbana wrote: > It ought to be inspired. Tapestry is simply exceptional. > > On Thu,

Issues / feature requests for tapestry-security?

2011-12-20 Thread Kalle Korhonen
After grueling six months of development on Android, I'm back at the server side. I'll be cutting a new, T5.3 specific version of Tynamo's tapestry-security in the near future, though unfortunately it won't make it to Santa's sleigh. I'm hoping to also pick up Shiro 1.2 as a dependency if we get th

Re: Grid now displays public static fields of object

2011-12-20 Thread Thiago H. de Paula Figueiredo
On Tue, 20 Dec 2011 14:16:43 -0200, Howard Lewis Ship wrote: It is true; perhaps there should be a way for Grid to exclude static fields; basically, it sees normal properties, public instance fields, and public static fields as properties. Shouldn't BeanModelSource ignore static fields and

Re: shiro

2011-12-20 Thread Kalle Korhonen
On Tue, Dec 20, 2011 at 3:45 AM, csckid wrote: >  public static void > contributeSecurityConfiguration(Configuration > configuration, >                        SecurityFilterChainFactory factory) { > > configuration.add(factory.createChain("/medicine/create").add(factory.roles(),"employee, > doctor

Re: Grid now displays public static fields of object

2011-12-20 Thread Howard Lewis Ship
On Tue, Dec 20, 2011 at 7:55 AM, Szemere Szemere wrote: > I recently upgraded from 5.2.5 to 5.3, which I must say was very > straightforward. :) > > A minor issue we've just noticed is, that Grid now shows as columns any > public static fields of the objects listed by the grid. Is this by design

Grid now displays public static fields of object

2011-12-20 Thread Szemere Szemere
I recently upgraded from 5.2.5 to 5.3, which I must say was very straightforward. :) A minor issue we've just noticed is, that Grid now shows as columns any public static fields of the objects listed by the grid. Is this by design (a change in spec) or a bug? The workaround is simple, simply u

Re: Tapestry 5 error page inspiring Groovy 2.0

2011-12-20 Thread Muhammad Gelbana
It ought to be inspired. Tapestry is simply exceptional. On Thu, Dec 15, 2011 at 11:04 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Hi! > > Take a look at http://grails.org/doc/2.0.x/**guide/introduction.html#** > whatsNew

Re: Using loop inside a form without ValueEncoder

2011-12-20 Thread Thiago H. de Paula Figueiredo
On Mon, 19 Dec 2011 23:57:33 -0200, Nefron wrote: From Tapestry loop documentation: "With no extra configuration, each value object will be serialized into the form (if you view the rendered markup, you'll see a hidden form field containing serialized data needed by Tapestry to process th

Re: shiro

2011-12-20 Thread csckid
I tried this public static void contributeSecurityConfiguration(Configuration configuration, SecurityFilterChainFactory factory) { configuration.add(factory.createChain("/medicine/create").add(factory.roles(),"employee, doctor").build()); } and @RequiresRole

re: url rewrite: Adding PageRenderLinkTransformer and ComponentEventLinkTransformer

2011-12-20 Thread Jens Reufsteck
Sorry, got it. I could use contributePageRenderLinkTransformer and contributeComponentEventLinkTransformer. -- Jens Reufsteck

Re: Exception assembling embedded component 'exceptiondisplay'

2011-12-20 Thread svc985
I was using tapestry 5.3.0 which is alpha release and as soon as I've figured that out, I've changed to tapestry 5.3 and it's ok now -- View this message in context: http://tapestry-users.832.n2.nabble.com/Exception-assembling-embedded-component-exceptiondisplay-tp7094972p7111387.html Sent from

Re: For learning Tapestry5

2011-12-20 Thread jeczmien
http://jumpstart.doublenegative.com.au/jumpstart/ and paper book: Tapestry 5 by Igor Drobiazko -- View this message in context: http://tapestry.1045711.n5.nabble.com/For-learning-Tapestry5-tp5088111p5088278.html Sent from the Tapestry - User mailing list archive at Nabble.com. --