Re: Overriding BeanBlockSource

2010-11-01 Thread Taha Hafeez
It worked... //- //As i had to override all, I created a generic class //--- import org.apache.tapestry5.services.DataTypeAnalyzer; import org.apache.tapestry5.ioc.services.PropertyAdapter; public class GenericTypeAnalyzer im

Re: Overriding BeanBlockSource

2010-11-01 Thread Thiago H. de Paula Figueiredo
On Mon, 01 Nov 2010 01:33:17 -0200, Taha Hafeez wrote: I am trying to override default editing components as I want to remove the labels.. but contributeBeanBlockSource() is called in a random order (at times before and at times after the TapestryModules's contributeBeanBlockSource()). .

Re: Overriding BeanBlockSource

2010-11-01 Thread Juan E. Maya
Hello Taha, what you can do is to contribute a new DataTypeAnalyzer and then contribute its bean block source. The DataTypeAnalyzer is a orderedlist so you can control their order. For example if you would like to override the date selector used by tapestry u should have something like this in yo

Overriding BeanBlockSource

2010-10-31 Thread Taha Hafeez
I am trying to override default editing components as I want to remove the labels.. but contributeBeanBlockSource() is called in a random order (at times before and at times after the TapestryModules's contributeBeanBlockSource()). . I used @Order("after:*") but it is still random. Someone already

Re: Overriding BeanBlockSource (serious issue with contributeBeanBlockSource)

2008-10-21 Thread Moritz Gmelin
I tried to add @Order("after:*") to the contributeBeanBlockSource method but the execution order is still random. Am 20.10.2008 um 23:40 schrieb Moritz Gmelin: Hi Howard, Thanks for taking the time to answer. I understand the licensing thing. However the other problem seems to be more

Re: Overriding BeanBlockSource (serious issue with contributeBeanBlockSource)

2008-10-20 Thread Moritz Gmelin
Hi Howard, Thanks for taking the time to answer. I understand the licensing thing. However the other problem seems to be more serious. My own contributed BeanBlockSources to override the standard Date editor is taken into account on a random basis. I have added some println's in TapestryM

Re: Overriding BeanBlockSource

2008-10-17 Thread Howard Lewis Ship
On Fri, Oct 17, 2008 at 2:56 AM, Moritz Gmelin <[EMAIL PROTECTED]> wrote: > Hi, > > In our application we override the default editing component for Date types > to be the DateTimeEditor from t5-components (why is that one not the > default. It is so much nicer?). Licensing. An Apache project has

Overriding BeanBlockSource

2008-10-17 Thread Moritz Gmelin
Hi, In our application we override the default editing component for Date types to be the DateTimeEditor from t5-components (why is that one not the default. It is so much nicer?). AppModule.java public static void contributeBeanBlockSource(