Re: Hibernate Validator 4 released, any plans for adding support in T5?

2009-10-13 Thread Igor Drobiazko
On Tue, Oct 13, 2009 at 9:50 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> Em Tue, 13 Oct 2009 16:46:56 -0300, Igor Drobiazko <
> igor.drobia...@gmail.com> escreveu:
>
>  The integration of the JSR 303 is difficult without to break the
>> compatibility of the API beacuse the Tapestry validation mechanism is only
>> aware of a
>> value being validated.
>>
>
> One thing that is easy to do is to provide Validator implementations based
> on annotations (@NotNull -> required, @Min(n) -> min=n), etc.
>
I would not do it this way. Just image a bean which is used in several
projects (rich clients and tapestry apps). You want your validation work
same in all your apps.


> We'll probably need to define something like an ObjectValidator
> interface to provide validation of whole objects, not only invividual
> properties.

I'll start the discussion in the dev list.

>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko


Re: Hibernate Validator 4 released, any plans for adding support in T5?

2009-10-13 Thread Thiago H. de Paula Figueiredo
Em Tue, 13 Oct 2009 16:46:56 -0300, Igor Drobiazko  
 escreveu:


The integration of the JSR 303 is difficult without to break the  
compatibility of the API beacuse the Tapestry validation mechanism is  
only aware of a

value being validated.


One thing that is easy to do is to provide Validator implementations based  
on annotations (@NotNull -> required, @Min(n) -> min=n), etc.
We'll probably need to define something like an ObjectValidator  
interface to provide validation of whole objects, not only invividual  
properties.


--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hibernate Validator 4 released, any plans for adding support in T5?

2009-10-13 Thread Igor Drobiazko
The integration of the JSR 303 is one of the things on my roadmap for 5.2
release (as well as integration of JPA).
I had already a look into this but had no time to finalize the work. The
integration of the JSR 303 is difficult without to break the compatibility
of the API beacuse the Tapestry validation mechanism is only aware of a
value being validated.

On Tue, Oct 13, 2009 at 9:38 PM, Olle Hallin  wrote:

> Hi,
> Now when Hibernate Validator 4 and soon also the JSR-303 spec itself is
> released, it wouldbe great to learn if someone is planning to add support
> for it in Tapestry 5.
>
> Are there any such plans?
>
> Olle Hallin
> Senior Java Developer and Architect
> olle.hal...@crisp.se
> www.crisp.se
>



-- 
Best regards,

Igor Drobiazko


Re: Hibernate Validator 4 released, any plans for adding support in T5?

2009-10-13 Thread Thiago H. de Paula Figueiredo
Em Tue, 13 Oct 2009 16:38:05 -0300, Olle Hallin   
escreveu:



Hi,


Hi!


Now when Hibernate Validator 4 and soon also the JSR-303 spec itself is
released, it wouldbe great to learn if someone is planning to add support
for it in Tapestry 5.


I've written a Hibernate Validator 3 integration package, so I guess it  
will be an easy transition. I'm not going to promise any dates, though.


--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Hibernate Validator 4 released, any plans for adding support in T5?

2009-10-13 Thread Olle Hallin
Hi,
Now when Hibernate Validator 4 and soon also the JSR-303 spec itself is
released, it wouldbe great to learn if someone is planning to add support
for it in Tapestry 5.

Are there any such plans?

Olle Hallin
Senior Java Developer and Architect
olle.hal...@crisp.se
www.crisp.se


Re: Hibernate validator

2008-05-18 Thread Olle Hallin
+1!

FYI, see http://opensource.atlassian.com/projects/hibernate/browse/HV-44 .

Good luck!

Olle


2008/5/18 Toby Hobson <[EMAIL PROTECTED]>:

> Hi
>
> I was thinking of integrating the hibernate-validator with T5's validation
> framework (or trying to!) so I can re-use the validation rules I have
> already defined on my model (kinda like JBoss seam). Firstly is anyone else
> working on anything like this? Secondly do you think this would be useful to
> the Tapestry community?
>
> Thanks
>
> Toby
>
>


-- 
Olle Hallin M.Sc.
+46 70 6653071
[EMAIL PROTECTED]
www.hit.se


Hibernate validator

2008-05-18 Thread Toby Hobson
Hi

I was thinking of integrating the hibernate-validator with T5's validation 
framework (or trying to!) so I can re-use the validation rules I have already 
defined on my model (kinda like JBoss seam). Firstly is anyone else working on 
anything like this? Secondly do you think this would be useful to the Tapestry 
community?

Thanks

Toby



Re: T5: Tapestry-Hibernate and Hibernate validator

2008-03-25 Thread Olle Hallin
Horay to that!

It would also be great if someone could help me and vote on
http://opensource.atlassian.com/projects/hibernate/browse/HV-44 (Make
Hibernate Validator multi-lingual).

Regards,
Olle

2008/3/24, Howard Lewis Ship <[EMAIL PROTECTED]>:
>
> Eventually, it would be nice if we could come up with a way to extract
> the validation meta data and use that to generate Tapestry
> validations. Maybe in 5.1.
>
>
> On Mon, Mar 24, 2008 at 9:37 AM, Josh Canfield <[EMAIL PROTECTED]>
> wrote:
> > Tapestry doesn't do anything with the hibernate Validators so you use
> >  them just like you would outside of a tapestry project. In tapestry
> >  you'd handle them the same way you do other constraint violoations.
> >
> >
> >  On Fri, Mar 21, 2008 at 3:38 PM, Angelo Chen <
> [EMAIL PROTECTED]> wrote:
> >  >
> >
> >
> > > Hi Josh,
> >  >
> >  > Anything need to be done in order to use it? thanks.
> >  >
> >  > A.C.
> >  >
> >  >
> >  > joshcanfield wrote:
> >  > >
> >  > > yes
> >  > >
> >  > >
> >  >
> >  > --
> >  > View this message in context:
> http://www.nabble.com/T5%3A-Tapestry-Hibernate-and-Hibernate-validator-tp16198439p16210329.html
> >  >
> >  > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >  >
> >  >
> >  > -
> >  > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  > For additional commands, e-mail: [EMAIL PROTECTED]
> >  >
> >  >
> >
> >
> >
> >
> > --
> >  --
> >  TheDailyTube.com. Sign up and get the best new videos on the internet
> >  delivered fresh to your inbox.
> >
> >  -
> >
> >
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Olle Hallin M.Sc.
+46 70 6653071
[EMAIL PROTECTED]
www.hit.se


Re: T5: Tapestry-Hibernate and Hibernate validator

2008-03-24 Thread Howard Lewis Ship
Eventually, it would be nice if we could come up with a way to extract
the validation meta data and use that to generate Tapestry
validations. Maybe in 5.1.

On Mon, Mar 24, 2008 at 9:37 AM, Josh Canfield <[EMAIL PROTECTED]> wrote:
> Tapestry doesn't do anything with the hibernate Validators so you use
>  them just like you would outside of a tapestry project. In tapestry
>  you'd handle them the same way you do other constraint violoations.
>
>
>  On Fri, Mar 21, 2008 at 3:38 PM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>  >
>
>
> > Hi Josh,
>  >
>  > Anything need to be done in order to use it? thanks.
>  >
>  > A.C.
>  >
>  >
>  > joshcanfield wrote:
>  > >
>  > > yes
>  > >
>  > >
>  >
>  > --
>  > View this message in context: 
> http://www.nabble.com/T5%3A-Tapestry-Hibernate-and-Hibernate-validator-tp16198439p16210329.html
>  >
>  > Sent from the Tapestry - User mailing list archive at Nabble.com.
>  >
>  >
>  > -
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>
>
>
>
> --
>  --
>  TheDailyTube.com. Sign up and get the best new videos on the internet
>  delivered fresh to your inbox.
>
>  -
>
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: Tapestry-Hibernate and Hibernate validator

2008-03-24 Thread Josh Canfield
Tapestry doesn't do anything with the hibernate Validators so you use
them just like you would outside of a tapestry project. In tapestry
you'd handle them the same way you do other constraint violoations.

On Fri, Mar 21, 2008 at 3:38 PM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi Josh,
>
> Anything need to be done in order to use it? thanks.
>
> A.C.
>
>
> joshcanfield wrote:
> >
> > yes
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/T5%3A-Tapestry-Hibernate-and-Hibernate-validator-tp16198439p16210329.html
>
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: Tapestry-Hibernate and Hibernate validator

2008-03-21 Thread Angelo Chen

Hi Josh,

Anything need to be done in order to use it? thanks.

A.C.


joshcanfield wrote:
> 
> yes
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-Tapestry-Hibernate-and-Hibernate-validator-tp16198439p16210329.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: Tapestry-Hibernate and Hibernate validator

2008-03-21 Thread Josh Canfield
yes

On Fri, Mar 21, 2008 at 7:38 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Can Hibernate Validator framework be used with Tapestry-Hibernate? Thanks,
>
> A.C.
> --
> View this message in context: 
> http://www.nabble.com/T5%3A-Tapestry-Hibernate-and-Hibernate-validator-tp16198439p16198439.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



T5: Tapestry-Hibernate and Hibernate validator

2008-03-21 Thread Angelo Chen

Hi,

Can Hibernate Validator framework be used with Tapestry-Hibernate? Thanks,

A.C.
-- 
View this message in context: 
http://www.nabble.com/T5%3A-Tapestry-Hibernate-and-Hibernate-validator-tp16198439p16198439.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]