BeanBlockSourceImpl call BeanBlockOverrideSource first to find the display/edit block, so contribute to BeanBlockOverrideSource give you the chance to overwrite the default.
DH ----- Original Message ----- From: "Moritz Gmelin" Sent: Thursday, June 04, 2009 4:01 AM Subject: Re: overriding dateeditor > Wow, found a strange solution: > > calling the method > > contributeBeanBlockOverrideSource > > instead of > > contributeBeanBlockSource > > fixes it. My method is called after tapestrys'. > I got this from tapx-datefield where the method has this name. > > Can anyone explain this? > > M. > > Am 03.06.2009 um 21:36 schrieb Moritz Gmelin: > >> Well yes, I'm using 5.1.0.5 too. >> Your example is working for the DataTypeAnalyzer whicht takes an >> ordered List. >> BeanBlockContribution unfortunately only takes an unorderedList. >> >> M. >> >> Am 03.06.2009 um 21:29 schrieb Thiago H. de Paula Figueiredo: >> >>> Em Wed, 03 Jun 2009 16:16:19 -0300, Moritz Gmelin <moritz.gme...@gmx.de >>> > escreveu: >>> >>>> Sorry, does not work. >>>> >>>> org.apache.tapestry5.ioc.internal.OperationException >>>> Service 'BeanBlockSource' is configured using >>>> org.apache.tapestry5.ioc.Configuration, not >>>> org.apache.tapestry5.ioc.OrderedConfiguration. >>> >>> What Tapestry version are you using? The example I gave you is for >>> Tapestry 5.1.0.5. >>> >>> -- >>> 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 >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >