You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Anthony Fox <an...@gmail.com> on 2005/05/30 20:47:09 UTC

Post-processing Tapestry generated html

Hi,

I need to perform some post-processing on a Tapestry generated html
page in order to transform some links.  Specifically, I am using the
contrib:Table component and I need to modify the paging links to call
some javascript functions.  Is it possible to intercept the generated
html by overriding some method and transform the links in that method?
 If not, is there another way of doing this without extending or
modifying the existing contributed component?

Thanks,
Anthony

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Post-processing Tapestry generated html

Posted by "Scott F. Walter" <sc...@scottwalter.com>.
Anthony Fox wrote:

>Hi,
>
>I need to perform some post-processing on a Tapestry generated html
>page in order to transform some links.  Specifically, I am using the
>contrib:Table component and I need to modify the paging links to call
>some javascript functions.  Is it possible to intercept the generated
>html by overriding some method and transform the links in that method?
> If not, is there another way of doing this without extending or
>modifying the existing contributed component?
>
>Thanks,
>Anthony
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>  
>
Have you looked into the @Block component???  This should do exactly 
what you need.

Look at https://tapestrywebcomponentexamples.dev.java.net , it has a war 
file with a bunch of contrib:table examples.  The examples use the 
@Block to make editable columns in a table.  But the concepts are the 
same, to change the default behaivor of a column.

-- 

Scott F. Walter 	Scott F. Walter
Principal Consultant
Vivare, Inc.

E: scott.walter@vivare.com
E: scott@scottwalter.com
Visit scottwalter.com <http://scottwalter.com> --Point.  Click.  Explore!




---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org