Re: Bean Validation

2011-08-26 Thread Igor Drobiazko
tapestry-beanvalidator depends only on JSR 303 specification. You need to drop an implementation of the specification (like Hibernate Validator) on the classpath. It is not provided by Tapestry. Regarding contribution to BeanValidatorSource: you don't need to contribute anything in order to

tynamo tapestry-security 0.4.0 role based url peimission questions

2011-08-26 Thread jqzone
my config // public static void contributeSecurityConfiguration(ConfigurationSecurityFilterChain configuration, SecurityFilterChainFactory factory) { configuration.add(factory.createChain(/channel/**).add(factory.roles(), manager).build()); } if user does not have the manager role,request will

Howard ,can you send me a copy of tapx based on tapestry 5.2.* ,Iwant to use tree components in my production Environment.

2011-08-26 Thread jqzone
I can not find it on https://github.com/hlship/tapx, and can not update to 5.3.*

Re: Bean Validation

2011-08-26 Thread Werner Keil
Great to hear, the JSR is fully supported. Is Tapestry 5.2 or 5.3 also compatible with JSR 330 instead of declaring its own @Inject? -- Werner Keil | UOMo Lead | Eclipse.org Twitter @wernerkeil | Skype: werner.keil | www.eclipse.org/uomo | #EclipseUOMo * JavaOne: October 2-6 2011, San

Re: Bean Validation

2011-08-26 Thread Taha Hafeez
Yes from 5.3 you can use javax.inject.Inject http://blog.tapestry5.de/index.php/2011/08/22/tapestry-5-3-preview/ On Fri, Aug 26, 2011 at 8:35 PM, Werner Keil werner.k...@gmail.com wrote: Great to hear, the JSR is fully supported. Is Tapestry 5.2 or 5.3 also compatible with JSR 330 instead

Re: Bean Validation

2011-08-26 Thread Igor Drobiazko
yep, JSR 303 since 5.2 and JSR 330 since 5.3 On Fri, Aug 26, 2011 at 5:05 PM, Werner Keil werner.k...@gmail.com wrote: Great to hear, the JSR is fully supported. Is Tapestry 5.2 or 5.3 also compatible with JSR 330 instead of declaring its own @Inject? -- Werner Keil | UOMo Lead |

Re: tynamo tapestry-security 0.4.0 role based url peimission questions

2011-08-26 Thread cqasker
I had this exact problem. The reason turned out was that the authorization filter was not setting the the url. To fix this I overrode the SecurityFilterChainFactory service: In your app module do: public static void bind(ServiceBinder binder) { //override

Re: Bean Validation

2011-08-26 Thread Serge Eby
You are missing the tapestry-beanvalidator in your gradle build file /Serge -- View this message in context: http://tapestry-users.832.n2.nabble.com/Bean-Validation-tp6726904p6729278.html Sent from the Tapestry Users mailing list archive at Nabble.com.

Re: Howard ,can you send me a copy of tapx based on tapestry 5.2.* ,Iwant to use tree components in my production Environment.

2011-08-26 Thread Serge Eby
Hi, Use the 1.1-SNAPSHOT here: http://howardlewisship.com/snapshot-repository /Serge -- View this message in context: http://tapestry-users.832.n2.nabble.com/Howard-can-you-send-me-a-copy-of-tapx-based-on-tapestry-5-2-Iwant-to-use-tree-components-in-my-produ-tp6729040p6729345.html Sent from

Validate without a form field

2011-08-26 Thread David Rees
Trying to validate a request parameter but without using a form field. Was going down the route of @Injecting a FieldValidatorSource and then using that to create a validator which I can then use to validate the parameter, but that requires me to insert a Field into the tml file and the tml file