RE: Getting url to tapestry page from acegi filter?

2007-03-25 Thread Hoogeveen, Erik
I think the proper way to do this is to implement the PageValidateListener interface in your page class. Do the Acegi validation in the pageValidate method and forward to any page you like using the request cycle. -Oorspronkelijk bericht- Van: Phillip Rhodes [mailto:[EMAIL PROTECTED] Verz

BaseComponent begin render

2007-03-25 Thread wong wayne
Dear all Is BaseComponent have something similar BasePage PageBeginRenderListener? Since I have a BaseComponent and wish to set some properties when rendering. Please comment, thanks. regards wayne Don't pic

Re: [T4] Translators and JPA troubles

2007-03-25 Thread Doychi
I forgot to mention that I am using Spring as well, so I'm not sure if this is getting in the way. Jesse Kuhnert said the following on 26/03/2007 12:06 AM: No idea, but I'm currently using joda dates with the dropdowndatepicker/timepickers with a similar contribution and things are working fin

Re: Problem with new operator in ognl 2.7

2007-03-25 Thread Shing Hing Man
In my page .java : @InitialValue("ognl:new net.sf.financial.pages.creditDer.NToDefaultBean()") public abstract NToDefaultBean getNToDefaultBean() I have also tried, without success, @Bean(NToDefaultBean.class) public abstract NToDefaultBean getNToDefaultBean(); Shing ---

Re: Problem with new operator in ognl 2.7

2007-03-25 Thread Jesse Kuhnert
How is your nToDefaultBean defined on the page? Is it within a spec or @Bean annotation? On 3/25/07, Shing Hing Man <[EMAIL PROTECTED]> wrote: Sorry to be a pain. mvn -U eclipse:eclipse does not download the latest ognl 2.7 snapshot for me. I manually downloaded ognl-2.7-20070325.025541-16.ja

Re: Problem with new operator in ognl 2.7

2007-03-25 Thread Shing Hing Man
Sorry to be a pain. mvn -U eclipse:eclipse does not download the latest ognl 2.7 snapshot for me. I manually downloaded ognl-2.7-20070325.025541-16.jar from http://howardlewisship.com/repository/ognl/ognl/2.7-SNAPSHOT/ and installed it as ognl 2.7-SNAPSHOT in my local maven 2 repository. Bu

Re: [T4] Translators and JPA troubles

2007-03-25 Thread Jesse Kuhnert
No idea, but I'm currently using joda dates with the dropdowndatepicker/timepickers with a similar contribution and things are working fine. (of course I might have technical advantages, and I did have to refactor those components some to allow the joda date objects to be bound instead of just jav

Re: Problem with new operator in ognl 2.7

2007-03-25 Thread Jesse Kuhnert
Try mvn -U . On 3/25/07, Shing Hing Man <[EMAIL PROTECTED]> wrote: I still have the same exception after doing > mvn clean > mvn eclipse:eclipse The above 'mvn eclipse:eclipse' has not downloaded an updated version of ognl 2.7 snapshot. My current ognl 2.7 snapshot in the maven2 repository is

Re: problem with "mvn jetty:run" from T5 tutorial

2007-03-25 Thread Jan Vissers
OF topic, but this is why I don't get Maven and why it is so popular. Problems with plugins have been 'bugging' Maven from day one, and still is a major pain - so it seems. I sure hope T5 will not have any strict dependencies on Maven. -J. > This issue has been driving me crazy, right when I've s

Re: Problem with new operator in ognl 2.7

2007-03-25 Thread Shing Hing Man
I still have the same exception after doing > mvn clean > mvn eclipse:eclipse The above 'mvn eclipse:eclipse' has not downloaded an updated version of ognl 2.7 snapshot. My current ognl 2.7 snapshot in the maven2 repository is ognl-2.7-20070323.194356-14.jar Shing --- Jesse Kuhnert <[EMAIL PR

Re: Rendering raw data in pages

2007-03-25 Thread fdegrassi
I agree with you on the fact that services are not and should not be pooled, it would not make any sense. On the other side, limiting pages to only render text is (in my humble opinion) arbitrary; services can render binary data, but they lack the features (property injection, ease of use, progr

Re: Rendering raw data in pages

2007-03-25 Thread Christian Haselbach
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 stateless. Services have access to the sess

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