From what I can tell, it overrides the DateFieldStack, and the javascript used - not the component class its self...

am i wrong?

On 22/02/2012 3:03 PM, Jonathan Barker wrote:
Perhaps the tapestry5-jquery project can give you some ideas.  It
overrides the DateField component.

On Tue, Feb 21, 2012 at 7:55 PM, Paul Stanton<p...@mapshed.com.au>  wrote:
Hi Thiago,

I'd love to not have to patch but how can I override the DateField component
(java&  js) via tapestry-ioc?

I am aware that I could write a new component, "DateField2" for example,
however this would require more code to change in many sub-projects.

If I cannot replace the implementation of DateField, there is a broken
component that I don't want other developers to forget not to use.

Cheers, p.


On 22/02/2012 8:12 AM, Thiago H. de Paula Figueiredo wrote:
On Mon, 20 Feb 2012 20:47:15 -0200, Paul Stanton<p...@mapshed.com.au>
wrote:

Hi All,

Hi!

Don't patch: find the service that contains the logic you want to change
and override it through Tapestry-IoC.

---------------------------------------------------------------------
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

Reply via email to