myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 陶 宏 <macroth...@163.com>
Subject [trinidad]TreeTable cannot be collapsed or selected
Date Thu, 24 Jun 2010 09:46:06 GMT
Hi,all:
   I've been writing a trinidad application on GlassFish v3, and testing it with Microsoft
IE6.
   When I was using a TreeTable, it could be rendered on the page and its data was shown correctly.
But it could not be collapsed or selected.
    I've got a warning from IE6 that said as "_uixt_organization is not defined". "organization"
is the id of my TreeTable tag, "_uixt_organization" is generated id in html source file.
    I wrote the tag in xhtml like this:
<tr:treeTable emptyText="No Data"
        id="organization" initiallyExpanded="true"
        rowBandingInterval="1" rowSelection="multiple"
        value="#{organizationBacking.tree}" var="oneNode"
        summary="Organization Chart" width="100%">
        <f:facet name="nodeStamp">
            <tr:column>
                <f:facet name="header">
                    <tr:outputText value="Name" />
                </f:facet>
                <tr:outputFormatted value="&lt;b>#{oneNode.name}&lt;/b>"
/>
            </tr:column>
        </f:facet>
        <f:facet name="pathStamp">
            <tr:outputFormatted value="&lt;b>#{oneNode.name}&lt;/b>" />
        </f:facet>
        <tr:column>
            <f:facet name="header">
                <h:outputText value="Phone" />
            </f:facet>
            <h:outputText value="#{oneNode.phone}" />
        </tr:column>
    </tr:treeTable>
    
    And it seems to generate a valid html source file, part of which I post at the end of
this letter.
    Why IE6 did not process the definition of "_uixt_organization" ? Am I missing some attribute
or configuration ?
    Thanks in advance!
 
[Corresponding part in html source file]:<!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_tableSelectMany_cell-icon-format OraTableBorder1111"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><input name="organization:_s"
id="organization:0" title="&#36873;&#25321;" type="checkbox" value="0"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><label for="organization:0"
class="p_OraHiddenLabel">&#36873;&#25321;</label><input type="hidden"
name="organization:_us" value="0"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_column_cell-icon-format OraTableBorder1111"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt8"]-->
                    <td class="af_column_cell-text OraTableBorder1111"><div style="position:relative;top:0px;left:0px;margin-left:18px"><a
id="organization:0:hgi" class="af_treeTable_expansion" onclick="_uixt_organization.action('hide','0',this);return
false;" href="#"><img src="/SINOPEC/adf/images/nav-minus.gif" width="19" height="18"
border="0" alt="&#36873;&#25321;&#20197;&#38544;&#34255;"></a><!--Start:
org.apache.myfaces.trinidad.Output["j_idt10"]--><b>&#37096;&#38376;A1</b></div></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt12"]-->
                    <td class="af_column_cell-text OraTableBorder1111"></td>
                  </tr><tr><!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_tableSelectMany_cell-icon-format OraTableBorder1111"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><input name="organization:_s"
id="organization:1" title="&#36873;&#25321;" type="checkbox" value="1"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><label for="organization:1"
class="p_OraHiddenLabel">&#36873;&#25321;</label><input type="hidden"
name="organization:_us" value="1"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_column_cell-icon-format OraTableBorder1111"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt8"]-->
                    <td class="af_column_cell-text OraTableBorder1111"><div style="position:relative;top:0px;left:0px;margin-left:36px"><!--Start:
org.apache.myfaces.trinidad.Output["j_idt10"]--><b>&#21592;&#24037;A01</b></div></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt12"]-->
                    <td class="af_column_cell-text OraTableBorder1111">15611092185</td>
                  </tr><tr><!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_tableSelectMany_cell-icon-format-band OraTableBorder1111"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><input name="organization:_s"
id="organization:2" title="&#36873;&#25321;" type="checkbox" value="2"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><label for="organization:2"
class="p_OraHiddenLabel">&#36873;&#25321;</label><input type="hidden"
name="organization:_us" value="2"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_column_cell-icon-format-band OraTableBorder1111"><a
href="#" onclick="_uixt_organization.focus('2',this);return false;" title="&#36873;&#25321;&#20197;&#32858;&#28966;"
class="af_treeTable_focus">X</a></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt8"]-->
                    <td class="af_column_cell-text-band OraTableBorder1111"><div
style="position:relative;top:0px;left:0px;margin-left:36px"><a id="organization:2:hgi"
class="af_treeTable_expansion" onclick="_uixt_organization.action('hide','2',this);return
false;" href="#"><img src="/SINOPEC/adf/images/nav-minus.gif" width="19" height="18"
border="0" alt="&#36873;&#25321;&#20197;&#38544;&#34255;"></a><!--Start:
org.apache.myfaces.trinidad.Output["j_idt10"]--><b>&#37096;&#38376;B1</b></div></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt12"]-->
                    <td class="af_column_cell-text-band OraTableBorder1111"></td>
                  </tr><tr><!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_tableSelectMany_cell-icon-format OraTableBorder1111"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><input name="organization:_s"
id="organization:3" title="&#36873;&#25321;" type="checkbox" value="3"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><label for="organization:3"
class="p_OraHiddenLabel">&#36873;&#25321;</label><input type="hidden"
name="organization:_us" value="3"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_column_cell-icon-format OraTableBorder1111"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt8"]-->
                    <td class="af_column_cell-text OraTableBorder1111"><div style="position:relative;top:0px;left:0px;margin-left:54px"><!--Start:
org.apache.myfaces.trinidad.Output["j_idt10"]--><b>&#21592;&#24037;B02</b></div></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt12"]-->
                    <td class="af_column_cell-text OraTableBorder1111">15611092185</td>
                  </tr><tr><!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_tableSelectMany_cell-icon-format-band OraTableBorder1111"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><input name="organization:_s"
id="organization:4" title="&#36873;&#25321;" type="checkbox" value="4"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><label for="organization:4"
class="p_OraHiddenLabel">&#36873;&#25321;</label><input type="hidden"
name="organization:_us" value="4"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_column_cell-icon-format-band OraTableBorder1111"><a
href="#" onclick="_uixt_organization.focus('4',this);return false;" title="&#36873;&#25321;&#20197;&#32858;&#28966;"
class="af_treeTable_focus">X</a></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt8"]-->
                    <td class="af_column_cell-text-band OraTableBorder1111"><div
style="position:relative;top:0px;left:0px;margin-left:54px"><a id="organization:4:hgi"
class="af_treeTable_expansion" onclick="_uixt_organization.action('hide','4',this);return
false;" href="#"><img src="/SINOPEC/adf/images/nav-minus.gif" width="19" height="18"
border="0" alt="&#36873;&#25321;&#20197;&#38544;&#34255;"></a><!--Start:
org.apache.myfaces.trinidad.Output["j_idt10"]--><b>&#37096;&#38376;C2</b></div></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt12"]-->
                    <td class="af_column_cell-text-band OraTableBorder1111"></td>
                  </tr><tr><!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_tableSelectMany_cell-icon-format OraTableBorder1111"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><input name="organization:_s"
id="organization:5" title="&#36873;&#25321;" type="checkbox" value="5"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><label for="organization:5"
class="p_OraHiddenLabel">&#36873;&#25321;</label><input type="hidden"
name="organization:_us" value="5"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_column_cell-icon-format OraTableBorder1111"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt8"]-->
                    <td class="af_column_cell-text OraTableBorder1111"><div style="position:relative;top:0px;left:0px;margin-left:72px"><!--Start:
org.apache.myfaces.trinidad.Output["j_idt10"]--><b>&#21592;&#24037;C03</b></div></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt12"]-->
                    <td class="af_column_cell-text OraTableBorder1111">15611092185</td>
                  </tr><tr><!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_tableSelectMany_cell-icon-format-band OraTableBorder1111"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><input name="organization:_s"
id="organization:6" title="&#36873;&#25321;" type="checkbox" value="6"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><label for="organization:6"
class="p_OraHiddenLabel">&#36873;&#25321;</label><input type="hidden"
name="organization:_us" value="6"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_column_cell-icon-format-band OraTableBorder1111"><a
href="#" onclick="_uixt_organization.focus('6',this);return false;" title="&#36873;&#25321;&#20197;&#32858;&#28966;"
class="af_treeTable_focus">X</a></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt8"]-->
                    <td class="af_column_cell-text-band OraTableBorder1111"><div
style="position:relative;top:0px;left:0px;margin-left:72px"><a id="organization:6:hgi"
class="af_treeTable_expansion" onclick="_uixt_organization.action('hide','6',this);return
false;" href="#"><img src="/SINOPEC/adf/images/nav-minus.gif" width="19" height="18"
border="0" alt="&#36873;&#25321;&#20197;&#38544;&#34255;"></a><!--Start:
org.apache.myfaces.trinidad.Output["j_idt10"]--><b>&#37096;&#38376;D1</b></div></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt12"]-->
                    <td class="af_column_cell-text-band OraTableBorder1111"></td>
                  </tr><tr><!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_tableSelectMany_cell-icon-format OraTableBorder1111"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><input name="organization:_s"
id="organization:7" title="&#36873;&#25321;" type="checkbox" value="7"><!--Start:
org.apache.myfaces.trinidad.TreeTable["organization"]--><label for="organization:7"
class="p_OraHiddenLabel">&#36873;&#25321;</label><input type="hidden"
name="organization:_us" value="7"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column-->
                    <td class="af_column_cell-icon-format OraTableBorder1111"></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt8"]-->
                    <td class="af_column_cell-text OraTableBorder1111"><div style="position:relative;top:0px;left:0px;margin-left:90px"><!--Start:
org.apache.myfaces.trinidad.Output["j_idt10"]--><b>&#21592;&#24037;D04</b></div></td>
                    <!--Start: org.apache.myfaces.trinidad.Column["j_idt12"]-->
                    <td class="af_column_cell-text OraTableBorder1111">15611092185</td>
                  </tr></table><table cellpadding="0" cellspacing="0" border="0"
width="100%" summary=""></table><input type="hidden" name="organization:rangeStart"
value="0"></div><script type="text/javascript">CollectionComponent.defineTree('event','source','path','start','goto','focus',1)</script>




 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message