Tag Attributes duplicated in trace level logging.
-------------------------------------------------

                 Key: TRINIDAD-1252
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1252
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.2.9-core
            Reporter: Paul Spencer
            Priority: Minor


Some attributes, like renderType and title, are duplicated in trace level 
logging.  The log output below is based on the following jspx.  You will notice 
duplicate attributes in both tr:document and tr:outputText.

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.0"
        xmlns:f="http://java.sun.com/jsf/core";
        xmlns:tr="http://myfaces.apache.org/trinidad";>
        <jsp:directive.page contentType="text/html;charset=utf-8" />
        <f:view>
                <tr:document title="My Title!">
                        <tr:outputText value="Hello World!" />
                </tr:document>
        </f:view>
</jsp:root>


TRACE - View after rendering
========================================
<UIViewRoot id="j_id_jsp_880081898_0"
        org.apache.myfaces.FORMER_CHILD_IDS="[j_id_jsp_880081898_1]"
        org.apache.myfaces.BOUND_VIEW_ROOT="true" afterPhaseListener="NULL"
        beforePhaseListener="NULL" facetCount="0" family="javax.faces.ViewRoot"
        locale="en" renderKitId="org.apache.myfaces.trinidad.core" 
rendered="true"
        rendererType="NULL" rendersChildren="false" transient="false"
        viewId="/documentTest.jspx">
        <org.apache.myfaces.trinidad.component.core.CoreDocument
                id="j_id_jsp_880081898_1" title="My Title!"
                org.apache.myfaces.FORMER_CHILD_IDS="[j_id_jsp_880081898_2]"
                rendererType="org.apache.myfaces.trinidad.Document"
                attributeChangeListener="NULL" attributeChangeListeners="NULL"
                facesBean="NULL" facetCount="NULL" facetNames="NULL" 
family="NULL"
                initialFocusId="NULL" inlineStyle="NULL" metaContainer="NULL" 
mode="default"
                onclick="NULL" ondblclick="NULL" onkeydown="NULL" 
onkeypress="NULL"
                onkeyup="NULL" onload="NULL" onmousedown="NULL" 
onmousemove="NULL"
                onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" 
onunload="NULL"
                partialTriggers="NULL" rendered="true" 
rendererType="org.apache.myfaces.trinidad.Document"
                rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" 
title="My Title!"
                transient="NULL">
                
<org.apache.myfaces.trinidad.component.core.output.CoreOutputText
                        id="j_id_jsp_880081898_2" value="Hello World!" 
rendererType="org.apache.myfaces.trinidad.Text"
                        attributeChangeListener="NULL" 
attributeChangeListeners="NULL"
                        converter="NULL" description="NULL" escape="true" 
facesBean="NULL"
                        facetCount="NULL" facetNames="NULL" family="NULL" 
inlineStyle="NULL"
                        localValue="NULL" onclick="NULL" ondblclick="NULL" 
onkeydown="NULL"
                        onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" 
onmousemove="NULL"
                        onmouseout="NULL" onmouseover="NULL" onmouseup="NULL"
                        partialTriggers="NULL" rendered="true" 
rendererType="org.apache.myfaces.trinidad.Text"
                        rendersChildren="NULL" shortDesc="NULL" 
styleClass="NULL" transient="NULL"
                        truncateAt="0" />
        </org.apache.myfaces.trinidad.component.core.CoreDocument>
</UIViewRoot>
========================================


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

Reply via email to