I think someone just added ajax paging tables into tacos. On 3/17/06, André <[EMAIL PROTECTED]> wrote: > > Hi all, > (I am not on the list, please include me in replies) > I want to do what is stated being possible in: > > http://jakarta.apache.org/tapestry/UsersGuide/components.html#components.libraries.namespace > "In fact, it is possible to override both pages and components provided by > the framework." > But how? > > I want to replace my implementation of contrib:tablePages for my > application without touching anything. Wherever, from my application, > contrib:tablePages is referenced, I want my implementation to appear. > > I tried this in several variations: > <library id="contrib" > specification-path="/org/apache/tapestry/contrib/Contrib.library"/> > (original) > <library id="contrib" specification-path="/org/trails/demo/t.library"/> > (my lib) > > My library only basically contains: > <component-type type="TablePages" specification-path="TablePagesMy.jwc"/> > > Except an overriden contrib:tablePages this results in an error, "A child > namespace with id 'contrib' already exists." - How do I override > compoentns within namesapces then? > > To set things in context, this is what I want to reach: > Contrib:Table does not support AJAXed Paging. I want to exchange > DirectLinks in Contrib:TablePages while not touching anything. > It is easy to add new rows and reload a table using AJAX (see trails > example), but I am not sure how to approach this one. > > What is the best way to solve this? I also though at "extending" or > "subclassing" component specification while overriding inner components, > seems not to be possible. > > I am kind of new to tapestry, spring etc. please keep that in mind while > responding :-) > > Regards, > andré > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://opennotion.com