You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Sergey Didenko (JIRA)" <ji...@apache.org> on 2009/09/05 12:15:58 UTC

[jira] Commented: (TAP5-742) Add optional component tracing comments to rendered output

    [ https://issues.apache.org/jira/browse/TAP5-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751745#action_12751745 ] 

Sergey Didenko commented on TAP5-742:
-------------------------------------

I made a temporary hackish solution for this, see http://wiki.apache.org/tapestry/Tapestry5HowToVisualizeComponentHierarchy . Hope this helps.

> Add optional component tracing comments to rendered output
> ----------------------------------------------------------
>
>                 Key: TAP5-742
>                 URL: https://issues.apache.org/jira/browse/TAP5-742
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Howard M. Lewis Ship
>            Priority: Minor
>
> In complex pages, it can be hard to work backwards from a bit of output HTML in the browser, back to the component that originated the markup.
> A special mode could be enabled where components would render a comment before and after rendering:
> <!-- BEGIN: Index:layout.pagelink -->
> <a href="dashboard">Dashboard</a>
> <!-- END: Index:layout.pagelink -->
> This would bloat and clutter the application (a lot!) but would be useful, on occasion.  One possibility would be a special query parameter to enable this on a request-by-request basis, i.e., ?t:component-trace=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.