Re: T4.1.3 - Upgrade Dojo

2007-12-15 Thread fdegrassi
Let me join you in this.The dedication that Andreas and Jesse put in supporting Tapestry 4 is really something. Sure, it's fantastic to have a brand new web framework every two years, but some of us build real web application with Tapestry and would be screwed if someone didn't take the responsibil

Re: Rendering raw data in pages

2007-03-25 Thread fdegrassi
Christian Haselbach wrote: On Sun, Mar 25, 2007 at 11:02:50AM +0200, fdegrassi wrote: I already did it using a service, what i do not like of it is that services are (obviously) stateless, not pooled, so i can't use them in While they are not pooled, they are not necessarily stat

Rendering raw data in pages

2007-03-25 Thread fdegrassi
Hi all. The thing I'm trying to do is render an object of type image/png to the response without resorting to writing a custom service. I already did it using a service, what i do not like of it is that services are (obviously) stateless, not pooled, so i can't use them in the flexible way that

Tapestry 4.1.1 and open session in view

2007-03-25 Thread fdegrassi
I'm having an hard time coming out with a robust solution for integrating Tapestry 4.1.1 and Hibernate. The sample project i'm working on needs to display and edit beans loaded by hibernate on the service layer; i've set up a good fetch plan on hibernate that minimizes db access and i'm pretty h

Re: Custom validator not called when value is empty?

2006-12-04 Thread fdegrassi
I think you can add custom validation messages to your ValidationDelegate and display them along with your validators errors. It should work more or less like this. public void doRegister() { if (getStart() > getStop()) { getDelegate().record(getStartField(), "Start should be less tha

Re: Custom validator not called when value is empty?

2006-12-02 Thread fdegrassi
validation rules. Nonetheless i can clearly see that a similar IdentityValidator can come quite handy. Thanks for the tip Francesco andyhot wrote: fdegrassi wrote: AFAIK, validators do just that, validate the syntax of values submitted. (field level validation) Validation logic that involve

Re: Custom validator not called when value is empty?

2006-12-02 Thread fdegrassi
AFAIK, validators do just that, validate the syntax of values submitted. (field level validation) Validation logic that involves multiple fields (form level validation) should go into the form/submit listener. Regards Francesco Degrassi Malin Ljungh wrote: Good evening! I have written my o

Tapestry HiveDoc generation

2006-11-25 Thread fdegrassi
First of all, I'm just starting to dig into Tapestry and HiveMind. I want to generate the HiveDoc for Tapestry and (eventually) for my own project, but haven't found any documentation on how to do that. I've never tried to build tapestry from source, so i don't know if the build process would g