10 Replies Latest reply on May 28, 2009 5:04 AM by nimo22

    extendedDataTable toggle expand Group

    nimo22

      When selecting the menu "group by row" in rich:extendedDatatable, then all rows are grouped (very wonderful) and the (expand-)icon in the row of group-summary is shown.

      When I click the icon, then it would be nice, that this group is invisible (shrink, not rendered) - like a tree.

      Is that possible??

        • 1. Re: extendedDataTable toggle expand Group
          nimo22

          Oh I have found that there is already an issue

          http://www.jboss.org/community/docs/DOC-11862

          under New Features for existing Components:

          make SubTables collapsible (+4)


          I guess, that s what I ment - make a subtable (a group) within a extendedDataTable collapsible.

          • 2. Re: extendedDataTable toggle expand Group
            nbelaevski

             

            "nimo22" wrote:
            Oh I have found that there is already an issue

            http://www.jboss.org/community/docs/DOC-11862

            under New Features for existing Components:

            make SubTables collapsible (+4)


            I guess, that s what I ment - make a subtable (a group) within a extendedDataTable collapsible.

            No, that's about collapsing rich:subTable inside rich:dataTable.

            Can you please further clarify use case: do you wish to completely remove collapsed group from table? Here is what we have for now:
            In my mind, looks ok.

            • 3. Re: extendedDataTable toggle expand Group
              nimo22

              oh, yes thats what I wanna have-I did not realize that this is already implemented.

              Cos, Then I guess, in my rich:extendedDataTable the collapse does not work!

              I use mozilla firefox 3.0.1 and rf 3.3.0, clicking the icon for collapse does not work.

              The aj4:log says this:

              debug[12:32:12,700]: Have Event [object Object] with properties: target: [object HTMLImageElement], srcElement: undefined, type: click
               debug[12:32:12,701]: Query preparation for form 'formDatatable' requested
               debug[12:32:12,701]: Append text control formDatatable:myDataTable:rowLoginfsp with value [] and value attribute [null]
               debug[12:32:12,702]: Append text control formDatatable:myDataTable:rowPwefsp with value [] and value attribute [null]
               debug[12:32:12,703]: Append text control formDatatable:myDataTable:rowPropfsp with value [] and value attribute [null]
               debug[12:32:12,703]: Append text control formDatatable:myDataTable:rowGenderfsp with value [] and value attribute [null]
               debug[12:32:12,704]: Append text control formDatatable:myDataTable:rowHobbyfsp with value [] and value attribute [null]
               debug[12:32:12,704]: Append text control formDatatable:myDataTable:rowDatafsp with value [] and value attribute [null]
               debug[12:32:12,705]: Append text control formDatatable:myDataTable:rowInfofsp with value [] and value attribute [null]
               debug[12:32:12,705]: Append text control formDatatable:myDataTable:rowEmailfsp with value [] and value attribute [null]
               debug[12:32:12,706]: Append text control formDatatable:myDataTable:rowCallfsp with value [] and value attribute [null]
               debug[12:32:12,706]: Append text control formDatatable:myDataTable:rowHelpfsp with value [] and value attribute [null]
               debug[12:32:12,707]: Append hidden control formDatatable:myDataTable:s with value [-1] and value attribute [-1]
               debug[12:32:12,707]: Append hidden control org.apache.myfaces.trinidad.faces.FORM with value [formDatatable] and value attribute [formDatatable]
               debug[12:32:12,708]: Append hidden control javax.faces.ViewState with value [!j_id7] and value attribute [!j_id7]
               debug[12:32:12,709]: parameter formDatatable:myDataTable with value formDatatable:myDataTable
               debug[12:32:12,709]: parameter groupToggleAction with value groupToggleAction
               debug[12:32:12,709]: parameter groupIndex with value 1
               debug[12:32:12,710]: Look up queue with default name
               debug[12:32:12,710]: NEW AJAX REQUEST !!! with form: formDatatable
               debug[12:32:12,711]: Start XmlHttpRequest
               debug[12:32:12,712]: Reqest state : 1
               debug[12:32:12,713]: QueryString: AJAXREQUEST=formDatatable%3Aj_id77&formDatatable%3AmyDataTable%3ArowLoginfsp=&formDatatable%3AmyDataTable%3ArowPwefsp=&formDatatable%3AmyDataTable%3ArowPropfsp=&formDatatable%3AmyDataTable%3ArowGenderfsp=&formDatatable%3AmyDataTable%3ArowHobbyfsp=&formDatatable%3AmyDataTable%3ArowDatafsp=&formDatatable%3AmyDataTable%3ArowInfofsp=&formDatatable%3AmyDataTable%3ArowEmailfsp=&formDatatable%3AmyDataTable%3ArowCallfsp=&formDatatable%3AmyDataTable%3ArowHelpfsp=&formDatatable%3AmyDataTable%3As=-1&org.apache.myfaces.trinidad.faces.FORM=formDatatable&javax.faces.ViewState=!j_id7&formDatatable%3AmyDataTable=formDatatable%3AmyDataTable&groupToggleAction=groupToggleAction&groupIndex=1&
               debug[12:32:12,721]: Reqest state : 1
               debug[12:32:13,138]: Reqest state : 2
               debug[12:32:13,187]: Reqest state : 3
               debug[12:32:13,188]: Reqest state : 3
               debug[12:32:13,189]: Reqest state : 4
               debug[12:32:13,189]: Reqest end with state 4
               debug[12:32:13,189]: Response with content-type: text/xml;charset=UTF-8
               debug[12:32:13,189]: Full response content: <?xml version="1.0"?> <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><script src="/myONE/a4j/g/3_3_0.GAorg.ajax4jsf.javascript.AjaxScript" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg.ajax4jsf.javascript.PrototypeScript" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/jquery/jquery.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/utils.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/tooltip.js" type="text/javascript"> </script><link class="component" href="/myONE/a4j/s/3_3_0.GAorg/richfaces/renderkit/html/css/tooltip.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/available.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/script/controlUtils.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg.ajax4jsf.javascript.ImageCacheScript" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/browser_info.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/ajax4jsf/javascript/scripts/form.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAscripts/tabPanel.js" type="text/javascript"> </script><link class="component" href="/myONE/a4j/s/3_3_0.GAcss/tabPanel.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><link class="component" href="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/css/msg.css" rel="stylesheet" type="text/css" /><link class="component" href="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/css/msgs.css" rel="stylesheet" type="text/css" /><link class="component" href="/myONE/a4j/s/3_3_0.GAcss/datascroller.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><script src="/myONE/a4j/g/3_3_0.GAscripts/menu.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/json/json-dom.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/context-menu.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/form.js" type="text/javascript"> </script><link class="component" href="/myONE/a4j/s/3_3_0.GAcss/menucomponents.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/json/json-mini.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg.ajax4jsf.javascript.DnDScript" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/dnd/dnd-common.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/dnd/dnd-dropzone.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/common-scrollable-data-table.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/extended-data-table.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/drag-indicator.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/ext-dt-drag-indicator.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/ext-dt-simple-draggable.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/ext-dt-simple-dropzone.js" type="text/javascript"> </script><link class="component" href="/myONE/a4j/s/3_3_0.GAorg/richfaces/renderkit/html/css/dragIndicator.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><link class="component" href="/myONE/a4j/s/3_3_0.GAcss/extendedDataTable.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><link class="component" href="/myONE/a4j/s/3_3_0.GAcss/toolBar.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/data-table.js" type="text/javascript"> </script><link class="component" href="/myONE/a4j/s/3_3_0.GAcss/table.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><script src="/myONE/a4j/g/3_3_0.GAscripts/ShuttleUtils.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAscripts/SelectItem.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAscripts/LayoutManager.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAscripts/Control.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAscripts/ListBase.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAscripts/OrderingList.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAscripts/ListShuttle.js" type="text/javascript"> </script><link class="component" href="/myONE/a4j/s/3_3_0.GAcss/listShuttle.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/modalPanel.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/modalPanelBorders.js" type="text/javascript"> </script><link class="component" href="/myONE/a4j/s/3_3_0.GAorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><link class="component" href="/myONE/a4j/s/3_3_0.GAcss/separator.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><link class="component" href="/myONE/a4j/s/3_3_0.GAcss/panel.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><script src="/myONE/a4j/g/3_3_0.GAscripts/scriptaculous/effects.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/script/processEffect.js" type="text/javascript"> </script><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/panelMenu.js" type="text/javascript"> </script><link class="component" href="/myONE/a4j/s/3_3_0.GAorg/richfaces/renderkit/html/css/panelMenu.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__" rel="stylesheet" type="text/css" /><link class="component" href="resource:darkX.xcss" rel="stylesheet" type="text/css" /><link class="component" href="resource:darkXExt.xcss" media="rich-extended-skinning" rel="stylesheet" type="text/css" /><script src="/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/skinning.js" type="text/javascript"> </script></head><body><dl id="messageBox" class="rich-messages message" style="display: none; null"></dl><meta name="Ajax-Update-Ids" content="messageBox" /><span id="ajax-view-state"><input type="hidden" name="javax.faces.ViewState" value="!j_id7" /></span><meta id="Ajax-Response" name="Ajax-Response" content="true" /></body></html>
               debug[12:32:13,190]: Header Ajax-Expired not found, search in <meta>
               debug[12:32:13,190]: search for elements by name 'meta' in element #document
               debug[12:32:13,194]: Find <meta name='Ajax-Update-Ids' content='messageBox'>
               debug[12:32:13,194]: Find <meta name='Ajax-Response' content='true'>
               debug[12:32:13,194]: Header Ajax-Update-Ids not found, search in <meta>
               debug[12:32:13,195]: search for elements by name 'meta' in element #document
               debug[12:32:13,198]: Find <meta name='Ajax-Update-Ids' content='messageBox'>
               debug[12:32:13,198]: Update page by list of rendered areas from response messageBox
               debug[12:32:13,199]: search for elements by name 'script' in element #document
               debug[12:32:13,204]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg.ajax4jsf.javascript.AjaxScript
               debug[12:32:13,205]: Such element exist in document
               debug[12:32:13,205]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg.ajax4jsf.javascript.PrototypeScript
               debug[12:32:13,205]: Such element exist in document
               debug[12:32:13,205]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/jquery/jquery.js
               debug[12:32:13,206]: Such element exist in document
               debug[12:32:13,206]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/utils.js
               debug[12:32:13,206]: Such element exist in document
               debug[12:32:13,206]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/tooltip.js
               debug[12:32:13,207]: Such element exist in document
               debug[12:32:13,207]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/available.js
               debug[12:32:13,207]: Such element exist in document
               debug[12:32:13,207]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/script/controlUtils.js
               debug[12:32:13,208]: Such element exist in document
               debug[12:32:13,208]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg.ajax4jsf.javascript.ImageCacheScript
               debug[12:32:13,208]: Such element exist in document
               debug[12:32:13,208]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/browser_info.js
               debug[12:32:13,209]: Such element exist in document
               debug[12:32:13,209]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/ajax4jsf/javascript/scripts/form.js
               debug[12:32:13,209]: Such element exist in document
               debug[12:32:13,210]: <script> in response with src=/myONE/a4j/g/3_3_0.GAscripts/tabPanel.js
               debug[12:32:13,210]: Such element exist in document
               debug[12:32:13,210]: <script> in response with src=/myONE/a4j/g/3_3_0.GAscripts/menu.js
               debug[12:32:13,210]: Such element exist in document
               debug[12:32:13,211]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/json/json-dom.js
               debug[12:32:13,211]: Such element exist in document
               debug[12:32:13,211]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/context-menu.js
               debug[12:32:13,212]: Such element exist in document
               debug[12:32:13,212]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/form.js
               debug[12:32:13,212]: Such element exist in document
               debug[12:32:13,212]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/json/json-mini.js
               debug[12:32:13,213]: Such element exist in document
               debug[12:32:13,213]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg.ajax4jsf.javascript.DnDScript
               debug[12:32:13,213]: Such element exist in document
               debug[12:32:13,214]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/dnd/dnd-common.js
               debug[12:32:13,214]: Such element exist in document
               debug[12:32:13,214]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js
               debug[12:32:13,215]: Such element exist in document
               debug[12:32:13,215]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/dnd/dnd-dropzone.js
               debug[12:32:13,215]: Such element exist in document
               debug[12:32:13,215]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/common-scrollable-data-table.js
               debug[12:32:13,216]: Such element exist in document
               debug[12:32:13,216]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/extended-data-table.js
               debug[12:32:13,217]: Such element exist in document
               debug[12:32:13,217]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/drag-indicator.js
               debug[12:32:13,217]: Such element exist in document
               debug[12:32:13,217]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/ext-dt-drag-indicator.js
               debug[12:32:13,218]: Such element exist in document
               debug[12:32:13,218]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/ext-dt-simple-draggable.js
               debug[12:32:13,219]: Such element exist in document
               debug[12:32:13,219]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/ext-dt-simple-dropzone.js
               debug[12:32:13,219]: Such element exist in document
               debug[12:32:13,220]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/data-table.js
               debug[12:32:13,220]: Such element exist in document
               debug[12:32:13,220]: <script> in response with src=/myONE/a4j/g/3_3_0.GAscripts/ShuttleUtils.js
               debug[12:32:13,221]: Such element exist in document
               debug[12:32:13,221]: <script> in response with src=/myONE/a4j/g/3_3_0.GAscripts/SelectItem.js
               debug[12:32:13,222]: Such element exist in document
               debug[12:32:13,222]: <script> in response with src=/myONE/a4j/g/3_3_0.GAscripts/LayoutManager.js
               debug[12:32:13,222]: Such element exist in document
               debug[12:32:13,222]: <script> in response with src=/myONE/a4j/g/3_3_0.GAscripts/Control.js
               debug[12:32:13,223]: Such element exist in document
               debug[12:32:13,223]: <script> in response with src=/myONE/a4j/g/3_3_0.GAscripts/ListBase.js
               debug[12:32:13,224]: Such element exist in document
               debug[12:32:13,224]: <script> in response with src=/myONE/a4j/g/3_3_0.GAscripts/OrderingList.js
               debug[12:32:13,224]: Such element exist in document
               debug[12:32:13,225]: <script> in response with src=/myONE/a4j/g/3_3_0.GAscripts/ListShuttle.js
               debug[12:32:13,225]: Such element exist in document
               debug[12:32:13,225]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/modalPanel.js
               debug[12:32:13,226]: Such element exist in document
               debug[12:32:13,226]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/modalPanelBorders.js
               debug[12:32:13,227]: Such element exist in document
               debug[12:32:13,227]: <script> in response with src=/myONE/a4j/g/3_3_0.GAscripts/scriptaculous/effects.js
               debug[12:32:13,227]: Such element exist in document
               debug[12:32:13,228]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/script/processEffect.js
               debug[12:32:13,228]: Such element exist in document
               debug[12:32:13,228]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/panelMenu.js
               debug[12:32:13,229]: Such element exist in document
               debug[12:32:13,229]: <script> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/skinning.js
               debug[12:32:13,230]: Such element exist in document
               debug[12:32:13,230]: search for elements by name 'link' in element #document
               debug[12:32:13,236]: <link> in response with src=/myONE/a4j/s/3_3_0.GAorg/richfaces/renderkit/html/css/tooltip.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,237]: Such element exist in document
               debug[12:32:13,237]: <link> in response with src=/myONE/a4j/s/3_3_0.GAcss/tabPanel.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,237]: Such element exist in document
               debug[12:32:13,237]: <link> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/css/msg.css
               debug[12:32:13,238]: Such element exist in document
               debug[12:32:13,238]: <link> in response with src=/myONE/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/css/msgs.css
               debug[12:32:13,238]: Such element exist in document
               debug[12:32:13,238]: <link> in response with src=/myONE/a4j/s/3_3_0.GAcss/datascroller.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,239]: Such element exist in document
               debug[12:32:13,239]: <link> in response with src=/myONE/a4j/s/3_3_0.GAcss/menucomponents.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,239]: Such element exist in document
               debug[12:32:13,239]: <link> in response with src=/myONE/a4j/s/3_3_0.GAorg/richfaces/renderkit/html/css/dragIndicator.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,240]: Such element exist in document
               debug[12:32:13,240]: <link> in response with src=/myONE/a4j/s/3_3_0.GAcss/extendedDataTable.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,240]: Such element exist in document
               debug[12:32:13,240]: <link> in response with src=/myONE/a4j/s/3_3_0.GAcss/toolBar.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,241]: Such element exist in document
               debug[12:32:13,241]: <link> in response with src=/myONE/a4j/s/3_3_0.GAcss/table.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,241]: Such element exist in document
               debug[12:32:13,242]: <link> in response with src=/myONE/a4j/s/3_3_0.GAcss/listShuttle.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,242]: Such element exist in document
               debug[12:32:13,242]: <link> in response with src=/myONE/a4j/s/3_3_0.GAorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,242]: Such element exist in document
               debug[12:32:13,243]: <link> in response with src=/myONE/a4j/s/3_3_0.GAcss/separator.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,243]: Such element exist in document
               debug[12:32:13,243]: <link> in response with src=/myONE/a4j/s/3_3_0.GAcss/panel.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,244]: Such element exist in document
               debug[12:32:13,244]: <link> in response with src=/myONE/a4j/s/3_3_0.GAorg/richfaces/renderkit/html/css/panelMenu.xcss/DATB/eAHLjHo2NXT5DGkAEqcD7g__
               debug[12:32:13,244]: Such element exist in document
               debug[12:32:13,245]: <link> in response with src=resource:darkX.xcss
               debug[12:32:13,245]: Such element exist in document
               debug[12:32:13,245]: <link> in response with src=resource:darkXExt.xcss
               debug[12:32:13,245]: Such element exist in document
               debug[12:32:13,246]: call getElementById for id= org.ajax4jsf.queue_script
               debug[12:32:13,246]: Update page part from call parameter for ID messageBox
               debug[12:32:13,246]: call getElementById for id= messageBox
               debug[12:32:13,247]: Replace content of node by replaceChild()
               debug[12:32:13,247]: search for elements by name 'script' in element dl
               debug[12:32:13,253]: Scripts in updated part count : 0
               debug[12:32:13,254]: call getElementById for id= org.ajax4jsf.oncomplete
               debug[12:32:13,254]: Processing updates finished, no oncomplete function to call
               debug[12:32:13,254]: Update part of page for Id: messageBox successful
               debug[12:32:13,254]: call getElementById for id= ajax-view-state
               debug[12:32:13,255]: Hidden JSF state fields: [object HTMLSpanElement]
               debug[12:32:13,255]: Namespace for hidden view-state input fields is undefined
               debug[12:32:13,255]: search for elements by name 'input' in element span
               debug[12:32:13,258]: Replace value for inputs: 35 by new values: 1
               debug[12:32:13,258]: Input in response: javax.faces.ViewState
               debug[12:32:13,259]: Found same input on page with type: hidden
               debug[12:32:13,259]: Found same input on page with type: hidden
               debug[12:32:13,260]: Found same input on page with type: hidden
               debug[12:32:13,260]: Found same input on page with type: hidden
               debug[12:32:13,260]: Found same input on page with type: hidden
               debug[12:32:13,261]: search for elements by name 'INPUT' in element span
               debug[12:32:13,264]: Replace value for inputs: 35 by new values: 0
               debug[12:32:13,264]: call getElementById for id= _ajax:data
               debug[12:32:13,264]: call getElementById for id= _A4J.AJAX.focus
               debug[12:32:13,265]: No focus information in response
              
              
              [/img]

              • 4. Re: extendedDataTable toggle expand Group
                ilya_shaikovsky

                could you please visit http://livedemo.exadel.com/richfaces-demo/richfaces/extendedDataTable.jsf and check there? could be browser related. groups collapse at table below the link works fine on my side. FF 3.0.7

                • 5. Re: extendedDataTable toggle expand Group
                  nimo22

                  The livedemo-example works well in my browser!!

                  However, in my case it really does not work - and I do not know, why.

                  Firebug points to an error in extended-data-table.js in line 14 when clicking the collapse-icon:

                  createControls()(null)extended...-table.js (Linie 14)
                  toggleImageSource()(click clientX=190, clientY=137)extended...-table.js (Linie 14)
                  clone()(click clientX=190, clientY=137)3_3_0.GA...ypeScript (Linie 17)
                  wrapper()()3_3_0.GA...ypeScript (Linie 256)
                  [Break on this error] groupRow.setAttribute('expanded',sExpand...sVisibility='none';sBorderStyle='none';}
                  


                  • 6. Re: extendedDataTable toggle expand Group
                    nimo22


                    This is, what firebug tells:

                    imageDiv is null
                    createControls()(null)extended...-table.js (Linie 14)
                    toggleImageSource()(click clientX=190, clientY=137)extended...-table.js (Linie 14)
                    clone()(click clientX=190, clientY=137)3_3_0.GA...ypeScript (Linie 17)
                    wrapper()()3_3_0.GA...ypeScript (Linie 256)
                    [Break on this error] groupRow.setAttribute('expanded',sExpand...sVisibility='none';sBorderStyle='none';}

                    • 7. Re: extendedDataTable toggle expand Group
                      nimo22

                      I have found out, that it is not a browser-problem.

                      I tried it with iExplorer, Mozilla and Safari.

                      The Demo works but mine not, so I guess, anything is wrong in my script-load, as firebug tells me "imageDiv" is null. The grouping works fine, but the expand, collapse icon works not.

                      But I cannot find the reason. (The org.richfaces.LoadStyleStrategy and org.richfaces.LoadScriptStrategy is set to default.)

                      any ideas.

                      • 8. Re: extendedDataTable toggle expand Group
                        ilya_shaikovsky

                        Are you using some external JS(prototype, jQuerry..)? also have you checed that JS files actually loaded(for example with fireBug)?

                        • 9. Re: extendedDataTable toggle expand Group
                          nimo22

                          I have checked, JS files are loaded and I do not use any external JS.

                          However, I use a rich:contextMenu for my extendedDataTable..I am searching and let you know, where my failure lies..

                          • 10. Re: extendedDataTable toggle expand Group
                            nimo22

                            I use the RF 3.3.1 GA and my the expand and collapse of grouped rows does not work for me.

                            I get always the java-script-failure: "imageDiv is null".

                            I have not find reason yet.

                            By the way, I cannot find a property to set or change the image-Icon for collapsing/expanding. Attriubutes such as collapseIcon, expandIcon is missing in rich:extendedDatatable